
C613-50186-01 Rev B
Command Reference for AR2050V
1239
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
NEIGHBOR
LOCAL
-
AS
neighbor local-as
Overview
Use this command to configure a local AS number for the specified BGP or BGP4+
neighbor. This overrides the local AS number specified by the
Use the
no
variant of this command to remove the local AS number for the
specified BGP or BGP4+ neighbor.
Syntax
neighbor <
neighborid
> local-as <
as-number
>
no neighbor <
neighborid
> local-as <
as-number
>
Mode [BGP]
Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+]
Router Configuration
When VRF-lite is configured, this command allows internal BGP loopback
connections between named VRFs and the default global routing instance to be
configured to act as eBGP connections, instead of only iBGP.
Usage [BGP4+]
When BGP4+ is configured, this command prepends the ASN as defined by the
command, and adds the ASN as defined by the
command in front of the actual ASN as defined by the
command. This
makes the peer believe it is peering with the ASN as defined by the
command.
Parameter
Description
<neighborid>
{
<ip-address>
|
<ipv6-addr>
|
<peer-group>
}
<ip-address>
The address of an IPv4 BGP neighbor, in
dotted decimal notation A.B.C.D.
<ipv6-addr>
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
and
commands. When this parameter is used with
this command, the command applies on all
peers in the specified group.
<as-number>
<
1-4294967295
>
Neighbor’s Autonomous System (AS) number.