147
4. Set Trunk port
5. Set Access port
6. Disable/Enable VLAN Ingress Rules
7Configure Private VLAN
8. Set Private VLAN association
Command Explanation
Interface Mode
Switchport allowedvlan {add<vlan-list>|
remove <vlan-list>}
no switchport allowed vlan
Set/delete VLAN allowed to be
crossed by Trunk. The “no”.
command restores the default
setting.
switchport native vlan <vlan-id>
no switchport native vlan Set/delete PVID for Trunk port.
Command Explanation
Interface Mode
switchport allowed add vlan <vlan-id>
no switchport access vlan
Add the current port to specified
VLAN the specified VLANs. The
“no”. command restores the default
setting.
Command Explanation
Global Mode
switchport ingress-filteringno switchport
ingress-filtering Disable/Enable VLAN ingress rules
Command Explanation
VLAN mode
private-vlan {primary|isolated|community}
no private-vlan
Configure current VLAN to Private
VLAN
Command Explanation
VLAN mode
private-vlan association <secondary-vlan-list>
no private-vlan association
Set/delete Private VLAN
association