peer-as
Syntax
Hierarchy Level
Release Information
Statement introduced before JUNOS Release 7.4.
Statement introduced in JUNOS Release 9.0 for EX Series switches.
Description
Specify the neighbor (peer) AS number.
The autonomous system (AS) numeric range in plain-number format has been extended in JUNOS Release 9.1 to provide BGP support for 4-byte AS numbers, as defined in RFC 4893, BGP Support for Four-octet AS Number Space.
In JUNOS Release 9.2 and later, you can also configure a 4-byte AS number using the AS-dot notation format of two integer values joined by a period: <16-bit high-order value in decimal>.<16-bit low-order value in decimal>. For example, the 4-byte AS number of 65,546 in plain-number format is represented as 1.10 in the AS-dot notation format.
Options
autonomous-system—AS number.
- Range: 1 through 4,294,967,295 (232 – 1) in plain-number format
- Range: 0.0 through 65535.65535 in AS-dot notation format
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.

