remove-untagged-ports
Removes all untagged member ports from a VLAN or from multiple VLANs.
Modes
VLAN configuration mode
Multiple VLAN configuration mode
Examples
The following example removes all untagged member ports from VLAN 2.
device(config)# show run vlan 2 vlan 2 by port tagged ethernet 1/1/1 to 1/1/3 untagged ethernet 1/1/4 to 1/1/16 ! ! device(config)# vlan 2 device(config-vlan-2)# remove-untagged-ports device(config-vlan-2)# show run vlan 2 vlan 2 by port tagged ethernet 1/1/1 to 1/1/3 ! !
The following example removes all untagged member ports from a range of VLANs.
device(config)# show run vlan vlan 2 by port tagged ethernet 1/1/1 to 1/1/3 untagged ethernet 1/1/4 to 1/1/16 ! ! vlan 3 by port tagged ethernet 1/1/1 to 1/1/3 untagged ethernet 1/1/4 to 1/1/16 ! ! device(config)# vlan 2 3 device(config-mvlan-2-3)# remove-untagged-ports device(config-vlan-2-3)# show run vlan vlan 2 by port tagged ethernet 1/1/1 to 1/1/3 ! ! vlan 3 by port tagged ethernet 1/1/1 to 1/1/3 ! !
History
| Release version | Command history |
|---|---|
| 08.0.40 | This command was introduced. |