Route Policy Command Reference
474 7705 SAR OS Router Configuration Guide
as-path-prepend
Syntax as-path-prepend as-num [repeat]
no as-path-prepend
Context config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Description This command prepends a BGP AS number once or numerous times to the AS path attribute of routes 
matching the route policy statement entry. If an AS number is not configured, the AS path is not 
changed.
If the optional number is specified, then the AS number is prepended as many times as indicated by 
the number.
The no form of the command disables the AS path prepend action from the route policy entry.
Default no as-path-prepend
Parameters as-num — the AS number to prepend expressed as a decimal integer
Values 1 to 4294967295
repeat — the number of times to prepend the specified AS number expressed as a decimal integer
Values 1 to 50
community
Syntax community {{add name [remove name]} | {remove name [add name]} | {replace name}}
no community
Context config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Description This command adds or removes a BGP community list to or from routes matching the route policy 
statement entry. If no community list is specified, the community path attribute is not changed.
The community list changes the community path attribute according to the add and remove keywords.
The no form of the command disables the action to edit the community path attribute for the route 
policy entry. 
Default no community
Parameters add — the specified community list is added to any existing list of communities
remove — the specified community list is removed from the existing list of communities
replace — the specified community list replaces any existing community attribute