18-12
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter18 Configuring 802.1Q and Layer 2 Protocol Tunneling
Monitoring and Maintaining Tunneling Status
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
Table18-2 shows the commands for monitoring and maintaining 80 2.1Q and Layer 2 protocol tunneling.
Note With Release 12.2(20)EW, the BPDU filtering configuration for both dot1q and Layer 2 protocol
tunneling is no longer visible in the running configuration as "spanning-tree bpdufilter enable.” Inste ad,
it is visible in the output of the show spanning tree int detail command as shown below.
Switch# show spann int f6/1 detail
Port 321 (FastEthernet6/1) of VLAN0001 is listening
Port path cost 19, Port priority 128, Port Identifier 128.321.
Designated root has priority 32768, address 0008.e341.4600
Designated bridge has priority 32768, address 0008.e341.4600
Designated port id is 128.321, designated path cost 0
Timers: message age 0, forward delay 2, hold 0
Number of transitions to forwarding state: 0
Link type is point-to-point by default
** Bpdu filter is enabled internally **
BPDU: sent 0, received 0
Table18-2 Commands for Monitoring and Maintaining Tunneling
Command Purpose
Switch# clear l2protocol-tunnel counters Cl ears 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.
Switch# show l2protocol-tunnel Displays information about Layer 2 protocol tunneling ports.
Switch# show errdisable recovery Verifies if the recovery timer from a Layer 2 protocol-tunnel error disable
state is enabled.
Switch# show l2protocol-tunnel interface
interface-id
Displays information about a specific Layer 2 protocol tunneling port.
Switch# show l2protocol-tunnel summary Displays only Layer 2 protocol summary information.
Switch# show vlan dot1q native Displays the status of native VLAN tagging on the switch.