neighbor local-as
Assigns a local AS number for the specified BGP peer or peer group. The no version restores the default value set globally for the BGP instance with the router bgp command.
neighbor { ipAddress | ipv6Address | peerGroupName } local-as number
no neighbor { ipAddress | ipv6Address | peerGroupName } local-as [ number ]
- ipAddressIP address of BGP neighbor
- ipv6AddressIPv6 address of BGP neighbor
- peerGroupNameName of the BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- numberNumber in the range 14294967295; the local AS to assign to the peer
Address Family Configuration, Router Configuration
Command introduced before JUNOSe Release 7.1.0.
ipv6Address variable added in JUNOSe Release 8.0.0.