White Paper Issue: October 2006 Integration of BX600 SB9 Switches in Cisco Networks Page 16 / 47
! Define the VLANs
vlan database
vlan 10
vlan name 10 VLAN-10
vlan 20
vlan name 20 VLAN-20
exit
! Definine the port-channels
port-channel Po1
interface 1/1
exit
interface 0/11
channel-group 1/1
exit
interface 0/12
channel-group 1/1
exit
port-channel Po2
interface 1/2
exit
interface 0/13
channel-group 1/2
exit
interface 0/14
channel-group 1/2
exit
! Configure the interfaces
interface range 0/11 – 0/14
spanning-tree port mode
switchport allowed vlan add 10
switchport tagging 10
switchport allowed vlan add 20
switchport tagging 20
exit
interface 1/1
staticcapability
spanning-tree port mode
switchport allowed vlan add 10
switchport tagging 10
switchport allowed vlan add 20
switchport tagging 20
exit
interface 1/2
staticcapability
spanning-tree port mode
switchport allowed vlan add 10
switchport tagging 10
switchport allowed vlan add 20
switchport tagging 20
exit
end
! Cisco Switch A
! Enable and configure RSTP
spanning-tree mode rapid-pvst
spanning-tree vlan 1,10,20 priority 0
!
! Timers are tuned. Please refer Cisco documentation before
! using this part of the configuration
!
spanning-tree vlan 1,10,20 hello-time 1
spanning-tree vlan 1,10,20 forward-time 8
spanning-tree vlan 1,10,20 max-age 11
!
vlan 10