cisco:labs:ios_xr:lab2
IOS-XR Lab 2: HSRP Configuration
Unlike IOS, IOS-XR has the HSRP configuration done under a router process. Configure HSRP group 1 using the East-West link to R2.
Answer option 1 RP/0/0/CPU0:R1(config)#router hsrp
RP/0/0/CPU0:R1(config-hsrp)#interface g 0/0/0/0
RP/0/0/CPU0:R1(config-hsrp-if)#address-family ipv4
RP/0/0/CPU0:R1(config-hsrp-ipv4)#hsrp 1
RP/0/0/CPU0:R1(config-hsrp-gp)#address 10.0.0.1
RP/0/0/CPU0:R1(config-hsrp-gp)#commit
Answer option 2 RP/0/0/CPU0:R1(config)#router hsrp interface gigabitEthernet 0/0/0/0 address-family ipv4 hsrp 1 address 10.0.0.1
RP/0/0/CPU0:R1(config)#commit
Mon Dec 16 16:54:58.802 UTC
Repeat for R2 and set HSRP priority to 50
Commit for both routers
Verification
RP/0/RP0/CPU0:R1#show hsrp
Tue Feb 4 12:32:02.592 UTC
IPv4 Groups:
P indicates configured to preempt.
Interface Grp Pri P State Active addr Standby addr Group addr
Gi0/0/0/0 1 100 Active local 10.0.0.3 10.0.0.1
RP/0/RP0/CPU0:R2#show hsrp gigabitEthernet 0/0/0/0
Tue Feb 4 12:34:13.625 UTC
IPv4 Groups:
P indicates configured to preempt.
Interface Grp Pri P State Active addr Standby addr Group addr
Gi0/0/0/0 1 50 Standby 10.0.0.2 local 10.0.0.1
IOS-XR Lab 3: iBGP
IOS-XR Lab Index
cisco/labs/ios_xr/lab2.txt · Last modified: 2025/02/17 23:36 by 127.0.0.1