Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-315
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
l2protocol-tunnel
l2protocol-tunnel
Use the l2protocol-tunnel interface configuration command on the switch stack or on a standalone 
switch to enable tunneling of Layer 2 protocols on an access port, IEEE 802.1Q tunnel port, or 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]]]
Note
This command is not supported on switches running the LAN base feature set.
Syntax Description
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.
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.