Search this Blog

Monday, April 8, 2013

How do you configure ipsla monitor in IOS XR Software, Version 4.2.3?

How do you configure ipsla monitor in IOS XR Software, Version 4.2.3?
We don't see ipsla commands in IOS XR Software, Version 4.2.3. Any other ways to detect ethernet WAN links to trigger HSRP on ASR 9000 series routers? We don't even see track commands.
RP/0/RSP0/CPU0:grx-rtr2(config)#ip
iphc ipv4 ipv6
RP/0/RSP0/CPU0:grx-rtr2(config)#t
tacacs-server tacacs taskgroup tcam
tcp telnet template tftp

Try the following
1. configure
2. track track-name
3. type line-protocol state
4. interface type interface-path-id
5. exit
6. (Optional) delay {up seconds|down seconds}
7. Use one of the following commands:
end
commit

Please click here for "Implementing Object Tracking on the Cisco ASR 9000 Series Router" . It contains details of the commands available on cli

And then to use the track command in HSRP

hsrp [group-number] track type interface-path-id [priority-decrement]

RP/0/0/CPU0:router(config)# router hsrp
RP/0/0/CPU0:router(config-hsrp)# interface TenGigE 0/2/0/1
RP/0/0/CPU0:router(config-hsrp-if)# hsrp track TenGigE 0/1/0/1
RP/0/0/CPU0:router(config-hsrp-if)# hsrp track TenGigE 0/3/0/1
RP/0/0/CPU0:router(config-hsrp-if)# hsrp preempt
RP/0/0/CPU0:router(config-hsrp-if)# hsrp ipv4 192.92.72.46

Please click here for "HSRP Commands on Cisco ASR 9000 Series Router"
 

There were below packages missing in ASR9001 router and hence I could not find track commands. After installing below packages I could see track and ipsla commands.
asr9k-mgbl-supp-4.2.3
iosxr-mgbl-4.2.3
asr9k-mgbl-p-4.2.3
==============================
router hsrp
interface GigabitEthernet0/0/1/0
address-family ipv4
hsrp 1 version 1
preempt
address *******
!
hsrp 2 version 1
preempt
priority 110
address *******
track object WAN 15
!
!
!
!
track WAN
type rtr 1 reachability
!
ipsla
operation 1
type icmp echo
destination address *******
frequency 60
!
!
schedule operation 1
start-time now
life forever
!
!
=============================


Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */