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 interfaceas an IEEE802.1Q tunnelport.switchportmode dot1q-tunnel
Step 3
Example:
Switch(config-if)# switchport mode
dot1q-tunnel
(Optional)Enables point-to-point protocol tunneling for thedesired
protocol.If no keyword is entered, tunneling is enabled for all three
protocols.
l2protocol-tunnelpoint-to-point [pagp |lacp
|udld]
Example:
Switch(config-if)# l2protocol-tunnel
Step 4
Toavoid a network failure, make sure that the network is a
point-to-pointtopology before you enable tunneling for PAgP,
LACP,or UDLD packets.
Note
Usethe no l2protocol-tunnel[point-to-point [pagp |lacp |
udld]]interface configuration command todisable
point-to-pointprotocol tunneling for one of the Layer 2
protocolsor for all three.
Note
point-to-point pagp
(Optional)Configures the thresholdfor packets-per-secondaccepted
forencapsulation. The interface is disabledif the configured threshold
l2protocol-tunnelshutdown-threshold
[point-to-point[pagp |lacp |udld]] value
Step 5
isexceeded. If no protocol option is specified, the threshold applies to
Example:
Switch(config-if)# l2protocol-tunnel
eachof the tunneledLayer 2 protocoltypes. The range is1 to 4096.
Thedefault is tohave no threshold configured.
Ifyou also set a drop threshold on this interface, the
shutdown-thresholdvalue must be greater than or equal to
thedrop-threshold value.
Note
Usethe no l2protocol-tunnelshutdown-threshold
[point-to-point[pagp |lacp |udld]] and the no
l2protocol-tunneldrop-threshold [[point-to-point [pagp |
lacp| udld]] commandsto returnthe shutdown and drop
thresholdsto the defaultsettings.
Note
shutdown-threshold point-to-point pagp
100
(Optional)Configures the thresholdfor packets-per-secondaccepted
forencapsulation. The interface drops packets if the configured threshold
l2protocol-tunneldrop-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