11-06-2023 07:26 AM
Hi everyone
I have a problem with an HSRP setup on ASR9K with ISO version 6.2.3.
I configured HSRP between two routers, ASR9K and ASR 903 on BDI interface, below is the configuration:
Configuration ASR9K
interface TenGigE0/2/0/12.771 l2transport
description Link to Nutanix#1 - CUCM
encapsulation untagged
l2protocol cpsv tunnel
!
interface TenGigE0/2/0/13.771 l2transport
description Link to Nutanix#2 - CUCM
encapsulation untagged
l2protocol cpsv tunnel
!
interface TenGigE0/2/0/14.771 l2transport
description Link to Nutanix#3 - CUCM
encapsulation untagged
l2protocol cpsv tunnel
!
interface TenGigE0/2/0/23.771 l2transport
description Link to ASR 903 for HSRP V771
encapsulation untagged
l2protocol cpsv tunnel
!
interface BVI771
description Server Farm CUCM DF
vrf XXXXX
ipv4 address XX.XX.XX.XXX 255.255.255.128
!
l2vpn
bridge group CUCM_DF
bridge-domain Vlan-771
interface TenGigE0/2/0/12.771
!
interface TenGigE0/2/0/13.771
!
interface TenGigE0/2/0/14.771
!
interface TenGigE0/2/0/23.771
!
routed interface BVI771
!
!
!
!
l2vpn
bridge group CUCM_DF
bridge-domain Vlan-771
interface TenGigE0/2/0/12.771
!
interface TenGigE0/2/0/13.771
!
interface TenGigE0/2/0/14.771
!
interface TenGigE0/2/0/23.771
!
routed interface BVI771
!
!
!
!
router hsrp
interface BVI771
address-family ipv4
hsrp 100
preempt
priority 150
address XX.XX.XX.XXX
track object v771 60
!
!
!
!
track v771
type list boolean and
object v771-TenGigE0-2-0-12
object v771-TenGigE0-2-0-13
object v771-TenGigE0-2-0-14
!
!
track v771-TenGigE0-2-0-12
type line-protocol state
interface TenGigE0/2/0/12
!
!
track v771-TenGigE0-2-0-13
type line-protocol state
interface TenGigE0/2/0/13
!
!
track v771-TenGigE0-2-0-14
type line-protocol state
interface TenGigE0/2/0/14
!
!
I configured tracking for three interfaces that decrease the priority by 60 on the ASR9000.
I would like HSRP not to decrement by 60 but to shutdown the interface , the command does not exist....
Can you tell me why?
Solved! Go to Solution.
11-07-2023 01:45 AM
I Dont think it ver. Issue
Ios xr support this feature
Ios xe (asr900) not support it.
Try EEM.
Thanks A Lot
MHM
11-07-2023 01:11 AM
I saw that on the ASR900 router the shutdown command exists while in XR it doesn't.
ASR903(config-if)#standby 100 track 100 ?
decrement Priority decrement
shutdown Shutdown group
<cr> <cr>
ASR9000(config)#router hsrp interface bvI 771 address-family ipv4 hsrp 100 track object v771 ?
<1-255> Priority decrement
<cr>
11-07-2023 01:22 AM
I fast check commend reference,
as you mention there is no shutdown there is only decrement.
you can instead use EEM to shut the interface BVI if the track (all) status is down
Thanks A Lot
MHM
11-07-2023 01:39 AM
In fact I had thought about using EEM to shut the interface, but I wanted to understand if it was an IOS version problem or something else.
Thank you
11-07-2023 01:45 AM
I Dont think it ver. Issue
Ios xr support this feature
Ios xe (asr900) not support it.
Try EEM.
Thanks A Lot
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide