Chapter 2
Cisco IOS Commands
l2protocol-tunnel
Use the l2protocol-tunnel interface configuration command to enable tunneling of Layer 2 protocols on
an access or 802.1Q tunnel port. You can enable tunneling for Cisco Discovery Protocol (CDP),
Spanning Tree Protocol (STP), or VLAN Trunking Protocol (VTP) packets. You can also enable
point-to-point tunneling for Port Aggregation Protocol (PAgP), Link Aggregation Control Protocol
(LACP), or UniDirectional Link Detection (UDLD) packets. Use the no form of this command to disable
tunneling on the interface.
Syntax Description
l2protocol-tunnel
cdp
stp
vtp
point-to-point
pagp
lacp
udld
shutdown-threshold (Optional) Set a shutdown threshold for the maximum rate of Layer 2 protocol
drop-threshold
value
Defaults
The default is that no Layer 2 protocol packets are tunneled.
The default is no shutdown threshold for the number of Layer 2 protocol packets.
The default is no drop threshold for the number of Layer 2 protocol packets.
78-11195-09
l2protocol-tunnel [cdp | stp | vtp] [point-to-point [pagp | lacp | udld]] | [shutdown-threshold
[cdp | stp | vtp] [point-to-point [pagp | lacp | udld]]] value] | [drop-threshold [cdp | stp | vtp]
[point-to-point [pagp | lacp | udld]]] value]
no l2protocol-tunnel [cdp | stp | vtp] [point-to-point [pagp | lacp | udld]] | [shutdown-threshold
[cdp | stp | vtp] [point-to-point [pagp | lacp | udld]] value] | [drop-threshold [cdp | stp | vtp]
[point-to-point [pagp | lacp | udld]] value]
Enable point-to-multipoint tunneling of CDP, STP, and VTP packets.
(Optional) Enable tunneling of CDP, specify a shutdown threshold for CDP, or
specify a drop threshold for CDP.
(Optional) Enable tunneling of STP, specify a shutdown threshold for STP, or
specify a drop threshold for STP.
(Optional) Enable tunneling or VTP, specify a shutdown threshold for VTP, or
specify a drop threshold for VTP.
(Optional) Enable point-to point tunneling of PAgP, LACP, and UDLD
packets.
(Optional) Enable point-to-point tunneling of PAgP, specify a shutdown
threshold for PAgP, or specify a drop threshold for PAgP.
(Optional) Enable point-to-point tunneling of LACP, specify a shutdown
threshold for LACP, or specify a drop threshold for LACP.
(Optional) Enable point-to-point tunneling of UDLD, specify a shutdown
threshold for UDLD, or specify a drop threshold for UDLD.
packets per second to be received before an interface is shut down.
(Optional) Set a drop threshold for the maximum rate of Layer 2 protocol
packets per second to be received before an interface drops packets.
Specify a threshold in packets per second to be received for encapsulation
before the interface shuts down, or specify the threshold before the interface
drops packets. The range is 1 to 4096. The default is no threshold.
Catalyst 3550 Multilayer Switch Command Reference
l2protocol-tunnel
2-129