DETAILED STEPS
PurposeCommand or Action
Entersthe global configurationmode.configureterminal
Example:
Switch# configure terminal
Step 1
Specifiesthe interface connected to the phone, and enters interface
configurationmode.
interfaceinterface-id
Example:
Switch(config)# interface
Step 2
gigabitethernet1/0/1
Configuresthe interface as an access port or an IEEE 802.1Q tunnel port.Useone of the following:
Step 3
switchportmode access
switchportmode dot1q-tunnel
Example:
Switch# switchport mode access
or
Switch# switchport mode dot1q-tunnel
Enablesprotocol tunneling for the desired protocol. If no keyword is
entered,tunneling is enabled for allthree Layer2 protocols.
l2protocol-tunnel[cdp |lldp |point-to-point
|stp|vtp]
Step 4
Example:
Switch# l2protocol-tunnel cdp
Usethe no l2protocol-tunnel[cdp |lldp |point-to-point |stp
|vtp]interface configuration commandto disable protocol
tunnelingfor one of the Layer 2 protocols or for all three.
Note
(Optional)Configures the thresholdfor packets-per-second accepted for
encapsulation.The interface is disabledif theconfigured thresholdis
l2protocol-tunnelshutdown-threshold [
packet_second_rate_value|cdp |lldp
point-to-point|stp |vtp]
Step 5
exceeded.If no protocol option is specified, the threshold applies to each
ofthe tunneled Layer 2 protocol types. The range is 1 to 4096. The default
isto haveno thresholdconfigured.
Example:
Switch# l2protocol-tunnel
shutdown-threshold 100 cdp
Ifyou also set a drop threshold on this interface, the
shutdown-thresholdvalue must be greater than or equal to the
drop-thresholdvalue.
Note
Usethe no l2protocol-tunnelshutdown-threshold [
packet_second_rate_value|cdp |lldp|point-to-point |stp |vtp]
andthe no l2protocol-tunneldrop-threshold [
packet_second_rate_value|cdp |lldp|point-to-point |stp |vtp]
commandsto return the shutdown and drop thresholds to the
defaultsettings.
Note
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
136 OL-29440-01
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling