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 set-action as-path prepend command prepends the list of the configured AS numbers to the AS Path attribute of the routes. To ensure that the AS path conforms to standards, the local AS is prepended after this command is executed.
The delete routing route-map set-action as-path prepend command restores the default behavior of not modifying the AS Path attribute list.

NOTE: The delete form of the command deletes the entire list of AS-Path prepend configuration regardless of the parameter list.

Command Syntax

set routing route-map <route-map-name> order <NUMBERset-action as-path prepend [as1 <AS> | as2 <AS>| as3 <AS>| as4 <AS>| as5 <AS>| last-as <last-as>]

delete routing route-map <route-map-name> order <NUMBER> set-action as-path prepend [as1<AS> | as2<AS>| as3 <AS>| as4 <AS>| as5 <AS>| last-as <last-as>]




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.

prepend [as1<AS> | as2<AS>| as3 <AS>| as4 <AS>| as5 <AS>| last-as <last-as>]Specifies the AS numbers to be prepended from the AS Path attribute of the route. At most six AS number can be set. The value of <AS> is an integer that ranges from 1 to 4294967295. The value of <last-as> is an integer that ranges from 1 to 10.


  •  Configure a action clause in the route map to prepend the AS from the AS Path attribute of the route:
admin@Xorplus# set routing route-map GlobalMap order 10 set-action as-path prepend as1 102
admin@Xorplus# commit
  • No labels