cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4066
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 ^$

25 Replies 25

Until you are a transit provider you do not as many routes - you only required to play your own subnet when you want to have prefered path or asymmetric route ..so on.

 

@paul driver thanks for agreeing my views and appreciated your inputs.

 

 

 

BB

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

How to Ask The Cisco Community for Help

Finally I dig out what issue here,

You share  config of Peer AS 0001 and then  share output in AS 0002,

so friend your issue is 

permit ^$  with out direction from AS 0001 toward AS 0002, 

this will only permit the Perfix of AS 0001 to advertise toward the AS 0002.

just change it and see result.

good luck.

Finally I fig out what issue here,

You share  config of Peer AS 0001 and then  share output in AS 0002,

so friend your issue is 

permit ^$  with out direction from AS 0001 toward AS 0002, 

this will only permit the Prefix within AS 0001 to advertise toward the AS 0002.

just change it and see result.

good luck.

Hello
@MHM Cisco World  The permit ^$ expression set egress will advertise only locally originated routes from the OP's site to each ISP, which is a good thing as this negates the OP's site from becoming a transit path for either ISP, so you wouldn't want to change this?


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

Thanks a lot for your reply,
he want 700,000 prefix to be forward from AS 0001 to AS 0002, but he miss some prefix in AS 0002

so the only filter here to filter the 700,000 in AS 0001 is as_path via ^$ , which make AS 0001 only send the prefix that contain the AS 0001 in path toward AS 0002.

Thanks a gain 

Hello

@MHM Cisco World  My understanding the OP wants to receive 700k+ routes not advertise them and in anycase why would the OP want to advertised 700K+ routes to an ISP? -  Doesn't make sense TBH. 


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

Yes I know he want to receive 700K+, but he share the config of AS 0001 not AS 0002,
so we work in information we have.

and why he need this huge I think it is for monitor, he can make PE send this prefix to other router and in this router he can monitor all prefix learn.
so let us wait him answer for this question because only SP router need this huge prefix.  

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.

So issue solved without change the path list filter?

Yes without change path list filter.

Sample+Regular+Expressions.jpg

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: