Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
AS-Override in MPLS L3VPN
Why to use as-override ?
When using BGP as the CE-PE routing protocol in MPLS VPNs usually enterprise customers have two choices
1. Use different BGP AS number on every site from the private pool.
2. Use same BGP AS number on ever site.
Most commonly used method is number 2 because then the customer doesn't have to track all the AS numbers already used in the network.
Now, when you use the same AS number on every site routing will not be exchanged between sites because the local CE will see its own AS number coming in the BGP AS_PATH attribute and the route will be rejected.
Following message is seen when you do a debug on the CE router:
BGP(0): 220.127.116.11 rcv UPDATE about 18.104.22.168/32 -- DENIED due to: AS-PATH contains our own AS;
The solution is to use "as-override" on the PE routers.
How to configure as-override ?
It is configured per neighbor and is an address-family sub config mode
router bgp 1
address-family ipv4 vrf customer
neighbor 22.214.171.124 remote-as 2
neighbor 126.96.36.199 activate
neighbor 188.8.131.52 as-override
What as-override does ?
When configured per neighbor, the PE router does a check that will look at the BGP AS_PATH attribute and if it finds an AS number which is same as the one configured with "remote-as" command it replaces that AS number with its own AS-number.
But if the as-path doesn't contain the same "AS" as the one configured with the "remote-as" command then it doesn't replace that AS.