cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8437
Views
0
Helpful
16
Replies

HSRP state change

emilio1973
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

16 Replies 16

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Hello Giuseppe,

I will try it and I mention the results.

Thanks a lot.

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

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

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

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

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

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

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

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

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
VIP Alumni
VIP Alumni

  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.

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
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco