cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
395
Views
5
Helpful
2
Replies

BGP -Advertising a different AS to new connections

ranga2002
Level 1
Level 1

Hi Guys, If anyone can explain this, in brief, would be really appreciated.

 

Question :

Company A is running BGP to connect to external peers they were recently acquired and new peers(Company B) will be connecting using the acquiring company(Company A) AS number. What BGP feature would allow for Company A to maintain their current BGP configuration, while advertising a different AS number to new connections?

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @ranga2002 ,

the BGP command

neighbor x.x.x.x local-as yyy

is the command that can be used in this kind of migration scenarios.

The command has several options and parameters that change slightly its behaviour.

neighbor {ip-address | ipv6-address | peer-group-name} local-as [autonomous-system-number [no-prepend [replace-as [dual-as]]]]

 

see

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/command/irg-cr-book/bgp-m1.html#wp2002403135

 

the no-prepend should hide the true AS number of the router.

 

Hope to help

Giuseppe

 

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @ranga2002 ,

the BGP command

neighbor x.x.x.x local-as yyy

is the command that can be used in this kind of migration scenarios.

The command has several options and parameters that change slightly its behaviour.

neighbor {ip-address | ipv6-address | peer-group-name} local-as [autonomous-system-number [no-prepend [replace-as [dual-as]]]]

 

see

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/command/irg-cr-book/bgp-m1.html#wp2002403135

 

the no-prepend should hide the true AS number of the router.

 

Hope to help

Giuseppe

 

Thank you so much Giuseppe !

Review Cisco Networking products for a $25 gift card