cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
307
Views
0
Helpful
4
Replies
btel
Beginner

Cisco ASR9k BGP routes not installed/learned into RIB

Hello,

 

We have a problem with our ASR 9001 config. The full BGP table (global 800k prefixes) is not present in the RIP "sh ip route" table:

 

RP/0/RSP0/CPU0:CR1#sh ip route
Tue Nov 10 15:43:24.954 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, t - Traffic Engineering, (!) - FRR Backup path

Gateway of last resort is not set

C 10.0.2.0/24 is directly connected, 00:37:51, TenGigE0/0/2/2
L 10.0.2.1/32 is directly connected, 00:37:51, TenGigE0/0/2/2
C 10.0.3.0/24 is directly connected, 00:37:51, TenGigE0/0/2/3
L 10.0.3.1/32 is directly connected, 00:37:51, TenGigE0/0/2/3

 

 

 

RP/0/RSP0/CPU0:CR1#sh ip bgp summary
Tue Nov 10 15:43:52.907 UTC
BGP router identifier 193.46.254.1, local AS number 47890
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000   RD version: 6
BGP main routing table version 6
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               6          6          6          6           6           0

Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
10.0.2.2          0 47890 1410896    1362        6    0    0 01:52:16     813016

 

 

The 9001 is a Core router. We are doing iBGP with our border routers which accept prefixes from our upstream providers (ASR 1002-x). Also the sh ip bgp command shows:

 

RP/0/RSP0/CPU0:CR1#sh ip bgp
Tue Nov 10 15:45:34.664 UTC
BGP router identifier 193.46.254.1, local AS number 47890
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000   RD version: 6
BGP main routing table version 6
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
* i1.0.0.0/24         89.136.224.185           0    100      0 6830 6453 13335 i
* i1.0.4.0/22         89.136.224.185           0    100      0 6830 3257 4826 38803 i
* i1.0.4.0/24         89.136.224.185           0    100      0 6830 3257 4826 38803 i
* i1.0.5.0/24         89.136.224.185           0    100      0 6830 3257 4826 38803 i
* i1.0.6.0/24         89.136.224.185           0    100      0 6830 3257 4826 38803 i
* i1.0.7.0/24         89.136.224.185           0    100      0 6830 3257 4826 38803 i
* i1.0.16.0/24        89.136.224.185           0    100      0 6830 174 2519 i
* i1.0.64.0/18        89.136.224.185           0    100      0 6830 2497 7670 18144 i
* i1.0.128.0/17       89.136.224.185           0    100      0 6830 6453 38040 23969 i
* i1.0.128.0/18       89.136.224.185           0    100      0 6830 6453 38040 23969 i
* i1.0.128.0/19       89.136.224.185           0    100      0 6830 6453 38040 23969 i
* i1.0.128.0/24       89.136.224.185           0    100      0 6830 3356 38040 23969 i
* i1.0.129.0/24       89.136.224.185           0    100      0 6830 2914 4651 23969 i
=> and goes on and on for 800k routes

Howver, sh bgp convergence shows:

 

RP/0/RSP0/CPU0:CR1#sh bgp convergence 
Tue Nov 10 15:46:04.351 UTC
Converged.
All received routes in RIB, all neighbors updated.
All neighbors have empty write queues.

Thanks!

4 REPLIES 4
MHM Cisco World
Rising star

Next hop self in IBGP,

your next hop not know for core with next hop self we make next hop change to be know for core

I think i already have that implemented:

 

router bgp 99999
 bgp router-id 193.46.xx.1
 default-information originate
 bgp redistribute-internal
 bgp log neighbor changes detail
 address-family ipv4 unicast
  network 193.46.xx.0/24 backdoor
 !
 neighbor 10.0.2.2
  remote-as 99999
  description 1002-x-local
  update-source TenGigE0/0/2/2
  address-family ipv4 unicast
   maximum-prefix 1000000 5 warning-only
   capability orf prefix both
   next-hop-self
   soft-reconfiguration inbound always
  !
 !
 neighbor 10.0.3.2
  remote-as 99999
  shutdown
  description 1002-x-orange
  update-source TenGigE0/0/2/3
  address-family ipv4 unicast
   maximum-prefix 850000 75 warning-only
   next-hop-self
  !
 !

Ok,

ASR (9999)-ibgp(9999)

when we config next hop self in asr 196...... we see effect on other ibgp.

But to see all route in rib of asr 196...... we need to make next hop reachable for it.

In your case I think asr 196.... is ebgp with next hop 89..... and also this next hop is not direct connect I.e. not p2p.

so you need Static route toward it.

In this scenario, next-hop-self needs to be applied on the border router (ASR 1002-x), on the neighbor towards the ASR9001. This should fix the issue.

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México