
C613-50186-01 Rev B
Command Reference for AR2050V
1199
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
NEIGHBOR
ALLOWAS
-
IN
neighbor allowas-in
Overview
Use this command to accept an AS_PATH with the specified Autonomous System
(AS) number from inbound updates for both BGP and BGP4+ routes.
This command allows BGP and BGP4+ to accept prefixes with the same ASN in the
AS_PATH attribute. This command allows BGP and BGP4+ to accept up to 10
instances, configured by the <
occurrences
> placeholder, of its own AN in the
AS_PATH for a prefix.
Use the
no
variant of this command to revert to default functionality (disabled by
default).
Syntax
neighbor <
neighborid
> allowas-in <
occurrences
>
no neighbor <
neighborid
> allowas-in
Default
Disabled
Mode [BGP]
Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+]
IPv6 Address Family Configuration
Usage
Use this command to configure PE (Provider Edge) routers to allow
re-advertisement of all prefixes containing duplicate Autonomous System
Numbers (ASNs). In a hub and spoke configuration, a PE router re-advertises all
prefixes containing duplicate ASNs. Specify the remote-as or peer-group first using
the related commands. The command allows a receiving peer to accept prefixes
with its own AN in the AS_PATH, up the maximum number of instances, as
configured by the <
occurrences
> placeholder.
Parameter
Description
<
neighborid
>
{
<ip-address>
|
<ipv6-addr>
|
<peer-group>
}
<ip-address>
Specify the address of an IPv4 BGP neighbor, in
dotted decimal notation A.B.C.D.
<ipv6-addr>
Specify the address of an IPv6 BGP4+ neighbor,
entered in hexadecimal in the format X:X::X:X.
<peer-group>
Enter the name of an existing peer-group. For
information on how to create peer groups,
refer to the
command. When this parameter is used with
this command, the command applies on all
peers in the specified group.
<
occurrences
>
<
1-10
> Specifies the number of occurrences of the AS number.