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 route-map match as-path command matches the AS path attribute of the route with one or more regular expressions in the AS path list.
The delete routing route-map match as-path command restores the default behavior of not matching the AS path attribute of the route.

Command Syntax

set routing route-map <route-map-name> order <NUMBERmatch as-path <as-path-list>

delete routing route-map <route-map-name> order <NUMBER> match as-path <as-path-list>




route-map <route-map-name>

Specifies the name of the route map. Required.

order <NUMBER>

Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535.

match as-path <as-path-list>

Specifies the name of the AS path list to match the AS path attribute of the route.


  •  Configure a match clause in the route map to match the AS path list:
admin@Xorplus# set routing as-path-list Aslist permit regex _20_
admin@Xorplus# set routing route-map GlobalMap order 10 match as-path Aslist
admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit
admin@Xorplus# commit
  • No labels