switchport trunk allowed vlan {WORD | all
| add WORD | except WORD | remove
WORD}
no switchport trunk allowed vlan
switchport trunk native vlan <vlan-id>
no switchport trunk native vlan
6. Set Access port
Command
Port Mode
switchport access vlan <vlan-id>
no switchport access vlan
7. Set Hybrid port
Command
Port Mode
switchport hybrid allowed vlan {WORD |
all | add WORD | except WORD | remove
WORD} {tag | untag}
no switchport hybrid allowed vlan
switchport hybrid native vlan <vlan-id>
no switchport hybrid native vlan
8. Disable/Enable VLAN Ingress Rules
Command
Global Mode
vlan ingress enable
no vlan ingress enable
9. Configure Private VLAN
Command
Set/delete VLAN allowed to be crossed
by Trunk. The "no" command restores
the default setting.
Set/delete PVID for Trunk port.
Explanation
Add the current port to the specified
VLAN. The "no" command restores the
default setting.
Explanation
Set/delete the VLAN which is allowed by
Hybrid port with tag or untag mode.
Set/delete PVID of the port.
Explanation
Enable/Disable VLAN ingress rules.
Explanation
20-75