Reference v4.1.0 Instruction Manual

500 Network OS Command Reference
53-1003115-01
neighbor local-as (BGP)
2
neighbor local-as (BGP)
Causes the device to prepend the local autonomous system number (ASN) automatically to routes
received from an EBGP peer.
Synopsis neighbor {ip-address | peer-group-name} local-as num {no-prepend}
no neighbor {ip-address | peer-group-name} local-as num {no-prepend}
Operands ip-address IPv4 address of the neighbor
peer-group-name Peer group name configured by the neighbor peer-group-name command.
num Local ASN. Range is from 1 through 4294967295.
no-prepend Causes the device to stop pre-pending the selected ASN.
Defaults None
Command Modes BGP configuration mode
Description Use this command to causes the device to prepend the local autonomous system number (ASN)
automatically to routes received from an EBGP peer.
Usage Guidelines Use the no form of this command to remove the local ASN.
Examples To ensure that a device prepends the local ASN:
switch(config)# rbridge-id 10
switch(config-rbridge-id-10)# router bgp
switch(config-bgp-router)# neighbor 10.11.12.13 local-as 100
To stop the device from pre-pending the selected ASN:
switch(config-bgp-router)# neighbor 10.11.12.13 local-as 100 no-prepend
See Also None