5-11
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 5 Configuring Ethernet VLAN Trunks
Configuring a Trunk Link
Enabling 802.1Q Tagging of Native VLAN Traffic
The
set dot1q-all-tagged enable
command is a global command that configures a switch to forward all
frames from 802.1Q trunks with 802.1Q tagging in the native VLAN, and admit only 802.1Q tagged
frames on 802.1Q trunks, dropping any untagged traffic, including untagged traffic in the native VLAN.
You can enter this command on any switch that needs to support 802.1Q tunneling with 802.1Q trunks.
To configure the switch to forward all 802.1Q tagged frames on 802.1Q trunks, perform this task in
privileged mode:
This example shows how to enable the switch to forward all 802.1Q traffic and verify the configuration:
Console> (enable)
set dot1q-all-tagged enable
Dot1q-all-tagged feature enabled globally.
Console> (enable)
show dot1q-all-tagged
Dot1q-all-tagged feature globally enabled.
Console> (enable)
Disabling 802.1Q Tagging on Specific Ports
The
set port dot1q-all-tagged
mod/port
enable
|
disable
command allows you to disable 802.1Q
tagging on specific ports. Enter the
set port dot1q-all-tagged disable
command to selectively disable
802.1Q tagging on ports that connect to the devices that do not support 802.1Q tagged traffic. If you
enable or disable 802.1Q tagging on an EtherChannel port, the configuration is applied to all ports in the
channel.
Note
If you did not enter the global
set dot1q-all-tagged enable
command, the default group is never tagged
and the per-port setting has no effect.
If you entered the global
set dot1q-all-tagged enable
command, the per-port setting controls whether
frames are tagged.
Note
The
set port dot1q-all-tagged
mod/port
enable
|
disable
command is not supported on the ports on the
MSFC or ports on the WS-X6101 OC-12 ATM modules.
Task
Command
Step 1
Enable the switch to forward all 802.1Q tagged
frames.
set dot1q-all-tagged
[
enable
|
disable
]
Step 2
Verify the configuration.
show dot1q-all-tagged