HSRP state change

Answered Question
Nov 20th, 2009
User Badges:

I've got two routers: a 2821 with an interface GigabitEthernet (Active) and a 2620 with an interface FastEthernet (Standby) normally performing in a HSRP mode:


interface GigabitEthernet0/1
description LAN XXXX
ip address xxx.xxx.xx.x 255.255.255.0
no ip redirects
no ip proxy-arp
duplex full
speed 1000
standby 1 ip xxx.xxx.xx.x
standby 1 timers msec 100 msec 300
standby 1 preempt
standby 1 authentication xxxx
standby 1 track 1 decrement 50


interface FastEthernet0/0
description LAN XXXX
ip address xxx.xxx.xx.x 255.255.255.0
no ip redirects
no ip proxy-arp
speed 100
full-duplex
no cdp enable
standby 1 ip xxx.xxx.xx.x
standby 1 timers msec 100 msec 300
standby 1 priority 95
standby 1 preempt
standby 1 authentication xxxx


In log on standby router, i can see the following message:


.Nov 20 09:21:37.398 CET: %HSRP-5-STATECHANGE: FastEthernet0/0 Grp 1 state Standby -> Active
.Nov 20 09:21:37.474 CET: %HSRP-5-STATECHANGE: FastEthernet0/0 Grp 1 state Active -> Speak
.Nov 20 09:40:38.154 CET: %HSRP-5-STATECHANGE: FastEthernet0/0 Grp 1 state Standby -> Active
.Nov 20 09:40:47.114 CET: %HSRP-5-STATECHANGE: FastEthernet0/0 Grp 1 state Active -> Speak


How can I keep from coming back? I force the port of switch to full duplex speed 100 and change the wire. Someone can help me?


Thanks

Correct Answer by Giuseppe Larosa about 7 years 7 months ago

Hello Juan,


Dec  2 14:43:52.178 CET: HSRP: Fa0/0 Grp 1 Speak: d/Standby timer expired (unknown)


this message says that the local node the C2620 is not receiving the HSRP hellos from the other router.


if the serial interface would be flapping we would see messages coming from other node with a changing HSRP priority (100 then 50 then again 100)  over time caused by the tracking.


But here it looks like a different behaviour.


Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Giuseppe Larosa Fri, 11/20/2009 - 02:32
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Juan,

try to use less aggressive timers:


>> standby 1 timers msec 100 msec 300


use 300 and 900 msec


other users have reported problems with low timers settings



Hope to help

Giuseppe

emilio1973 Fri, 11/20/2009 - 05:30
User Badges:

Hello Giuseppe,


I will try it and I mention the results.


Thanks a lot.

emilio1973 Tue, 12/01/2009 - 23:23
User Badges:

Hi, I apologize for the delay in replying but i was on holiday. Change the timers but the message still appears very often. I need to solve this problem as soon as possible.


Thanks

Giuseppe Larosa Wed, 12/02/2009 - 02:15
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Juan,

in this case I would look at spanning-tree there can be issues with STP if even with higher timers you still see these messages



Hope to help

Giuseppe

emilio1973 Wed, 12/02/2009 - 04:34
User Badges:

Hi Giuseppe, thanks for your help.


I spoke with the customer to know the configuration of LAN switches and there is not STP configuration. I have also asked to change the port and check the wire.


I'll keep you informed


Thanks

Jon Marshall Wed, 12/02/2009 - 04:25
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

In addition to Giuseppe and Glen's suggestions -


you are tracking an interface on your 2821 router. Can you check that this interface is okay and is not flapping.


Jon

emilio1973 Wed, 12/02/2009 - 04:49
User Badges:

Hi jon, thank fo your help. These are the statistics of interface LAN of 2821 router.


GigabitEthernet0/1 is up, line protocol is up
  Hardware is MV96340 Ethernet, address is 001c.f687.8199 (bia 001c.f687.8199)
  Description: LAN IPSA
  Internet address is 213.190.6.175/24
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, media type is T
  output flow-control is XON, input flow-control is XON
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Input queue: 1/75/14/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 844000 bits/sec, 427 packets/sec
  5 minute output rate 2544000 bits/sec, 414 packets/sec
     368945694 packets input, 2138214808 bytes, 0 no buffer
     Received 39632109 broadcasts, 0 runts, 0 giants, 1 throttles
     1 input errors, 0 CRC, 0 frame, 0 overrun, 1 ignored
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     433755824 packets output, 1888548680 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     6266993 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 2 pause output
     0 output buffer failures, 0 output buffers swapped out

Giuseppe Larosa Wed, 12/02/2009 - 04:52
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Juan,


>> I spoke with the customer to know the configuration of LAN switches and there is not STP configuration.


I would try to understand if this means that STP is running with default settings or if it is not running at all it makes some difference!



your interface statistics look like correct with no meaningful errors but this doesn't mean that errors shouldn't be on switch ports, as Glen has noted you have hardcoded speed and duplex so you need to verify settings on switch ports, be aware that FE ports default to 100 Mbps half duplex.


Edit:

>> How can I keep from coming back? I force the port of switch to full duplex speed 100 and change the wire. Someone can help me?


I see that you have already coded speed and duplex also on switch side.


just as a try. with default HSRP timers what happens? I wonder if C2620 IOS image can be a little old for this job.


