Configuring The Customer Switch - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 30
Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling

Configuring the Customer Switch

Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface
interface-id
Step 3
Switch(config-if)# switchport
mode trunk
Step 4
Switch(config-if)# udld enable
Step 5
Switch(config-if)# channel-group
channel-group-number mode
desirable
Step 6
Switch(config-if)# exit
Switch(config)# interface
Step 7
port-channel port-channel number
Step 8
Switch(config-if)# shutdown
Step 9
Switch(config-if)# no shutdown
Step 10
Switch(config-if)# end
Step 11
Switch# show l2protocol
Step 12
Switch# copy running-config
startup-config
Use the no switchport mode trunk, the no udld enable, and the no channel group
channel-group-number mode desirable interface configuration commands to restore default interface
settings.
This example shows you how to configure a customer switch:
Switch(config)# interface gigabitEthernet 2/14
Switch(config-if)# switchport mode trunk
Switch(config-if)# udld port
Switch(config-if)# channel-group 10 mode desirable
Switch(config-if)# exit
This example shows how to configure the SP edge switch 1 and edge switch 2. VLANs 17, 18, 19, and
20 are the access VLANs, Gigabit Ethernet interfaces 1/1/11 and 1/1/12 are point-to-point tunnel ports
with PAgP and UDLD enabled, the drop threshold is 1000, and Fast Ethernet interface 1/1/13 is a trunk
port.
SP edge switch 1 configuration:
Switch(config)# interface gigabitEthernet 1/1/11
Switch(config-if)# switchport access vlan 17
Switch(config-if)# switchport mode dot1q-tunnel
Switch(config-if)# l2protocol-tunnel point-to-point pagp
pagp
lacp
udld
Purpose
Enters the global configuration mode.
Enters interface configuration mode. Enter the interface to be configured as
a tunnel port.
Enables trunking on the interface.
Enables UDLD in normal mode on the interface
Assigns the interface to a channel group, and specifies desirable for the
PAgP mode.
Returns to global configuration mode.
Enters port-channel interface mode.
Shuts down the interface.
Enables the interface.
Returns to global configuration mode.
Displays the Layer 2 tunnel ports on the switch, including the protocols
configured, the thresholds, and the counters.
(Optional) Saves your entries in the configuration file.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
3000
2500
3000
2500
3000
2500
Configuring Layer 2 Protocol Tunneling
0
0
0
0
0
0
0
0
0
30-21

Advertisement

Table of Contents
loading

Table of Contents