作为路径设置prepend

Syntax

作为路径设置prepend<, > < >…没有作为路径设置prepend<, > < >…

描述

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没有form of this command restores the default behavior of not modifying the AS Path attribute list.

Command context

config-route-map

Parameters

<, > < >…

Specifies the AS numbers to be prepended from the AS Path attribute of the route.

权威

Administrators or local user group members with execution rights for this command.

Example

Configuring a set clause in the route map to prepend the AS from the AS Path attribute of the route:

switch(config)#route-map GlobalMap permit seq 11switch(config-route-map-GlobalMap-11)#作为路径设置prepend 1switch(config-route-map-GlobalMap-11)#没有作为路径设置prepend 102
NOTE:

The没有form of the command deletes the entire list of AS-Path prepend configuration regardless of the parameter list. In this example, the没有form command would result in deletion of all the three AS numbers that were earlier configured.