08-12-2008 10:13 AM - edited 03-03-2019 11:07 PM
I have a quick question here would there be a problem if I assign BGP AS number 65145 on a router that already has another AS number? The 65145 I just made up which is perfectly ok right? Sorry someone has always given me a ASN this it the first time I'm making one up.
Solved! Go to Solution.
08-12-2008 10:14 AM
You can only run one instance of BGP on any given router.
The private AS number space is 64512 to 65535. So, in terms of selecting an AS, you're fine. In terms of configuring a second BGP AS on the router, you're not fine.
HTH
Victor
08-12-2008 10:14 AM
You can only run one instance of BGP on any given router.
The private AS number space is 64512 to 65535. So, in terms of selecting an AS, you're fine. In terms of configuring a second BGP AS on the router, you're not fine.
HTH
Victor
08-12-2008 10:19 AM
Thanks Victor for the info!!!!!
08-12-2008 10:18 AM
Hello Warren,
a router can be in only one AS number.
You will get an error if try to enter router bgp 65145.
A router can pretend to be in AS 65145 for a specific BGP neighbor by using the local-as option.
neighbor local-as
To customize the AS_PATH attribute for routes received from an external Border Gateway Protocol (eBGP) neighbor, use the neighbor local-as command in address family or router configuration mode. To disable AS_PATH attribute customization, use the no form of this command.
neighbor {ip-address | peer-group-name} local-as [autonomous-system-number [no-prepend [replace-as [dual-as]]]]
no neighbor {ip-address | peer-group-name} local-as
see
http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp3.html#wp1014448
In your case evaluate if you want to put your router in AS 65145 you first need to remove the current BGP process otherwise use the local-option
Hope to help
Giuseppe
08-12-2008 11:15 AM
Is this pretty easy to do? From a quick look at the link you provided it appears so. I'll give it a shot and see how it goes.
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: