30-20
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 30 Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling
Use the no
l2protocol-tunnel
[
point-to-point
[
pagp
|
lacp
|
udld
]] interface configuration command to
disable point-to-point protocol tunneling for one of the Layer 2 protocols or for all three. Use the
no
l2protocol-tunnel shutdown-threshold
[
point-to-point
[
pagp
|
lacp
|
udld
]] and the
no
l2protocol-tunnel drop-threshold
[
point-to-point
[
pagp
|
lacp
|
udld
]] commands to return the
shutdown and drop thresholds to their default settings.
This example shows how to configure the SP edge switch:
Switch(config)#
interface gigabitEthernet 1/1/11
Switch(config-if)#
switchport mode dot1q-tunnel
Switch(config-if)#
switchport access vlan 10
Switch(config-if)#
l2protocol-tunnel point-to-point
Switch(config-if)#
l2protocol-tunnel shutdown-threshold point-to-point 3000
Switch(config-if)#
l2protocol-tunnel drop-threshold point-to-point 2500
Switch(config-if)#
exit
Switch#
show l2protocol-tunnel
COS for Encapsulated Packets: 5
Drop Threshold for Encapsulated Packets: 0
Port Protocol Shutdown Drop Encaps Decaps Drop
Threshold Threshold Counter Counter Counter
------------------- ----------- --------- --------- --------- --------- ---------
Gi1/1/11 --- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
Step 6
Switch(config-if)#
l2protocol-tunnel drop-threshold
[
point-to-point
[
pagp
|
lacp
|
udld
]]
value
(Optional) Configures the threshold for packets-per-second accepted for
encapsulation. The interface drops packets if the configured threshold is
exceeded. If no protocol option is specified, the threshold applies to each of
the tunneled Layer 2 protocol types. The range is 1 to 4096. The default is
to have no threshold configured.
Note
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.
Step 7
Switch(config-if)#
no cdp enable
Disables CDP on the interface.
Step 8
Switch(config-if)#
spanning-tree
bpdufilter
Enables BPDU filtering on the interface.
Step 9
Switch(config)#
exit
Returns to global configuration mode.
Step 10
Switch(config)#
errdisable
recovery cause l2ptguard
(Optional) Configures the recovery mechanism from a Layer 2
maximum-rate error so that the interface is re-enabled and can try again.
Errdisable recovery is disabled by default; when enabled, the default time
interval is 300 seconds
.
Step 11
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 12
Switch(config)#
end
Returns to privileged EXEC mode.
Step 13
Switch#
show l2protocol
Displays the Layer 2 tunnel ports on the switch, including the protocols
configured, the thresholds, and the counters.
Step 14
Switch#
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command
Purpose
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...