Configuring Layer 2 Protocol Tunneling
Use the no l2protocol-tunnel [cdp | stp | vtp] interface configuration command to disable protocol
tunneling for one of the Layer 2 protocols or for all three. Use the no l2protocol-tunnel
shutdown-threshold [cdp | stp | vtp] and the no l2protocol-tunnel drop-threshold [cdp | stp | vtp]
commands to return the shutdown and drop thresholds to the default settings.
This example shows how to configure Layer 2 protocol tunneling for CDP, STP, and VTP and to verify
the configuration.
Switch(config)# interface gigabitethernet1/0/11
Switch(config-if)# l2protocol-tunnel cdp
Switch(config-if)# l2protocol-tunnel stp
Switch(config-if)# l2protocol-tunnel vtp
Switch(config-if)# l2protocol-tunnel shutdown-threshold 1500
Switch(config-if)# l2protocol-tunnel drop-threshold 1000
Switch(config-if)# exit
Switch(config)# l2protocol-tunnel cos 7
Switch(config)# end
Switch# show l2protocol
COS for Encapsulated Packets: 7
Port
-------
Gi1/0/11
Configuring Layer 2 Tunneling for EtherChannels
To configure Layer 2 point-to-point tunneling to facilitate the automatic creation of EtherChannels, you
need to configure both the SP edge switch and the customer switch.
Configuring the SP Edge Switch
Beginning in privileged EXEC mode, follow these steps to configure a SP edge switch for Layer 2
protocol tunneling for EtherChannels:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
switchport mode dot1q-tunnel
Step 4
l2protocol-tunnel point-to-point
[pagp | lacp | udld]
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
17-14
Protocol Shutdown
Drop
Threshold Threshold Counter
-------- --------- --------- ------------- ------------- -------------
cdp
1500
stp
1500
vtp
1500
pagp
----
lacp
----
udld
----
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the interface to be configured
as a tunnel port. This should be the edge port in the SP network that
connects to the customer switch. Valid interfaces are physical interfaces.
Configure the interface as an IEEE 802.1Q tunnel port.
(Optional) Enable point-to-point protocol tunneling for the desired
protocol. If no keyword is entered, tunneling is enabled for all three
protocols.
Caution
Chapter 17
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Encapsulation Decapsulation Drop
Counter
1000 2288
2282
1000 116
13
1000 3
67
---- 0
0
---- 0
0
---- 0
0
To avoid a network failure, make sure that the network is a
point-to-point topology before you enable tunneling for PAgP,
LACP, or UDLD packets.
Counter
0
0
0
0
0
0
OL-12247-04