Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Routing Protocols

  • Check for AS match in BGP policy AS paths without using regular expressions (ACX5048, ACX5096, ACX5448, MX240, MX480, MX960, MX2008, MX10016, vMX, PTX1000, PTX5000, PTX10001, PTX10002, QFX5100, QFX5110, QFX5120, QFX5200, QFX5210, and QFX10016)—Starting in Junos OS Release 21.3R1, you can configure BGP policies to check for an autonomous system (AS) match in an AS path without using regular expressions. The BGP policy compares the AS to an AS-list or AS-list-group and returns true if it finds a match. You can configure the BGP policy to check for a matching origin, neighbor, or transit AS. This feature provides a faster alternative to match origin, transit, and peer AS numbers than using a regular expression.

    Configure this feature using the as-path-neighbors, as-path-origins, or as-path-transits option at the [edit policy-options policy-statement policy-name from] hierarchy level. For each type of match, use (as-list | as-list-group) as-list-name/as-list-group-name to specify the list or group of AS paths to compare the match to. Configure the AS list or AS group at the [edit policy-options] hierarchy level.

    [See policy-options and policy-statement.]