8-4
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 8 Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling
Configuring 802.1Q Tunneling on the Switch
Configuring 802.1Q Tunneling on the Switch
These sections describe how to configure 802.1Q tunneling:
•
Configuring 802.1Q Tunnel Ports, page 8-4
•
Clearing 802.1Q Tunnel Ports, page 8-4
•
Disabling Global Support for 802.1Q Tunneling, page 8-5
Note
See
Chapter 5, “Configuring Ethernet VLAN Trunks,”
for information on using the global
set
dot1q-all-tagged enable
command.
Configuring 802.1Q Tunnel Ports
Caution
When you configure tunneling in any VLAN, make sure that you configure only the appropriate tunnel
ports and that you use one VLAN for each tunnel. Incorrect assignment of tunnel ports to VLANs can
cause traffic forwarding problems.
To configure 802.1Q tunneling on a port, perform this task in privileged mode:
This example shows how to configure tunneling on port 4/1 and verify the configuration:
Console> (enable)
set port dot1qtunnel 4/1 access
Dot1q tunnel feature set to access mode on port 4/1.
Port 4/1 trunk mode set to off.
Console> (enable)
show port dot1qtunnel 4/1
Port Dot1q tunnel mode
----- -----------------
4/1 access
Clearing 802.1Q Tunnel Ports
To clear 802.1Q tunneling support from a port, perform this task in privileged mode:
Task
Command
Step 1
Configure tunneling on a port.
set port dot1qtunnel
{
all
|
mod/port
access
|
disable
}
Step 2
Verify the configuration.
show port dot1qtunnel
[
mod
[
/port
]]
Task
Command
Step 1
Clear tunneling from a port.
set port dot1qtunnel
{
mod/port
}
disable
Step 2
Verify the configuration.
show port dot1qtunnel
[
mod
[
/port
]]