2-225
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
l2protocol-tunnel
l2protocol-tunnel
To enable tunneling of Layer 2 protocols on an access or 802.1Q tunnel port, use the
l2protocol-tunnel
command in interface configuration mode. You can enable tunneling for Cisco Discovery Protocol
(CDP), Link Layer Discovery Protocol (LLDP), Spanning Tree Protocol (STP), or VLAN Trunking
Protocol (VTP) packets, or configure the maximum number of incoming Layer 2 protocol packets to be
received before the port is disabled or the interface drops 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. To disable tunneling on the interface, to return to
having no shutdown threshold, or to return to having no drop threshold, use the
no
form of this command.
l2protocol-tunnel
[
cdp
|
lldp
|
stp
|
vtp
] [
point-to-point
[
pagp
|
lacp
|
udld
]] |
[
shutdown-threshold
[
cdp
|
lldp | stp | vtp
]
[
point-to-point
[
pagp
|
lacp
|
udld
]]
value
] |
[
drop-threshold
[
cdp
|
lldp
|
stp
|
vtp
]
[
point-to-point
[
pagp
|
lacp
|
udld
]]
value
]
no l2protocol-tunnel
[
cdp
|
lldp
|
stp
|
vtp
] [
point-to-point
[
pagp
|
lacp
|
udld
]] |
[
shutdown-threshold
[
cdp
|
lldp | stp | vtp
]
[
point-to-point
[
pagp
|
lacp
|
udld
]]
value
] |
[
drop-threshold
[
cdp
|
lldp
|
stp
|
vtp
]
[
point-to-point
[
pagp
|
lacp
|
udld
]]
value
]
Syntax Description
Note
Though visible in the command-line help strings, the
point-to-point
[
pagp
|
lacp
|
udld
] keywords are
not supported.
cdp
(Optional) Enable tunneling of CDP, specify a shutdown threshold for CDP, or
specify a drop threshold for CDP.
lldp
(Optional) Enables tunneling of LLDP, specify a shutdown threshold for
LLDP, or specify a drop threshold for LLDP.
stp
(Optional) Enable tunneling of STP, specify a shutdown threshold for STP, or
specify a drop threshold for STP.
vtp
(Optional) Enable tunneling of 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.