set as-path exclude
Syntax
set as-path exclude 没有设置作为路径排除
描述
Removes all occurrences of the configured AS Path from the AS Path attribute of the route.
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 number to be removed 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 remove the AS from the AS Path attribute of the route:
switch(config)#罗依ute-map GlobalMap permit seq 11switch(config-route-map-GlobalMap-11)#set as-path exclude 1001