cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4968
Views
5
Helpful
25
Replies

BGP Full View with ASR1001-X

matou801
Level 1
Level 1

Hello,

I want to set up a full view with my transit provider

My transit provider tells me about 700,000 routes, but after 5 minutes I only have 455,000 routes added to my router.

I do not see where is the blocked?


Thanks for your help

My bgp config :
 

router bgp 0001
bgp router-id 194.XXX.XX.X
bgp log-neighbor-changes
neighbor IPV6:IPV6::33:0:6 remote-as 0002
neighbor IPV6:IPV6::33:0:6 description my provider transit
neighbor IPV6:IPV6::33:0:6 shutdown
neighbor XXX.XXX.XXX.169 remote-as 0002
neighbor XXX.XXX.XXX.169 description my provider transit
!
address-family ipv4
network 194.XXX.XX.0 mask 255.255.252.0
network 194.XXX.XX.0 mask 255.255.255.240
network 194.XXX.XX.32 mask 255.255.255.224
no neighbor IPV6:IPV6::33:0:6 activate
neighbor XXX.XXX.XXX.169 activate
neighbor XXX.XXX.XXX.169 next-hop-self
neighbor XXX.XXX.XXX.169 remove-private-as
neighbor XXX.XXX.XXX.169 soft-reconfiguration inbound
neighbor XXX.XXX.XXX.169 prefix-list PFX-LZI out
exit-address-family
!
address-family ipv6
neighbor IPV6:IPV6::33:0:6 activate
neighbor IPV6:IPV6::33:0:6 next-hop-self
neighbor IPV6:IPV6::33:0:6 remove-private-as
neighbor IPV6:IPV6::33:0:6 soft-reconfiguration inbound
neighbor IPV6:IPV6::33:0:6 prefix-list PFX-V6-LVI out
exit-address-family
!
ip forward-protocol nd
no ip http server
no ip http secure-server
ip route 194.XXX.XXX.XXX 255.255.252.0 Null0
!
ip bgp-community new-format
ip as-path access-list 1 permit ^$

2 Accepted Solutions

Accepted Solutions

Hello,

I come back to you for my problem. Finally after trying again, we encountered the problem.

My router did not see all the routes that my ISP was announcing to me when I did a show ip route after 30 minutes. I made a clear bgp and the all routes were added to my router. So everything works for the full view now.

View solution in original post

Yes without change path list filter.

View solution in original post

25 Replies 25

it seem to me it CE side.

you must check the route-target for import are you import all site or few one.

Hello @MHM Cisco World 

I would expect like you its a CE rtr so then they wouldnt have any RTs etc the advertisment will come from the ISP


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

balaji.bandi
Hall of Fame
Hall of Fame

Can you post below information :

 

show ip bgp summary 
show version
show memory

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

Thank you for quicks reponses.

 

#show ip bgp summary
BGP router identifier 194.XXX.XXX.XXX, local AS number 000002
BGP table version is 1534986, main routing table version 1534986
4 network entries using 992 bytes of memory
4 path entries using 544 bytes of memory
2/2 BGP path/bestpath attribute entries using 560 bytes of memory
1 BGP AS-PATH entries using 24 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 2120 total bytes of memory
BGP activity 815609/815605 prefixes, 816000/815996 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
000.000.000.169 4 000002 279211 3007 1534986 0 0 1d21h 1

 

#show version
Cisco IOS XE Software, Version 16.06.02
Cisco IOS Software [Everest], ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.6.2, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Wed 01-Nov-17 07:26 by mcpre

 

 

ROM: IOS-XE ROMMON

rt-01-xxx-XXX uptime is 1 day, 22 hours, 52 minutes
Uptime for this control processor is 1 day, 22 hours, 53 minutes
System returned to ROM by reload
System restarted at 15:14:33 UTC Wed Oct 14 2020
System image file is "bootflash:/asr1001x-universalk9.16.06.02.SPA.bin"
Last reload reason: PowerOn

 

 

License Type: Permanent
License Level: adventerprise
Next reload license Level: adventerprise

cisco ASR1001-X (1NG) processor (revision 1NG) with 6934953K/6147K bytes of memory.
Processor board ID FXS2047Q28G
6 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
16777216K bytes of physical memory.
6594559K bytes of eUSB flash at bootflash:.
0K bytes of WebUI ODM Files at webui:.

Configuration register is 0x2102

 

#show memory

                           Head             Total(b)         Used(b)          Free(b)      Lowest(b) Largest(b)
Processor 7F3519AEC010 7101257400 464165696 6637091704 5469154792 5469859828
lsmpi_io 7F3518E9E1A8 6295128 6294304 824 824 412

Hello
It may also be your ISP is summersing for you.
Rtrs nowadays support RR (route fresh) so suggest you to remove soft inbound configuration, This is very resource intensive to the rtr especially with a full RIB table


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

balaji.bandi
Hall of Fame
Hall of Fame

Thank you, can you post below output  - i forgot to ask before :

 

sh ip bgp neighbor <> routes" and "sh ip bgp neighbor <> received-routes

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

We have set up a default-route temporarily so as not to impact production


sh ip bgp neighbor XXX.XXX.XXX.169 routes
BGP table version is 1534986, local router ID is 194.XXX.XXX.XXX
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,
t secondary path,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 XXX.XXX.XXX.169 0 0002 ?

Total number of prefixes 1

Hello @matou801 ,

from the previous show ip bgp summary we see that :

>> BGP activity 815609/815605 prefixes, 816000/815996 paths, scan interval 60 secs

 

The system processed 815,609 prefixes in the past installing 815,605 of them.

However, the loading phase can last several minutes so  you should try again removing the inbound soft reconfiguration as suggested by Paul Driver.

You need to wait enough time to have all the routes loaded and installed if you check with show ip bgp summary in the middle of the update process you see a partial table.

You likely need to wait more then 5 minutes wait up to 15 minutes before telling your router is not able to keep all the routes.

 

@MHM Cisco World  no RT values are involved here this is addressa family ipv4 unicast and ipv6 unicast in global routing table as we can see from the configuration in first post in the thread.

 

 

Hope to help

Giuseppe

 

CE - PE using bgp

CE don’t need because it don’t use vrf 

PE side use vrf,

if there are for example 100  but route-target under vrf toward this CE not include some other PE then

PE never send this route in to CE.

and hence even the PE have all route CE don’t have same number.

 

now he must check with PE route target and to be more clear he can simply check if route missing is for certain Other CE.

 

Hello

@MHM Cisco World 

I would say its not for the customer-CE rtr to check for RT etc..

if he suspects he is missing routes he should query his ISP as he will not have any visibility to any vrf 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello,

 

Here are the logs of the first attempt, we see that the tables are announced, but after 10-15 minutes we stopped

 

Tables.png

balaji.bandi
Hall of Fame
Hall of Fame

on what basis you have come to this routes "but after 5 minutes I only have 455,000 routes added to my router."

 

other question do you really need full routing table ? if you have only 1 exit point  ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello BB,


We put a full view, because we will have two ISP tomorrow

Hello

Even with two egress paths you wouldn’t require a full rib table

I agree  with @balaji.bandi @ what is the reason for a full internet table - You could have the isps to send partial routes or even just default routes or both and you can apply bgp attributes to specify which egress is preferred 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card