10-24-2022 02:54 AM
Hi all,
I am getting rib-failure output difference between Cisco IOS 7200 and XR 9000.
7200 router showing bgp routes with r> (rib-failure and best)
9000 router showing bgp routes with *> (valid and best)
For Cisco IOS 7200 series: IP reachability is fine. OSPF is fine. BGP is fine. routes learned with bgp are advertising with r> (rib-failure and valid).
For Cisco XE 9000 series: IP reachability is fine. OSPF is fine. BGP is fine. routes learned with bgp are advertising with *> (valid and best).
Below pic is for Cisco IOS 7200 series routers.
Please see below configuration for PE1, P and PE2
PE1#sho run
Building configuration...
Current configuration : 1331 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname PE1
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ip cef
!
no ipv6 cef
!
mpls label protocol ldp
multilink bundle-name authenticated
!
interface Loopback0
ip address 9.9.0.1 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex full
!
interface Ethernet1/0
ip address 30.0.0.1 255.255.255.0
duplex full
mpls ip
!
interface Ethernet1/1
no ip address
shutdown
duplex full
!
interface Ethernet1/2
no ip address
shutdown
duplex full
!
interface Ethernet1/3
no ip address
shutdown
duplex full
!
router ospf 9
router-id 9.9.0.1
network 9.9.0.1 0.0.0.0 area 0
network 30.0.0.0 0.0.0.255 area 0
!
router bgp 9
bgp router-id 9.9.0.1
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 9.9.0.2 remote-as 9
neighbor 9.9.0.9 remote-as 9
neighbor 9.9.0.9 update-source Loopback0
!
address-family ipv4
network 9.9.0.1 mask 255.255.255.255
neighbor 9.9.0.2 activate
neighbor 9.9.0.9 activate
exit-address-family
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
mpls ldp router-id Loopback0
!
control-plane
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
end
PE1#
PE1#sho ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
Ethernet1/0 30.0.0.1 YES NVRAM up up
Ethernet1/1 unassigned YES NVRAM administratively down down
Ethernet1/2 unassigned YES NVRAM administratively down down
Ethernet1/3 unassigned YES NVRAM administratively down down
Loopback0 9.9.0.1 YES NVRAM up up
PE1#sho ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
9.0.0.0/32 is subnetted, 3 subnets
C 9.9.0.1 is directly connected, Loopback0
O 9.9.0.2 [110/21] via 30.0.0.2, 00:14:05, Ethernet1/0
O 9.9.0.9 [110/11] via 30.0.0.2, 00:14:29, Ethernet1/0
30.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 30.0.0.0/24 is directly connected, Ethernet1/0
L 30.0.0.1/32 is directly connected, Ethernet1/0
40.0.0.0/24 is subnetted, 1 subnets
O 40.0.0.0 [110/20] via 30.0.0.2, 00:14:29, Ethernet1/0
PE1#sho ip route ospf
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
9.0.0.0/32 is subnetted, 3 subnets
O 9.9.0.2 [110/21] via 30.0.0.2, 00:14:13, Ethernet1/0
O 9.9.0.9 [110/11] via 30.0.0.2, 00:14:37, Ethernet1/0
40.0.0.0/24 is subnetted, 1 subnets
O 40.0.0.0 [110/20] via 30.0.0.2, 00:14:37, Ethernet1/0
PE1#sho bgp summ
BGP router identifier 9.9.0.1, local AS number 9
BGP table version is 4, main routing table version 4
3 network entries using 432 bytes of memory
3 path entries using 240 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 944 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
9.9.0.2 4 9 19 19 4 0 0 00:14:09 1
9.9.0.9 4 9 19 20 4 0 0 00:14:36 1
PE1#sho bgp
BGP table version is 4, local router ID is 9.9.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 9.9.0.1/32 0.0.0.0 0 32768 i
r>i 9.9.0.2/32 9.9.0.2 0 100 0 i
r>i 9.9.0.9/32 9.9.0.9 0 100 0 i
PE1#
P#sho running-config
Building configuration...
Current configuration : 1425 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname P
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ip cef
!
no ipv6 cef
!
mpls label protocol ldp
multilink bundle-name authenticated
!!
interface Loopback0
ip address 9.9.0.9 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex full
!
interface Ethernet1/0
ip address 30.0.0.2 255.255.255.0
duplex full
mpls ip
!
interface Ethernet1/1
ip address 40.0.0.2 255.255.255.0
duplex full
mpls ip
!
interface Ethernet1/2
no ip address
shutdown
duplex full
!
interface Ethernet1/3
no ip address
shutdown
duplex full
!
router ospf 9
router-id 9.9.0.9
network 9.9.0.9 0.0.0.0 area 0
network 30.0.0.0 0.0.0.255 area 0
network 40.0.0.0 0.0.0.255 area 0
!
router bgp 9
bgp router-id 9.9.0.9
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 9.9.0.1 remote-as 9
neighbor 9.9.0.1 update-source Loopback0
neighbor 9.9.0.2 remote-as 9
neighbor 9.9.0.2 update-source Loopback0
!
address-family ipv4
network 9.9.0.9 mask 255.255.255.255
neighbor 9.9.0.1 activate
neighbor 9.9.0.2 activate
exit-address-family
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
mpls ldp router-id Loopback0
!
control-plane
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
end
P#
P#sho ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
Ethernet1/0 30.0.0.2 YES NVRAM up up
Ethernet1/1 40.0.0.2 YES NVRAM up up
Ethernet1/2 unassigned YES NVRAM administratively down down
Ethernet1/3 unassigned YES NVRAM administratively down down
Loopback0 9.9.0.9 YES NVRAM up up
P#sho ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
9.0.0.0/32 is subnetted, 3 subnets
O 9.9.0.1 [110/11] via 30.0.0.1, 00:15:48, Ethernet1/0
O 9.9.0.2 [110/11] via 40.0.0.1, 00:15:34, Ethernet1/1
C 9.9.0.9 is directly connected, Loopback0
30.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 30.0.0.0/24 is directly connected, Ethernet1/0
L 30.0.0.2/32 is directly connected, Ethernet1/0
40.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 40.0.0.0/24 is directly connected, Ethernet1/1
L 40.0.0.2/32 is directly connected, Ethernet1/1
P#sho ip route ospf
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
9.0.0.0/32 is subnetted, 3 subnets
O 9.9.0.1 [110/11] via 30.0.0.1, 00:15:51, Ethernet1/0
O 9.9.0.2 [110/11] via 40.0.0.1, 00:15:37, Ethernet1/1
P#sho ip bg summ
BGP router identifier 9.9.0.9, local AS number 9
BGP table version is 4, main routing table version 4
3 network entries using 432 bytes of memory
3 path entries using 240 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 944 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
9.9.0.1 4 9 21 21 4 0 0 00:15:53 1
9.9.0.2 4 9 21 21 4 0 0 00:15:38 1
P#sho ip bg
BGP table version is 4, local router ID is 9.9.0.9
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
r>i 9.9.0.1/32 9.9.0.1 0 100 0 i
r>i 9.9.0.2/32 9.9.0.2 0 100 0 i
*> 9.9.0.9/32 0.0.0.0 0 32768 i
P#
PE2#sh run
Building configuration...
Current configuration : 1350 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname PE2
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ip cef
!
no ipv6 cef
!
mpls label protocol ldp
multilink bundle-name authenticated
!
interface Loopback0
ip address 9.9.0.2 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex full
!
interface Ethernet1/0
no ip address
shutdown
duplex full
!
interface Ethernet1/1
ip address 40.0.0.1 255.255.255.0
duplex full
mpls ip
!
interface Ethernet1/2
no ip address
shutdown
duplex full
!
interface Ethernet1/3
no ip address
shutdown
duplex full
!
router ospf 9
router-id 9.9.0.2
network 9.9.0.2 0.0.0.0 area 0
network 40.0.0.0 0.0.0.255 area 0
!
router bgp 9
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 9.9.0.1 remote-as 9
neighbor 9.9.0.1 update-source Loopback0
neighbor 9.9.0.9 remote-as 9
neighbor 9.9.0.9 update-source Loopback0
!
address-family ipv4
network 9.9.0.2 mask 255.255.255.255
neighbor 9.9.0.1 activate
neighbor 9.9.0.9 activate
exit-address-family
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
mpls ldp router-id Loopback0
!
control-plane
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
end
PE2#
PE2#sho ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
Ethernet1/0 unassigned YES NVRAM administratively down down
Ethernet1/1 40.0.0.1 YES NVRAM up up
Ethernet1/2 unassigned YES NVRAM administratively down down
Ethernet1/3 unassigned YES NVRAM administratively down down
Loopback0 9.9.0.2 YES NVRAM up up
PE2#
PE2#sho ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
9.0.0.0/32 is subnetted, 3 subnets
O 9.9.0.1 [110/21] via 40.0.0.2, 00:16:43, Ethernet1/1
C 9.9.0.2 is directly connected, Loopback0
O 9.9.0.9 [110/11] via 40.0.0.2, 00:16:43, Ethernet1/1
30.0.0.0/24 is subnetted, 1 subnets
O 30.0.0.0 [110/20] via 40.0.0.2, 00:16:43, Ethernet1/1
40.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 40.0.0.0/24 is directly connected, Ethernet1/1
L 40.0.0.1/32 is directly connected, Ethernet1/1
PE2#
PE2#sho ip route osp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
9.0.0.0/32 is subnetted, 3 subnets
O 9.9.0.1 [110/21] via 40.0.0.2, 00:16:52, Ethernet1/1
O 9.9.0.9 [110/11] via 40.0.0.2, 00:16:52, Ethernet1/1
30.0.0.0/24 is subnetted, 1 subnets
O 30.0.0.0 [110/20] via 40.0.0.2, 00:16:52, Ethernet1/1
PE2#
PE2#sho ip bgp summ
BGP router identifier 9.9.0.2, local AS number 9
BGP table version is 4, main routing table version 4
3 network entries using 432 bytes of memory
3 path entries using 240 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 944 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
9.9.0.1 4 9 22 22 4 0 0 00:16:41 1
9.9.0.9 4 9 22 22 4 0 0 00:16:53 1
PE2#
PE2#sho ip bgp
BGP table version is 4, local router ID is 9.9.0.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
r>i 9.9.0.1/32 9.9.0.1 0 100 0 i
*> 9.9.0.2/32 0.0.0.0 0 32768 i
r>i 9.9.0.9/32 9.9.0.9 0 100 0 i
PE2#
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Please see below configuration for XR77, XR44 and XR66
RP/0/0/CPU0:XR77#show running-config
Mon Oct 24 08:22:50.724 UTC
Building configuration...
!! IOS XR Configuration 6.1.3
!! Last configuration change at Fri Oct 21 15:28:47 2022 by misbah
!
hostname XR77
interface Loopback0
ipv4 address 9.9.0.7 255.255.255.0
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv4 address 9.9.47.7 255.255.255.0
!
interface GigabitEthernet0/0/0/1
shutdown
!
interface GigabitEthernet0/0/0/2
shutdown
!
router ospf 9
router-id 9.9.0.7
area 0
interface Loopback0
!
interface GigabitEthernet0/0/0/0
!
!
!
router bgp 9
bgp router-id 9.9.0.7
address-family ipv4 unicast
network 9.9.0.7/32
!
neighbor 9.9.0.4
remote-as 9
update-source Loopback0
address-family ipv4 unicast
next-hop-self
!
!
neighbor 9.9.0.6
remote-as 9
update-source Loopback0
address-family ipv4 unicast
!
!
!
end
RP/0/0/CPU0:XR77#
RP/0/0/CPU0:XR77#
RP/0/0/CPU0:XR77#sho ip int br
Mon Oct 24 08:22:57.553 UTC
Interface IP-Address Status Protocol Vrf-Name
Loopback0 9.9.0.7 Up Up default
MgmtEth0/0/CPU0/0 unassigned Shutdown Down default
GigabitEthernet0/0/0/0 9.9.47.7 Up Up default
GigabitEthernet0/0/0/1 unassigned Shutdown Down default
GigabitEthernet0/0/0/2 unassigned Shutdown Down default
RP/0/0/CPU0:XR77#
RP/0/0/CPU0:XR77#show route
Mon Oct 24 08:23:08.163 UTC
Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP
A - access/subscriber, a - Application route
M - mobile route, r - RPL, (!) - FRR Backup path
Gateway of last resort is not set
C 9.9.0.0/24 is directly connected, 00:04:40, Loopback0
O 9.9.0.4/32 [110/2] via 9.9.47.4, 00:03:18, GigabitEthernet0/0/0/0
O 9.9.0.6/32 [110/3] via 9.9.47.4, 00:03:08, GigabitEthernet0/0/0/0
L 9.9.0.7/32 is directly connected, 00:04:40, Loopback0
O 9.9.46.0/24 [110/2] via 9.9.47.4, 00:03:12, GigabitEthernet0/0/0/0
C 9.9.47.0/24 is directly connected, 00:04:36, GigabitEthernet0/0/0/0
L 9.9.47.7/32 is directly connected, 00:04:36, GigabitEthernet0/0/0/0
RP/0/0/CPU0:XR77#
RP/0/0/CPU0:XR77#sho route ospf
Mon Oct 24 08:23:14.932 UTC
O 9.9.0.4/32 [110/2] via 9.9.47.4, 00:03:25, GigabitEthernet0/0/0/0
O 9.9.0.6/32 [110/3] via 9.9.47.4, 00:03:14, GigabitEthernet0/0/0/0
O 9.9.46.0/24 [110/2] via 9.9.47.4, 00:03:19, GigabitEthernet0/0/0/0
RP/0/0/CPU0:XR77#
RP/0/0/CPU0:XR77#sho bgp summ
Mon Oct 24 08:23:21.032 UTC
BGP router identifier 9.9.0.7, local AS number 9
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000 RD version: 5
BGP main routing table version 5
BGP NSR Initial initsync version 2 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
BGP is operating in STANDALONE mode.
Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
Speaker 5 5 5 5 5 0
Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
9.9.0.4 0 9 7 7 5 0 0 00:03:20 1
9.9.0.6 0 9 7 6 5 0 0 00:03:18 1
RP/0/0/CPU0:XR77#
RP/0/0/CPU0:XR77#sho bgp
Mon Oct 24 08:23:25.301 UTC
BGP router identifier 9.9.0.7, local AS number 9
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000 RD version: 5
BGP main routing table version 5
BGP NSR Initial initsync version 2 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i9.9.0.4/32 9.9.0.4 0 100 0 i
*>i9.9.0.6/32 9.9.0.6 0 100 0 i
*> 9.9.0.7/32 0.0.0.0 0 32768 i
Processed 3 prefixes, 3 paths
RP/0/0/CPU0:XR77#
RP/0/0/CPU0:XR77#
RP/0/0/CPU0:XR44#show running-config
Mon Oct 24 08:24:35.728 UTC
Building configuration...
!! IOS XR Configuration 6.1.3
!! Last configuration change at Fri Oct 21 15:30:54 2022 by misbah
!
hostname XR44
interface Loopback0
ipv4 address 9.9.0.4 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv4 address 9.9.47.4 255.255.255.0
!
interface GigabitEthernet0/0/0/1
ipv4 address 9.9.46.4 255.255.255.0
!
interface GigabitEthernet0/0/0/2
shutdown
!
router ospf 9
router-id 9.9.0.4
area 0
interface Loopback0
!
interface GigabitEthernet0/0/0/0
!
interface GigabitEthernet0/0/0/1
!
!
!
router bgp 9
bgp router-id 9.9.0.4
address-family ipv4 unicast
network 9.9.0.4/32
!
neighbor 9.9.0.6
remote-as 9
update-source Loopback0
address-family ipv4 unicast
next-hop-self
!
!
neighbor 9.9.0.7
remote-as 9
update-source Loopback0
address-family ipv4 unicast
next-hop-self
!
!
!
end
RP/0/0/CPU0:XR44#
RP/0/0/CPU0:XR44#
RP/0/0/CPU0:XR44#sho ip int br
Mon Oct 24 08:24:40.208 UTC
Interface IP-Address Status Protocol Vrf-Name
Loopback0 9.9.0.4 Up Up default
MgmtEth0/0/CPU0/0 unassigned Shutdown Down default
GigabitEthernet0/0/0/0 9.9.47.4 Up Up default
GigabitEthernet0/0/0/1 9.9.46.4 Up Up default
GigabitEthernet0/0/0/2 unassigned Shutdown Down default
RP/0/0/CPU0:XR44#
RP/0/0/CPU0:XR44#sho route
Mon Oct 24 08:24:47.867 UTC
Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP
A - access/subscriber, a - Application route
M - mobile route, r - RPL, (!) - FRR Backup path
Gateway of last resort is not set
L 9.9.0.4/32 is directly connected, 00:05:46, Loopback0
O 9.9.0.6/32 [110/2] via 9.9.46.6, 00:04:55, GigabitEthernet0/0/0/1
O 9.9.0.7/32 [110/2] via 9.9.47.7, 00:05:00, GigabitEthernet0/0/0/0
C 9.9.46.0/24 is directly connected, 00:05:44, GigabitEthernet0/0/0/1
L 9.9.46.4/32 is directly connected, 00:05:44, GigabitEthernet0/0/0/1
C 9.9.47.0/24 is directly connected, 00:05:44, GigabitEthernet0/0/0/0
L 9.9.47.4/32 is directly connected, 00:05:44, GigabitEthernet0/0/0/0
RP/0/0/CPU0:XR44#
RP/0/0/CPU0:XR44#sho route ipv
ipv4 ipv6
RP/0/0/CPU0:XR44#sho route ospf
Mon Oct 24 08:24:57.247 UTC
O 9.9.0.6/32 [110/2] via 9.9.46.6, 00:05:04, GigabitEthernet0/0/0/1
O 9.9.0.7/32 [110/2] via 9.9.47.7, 00:05:10, GigabitEthernet0/0/0/0
RP/0/0/CPU0:XR44#
RP/0/0/CPU0:XR44#sho bgp summary
Mon Oct 24 08:25:04.216 UTC
BGP router identifier 9.9.0.4, local AS number 9
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000 RD version: 5
BGP main routing table version 5
BGP NSR Initial initsync version 2 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
BGP is operating in STANDALONE mode.
Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
Speaker 5 5 5 5 5 0
Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
9.9.0.6 0 9 9 9 5 0 0 00:05:05 1
9.9.0.7 0 9 9 9 5 0 0 00:05:06 1
RP/0/0/CPU0:XR44#
RP/0/0/CPU0:XR44#sho bgp
Mon Oct 24 08:25:08.056 UTC
BGP router identifier 9.9.0.4, local AS number 9
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000 RD version: 5
BGP main routing table version 5
BGP NSR Initial initsync version 2 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 9.9.0.4/32 0.0.0.0 0 32768 i
*>i9.9.0.6/32 9.9.0.6 0 100 0 i
*>i9.9.0.7/32 9.9.0.7 0 100 0 i
Processed 3 prefixes, 3 paths
RP/0/0/CPU0:XR44#
RP/0/0/CPU0:XR44#
RP/0/0/CPU0:XR66#sho run
Mon Oct 24 08:25:29.255 UTC
Building configuration...
!! IOS XR Configuration 6.1.3
!! Last configuration change at Fri Oct 21 14:08:08 2022 by misbah
!
hostname XR66
interface Loopback0
ipv4 address 9.9.0.6 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
shutdown
!
interface GigabitEthernet0/0/0/1
ipv4 address 9.9.46.6 255.255.255.0
!
interface GigabitEthernet0/0/0/2
shutdown
!
router ospf 9
router-id 9.9.0.6
area 0
interface Loopback0
!
interface GigabitEthernet0/0/0/1
!
!
!
router bgp 9
bgp router-id 9.9.0.6
address-family ipv4 unicast
network 9.9.0.6/32
!
neighbor 9.9.0.4
remote-as 9
update-source Loopback0
address-family ipv4 unicast
!
!
neighbor 9.9.0.7
remote-as 9
update-source Loopback0
address-family ipv4 unicast
!
!
!
end
RP/0/0/CPU0:XR66#sho ip int br
Mon Oct 24 08:25:34.705 UTC
Interface IP-Address Status Protocol Vrf-Name
Loopback0 9.9.0.6 Up Up default
MgmtEth0/0/CPU0/0 unassigned Shutdown Down default
GigabitEthernet0/0/0/0 unassigned Shutdown Down default
GigabitEthernet0/0/0/1 9.9.46.6 Up Up default
GigabitEthernet0/0/0/2 unassigned Shutdown Down default
RP/0/0/CPU0:XR66#
RP/0/0/CPU0:XR66#
RP/0/0/CPU0:XR66#
RP/0/0/CPU0:XR66#sho route
Mon Oct 24 08:25:38.445 UTC
Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP
A - access/subscriber, a - Application route
M - mobile route, r - RPL, (!) - FRR Backup path
Gateway of last resort is not set
O 9.9.0.4/32 [110/2] via 9.9.46.4, 00:05:45, GigabitEthernet0/0/0/1
L 9.9.0.6/32 is directly connected, 00:06:28, Loopback0
O 9.9.0.7/32 [110/3] via 9.9.46.4, 00:05:45, GigabitEthernet0/0/0/1
C 9.9.46.0/24 is directly connected, 00:06:25, GigabitEthernet0/0/0/1
L 9.9.46.6/32 is directly connected, 00:06:25, GigabitEthernet0/0/0/1
O 9.9.47.0/24 [110/2] via 9.9.46.4, 00:05:45, GigabitEthernet0/0/0/1
RP/0/0/CPU0:XR66#
RP/0/0/CPU0:XR66#sho route ospf
Mon Oct 24 08:25:41.454 UTC
O 9.9.0.4/32 [110/2] via 9.9.46.4, 00:05:48, GigabitEthernet0/0/0/1
O 9.9.0.7/32 [110/3] via 9.9.46.4, 00:05:48, GigabitEthernet0/0/0/1
O 9.9.47.0/24 [110/2] via 9.9.46.4, 00:05:48, GigabitEthernet0/0/0/1
RP/0/0/CPU0:XR66#
RP/0/0/CPU0:XR66#sho bgp summary
Mon Oct 24 08:25:47.014 UTC
BGP router identifier 9.9.0.6, local AS number 9
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000 RD version: 5
BGP main routing table version 5
BGP NSR Initial initsync version 2 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
BGP is operating in STANDALONE mode.
Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
Speaker 5 5 5 5 5 0
Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd
9.9.0.4 0 9 9 9 5 0 0 00:05:47 1
9.9.0.7 0 9 8 9 5 0 0 00:05:45 1
RP/0/0/CPU0:XR66#
RP/0/0/CPU0:XR66#sho bgp
Mon Oct 24 08:25:50.664 UTC
BGP router identifier 9.9.0.6, local AS number 9
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000 RD version: 5
BGP main routing table version 5
BGP NSR Initial initsync version 2 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i9.9.0.4/32 9.9.0.4 0 100 0 i
*> 9.9.0.6/32 0.0.0.0 0 32768 i
*>i9.9.0.7/32 9.9.0.7 0 100 0 i
Processed 3 prefixes, 3 paths
RP/0/0/CPU0:XR66#
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