neighbor allowas-in
neighbor
{ip-address
|
ipv6-address
|
peer-group-name
}
neighbor allowas-in
number
no neighbor allowas-in
{ip-address
|
ipv6-address
|
peer-group-name
}
neighbor allowas-in
number
The AS_PATH check function is enabled and any route whose path contains the speaker's AS number is rejected as a loop.
BGP configuration mode
BGP address-family IPv6 unicast configuration mode
When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.
The
no form of the command re-enables the AS_PATH check function.
The following example specifies that the AS path of a received route may contain the recipient BGP speaker's AS number three times and still be accepted.
device#configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# neighbor 2001:2018:8192::125 allowas-in 3