178
5. Set Access port
6. Disable/Enable VLAN Ingress Rules
7
.
Configure Private VLAN
8. Set Private VLAN association
6.1.3 Command for vlan Configuration
6.1.3.1 Vlan
Command Explanation
Interface Mode
switchport trunk allowed vlan {<vlan-list>
|
all}
no switchport trunk allowed vlan <vlan-list>
Set/delete VLAN allowed to be
crossed by Trunk. The “no”
command restores the default
setting.
switchport trunk native vlan <vlan-id>
no switchport trunk native vlan
Set/delete PVID for Trunk port.
Command Explanation
Interface Mode
switchport access 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-filtering
no 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