PLANET WGSW-50040 User Manual
Page 82
10-3
5. Set Trunk port
Command
Explanation
Port Mode
switchport trunk allowed vlan {WORD | all
| add WORD | except WORD|remove
WORD}
no switchport trunk allowed vlan
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.
6. Set Access port
Command
Explanation
Port Mode
switchport access vlan <vlan-id>
no switchport access vlan
Add the current port to the specified
VLAN. The “no” command restores the
default setting.
7. Disable/Enable VLAN Ingress Rules
Command
Explanation
Port Mode
vlan ingress enable
no vlan ingress enable
Enable/Disable VLAN ingress rules.
8. Configure Private VLAN
Command
Explanation
VLAN mode
private-vlan {primary | isolated |
community}
no private-vlan
Configure current VLAN to Private VLAN.
The no command deletes private VLAN.
9. Set Private VLAN association
Command
Explanation
VLAN mode
private-vlan association
no private-vlan association
Set/delete Private VLAN association.