Cisco Catalyst 3750 Software Configuration Manual page 273

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 13
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Command
Step 6
l2protocol-tunnel drop-threshold
[cdp | stp | vtp] value
Step 7
exit
Step 8
errdisable recovery cause l2ptguard (Optional) Configure the recovery mechanism from a Layer 2 maximum
Step 9
l2protocol-tunnel cos value
Step 10
end
Step 11
show l2protocol
Step 12
copy running-config startup-config
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 of them. 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/2
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/2 cdp
78-15870-01
Purpose
(Optional) Configure the threshold in packets per second to be received for
encapsulation before the interface drops packets. The port drops packets if
the configured threshold is exceeded. If no protocol option is specified, the
threshold is applied to each of the tunneled Layer 2 protocol types. The
range is 1 to 4096. The default is to have no threshold configured.
Note
Return to global configuration mode.
rate error so that the interface can be brought out of the disabled state and
allowed to try again. You can also set the time interval. Errdisable recovery
is disabled by default; when enabled, the default time interval is 300
seconds.
(Optional) Configure the CoS value for all tunneled Layer 2 PDUs. The
range is 0 to 7; the default is the default CoS value for the interface. If none
is configured, the default is 5.
Return to privileged EXEC mode.
Display the Layer 2 tunnel ports on the switch, including the protocols
configured, the threshold, and the counters.
(Optional) Save your entries in the configuration file.
Protocol Shutdown
Drop
Threshold Threshold Counter
1500
stp
1500
vtp
1500
If you also set a shutdown threshold on this interface, the
drop-threshold value must be less than or equal to the
shutdown-threshold value.
Encapsulation Decapsulation Drop
Counter
1000
0
1000
0
1000
0
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring Layer 2 Protocol Tunneling
Counter
0
0
0
0
0
0
13-15

Advertisement

Table of Contents
loading

Table of Contents