remove-tagged-ports

Removes all tagged member ports from a VLAN or from multiple VLANs.
Syntax
remove-tagged-ports
Modes

VLAN configuration mode

Multiple VLAN configuration mode

Examples

The following example removes all tagged 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-tagged-ports 
device(config-vlan-2)# show run vlan 2
vlan 2 by port
untagged ethernet 1/1/4 to 1/1/6
!
! 

The following example removes all tagged member ports from a range of VLANs.

device(config)# show run vlan 
vlan 1 name DEFAULT-VLAN by port
!
vlan 2 by port
tagged ethernet 1/1/1 to 1/1/5 
untagged ethernet 1/1/6 to 1/1/7 
!
vlan 3 by port
tagged ethernet 1/1/1 to 1/1/5 
untagged ethernet 1/1/8 to 1/1/9 
!
! 
device(config)# vlan 2 3
device(config-mvlan-2-3)# remove-tagged-ports 
device(config-mvlan-2-3)# show run vlan 
vlan 2 by port
untagged ethernet 1/1/6 to 1/1/7 
!
vlan 3 by port
untagged ethernet 1/1/8 to 1/1/9 
!
!

History
Release version Command history
08.0.40 This command was introduced.