cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
622
Views
3
Helpful
7
Replies

HSRP object tracking

Andy White
Level 3
Level 3

Hello,

I nornally track an interface line protocol when I set up HSRP, but today I noticed a router trackign "sla 1" what is this as there is no reference to it anywhere else in the config:

track 1 ip sla 1

!

interface GigabitEthernet0/1

ip address 172.30.22.10 255.255.255.0

standby 1 ip 172.30.22.1

standby 1 priority 110

standby 1 preempt

standby 1 track 1 decrement 10

duplex full

speed 100

Thanks

7 Replies 7

Richard Burts
Hall of Fame
Hall of Fame

It has been my experience that tracking interface protocol works well when the interface is point to point serial but generally does not work well when the interface is Ethernet. There are lots of circumstances where you do not really have connectivity out the Ethernet interface but the interface line protocol is still up. So tracking some object is a way to detect whether the interface is really working. The syntax of configuring the track has changed a bit in various versions of IOS. I suspect that if you would post the complete config that we would be able to show you where the sla is configured.

HTH

Rick

HTH

Rick

Sure thing:

version 15.1

no service pad

service timestamps debug datetime

service timestamps log datetime

service password-encryption

!

hostname *

!

boot-start-marker

boot-end-marker

!

!

logging buffered 4096

enable secret

!

no aaa new-model

clock summer-time BST recurring last Sun Mar 2:00 last Sun Oct 3:00

!

no ipv6 cef

ip source-route

ip cef

!

!

!

!

!

ip flow-cache timeout active 1

login on-failure log

login on-success log

multilink bundle-name authenticated

!

crypto pki token default removal timeout 0

!

!

!

!

username *

!

!

!

track 1 ip sla 1

!

!

!

!

interface Embedded-Service-Engine0/0

no ip address

shutdown

!

interface GigabitEthernet0/0

bandwidth 20000

ip address 172.118.33.42 255.255.255.252

ip flow ingress

ip flow egress

duplex full

speed 100

!

interface GigabitEthernet0/1

ip address 172.30.22.10 255.255.255.0

standby 1 ip 172.30.2.1

standby 1 priority 110

standby 1 preempt

standby 1 track 1 decrement 10

duplex full

speed 100

!

!

router eigrp 191

network 172.118.33.40 0.0.0.3

network 172.30.22.0 0.0.0.255

network 172.30.102.0 0.0.0.255

redistribute static

!

ip forward-protocol nd

!

no ip http server

no ip http secure-server

ip flow-export source GigabitEthernet0/0

ip flow-export version 5

ip flow-export destination 192.168.1.249 9996

!

ip route 172.30.102.0 255.255.255.0 172.30.2.2

!

logging trap notifications

logging source-interface GigabitEthernet0/1

logging 192.168.8.129

access-list 23 permit 192.168.9.11

access-list 23 permit 172.118.33.40 0.0.0.3

access-list 64 permit 192.168.8.129

!

!

snmp-server community m0ghjr RO 64

!

control-plane

!

!

banner login ^C ########## WARNING - You must have authorisation to use this system. ##########

Unauthorised access to or misuse of this system constitutes a criminal offence under the 1990 Computer Misuse Act.

Use of the system may be logged without further notice and the resulting logs may be used as evidence in court.

^C

!

line con 0

password

login local

transport output all

line aux 0

line 2

no activation-character

no exec

transport preferred none

transport input all

transport output pad telnet rlogin lapb-ta mop udptn v120 ssh

stopbits 1

line vty 0 4

access-class 23 in

exec-timeout 5 0

password

login local

transport input telnet

transport output all

!

scheduler allocate 20000 1000

end

Hello Andy,

can you post output of #show track

I think that track 1 ip sla 1 is refering to not existing ip sla configuration, it would be probably some forgotten command after some change.

I assume that track state will be UP and it will not have any impact on HSRP.

Solution:

no track 1 ip sla 1

no standby 1 track 1 decrement 10

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions

Here you go

#show track

Track 1

  IP SLA 1 state

  State is Down

    3 changes, last change 28w6d

  Latest operation return code: 8-8-8-8

  Tracked by:

    HSRP GigabitEthernet0/1 1

Thanks for posting the config. I was confident that we could show you where the object to track was configured. And I was wrong

It does look like there was object tracking configured at one time and that it has been removed.

HTH

Rick

HTH

Rick

@andy

SLA probes help track the interface in regard to FHRP's

even to track the redundant interfaces SLA's work as far as i know

the decreament helps to lower the priority of the down router so that the standby one can take over as active

Before any changes are made we should do a 'show standby'

Here we should be able to see the decrement of 10 from the original priority configured. Since Tracking is down state (because no ip sla is configured) this will be a good observation to make before any changes IMHO.

PS what happened 28 weeks ago, what were the configurations then and now. Can we compare?

Sent from Cisco Technical Support iPhone App

Please rate useful posts & remember to mark any solved questions as answered. Thank you.
Review Cisco Networking for a $25 gift card