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

Mode

Address Family Configuration, Router Configuration