user manual
DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies the interface connected to the phone, and enters interface
configuration mode.
interface interface-id
Example:
Switch(config)# interface
Step 2
gigabitethernet1/0/1
Configures the interface as an access port or an IEEE 802.1Q tunnel port.Use one of the following:
Step 3
•
switchport mode access
•
switchport mode dot1q-tunnel
Example:
Switch# switchport mode access
or
Switch# switchport mode dot1q-tunnel
Enables protocol tunneling for the desired protocol. If no keyword is
entered, tunneling is enabled for all three Layer 2 protocols.
l2protocol-tunnel [cdp | lldp | point-to-point
| stp | vtp]
Step 4
Example:
Switch# l2protocol-tunnel cdp
Use the no l2protocol-tunnel [cdp | lldp | point-to-point | stp
| vtp] interface configuration command to disable protocol
tunneling for one of the Layer 2 protocols or for all three.
Note
(Optional) Configures the threshold for packets-per-second accepted for
encapsulation. The interface is disabled if the configured threshold is
l2protocol-tunnel shutdown-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
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
shutdown-threshold 100 cdp
If you also set a drop threshold on this interface, the
shutdown-threshold value must be greater than or equal to the
drop-threshold value.
Note
Use the no l2protocol-tunnel shutdown-threshold [
packet_second_rate_value | cdp | lldp| point-to-point | stp | vtp]
and the no l2protocol-tunnel drop-threshold [
packet_second_rate_value | cdp | lldp| point-to-point |stp | vtp]
commands to return the shutdown and drop thresholds to the
default settings.
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