leblanc
asked on
hsrp and spanning tree
I have the setup below (see pic). I have core 1 as the primary hsrp gateway for vlan24 10.2.24.1/24 and core 2 as the primary hsrp gateway for vlan120 10.2.120.1/24. But when I look at the spanning tree, it is all going through core1 because spanning tree blocks fa0/2 for both vlans on switch1. How do I fix this to allow fa0/1 as the primary path for vlan24 and fa0/1 as the primary path for vlan120.
Can you provide more details like a config for core 1, core 2 as well as what type of switches they are ?
ASKER
The cores are Cisco Catalyst 3750s. Switch0 is a Cisco Catalyst 2960S. The configs are very basic (see below)
switch1:
core1:
core2:
SH SPAN FROM SWITCH0:
switch1:
...
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport mode trunk
!
...
!
interface Vlan1
no ip address
!
interface Vlan120
ip address 10.2.120.100 255.255.255.0
...
ip default-gateway 10.2.120.1
core1:
interface gig0/0
switchport mode trunk
!
interface gig0/2
switchport mode trunk
!
...
interface Vlan1
no ip address
!
interface Vlan24
ip address 10.2.24.2 255.255.255.0
standby 1 ip 10.2.24.1
standby 1 priority 200
standby 1 preempt
!
interface Vlan120
ip address 10.2.120.2 255.255.255.0
standby 1 ip 10.2.120.1
standby 1 preempt
...
core2:
interface gig0/0
switchport mode trunk
!
interface gig0/2
switchport mode trunk
!
...
interface Vlan1
no ip address
!
interface Vlan24
ip address 10.2.24.2 255.255.255.0
standby 1 ip 10.2.24.1
standby 1 preempt
!
interface Vlan120
ip address 10.2.120.2 255.255.255.0
standby 1 ip 10.2.120.1
standby 1 priority 200
standby 1 preempt
...
SH SPAN FROM SWITCH0:
VLAN24 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 32768, address cc03.1e68.0001
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address cc01.1cd4.0001
Root port is 41 (FastEthernet0/1), cost of root path is 19
Topology change flag not set, detected flag not set
Number of topology changes 3 last change occurred 01:57:36 ago
from FastEthernet0/2
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 300
Port 41 (FastEthernet0/1) of VLAN24 is forwarding
Port path cost 19, Port priority 128, Port Identifier 128.41.
Designated root has priority 32768, address cc01.1cd4.0001
Designated bridge has priority 32768, address cc01.1cd4.0001
Designated port id is 128.81, designated path cost 0
Timers: message age 1, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 30, received 4306
Port 42 (FastEthernet0/2) of VLAN24 is blocking
Port path cost 19, Port priority 128, Port Identifier 128.42.
Designated root has priority 32768, address cc01.1cd4.0001
Designated bridge has priority 32768, address cc02.173c.0001
Designated port id is 128.81, designated path cost 19
Timers: message age 3, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 16, received 4316
VLAN120 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 32768, address cc03.1e68.0002
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address cc01.1cd4.0002
Root port is 41 (FastEthernet0/1), cost of root path is 19
Topology change flag not set, detected flag not set
Number of topology changes 3 last change occurred 01:59:52 ago
from FastEthernet0/2
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 300
Port 41 (FastEthernet0/1) of VLAN120 is forwarding
Port path cost 19, Port priority 128, Port Identifier 128.41.
Designated root has priority 32768, address cc01.1cd4.0002
Designated bridge has priority 32768, address cc01.1cd4.0002
Designated port id is 128.81, designated path cost 0
Timers: message age 1, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 30, received 4371
Port 42 (FastEthernet0/2) of VLAN120 is blocking
Port path cost 19, Port priority 128, Port Identifier 128.42.
Designated root has priority 32768, address cc01.1cd4.0002
Designated bridge has priority 32768, address cc02.173c.0002
Designated port id is 128.81, designated path cost 19
Timers: message age 3, forward delay 0, hold 0
Number of transitions to forwarding state: 1
BPDU: sent 17, received 4380
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes. That's it. Thx