Cisco Systems WSC2960XR48FPSI Manual De Usuario

Descargar
Página de 178
Examples: Configuring the SP Edge and Customer Switches
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, Fast 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 gigabitethernet1/0/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 gigabitethernet1/0/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 gigabitethernet1/0/3
Switch(config-if)#
switchport trunk encapsulation isl
Switch(config-if)#
switchport mode trunk
SP edge switch 2 configuration:
Switch(config)#
interface gigabitethernet1/0/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
Switch(config)#
interface gigabitethernet1/0/2
Switch(config-if)#
switchport access vlan 20
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 gigabitethernet1/0/3
Switch(config-if)#
switchport trunk encapsulation isl
Switch(config-if)# s
witchport 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 trunk 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 gigabitethernet1/0/2
Switch(config-if)#
switchport trunk encapsulation dot1q
Switch(config-if)#
switchport mode trunk
Switch(config-if)# u
dld enable
Switch(config-if)#
channel-group 1 mode desirable
Switch(config-if)#
exit
Switch(config)#
interface gigabitethernet1/0/3
Switch(config-if)#
switchport trunk encapsulation dot1q
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1    
   OL-29440-01
145
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Examples: Configuring the SP Edge and Customer Switches