as-list
Syntax
as-list name {
members [ members ... ];
}
Hierarchy Level
[edit logical-systems name policy-options],
[edit policy-options]
Release Information
Statement introduced in Junos OS Release 20.2R1.
Description
Define a policy to specify a list of BGP autonomous systems (AS) to configure acceptable AS ranges for EBGP groups that can be used for bringing up BGP peers while establishing a BGP session. BGP accepts a peer request based on the specified AS range and rejects a peer request if the AS does not fall into the specified range. This allows you to control BGP peering when the neighbor’s exact IP address is not known.
Options
name—Specify a name
to identify a BGP as-list.
members—Specify a single
autonomous system number or a range of autonomous system numbers in
plain numbers.
Required Privilege Level
routing