Cisco Systems 3560X Switch User Manual


  Open as PDF
of 1438
 
19-17
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 19 Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling
Switch(config-if)# l2protocol-tunnel drop-threshold point-to-point pagp 1000
Switch(config-if)# exit
Switch(config)# interface gigabite
thernet1/0/3
Switch(config-if)# switchport trun
k encapsulation isl
Switch(config-if)# switchport mode
trunk
SP edge switch 2 configuration:
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# switchport acce
ss vlan 19
Switch(config-if)# switchport mode
dot1q-tunnel
Switch(config-if)# l2protocol-tunn
el point-to-point pagp
Switch(config-if)# l2protocol-tunn
el point-to-point udld
Switch(config-if)# l2protocol-tunn
el drop-threshold point-to-point pagp 1000
Switch(config-if)# exit
Switch(config)# interface gigabite
thernet1/0/2
Switch(config-if)# switchport acce
ss vlan 20
Switch(config-if)# switchport mode
dot1q-tunnel
Switch(config-if)# l2protocol-tunn
el point-to-point pagp
Switch(config-if)# l2protocol-tunn
el point-to-point udld
Switch(config-if)# l2protocol-tunn
el drop-threshold point-to-point pagp 1000
Switch(config-if)# exit
Switch(config)# interface gigabite
thernet1/0/3
Switch(config-if)# switchport trun
k encapsulation isl
Switch(config-if)# switchport mode
trunk
This example shows how to configure the customer switch at Site 1. Fast Ethernet interfaces 1, 2, 3, and 4
are set for IEEE 802.1Q trunking, UDLD is enabled, EtherChannel group 1 is enabled, and the port
channel is shut down and then enabled to activate the EtherChannel configuration.
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# switchport trun
k encapsulation dot1q
Switch(config-if)# switchport mode
trunk
Switch(config-if)# udld enable
Switch(config-if)# channel-group 1
mode desirable
Switch(config-if)# exit
Switch(config)# interface gigabite
thernet1/0/2
Switch(config-if)# switchport trun
k encapsulation dot1q
Switch(config-if)# switchport mode
trunk
Switch(config-if)# udld enable
Switch(config-if)# channel-group 1
mode desirable
Switch(config-if)# exit
Switch(config)# interface gigabite
thernet1/0/3
Switch(config-if)# switchport trun
k encapsulation dot1q
Switch(config-if)# switchport mode
trunk
Switch(config-if)# udld enable
Switch(config-if)# channel-group 1
mode desirable
Switch(config-if)# exit
Switch(config)# interface gigabite
thernet1/0/4
Switch(config-if)# switchport trun
k encapsulation dot1q
Switch(config-if)# switchport mode
trunk
Switch(config-if)# udld enable
Switch(config-if)# channel-group 1
mode desirable
Switch(config-if)# exit
Switch(config)# interface port-cha
nnel 1
Switch(config-if)# shutdown
Switch(config-if)# no shutdown
Switch(config-if)# exit