2-202
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-02
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
l2protocol-tunnel
l2protocol-tunnel
Use the l2protocol-tunnel interface configuration command to enable tunneling of Layer 2 protocols on
an access or IEEE 802.1Q tunnel port or on a port channel. 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.
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]]] | [drop-threshold [cdp | stp | vtp]
[point-to-point [pagp | lacp | udld]]]
Syntax Description
Defaults The default is that no Layer 2 protocol packets are tunneled.
The default is no shutdown threshold for the maximum number of Layer 2 protocol packets.
The default is no drop threshold for the maximum number of Layer 2 protocol packets.
l2protocol-tunnel Enable point-to-multipoint tunneling of CDP, STP, and VTP packets.
cdp (Optional) Enable tunneling of CDP, specify a shutdown threshold for CDP, or
specify a drop threshold for CDP.
stp (Optional) Enable tunneling of STP, specify a shutdown threshold for STP, or
specify a drop threshold for STP.
vtp (Optional) Enable tunneling or VTP, specify a shutdown threshold for VTP, or
specify a drop threshold for VTP.
point-to-point (Optional) Enable point-to point tunneling of PAgP, LACP, and UDLD
packets.
pagp (Optional) Enable point-to-point tunneling of PAgP, specify a shutdown
threshold for PAgP, or specify a drop threshold for PAgP.
lacp (Optional) Enable point-to-point tunneling of LACP, specify a shutdown
threshold for LACP, or specify a drop threshold for LACP.
udld (Optional) Enable point-to-point tunneling of UDLD, specify a shutdown
threshold for UDLD, or specify a drop threshold for UDLD.
shutdown-threshold (Optional) Set a shutdown threshold for the maximum rate of Layer 2 protocol
packets per second to be received before an interface is shut down.
drop-threshold (Optional) Set a drop threshold for the maximum rate of Layer 2 protocol
packets per second to be received before an interface drops packets.
value 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.