EasyManua.ls Logo

Cisco Catalyst 4500 Series - Monitoring and Maintaining Tunneling Status

Cisco Catalyst 4500 Series
1814 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
29-18
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
OL_28731-01
Chapter 29 Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling
Monitoring and Maintaining Tunneling Status
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. 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 on an 802.1Q tunnel port for CDP, STP,
and VTP and how to verify the configuration:
Switch(config)# interface FastEthernet2/1
Switch(config-if)# switchport mode dot1q-tunnel
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 Protocol Shutdown Drop Encapsulation Decapsulation Drop
Threshold Threshold Counter Counter Counter
------- -------- --------- --------- ------------- ------------- -------------
Fa2/11 cdp 1500 1000 2288 2282 0
stp 1500 1000 116 13 0
vtp 1500 1000 3 67 0
Monitoring and Maintaining Tunneling Status
Table 29-2 shows the commands for monitoring and maintaining 802.1Q and Layer 2 protocol tunneling.
Step 8
Switch(config)# errdisable
recovery cause l2ptguard
(Optional) Configures the recovery method from a Layer 2 maximum-rate
error so that the interface is reenabled and can try again. Errdisable recovery
is disabled by default; when enabled, the default time interval is 300
seconds.
Step 9
Switch(config)# l2protocol-tunnel
cos value
(Optional) Configures 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.
Step 10
Switch(config)# end
Returns to privileged EXEC mode.
Step 11
Switch# show l2protocol
Displays the Layer 2 tunnel ports on the switch, including the protocols
configured, the thresholds, and the counters.
Step 12
Switch# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose
Table 29-2 Commands for Monitoring and Maintaining Tunneling
Command Purpose
Switch# clear l2protocol-tunnel counters
Clears the protocol counters on Layer 2 protocol tunneling ports.
Switch# show dot1q-tunnel
Displays 802.1Q tunnel ports on the switch.
Switch# show dot1q-tunnel interface
interface-id
Verifies if a specific interface is a tunnel port.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals