Skip navigation
Cisco Learning Home > Certifications > Discussions

_Communities

2313 Views 5 Replies Latest reply: Apr 17, 2012 4:59 AM by Mohit Kansal CCIE RS RSS

Currently Being Moderated

HSRP - Sub Interface

Dec 8, 2011 7:10 AM

uday 56 posts since
May 12, 2011

Hi,

 

I've a router which is configured with HSRP.

 

Gi0/0 - HSRP Configured

Gi0/1 - Sub Interface Created, Configured HSRP for each sub interface.

 

Only when i switch off this router, Router 2 is becoming active.

 

Because, Lets say Gi0/0 is shutdown, When you give show standy, it'll show as State is Init (interface down) for Gi0/0 in Router 1 & for all the sub interfaces it'll be active, but Router 2 will be active for Gi0/0, & gi0/1 will be standby for all the sub interfaces because, Router 1 subinterfaces are still active.

 

The only way we can fix this is to track the gi0/0, so that gi0/0 for LAN RTR1 becomes standby, so that it allows router 2 to become active.

 

I tried giving the track interface command in the subinterface, but it didnt work.

 

Any assistance would really of good help.

 

Uday

  • Matty182 22 posts since
    Nov 13, 2008
    Currently Being Moderated
    1. Dec 8, 2011 7:39 AM (in response to uday)
    Re: HSRP - Sub Interface

    Hi Uday,


    What HSRP configuration are you using on the sub-interface and what are you tracking?


    Cheers,

    Matt

  • Matty182 22 posts since
    Nov 13, 2008
    Currently Being Moderated
    3. Dec 8, 2011 8:26 AM (in response to uday)
    Re: HSRP - Sub Interface

    Try configuring IP SLA to decrement the sub interfaces HSRP priority if the G0/0 interface goes down.


    I think something along these lines should work...

     

    ip sla 10

         icmp-echo <g0/0 ip address>

    ip sla schedule 10 start-time now life forever

    track 100 rtr 10 state

     

    int g0/1.1

    standby 20 track 100 decrement 50

     

    You can do something similar for the other sub-interface then.


    Let me know how you get on.

     

    Cheers,

    Matt

  • Scott Morris - CCDE/4xCCIE/2xJNCIE 8,396 posts since
    Oct 7, 2008
    Currently Being Moderated
    4. Dec 9, 2011 6:48 PM (in response to uday)
    Re: HSRP - Sub Interface

    The SLA tracking as noted gives you the granularity that you want other than something locally attached.

     

    But either way, the mechanism is to track something and then decrement your priority based on that information.

     

    But any one interface going down, if it doesn't directly affect the communications of each other link, then HSRP won't change by itself. 

     

    Scott

  • Mohit Kansal  CCIE RS 109 posts since
    Feb 12, 2009
    Currently Being Moderated
    5. Apr 17, 2012 4:59 AM (in response to uday)
    Re: HSRP - Sub Interface

    Hi Uday,

     

    I am not sure which IOS you are using. It works on sub interface.

     

    interface FastEthernet2/0.1

    encapsulation dot1Q 1 native

    ip address 155.1.12.1 255.255.255.0

    standby 1 track FastEthernet3/0

     

     

    Mohit Kansal

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)