2-478
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set port dot1q-all-tagged
set port dot1q-all-tagged
To enable the 802.1Q tagging feature on specific ports, use the set port dot1q-all-tagged command.
set port dot1q-all-tagged {mod/port} {enable | disable}
Syntax Description
Defaults The 802.1Q tagging feature is enabled on a per-port basis. See the “Usage G uidelines” section for more
information.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines Although 802.1Q tagging is enabled by default on a per-port basis, tagging only takes effect when you
enable the feature globally by entering the set dot1q-all-tagged enable command. When the global
command is enabled, if you do not want tagging on a specific port, you must disable the feature on that
port.
Examples This example shows how to enable the dot1q tagging feature on spe cific po rts:
Console> (enable) set port dot1q-all-tagged 1/1-2 enable
Packets on native vlan will be tagged on port(s) 1/1-2.
Console> (enable)
This example shows how to enable the dot1q tagging feature on all por ts:
Console> (enable) set port dot1q-all-tagged all enable
Packets on native vlan will be tagged on all applicable ports.
Console> (enable)
This example shows how to disable the dot1q tagging feature on specific ports:
Console> (enable) set port dot1q-all-tagged 1/1-2 disable
Packets on native vlan will not be tagged for port(s) 1/1-2.
Console> (enable)
This example shows how to disable the dot1q tagging feature on all ports:
Console> (enable) set port dot1q-all-tagged all disable
Packets on native vlan will not be tagged on all applicable ports.
Console> (enable)
mod/port Number of the module and the port on the module.
enable Enables the dot1q-all-tagged feature.
disable Disables the dot1q-all-tagged feature.