peer-as-list
Syntax
peer-as-list peer-as-list;
Hierarchy Level
[edit fabric protocols bgp group], [edit logical-systems name protocols bgp group], [edit logical-systems name routing-instances name protocols bgp group], [edit logical-systems name tenants name routing-instances name protocols bgp group], [edit protocols bgp group], [edit routing-instances name protocols bgp group], [edit tenants name routing-instances name protocols bgp group]
Description
Specify a list of peer autonomous systems for neighbors whose IP addresses are not known. This supports dynamic peering and allows you to control BGP peering when the neighbor’s exact IP address is not known.
The peer-as-list statement references a named autonomous system (AS) list that must be defined separately. The referenced AS list can include individual AS numbers or AS number ranges. For dynamic BGP neighbors, the session is accepted only if the peer AS matches an entry in the referenced AS list.
Required Privilege Level
routing
Release Information
Statement introduced in Junos OS Release 20.2R1.