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

HSRP-New

balla-zoltan
Level 1
Level 1

I have two routers configured for HSRP:

interface GigabitEthernet0/1

ip address 10.10.10.2 255.255.255.240

ip flow ingress

standby 10 ip 10.10.10.1

standby 10 timers 5 15

standby 10 priority 130

standby 10 preempt

standby 10 track 100 decrement 250

load-interval 30

duplex full

speed 1000

!

interface GigabitEthernet0/1

ip address 10.10.10.3 255.255.255.240

ip flow ingress

standby 10 ip 10.10.10.1

standby 10 timers 5 15

standby 10 preempt

load-interval 30

duplex full

speed 1000

!

The first configurration supposed to be the primary router but when I look at sh standby this is what I see:

GigabitEthernet0/1 - Group 10

  State is Standby

    6 state changes, last state change 00:12:22

  Virtual IP address is 161.195.142.1

  Active virtual MAC address is 0000.0c07.ac0a

    Local virtual MAC address is 0000.0c07.ac0a (v1 default)

  Hello time 5 sec, hold time 15 sec

    Next hello sent in 1.520 secs

  Preemption enabled

  Active router is 161.195.142.3, priority 110 (expires in 12.560 sec)

  Standby router is local

  Priority 0 (configured 130)

    Track object 100 state Down decrement 250

  Group name is "hsrp-Gi0/1-10" (default)

Why does it say Priority 0 (configured 130)? Did I miss something in the configuration?

Thanks

1 Accepted Solution

Accepted Solutions

Hi

The issue is with the tracking

View solution in original post

8 Replies 8

balla-zoltan
Level 1
Level 1

Correction, the second configuration should read:

interface GigabitEthernet0/1

ip address 10.10.10.3 255.255.255.240

ip flow ingress

standby 10 ip 10.10.10.1

standby 10 timers 5 15

standby 10 preempt

standby 10 priority 110

load-interval 30

duplex full

speed 1000

Hi,
what have you configured on track 100?
it seems like track 100 is decrementing priority value from configured 130 to 0. this because you've configured a priority decrement 250 value but you cannot obtain an under 0 value.
i also noticed that the show standby command shows you different ip addresses of those you configured on router interfaces and this is so strange!!



Sent from Cisco Technical Support iPad App

mahmoodmkl
Level 7
Level 7

Hi
Have u seen the virtual ip address it looks differnt thn what u have configured

Sent from Cisco Technical Support iPhone App

Here is the configuration from the router that I have access to:

track 100 interface GigabitEthernet0/0 ip routing

delay up 180

interface GigabitEthernet0/0

mtu 9216

no ip address

load-interval 30

duplex full

speed 1000

!

interface GigabitEthernet0/0.412

encapsulation dot1Q 412

ip address

!

interface GigabitEthernet0/0.413

encapsulation dot1Q 413

ip address

!

interface GigabitEthernet0/1

ip address 161.195.142.2 255.255.255.240

ip flow ingress

standby 10 ip 161.195.142.1

standby 10 timers 5 15

standby 10 priority 130

standby 10 preempt

standby 10 track 100 decrement 250

load-interval 30

duplex full

speed 1000

!

I was thinking maybe I should you tracking like this:

track 100 ip route 0.0.0.0 0.0.0.0 reachability

It maybe that I have the issue because there are sub-interfaces configured.

Hello,
For first hop redundancy to be established the peers need to be in the same subnet for the virtual ip to work and for the peering to
be valid.

In you config this doesn't seem to be the case and is the reason you are seeing the router with the lower priority as active for it cannot see its hrsp neighbour.

Res
paul
Sent from Cisco Technical Support iPad App


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

@Balla,

First thing is that your configuration that you have pasted here are of two differrent subnets.

This is an incorrect information that you have provided.

For tracking lower this decrement value to 20 in the event reachabilty not found.

Hi

The issue is with the tracking

I figured it out in my lab that you cannot use an interface for tracking when you have sub-interfaces under it. Thanks for everyone's hepl.

Review Cisco Networking products for a $25 gift card