13-16
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter13 Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling
Use the no switchport mode trunk, the no udld enable, and the no channel group
channel-group-number mode desirable interface configuration commands to return the interface to the
default settings.
For EtherChannels, you need to configure both the SP edge switches and th e c ustom er sw itc hes fo r
Layer2 protocol tunneling. (See Figure 13-6 on page 13-10.)
This example shows how to configure the SP edge switch 1 and edge switch 2. VLA Ns 17, 1 8, 19, and
20 are the access VLANs, Gigabit Ethernet interfaces 1 and 2 are point-to-point tunnel ports with PAgP
and UDLD enabled, the drop threshold is 1000, and Fast Ethernet interface 3 is a trunk port.
SP edge switch 1 configuration:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport access vlan 17
Switch(config-if)# switchport mode dot1q-tunnel
Switch(config-if)# l2protocol-tunnel point-to-point pagp
Switch(config-if)# l2protocol-tunnel point-to-point udld
Switch(config-if)# l2protocol-tunnel drop-threshold point-to-point pagp 1000
Switch(config-if)# exit
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# switchport access vlan 18
Switch(config-if)# switchport mode dot1q-tunnel
Switch(config-if)# l2protocol-tunnel point-to-point pagp
Switch(config-if)# l2protocol-tunnel point-to-point udld
Switch(config-if)# l2protocol-tunnel drop-threshold point-to-point pagp 1000
Switch(config-if)# exit
Switch(config)# interface fastethernet0/3
Switch(config-if)# no shutdown
Switch(config-if)# switchport mode trunk
SP edge switch 2 configuration:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport access vlan 19
Switch(config-if)# switchport mode dot1q-tunnel
Switch(config-if)# l2protocol-tunnel point-to-point pagp
Switch(config-if)# l2protocol-tunnel point-to-point udld
Switch(config-if)# l2protocol-tunnel drop-threshold point-to-point pagp 1000
Switch(config-if)# exit
Step6 channel-group channel-group-number
mode desirable Assign the interface to a channel group, and specify desirable for the P AgP
mode if the interface is an NNI. For more information about configuring
EtherChannels, see Chapter31, “Configuring Eth erChanne ls.”
Step7 exit Return to global configuration mode.
Step8 interface port-channel port-channel
number Enter port-channel interface mode.
Step9 shutdown Shut down the interface.
Step10 no shutdown Enable the interface.
Step11 end Return to privileged EXEC mode.
Step12 show l2protocol Display the Layer 2 tunnel ports on the switch, including the p rotocol s
configured, the thresholds, and the counters.
Step13 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose