Users Guide

Table Of Contents
Layer 3 Routing Commands 1330
neighbor allowas-in
Use the neighbor allowas-in command to accept prefixes even if local ASN is
part of the AS_PATH attribute. Use the no form of the command to disable
acceptance of prefixes if the local ASN is part of the AS_PATH.
Syntax
neighbor {
ip-address
|
ipv6-address
[ interface
interface-id
] | autodetect
interface vlan
vlan-id
}
allowas-in
count
no neighbor {
ip-address
|
ipv6-address
[ interface
interface-id
] | autodetect
interface
interface-id
}
allowas-in
interface-id
A routing interface identifier beginning with the VLAN
keyword.
ip-address
The neighbor’s IPv4 address.
ipv6-address
[ interface
interface-id
] The neighbor’s IPv6 address. If
the neighbor’s IPv6 address is a link local address, the local interface must
also be specified.
autodetect
interface
interface-id
The VLAN routing interface on which
the neighbor’s link local IPv6 address is auto detected. Use the vlan
keyword and a VLAN identifier.
allowas-in
count
The maximum number of occurrences of the local
ASN allowed in the AS_PATH attribute received in the prefix updates. The
allowed range is <1-10>.
Default Configuration
The router does not accept prefixes with the local ASN is part of the
AS_PATH attribute.
Command Mode
BGP Router Configuration mode, IPv4 Address Family Configuration mode
User Guidelines
A neighbor can inherit this configuration from a peer template.