30-19
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
 
Chapter 30      Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling
Drop Threshold for Encapsulated Packets: 0
Port                Protocol    Shutdown  Drop      Encaps    Decaps    Drop
                                Threshold Threshold Counter   Counter   Counter
------------------- ----------- --------- --------- --------- --------- ---------
Gi1/1/11            cdp           1500      1000         2288      2282         0
                    lldp          1500      1000            0         0         0
                    stp           1500      1000          116        13         0
                    vtp           1500      1000            3        67         0
                    ---           ----      ----         ----      ----      ----
                    ---           ----      ----         ----      ----      ----
                    ---           ----      ----         ----      ----      ----
Configuring Layer 2 Tunneling for EtherChannels
To configure Layer 2 point-to-point tunneling to facilitate the automatic creation of EtherChannels, you 
need to configure both the SP edge switch and the customer switch. This section includes the following 
tasks:
• Configuring the SP Edge Switch, page 30-19
• Configuring the Customer Switch, page 30-21
Configuring the SP Edge Switch
Command Purpose
Step 1
Switch# configure terminal
Enters the global configuration mode.
Step 2
Switch(config)# interface 
interface-id
Enters interface configuration mode. Enter the interface to be configured as 
a tunnel port. This should be the edge port in the service provider network 
that connects to the customer switch. 
Step 3
Switch(config-if)# switchport 
mode dot1q-tunnel
Configures the interface as an 802.1Q tunnel port
Step 4
Switch(config-if)# 
l2protocol-tunnel point-to-point 
[pagp | lacp | udld]
(Optional) Enables point-to-point protocol tunneling for the desired 
protocol. If no keyword is entered, tunneling is enabled for all three 
protocols.
Caution 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.
Step 5
Switch(config-if)# 
l2protocol-tunnel 
shutdown-threshold 
[point-to-point 
[pagp | lacp | udld]] value
(Optional) Configures the threshold for packets-per-second accepted for 
encapsulation. The interface is disabled if the configured threshold is 
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.
Note 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.