Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set routing as-path-list command configures an AS Path list to match a specific AS path. AS Path lists are named lists of regular expression rules. They are used to match AS Path attributes in the routes for inclusion in or exclusion from route policies.

The delete routing as-path-list command removes the AS Path list configuration.

Command Syntax

set routing as-path-list <as-path-list-name> {deny|permit} regex <txt>

delete routing as-path-list <as-path-list-name> [{deny|permit} regex <txt>]




as-path-list <as-path-list-name>

Specifies the name of the AS Path list.


Specifies whether the route is available for further processing when there is a match.

regex <txt>

Specifies the AS_Path regular expression (BGP Regular Expressions). The value is a string of 1 to 255 characters, space is not supported. 


  • Configure an AS Path list, permit routes that contain 20 in the AS_Path to pass through.
admin@Xorplus# set routing as-path-list Aslist permit regex _20_
admin@Xorplus# commit
  • No labels