set as-path exclude
Syntax
set as-path exclude <AS>
no set as-path exclude <AS>
Description
Removes all occurrences of the configured AS Path from the AS Path attribute of the route.
The
no
form of this command restores the default behavior of not modifying the AS Path attribute list.
Command context
config-route-map
Parameters
<AS>
Specifies the AS number to be removed from the AS Path attribute of the route.
Authority
Administrators
Example
Configuring a set clause in the route map to remove the AS from the AS Path attribute of the route:
switch(config)# route-map GlobalMap permit seq 11 switch(config-route-map-GlobalMap-11)# set as-path exclude 1001