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 IEEE 802.1Q tunnel port.switchport mode dot1q-tunnel
Step 3
Example:
Switch(config-if)# switchport mode
dot1q-tunnel
(Optional) Enables point-to-point protocol tunneling for the desired
protocol. If no keyword is entered, tunneling is enabled for all three
protocols.
l2protocol-tunnel point-to-point [pagp | lacp
| udld]
Example:
Switch(config-if)# l2protocol-tunnel
Step 4
To avoid a network failure, make sure that the network is a
point-to-point topology before you enable tunneling for PAgP,
LACP, or UDLD packets.
Note
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.
Note
point-to-point pagp
(Optional) Configures the threshold for packets-per-second accepted
for encapsulation. The interface is disabled if the configured threshold
l2protocol-tunnel shutdown-threshold
[point-to-point [pagp | lacp | udld]] value
Step 5
is exceeded. If no protocol option is specified, the threshold applies to
Example:
Switch(config-if)# l2protocol-tunnel
each of the tunneled Layer 2 protocol types. The range is 1 to 4096.
The default is to have no threshold configured.
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
[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 the default settings.
Note
shutdown-threshold point-to-point pagp
100
(Optional) Configures the threshold for packets-per-second accepted
for encapsulation. The interface drops packets if the configured threshold
l2protocol-tunnel drop-threshold
[point-to-point [pagp | lacp | udld]] value
Step 6
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01 139
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuring the SP Edge Switch