User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 788
Default None
Mode Router BGP Config Mode
IPv4 VRF Address Family
6.10.2.24. neighbor local-as
This command is used to advertise the configured local AS number instead of the routers own AS in the routes
advertised to the neighbor. This command is only allowed on the external BGP neighbors.
To remove the local AS, use the no form of this command.
Format neighbor {<ipv4-address> | <ipv6-address> [interface {<slot/port> | vlan {1-4093}}] | autodetect
interface <slot/port>} local-as <as-number> no-prepend replace-as
no neighbor {<ipv4-address> | <ipv6-address> [interface {<slot/port> | vlan {1-4093}}] | autodetect
interface <slot/port>} local-as
Fields
Definition
ipv4-address
IPv4 address of the neighboring router.
ipv6-address
IPv6 address of the neighboring router. Not support under IPv4 VRF address
family mode.
Interface
If the neighbors IPv6 address is a link local address, the local interface must be
specified as well. Not support under IPv4 VRF address family mode.
autodetect interface
The routing interface on which the neighbors IPv6 link local address is auto
detected.
Templatename
Name of the peer template whose peer configuration parameters are to be
inherited by this neighbor.
Fields
Definition
ipv4-address
IPv4 address of the neighboring router.
ipv6-address
IPv6 address of the neighboring router. Not support under IPv4 VRF address
family mode.
Interface
If the neighbors IPv6 address is a link local address, the local interface must be
specified as well. Not support under IPv4 VRF address family mode.
autodetect interface
The routing interface on which the neighbors IPv6 link local address is auto
detected.
As-number
The AS number to advertise as the local AS in the AS PATH sent to the neighbor.
no-prepend
Do not prepend the local-AS in the AS PATH received in the updates from this
neighbor.
replace-as
Replace the routers own AS with the local-AS in the AS PATH sent to the
neighbor.