Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »


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>]


Parameter

Parameter

Description

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

Specifies the name of the AS Path list.

{deny|permit} 

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

regex <txt>

Specifies the AS_Path regular expression. The value is a string of 1 to 255 characters, with spaces supported.


Example

  • 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