switchport default-vlan tagged
no switchport default-vlan tagged
Mode:
Port Configuration
Usage Guide:
The command per port configures the membership of the default VLAN to tagged. The configuration could be shown
by "show interface switchport" command.
Example:
This example sets Trunk port gi10 membership with the default VLAN to tagged.
Switch# configure
Switch(config)# interface gi10
Switch(config-if)# switchport default-vlan tagged
4.29.14 switchport forbidden default-vlan
Command:
switchport forbidden default-vlan
no switchport forbidden default-vlan
Mode:
Port Configuration
Usage Guide:
The command per port configures the membership of the default VLAN to forbidden. The configuration could be
shown by "show interface switchport" command.
Example:
This example sets the membership of the default VLAN with port gi10 to forbidden.
Switch# configure
Switch(config)# interface gi10
Switch(config-if)# switchport forbidden default-vlan
Command Guide of WGSW-28040
339