cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1669
Views
1
Helpful
4
Replies

How to configure BGP in IOS/XR

Carl Williams
Level 1
Level 1

Could somebody show me an example of how to configure BGP in IOS/XR.

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

We do not have much information to work with. What do you want BGP to do? Do you want to connect to an ISP? Or to connect to something else? Or to connect to more than one outside neighbor? Am I correct in assuming that you want to learn some routes from the outside neighbor? Do you want to advertise any routes to your outside neighbor?

At a minimum you need two statements to configure BGP.

- you need the statement router bgp <AS#> where AS# is the Autonomous System number you will use. Probably you will want to use an AS number from the range of numbers reserved for private use. The neighbor to whom you connect may have some advice about what AS number you should use.

- neighbor <IP> <AS#> where IP is the IP address of the neighbor and AS is the Autonomous System Number of the neighbor.

What other commands may be needed depends on what you want to accomplish in BGP.

HTH

Rick

Sam Meftahi
Level 1
Level 1

I suggest you take a look at these 2 videos:

https://youtu.be/avPkceRWmNY

https://youtu.be/BwLEe9sRi54

 

Introduction to Cisco IOS-XR configuration on a step by step hands-on demos. Learn the syntax and configuration tips, step by step on this playlist, from fundamentals to advanced topics. In this video we look at configuring iBGP and eBGP for IOS-XR, as well as an introduction to RPLs. Below ...
BGP configurations can be lengthy and cumbersome and therefore prone to human errors. In this video, I share with you how to improve the configuration in a smart and clever way to save yourself time and avoid mistakes by keeping a consistent configuration.

M02@rt37
VIP
VIP

Hello @Carl Williams,

Find here how to configure iBGP and eBGP with Cisco IOS XR:

https://community.cisco.com/t5/networking-knowledge-base/bgp-basic-configuration-on-ios-xr-ibgp-and-ebgp/ta-p/3145638

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.