...
- Setting
vlan-mode=secure
ensures strict use of VLAN table. - Setting
vlan-header=always-strip
for access ports removes VLAN header from frame when it leaves the switch chip. - Setting
vlan-header=add-if-missing
for trunk port adds VLAN header to untagged frames. default-vlan-id
specifies what VLAN ID is added for untagged ingress traffic of the access port.
Note |
---|
For devices with On QCA8337 and Atheros8327 switch chips, a default vlan-mode=secure is configured, it ignore switch port vlan-header options. VLAN table entries handle all the egress tagging/untagging and works as vlan-header=leave-as-is on all ports. It means what comes in tagged, goes out tagged as well, only default-vlan-id frames are untagged at the egress of portThe switch chip will determine which ports are access ports by using the |
VLAN Example 2 (Trunk and Hybrid Ports)
...