cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3146
Views
0
Helpful
8
Replies

HSRP state Active Active

CSCO11632143
Level 1
Level 1


After confguring HSRP in my edge switches HSRP status is showing active in both switches as per my knowledge in HSRP one switch should be active state and other one shoud be in standby, Please let me know your thoughts on this and feel free to ask for more information.

Thank you in advance

Conf

SW1

interface GigabitEthernet2/0/1
description #Primary Link WTBB 1#
no switchport
ip address 10.107.25.11 255.255.255.248
standby 30 ip 10.107.25.10
standby 30 priority 110
standby 30 preempt

SW2

interface GigabitEthernet1/0/1
description # Secondary Link WTBB 2#
no switchport
ip address 10.107.25.12 255.255.255.248
standby 30 ip 10.107.25.10
no standby 30 preempt

SW001#show standby

GigabitEthernet2/0/1 - Group 30
  State is Active
    5 state changes, last state change 4w5d
  Virtual IP address is 10.107.25.10
  Active virtual MAC address is 0000.0c07.ac1e
    Local virtual MAC address is 0000.0c07.ac1e (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.358 secs
  Preemption enabled
  Active router is local
  Standby router is unknown
  Priority 110 (configured 110)
  IP redundancy name is "hsrp-Gi2/0/1-30" (default)

SW002#show standby

GigabitEthernet1/0/1 - Group 30
  State is Active
    23 state changes, last state change 2d16h
  Virtual IP address is 10.107.25.10
  Active virtual MAC address is 0000.0c07.ac1e
    Local virtual MAC address is 0000.0c07.ac1e (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.454 secs
  Preemption enabled
  Active router is local
  Standby router is unknown
  Priority 100 (default 100)
  IP redundancy name is "hsrp-Gi1/0/1-30" (default)

8 Replies 8

Harold Ritter
Level 12
Level 12

Hi Siju,

This is generally because the two routers cannot reach each other through the interface in question. Most probably a L2 issue.

Regards

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi,

Mr Harold is correct, this kind of issue happen when both the routers not communicating properly.

check the Ip connectivity as well as physical connection.

Thanks

Shashi

Hi Harold and Shashi,

Thanks for your replay.Here both ip's are communicating eachother. I have generated new HSRP logs. PFB, HSRP logs and kindly suggest any other troubleshooting steps for resolving the issue.

Nov 20 08:14:10: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/1, changed state to up

Nov 20 08:14:10: HSRP: Gi1/0/1 API Hardware state change - ignore

Nov 20 08:14:10: HSRP: Gi1/0/1 API Software interface coming up

Nov 20 08:14:10: HSRP: Gi1/0/1 Interface UP

Nov 20 08:14:10: HSRP: Gi1/0/1 Starting minimum interface delay (1 secs)

Nov 20 08:14:10: HSRP: Gi1/0/1 API Add active HSRP addresses to ARP table

Nov 20 08:14:10: %SYS-5-CONFIG_I: Configured from console by siju on vty0 (10.1.3.128)

Nov 20 08:14:11: HSRP: Gi1/0/1 Interface min delay expired

Nov 20 08:14:11: HSRP: Gi1/0/1 Grp 30 Init: a/HSRP enabled

Nov 20 08:14:11: HSRP: Gi1/0/1 Grp 30 Init -> Listen

Nov 20 08:14:11: HSRP: Gi1/0/1 Grp 30 Redundancy "hsrp-Gi1/0/1-30" state Init -> Backup

Nov 20 08:14:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/1, changed state to up

Nov 20 08:14:21: HSRP: Gi1/0/1 Grp 30 Listen: c/Active timer expired (unknown)

Nov 20 08:14:21: HSRP: Gi1/0/1 Grp 30 Listen -> Speak

Nov 20 08:14:21: HSRP: Gi1/0/1 Grp 30 Redundancy "hsrp-Gi1/0/1-30" state Backup -> Speak

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Speak: d/Standby timer expired (unknown)

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Standby router is local

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Speak -> Standby

Nov 20 08:14:31: %HSRP-5-STATECHANGE: GigabitEthernet1/0/1 Grp 30 state Speak -> Standby

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Redundancy "hsrp-Gi1/0/1-30" state Speak -> Standby

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Standby: c/Active timer expired (unknown)

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Active router is local

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Standby router is unknown, was local

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Standby -> Active

Nov 20 08:14:31: %HSRP-5-STATECHANGE: GigabitEthernet1/0/1 Grp 30 state Standby -> Active

Nov 20 08:14:31: HSRP: Gi1/0/1 Grp 30 Redundancy "hsrp-Gi1/0/1-30" state Standby -> Active

Nov 20 08:14:34: HSRP: Gi1/0/1 Grp 30 Redundancy group hsrp-Gi1/0/1-30 state Active -> Active

Nov 20 08:14:37: HSRP: Gi1/0/1 Grp 30 Redundancy group hsrp-Gi1/0/1-30 state Active -> Active

SW002#ping 10.107.25.11

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.107.25.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms

SW001#ping 10.107.25.12

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.107.25.12, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms

Regards,

Siju.

and also  Switches are not getting ARP entry for the peer ip

SW002#show arp

Protocol  Address          Age (min)  Hardware Addr   Type   Interface

Internet  10.107.25.10            -   0000.0c07.ac1e  ARPA   GigabitEthernet1/0/1

Internet  10.107.25.12            -   0024.c33b.47c3  ARPA   GigabitEthernet1/0/1

SW001#show arp

Protocol  Address          Age (min)  Hardware Addr   Type   Interface

Internet  10.107.25.10            -   0000.0c07.ac1e  ARPA   GigabitEthernet2/0/1

Internet  10.107.25.11            -   0024.51f2.51c9  ARPA   GigabitEthernet2/0/1

Siju

You have not told us what platform this is configured on but it looks to be a layer 3 switch. And I note that the ports are configured as layer 3 routed ports and not as switch ports. So it makes it important to know what is physically connected on these switch ports. The output of show cdp neighbor would be very helpful in this.

For HSRP to work it must send a layer 2 multicast which must be received by the HSRP peer. Your output suggests that the multicast is not getting through. The fact that arp is not showing the neighbor also suggests that there is not layer 2 broadcast connectivity between these switch ports. So please inform us exactly of what is physically connected to each of these switch ports.

HTH

Rick

HTH

Rick

Hi Siju,

Have you checked if there are no flaps/errors that may casue the HSRP to break. In the mean time can you please share the output of the below commands.

I also see that the switch becase standby which means the HSRP worked and suddenly lost the active router , can you tell me how frequently does this flap occur.?

Do you have to shut/no shut one interface to reform the HSRP again ?

SW1

show ip interface gig2/0/1

SW1#ping

Protocol [ip]:

Target IP address: 224.0.0.2

Repeat count [1]:100

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Interface [All]: Gig 2/0/1

Time to live [255]:

Source address:

Type of service [0]:

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

SW2

show ip interface gig1/0/1

SW1#ping

Protocol [ip]:

Target IP address: 224.0.0.2

Repeat count [1]:100

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Interface [All]: Gig 1/0/1

Time to live [255]:

Source address:

Type of service [0]:

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

Run the extended pings when the HSRP on both routers are active, this will confirm if the multicast hello packets are being sent and are being replied to by the other switch.

HTH

Regards

Umesh

Hi Siju,

can you ping 224.0.0.2 when the issue is happening to see if both the switches can respond back?

Thanks & Regards,
Karthick Murugan
CCIE#39285

Thanks & Regards, Karthick Murugan CCIE#39285

hi,

The logs shows that both the routers are not communicating to each other for hsrp as no hello packet are seen.

please send sh cdo neighbour so that we can get the information about the connectivity.

Thanks

Shashi

Review Cisco Networking for a $25 gift card