Administrator Guide

Layer 3 Routing Commands 1284
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-name
] |
autodetect
interface vlan
vlan-id
}
allowas-in
count
no neighbor {
ip-address
|
ipv6-address
[ interface
interface-name
] |
autodetect
interface
interface-id
}
allowas-in
ip-address
The neighbor’s IPv4 address.
ipv6-address
[
interface
interface-name
]
The neighbor’s IPv6 address.
If the neighbors 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.
Command History
Introduced in version 6.3.0.1 firmware.
2CSNXXX_SWUM204.book Page 1284 Monday, January 25, 2016 1:25 PM