cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
468
Views
0
Helpful
4
Replies

hsrp question

kwunchungchan
Level 1
Level 1

Hi all,

I face some two problem in hsrp. Any idea on it?

Thanks a lot!

1) The router learns hsrp groups which haven't been configured in the interface. In the screen dump, fa0/0 group 4 and fa0/1 group 6 haven't been configured, but it learns from other routers

screen dump:

routerA#sh run int fa0/0

Building configuration...

Current configuration : 271 bytes

!

interface FastEthernet0/0

ip address 10.119.23.1 255.255.0.0

ip access-group A in

ip access-group C out

no ip redirects

duplex auto

speed auto

standby 3 priority 105 preempt

standby 3 ip 10.119.23.3

standby 3 track Fa0/1

standby 3 track Fa1/0

end

routerA#sh standby br

P indicates configured to preempt.

|

Interface Grp Prio P State Active addr Standby addr Group addr

Fa0/0 3 105 P Active local 10.119.23.2 10.119.23.3

Fa0/0 4 100 Init 10.119.24.1 unknown 10.119.24.3

Fa0/1 5 105 P Active local 10.120.23.2 10.120.23.3

Fa0/1 6 100 Init 10.120.24.2 10.120.24.1 10.120.24.3

Fa1/0 1 105 P Active local 10.121.1.2 10.21.1.3

2) Two routers can ping each other, but both in active state. Their priority are different.

screen dump:

routerE#sh standby br

P indicates configured to preempt.

|

Interface Grp Prio P State Active Standby Virtual IP

Fa0/0 4 100 P Active local unknown 10.119.24.3

routerF>sh standby br

P indicates configured to preempt.

|

Interface Grp Prio P State Active Standby Virtual IP

Fa0/0 4 105 P Active local unknown 10.119.24.3

4 Replies 4

Hello,

regarding your first porblem, I think this is normal HSRP behaviour: HSRP groups configured on other routers on the network that are learned via snooping are displayed as being in the Init state. I am not sure how to prevent the router from seeing these groups, but you could try tp prevent multicast address 224.0.0.2, which is the multicast address used by HSRP, from the group addresses you do not want to see, you could add these to your already existing access lists.

Regarding your second question, do you get error messages indicating a lot of state changes between the active and the standby router ? Which platform are you running this on, and which IOS versions are you using ?

Regards,

GP

Thanks for your reply!

Its amazing that it is normal for point 1. However, other routers do not have this problem. Is it also due to IOS version?

The model is cisco 3620 and IOS is 12.1(5)T12

For point 2, the logg shows that there are some state change, but not frequent. In this case, the state change from standby to active a month ago. However, it can't resume standby. I have performed extend ping between the two routers and no packet loss.

The model is cisco 2621XM and IOS is 12.2(11)T2

The behaviour is different in IOS version 12.2 in that "sh stand brief" does not display groups that a device is not a member of. You can can still get the information with a "sh stand all"

router#sh stand brie

P indicates configured to preempt.

|

Interface Grp Prio P State Active addr Standby addr Group addr

Vl1 1 100 Active local unknown 192.168.1.2

router#sh stand all

Vlan1 - Group 2

Local state is Disabled (learnt), priority 100

Hellotime 3 sec, holdtime 10 sec

Virtual IP address is 192.168.1.72

Active router is 192.168.1.71, priority 100 expires in 9.284

Standby router is unknown

0 state changes, last state change never

On the second point, can you run "deb stand" and paste the output here?

Regards

icic! thanks a lot!