Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

HSRP track interface (ASR9k v4.2.3)

Hi all,

I was trying to configure the track interface command within hsrp, and when I apply the command the priority group decrement immediately.

Before of apply the configuration:

RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh hsrp bvi 600

Thu Sep 12 14:04:07.548 UTC

                       P indicates configured to preempt.

                       |

Interface      Grp Pri P State   Active addr     Standby addr   Group addr   

BV600            1 110 P Active  local           200.10.10.3    200.10.10.1

Then, I apply track interface:

router hsrp

interface BVI600

  address-family ipv4

   hsrp 1 version 1

    timers 1 3

    preempt

    priority 110

    address 200.10.10.1

    track GigabitEthernet0/3/0/26 20

   !

And priority decrement:

RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh hsrp bvi 600

Thu Sep 12 14:05:20.302 UTC

                       P indicates configured to preempt.

                       |

Interface      Grp Pri P State   Active addr     Standby addr   Group addr   

BV600            1  90 P Standby 200.10.10.3     local          200.10.10.1 

Why priority decrement if the interface is always up?

Regards.

  • XR OS and Platforms
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

HSRP track interface (ASR9k v4.2.3)

What is the configuration on GIg0/3/0/26?  Is it definded as l3 or l2 interface?  HSRP can't track an L2 interface.

Thanks,

Bryan

7 REPLIES
New Member

Re: HSRP track interface (ASR9k v4.2.3)

Is the interface 'GigabitEthernet0/3/0/26' down ?


Re: HSRP track interface (ASR9k v4.2.3)

No. That´s why I am asking why the priority decrement if the interface is always UP.

Look:

RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh inter gi 0/3/0/26

Fri Sep 13 10:41:55.907 UTC

GigabitEthernet0/3/0/26 is up, line protocol is up

Without track command:

RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh hsrp bvi 600

Fri Sep 13 10:42:30.411 UTC

                       P indicates configured to preempt.

                       |

Interface      Grp Pri P State   Active addr     Standby addr   Group addr    

BV600            1 110 P Active  local           200.10.10.3    200.10.10.1   

After I apply track command:

router hsrp

interface BVI600

  address-family ipv4

   hsrp 1 version 1

    timers 1 3

    preempt

    priority 110

    address 200.10.10.1

    track GigabitEthernet0/3/0/26 20

RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh inter gi 0/3/0/26

Fri Sep 13 10:44:28.498 UTC

GigabitEthernet0/3/0/26 is up, line protocol is up

RP/0/RSP0/CPU0:PE1-ASR9010-LAB-MACUL#sh hsrp bvi 600                

Fri Sep 13 10:44:43.139 UTC

                       P indicates configured to preempt.

                       |

Interface      Grp Pri P State   Active addr     Standby addr   Group addr    

BV600            1  90 P Standby 200.10.10.3     local          200.10.10.1   


New Member

Re: HSRP track interface (ASR9k v4.2.3)

Cisco Employee

HSRP track interface (ASR9k v4.2.3)

What is the configuration on GIg0/3/0/26?  Is it definded as l3 or l2 interface?  HSRP can't track an L2 interface.

Thanks,

Bryan

Cisco Employee

HSRP track interface (ASR9k v4.2.3)

An option may be to create an object and track the state of that object?

track THISOBJECT
type line-protocol state
 interface GigE0/0/0/10

router hsrp
int bvi 52
address-family ipv4
track object THISOBJECT 20

didnt test it, but it might be a usable workaround available in 4.2.1 onwards.

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR

HSRP track interface (ASR9k v4.2.3)

Hi Alexander,

I tried with track object and it works fine.

Thanks!.

Regards.

HSRP track interface (ASR9k v4.2.3)

Hi Bryan,

The inteface is L2, that is the problem. Thanks!

442
Views
0
Helpful
7
Replies