Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 3 Next »


The set routing route-map 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 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> <NUMBER> action as-path prepend <AS> <AS> ...

delete routing route-map <route-map-name> <NUMBER> action as-path prepend <AS> <AS> ...


Parameter

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

<NUMBER>

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

as-path prepend <AS> <AS> ...Specifies the AS numbers to be prepended from the AS Path attribute of the route. The value is an integer that ranges from 1 to 4294967295.


Example

  •  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 10 action as-path prepend 102
admin@Xorplus# commit
  • No labels