user manual

PurposeCommand or Action
(Optional) Configures the threshold for packets-per-second accepted for
encapsulation. The interface drops packets if the configured threshold is
l2protocol-tunnel drop-threshold [
packet_second_rate_value | cdp | lldp |
point-to-point | stp | vtp]
Step 6
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.
Example:
Switch# l2protocol-tunnel
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.
Note
Use the no l2protocol-tunnel shutdown-threshold [cdp | lldp|
point-to-point | stp | vtp] and the no l2protocol-tunnel
drop-threshold [cdp | stp | vtp] commands to return the
shutdown and drop thresholds to the default settings.
Note
drop-threshold 100 cdp
Returns to global configuration mode.exit
Step 7
Example:
Switch# exit
(Optional) Configures the recovery mechanism from a Layer 2
maximum-rate error so that the interface is reenabled and can try again.
errdisable recovery cause l2ptguard
Example:
Switch(config)# errdisable recovery
Step 8
Errdisable recovery is disabled by default; when enabled, the default time
interval is 300 seconds.
cause l2ptguard
(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.
l2protocol-tunnel cos value
Example:
Switch(config)# l2protocol-tunnel cos
Step 9
value 7
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 10
Displays the Layer 2 tunnel ports on the switch, including the protocols
configured, the thresholds, and the counters.
show l2protocol
Example:
Switch# show l2protocol
Step 11
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 12
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01 137
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling