[Contents] [Prev] [Next] [Index] [Report an Error]

# neighbor local-as

#### Syntax

neighbor { ipAddress | ipv6Address | peerGroupName } local-as number

no neighbor { ipAddress | ipv6Address | peerGroupName } local-as [ number ]

#### Release Information

Command introduced before JUNOSe Release 7.1.0.
ipv6Address variable added in JUNOSe Release 8.0.0.

#### Description

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.

#### Options

- ipAddress—IP address of BGP neighbor
- ipv6Address—IPv6 address of BGP neighbor
- peerGroupName—Name 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.
- number—Number in the range 1–4294967295; the local AS to assign to the peer

#### Mode

Address Family Configuration, Router Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]