2-306
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set dot1q-all-tagged
set dot1q-all-tagged
To change all existing and new dot1q trunks to the dot1q-only mode, use the set dot1q-all-tagged
command.
set dot1q-all-tagged {enable | disable}
Syntax Description
Defaults The 802.1Q tagging feature is disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines When you enable dot1q-tagged-only, all data packets are sent out tagged and all received untagged data
packets are dropped on all 802.1Q trunks.
You cannot enable the dot1q tunneling feature on a port until dot1q-tagged-only mode is enabled.
You cannot disable dot1q-tagged-only mode on the switch until dot1q tunneling is disab led on a ll t he
ports on the switch.
The optional all keyword is not supported.
Note Policy-based forwarding (PBF) does not work with 802.1Q tunnel traffic. PBF is supported on Layer 3
IP unicast traffic, but it is not applicable to Layer 2 traffic. At the intermediate (PBF) switch, all 8 02.1Q
tunnel traffic appears as Layer 2 traffic.
If you enable dot1q-tagged globally, the dot1q-tagged per-port setting controls whether or not frame s are
tagged. If you disable dot-1q-tagged globally, the default group is never tagged and the per-port setting
has no effect.
Examples This example shows how to enable dot1q tagging:
Console> (enable) set dot1q-all-tagged enable
Dot1q tagging is enabled
Console> (enable)
Related Commands set port dot1qtunnel
show dot1q-all-tagged
enable Enables dot1q-tagged-only mode.
disable Disables dot1q-tagged-only mode.