Hope to help

Giuseppe

emilio1973 Wed, 12/02/2009 - 08:02
User Badges:

Hi Giuseppe, the IOS version is 12.3 (22). I also think it's an older version for this work but do not know what would be appropriate and how to find it. I appreciate any help


thanks

Correct Answer
Giuseppe Larosa Wed, 12/02/2009 - 12:33
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Juan,


Dec  2 14:43:52.178 CET: HSRP: Fa0/0 Grp 1 Speak: d/Standby timer expired (unknown)


this message says that the local node the C2620 is not receiving the HSRP hellos from the other router.


if the serial interface would be flapping we would see messages coming from other node with a changing HSRP priority (100 then 50 then again 100)  over time caused by the tracking.


But here it looks like a different behaviour.


Hope to help

Giuseppe

emilio1973 Fri, 12/04/2009 - 01:53
User Badges:

Hi Giuseppe, finally we decided a change although the current IOS router hardware supports (64/32) but can not think of another solution.


Thanks for your help


Emilio

glen.grant Wed, 12/02/2009 - 04:19
User Badges:
  • Purple, 4500 points or more

  I am assuming there is a switch between these interfaces . Check the switch interfaces for speed and duplex .  They must match whats on the routers . Seeing that they are hardcoded speeds on the routers you must hardcode the speeds on the switch also otherwise you'll have speed/duplex mismatches which causes errors and slow responses which could cause what you are seeing... check for errors on the attached switch.

emilio1973 Wed, 12/02/2009 - 04:57
User Badges:

Hi glen , thanks for your help. I spoke with the customer to know the configuration of ports switch and there are not speed/duplex mismatches.I have also asked me to send the statistics of switch ports.


I'll keep you informed

emilio1973 Wed, 12/02/2009 - 06:50
User Badges:

This is a debug HSRP on backup router:


backup-router#debug standby events
HSRP Events debugging is on
backup-router#Received disconnect from xxx.xxx.xx.xxx: Time-out activated

The ip xxx.xxx.xx.xxx is the ip address of serial interface on this router (backup).


I think that the problem is on serial interfaces but the statistics looks right.


backup-router#sh int s0/0:0
Serial0/0:0 is up, line protocol is up
  Hardware is PowerQUICC Serial
  Description: E1 interface
  Internet address is xxx.xxx.xx.xxx/30
  MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, LCP Open
  Open: IPCP, loopback not set
  Keepalive set (10 sec)
  Restart-Delay is 0 secs
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 1w1d
  Input queue: 1/75/0/0 (size/max/drops/flushes); Total output drops: 281
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  30 second input rate 1000 bits/sec, 2 packets/sec
  30 second output rate 1000 bits/sec, 2 packets/sec
     179882 packets input, 5662256 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     2 input errors, 0 CRC, 2 frame, 0 overrun, 0 ignored, 0 abort
     4352950 packets output, 241052492 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out
     1 carrier transitions
  Timeslot(s) Used:1-31, SCC: 1, Transmitter delay is 0 flags

emilio1973 Wed, 12/02/2009 - 07:03
User Badges:

This is a show log on backup router:


.Dec  2 14:43:50.950 CET: %HSRP-5-STATECHANGE: FastEthernet0/0 Grp 1 state Standby -> Active
.Dec  2 14:43:50.950 CET: HSRP: Fa0/0 Grp 1 Redundancy "hsrp-Fa0/0-1" state Standby -> Active
.Dec  2 14:43:50.974 CET: HSRP: Fa0/0 Grp 1 Hello  in  213.190.6.175 Active  pri 100 vIP 213.190              .6.1
.Dec  2 14:43:50.978 CET: HSRP: Fa0/0 Grp 1 Active router is 213.190.6.175, was local
.Dec  2 14:43:50.978 CET: HSRP: Fa0/0 Grp 1 Active: g/Hello rcvd from higher pri Active router (              100/213.190.6.175)
.Dec  2 14:43:50.978 CET: HSRP: Fa0/0 Grp 1 Active -> Speak
.Dec  2 14:43:50.978 CET: %HSRP-5-STATECHANGE: FastEthernet0/0 Grp 1 state Active -> Speak
.Dec  2 14:43:50.978 CET: HSRP: Fa0/0 Grp 1 Redundancy "hsrp-Fa0/0-1" state Active -> Speak
.Dec  2 14:43:50.982 CET: HSRP: Fa0/0 API MAC address update
.Dec  2 14:43:52.178 CET: HSRP: Fa0/0 Grp 1 Speak: d/Standby timer expired (unknown)
.Dec  2 14:43:52.178 CET: HSRP: Fa0/0 Grp 1 Standby router is local
.Dec  2 14:43:52.178 CET: HSRP: Fa0/0 Grp 1 Speak -> Standby
.Dec  2 14:43:52.178 CET: HSRP: Fa0/0 Grp 1 Redundancy "hsrp-Fa0/0-1" state Speak -> Standby

glen.grant Wed, 12/02/2009 - 09:16
User Badges:
  • Purple, 4500 points or more

   I'm not sure what you are tracking on the gig interface , if it's the serial interface and that is flapping  , with such low hsrp timers it's going to immediately cause a state change , maybe check that serial line.

Actions

This Discussion