cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
511
Views
0
Helpful
2
Replies

BGP AS number

4everlearning
Level 1
Level 1

Hi Guys,

Let's say I have 2 CEs that use different VRFs (VRF light), can I use only one BGP AS number to peer with different PEs? or should the AS number be configured per VRF?

 

Thanks,

 

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Hi,

can I use only one BGP AS number to peer with different PEs?

Not only you can - you have to. Regardless of presence and count of VRFs, you can start only a single BGP process in your configuration. It is, to my best knowledge, not possible to configure AS numbers on a per-VRF basis in BGP.

There is an option of pretending that your BGP ASN is different than the true one, activated using the neighbor local-as command. However, this is not a typical use case for this command, and if you can avoid it, you should.

Best regards,
Peter

View solution in original post

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

Hi,

can I use only one BGP AS number to peer with different PEs?

Not only you can - you have to. Regardless of presence and count of VRFs, you can start only a single BGP process in your configuration. It is, to my best knowledge, not possible to configure AS numbers on a per-VRF basis in BGP.

There is an option of pretending that your BGP ASN is different than the true one, activated using the neighbor local-as command. However, this is not a typical use case for this command, and if you can avoid it, you should.

Best regards,
Peter

Thank you, Peter.

Review Cisco Networking for a $25 gift card