action {accept | next-entry | next-policy | reject}
no action
config>router>policy-options>policy-statement>entry
Supported on all 7210 SAS platforms as described in this document
This command configures actions to take for routes matching a route policy statement entry.
This command is required and must be entered for the entry to be active.
Any route policy entry without the action command will be considered incomplete and will be inactive.
The no form of this command deletes the action context from the entry.
no action
Specifies packets matching the entry match criteria will be accepted and processed appropriately.
Specifies that the actions specified would be taken and policy evaluation would continue with the next policy entry (if any others are specified).
Specifies that the actions specified would be made to the route attributes and policy evaluation would continue with the next route policy (if any others are specified).
Specifies packets matching the entry match criteria will be rejected.
as-path {add | replace} name
no as-path
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
This command assigns a BGP AS path list to routes matching the route policy statement entry.
If no AS path list is specified, the AS path attribute is not changed.
The no form of this command disables the AS path list editing action from the route policy entry.
no as-path
Specifies that the AS path list is to be prepended to an existing AS list.
Specifies AS path list replaces any existing as path attribute.
Specifies the AS path list name. Allowed values are any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes. The name specified must already be defined.
as-path-prepend as-num [repeat]
no as-path-prepend
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
This command prepends a BGP ASN once or multiple times to the AS path attribute of routes matching the route policy statement entry.
If an ASN is not configured, the AS path is not changed.
If the optional number is specified, the ASN is prepended as many times as indicated by the number.
The no form of this command disables the AS path prepend action from the route policy entry.
no as-path-prepend
Specifies the ASN to prepend expressed as a decimal integer.
Specifies the number of times to prepend the specified ASN expressed as a decimal integer.
community {{add name [remove name]} | {remove name [add name]} | {replace name}}
no community
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
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 this command disables the action to edit the community path attribute for the route policy entry.
no community
Keyword to specify that the community list is added to any existing list of communities.
Keyword to specify that the community list is removed from the existing list of communities.
Keyword to specify that the community list replaces any existing community attribute.
Specifies the community list name. Allowed values are any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.
damping {name | none}
no damping
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
This command configures a damping profile used for routes matching the route policy statement entry.
If no damping criteria is specified, the default damping profile is used.
The no form of this command removes the damping profile associated with the route policy entry.
no damping
Specifies the damping profile name. Allowed values are any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes. The name specified must already be defined.
Keyword to disable route damping for the route policy.
default-action {accept | next-entry| reject}
no default-action
config>router>policy-options>policy-statement
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure actions for routes packets that do not match any route policy statement entries when the accept parameter is specified.
The default action clause can be set to all available action states, including accept, reject, next-entry and next-policy. If the action states accept or reject, the policy evaluation terminates and the appropriate result is returned.
If a default action is defined and no matches occurred with the entries in the policy, the default action clause is used.
If a default action is defined and one or more matches occurred with the entries of the policy then the default action is not used.
The no form of this command deletes the default-action context for the policy statement.
no default-action
Keyword to specify that route packets matching the entry match criteria will be accepted and propagated and processed appropriately.
Keyword to specify that the actions specified will be made to the route attributes taken, and policy evaluation will continue with the next policy entry (if any others are specified).
Keyword to specify that routes or packets matching the entry match criteria will be rejected.
local-preference preference
no local-preference
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry
Supported on all 7210 SAS platforms as described in this document
This command assigns a BGP local preference to routes matching a route policy statement entry.
If no local preference is specified, the BGP configured local preference is used.
The no form of this command disables assigning a local preference in the route policy entry.
no local-preference
Specifies the local preference expressed as a decimal integer.
metric {add | subtract | set} metric
no metric
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
This command assigns a metric to routes matching the policy statement entry.
If no metric is specified, the configured metric is used. If neither is defined, no metric will be advertised.
The value assigned for the metric by the route policy is controlled by the required keywords.
The no form of this command disables assigning a metric in the route policy entry.
no metric
Keyword to add the specified integer to any existing metric. If the result of the addition results in a number greater than 4294967295, the value 4294967295 is used.
Keyword to subtract the specified integer from any existing metric. If the result of the subtraction results in a number less than 0, the value of 0 is used.
Keyword to replace any existing metric with the specified integer.
Specifies the metric modifier expressed as a decimal integer.
[no] next-hop-self
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
This command advertises a next hop IP address belonging to this router even if a third-party next hop is available to routes matching the policy statement entry.
The no form of this command disables advertising the next-hop-self option for the route policy entry.
no next-hop-self
origin {igp | egp | incomplete}
no origin
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
This command sets the BGP origin assigned to routes exported into BGP.
If the routes are exported into protocols other than BGP, this option is ignored.
The no form of this command disables setting the BGP origin for the route policy entry.
no origin
Keyword to set the path information as originating within the local AS.
Keyword to set the path information as originating in another AS.
Keyword to set the path information as learned by some other means.
preference preference
no preference
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action>action
Supported on all 7210 SAS platforms as described in this document
This command assigns a route preference to routes matching the route policy statement entry.
If no preference is specified, the default route table manager (RTM) preference for the protocol is used.
The no form of this command disables setting an RTM preference in the route policy entry.
no preference
Specifies the route preference, expressed as a decimal integer.
tag tag
no tag
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
This command assigns an OSPF tag to routes matching the entry. The tag value is used to apply a tag to a route for either an OSPF or RIP route. A hexadecimal value of 4 octets can be entered.
For OSPF, all four octets can be used.
For RIP, only the two most significant octets are used if more than two octets are configured.
The no form of this command removes the tag.
no tag
Specifies an OSPF or IS-IS tag assigned to routes matching the entry.
type {type}
no type
config>router>policy-options>policy-statement>default-action
config>router>policy-options>policy-statement>entry>action
Supported on all 7210 SAS platforms as described in this document
This command assigns an OSPF type metric to routes matching the route policy statement entry and being exported into OSPF.
The no form of this command disables assigning an OSPF type in the route policy entry.
no type
Specifies the OSPF type metric.