To allow BGP route updates from peers with the same AS number as the current system AS; run the command set protocol bgp neighbor evpn neighbor allowas-in. This configuration is needed when different BGP peers reside in different locations that cannot be directly connected but they both use the same AS number. Parameter vrf is optional and if not specified then the command will affect the default VRF.
...
The parameter origin configures BGP to only accept routes originated with the same AS number as that of the current system.
Run the command delete protocol protocols bgp neighbor evpn neighbor allowas-in to remove this configuration.
...
set protocols bgp [vrf <text>] evpn neighbor <bgp-peer>evpn allowas-in {<1-10> | origin}
delete protocols bgp [vrf <text>] evpn neighbor <bgp-peer>evpn allowas-in {<1-10> | origin}
...
Parameter | Description | ||
vrf <text> | Optional. Specifies the name of the VRF. | l2vpnSpecifies whether the command applies to layer 2 EVPN. | |
neighbor <bgp-peer> | Specify the BGP peer IPv4 or IPv6 address. | ||
allowas-in (<1-10>|origin) | Value <1-10> specifies the number of occurrences of AS in AS path, origin configures BGP to only accept routes originated with the same AS number as that of the system. |
...
Code Block |
---|
admin@Xorplus# set protocols bgp vrf BLUE l2vpn evpn neighbor peer1 evpn allowas-in origin admin@Xorplus# commit |
...