Enter the policy-options context
16.0.R1
All
Enter the as-path list instance
configure policy-options as-path string
16.0.R1
All
AS path name
configure policy-options as-path string
1 to 32
This element is part of a list key.
16.0.R1
All
Regular expression string
configure policy-options as-path string expression string
1 to 255
16.0.R1
All
Enter the as-path-group list instance
configure policy-options as-path-group string
16.0.R1
All
AS path group name
configure policy-options as-path-group string
1 to 32
This element is part of a list key.
16.0.R1
All
Enter the entry list instance
configure policy-options as-path-group string entry number
16.0.R1
All
AS path entry ID
configure policy-options as-path-group string entry number
1 to 128
This element is part of a list key.
16.0.R1
All
Regular expression string
configure policy-options as-path-group string entry number expression string
1 to 255
This element is mandatory.
16.0.R1
All
Enter the community list instance
configure policy-options community string
16.0.R1
All
Community name
configure policy-options community string
This command configures a route policy community name.
String values must be 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.
1 to 64
This element is part of a list key.
16.0.R1
All
Enable the expression context
16.0.R1
All
Match exactly for the specified expression
configure policy-options community string expression exact boolean
false
16.0.R1
All
Community expression value
configure policy-options community string expression expr string
1 to 900
This element is mandatory.
16.0.R1
All
Add a list entry for member
configure policy-options community string member string
16.0.R1
All
Community member value
configure policy-options community string member string
1 to 72
This element is part of a list key.
16.0.R1
All
Enter the damping list instance
configure policy-options damping string
16.0.R1
All
Damping profile name
configure policy-options damping string
1 to 32
This element is part of a list key.
16.0.R1
All
Time after the FOM value is halved
configure policy-options damping string half-life number
1 to 45
minutes
16.0.R1
All
Maximum time for a route to remain suppressed
configure policy-options damping string max-suppress number
1 to 720
minutes
16.0.R1
All
Value below which a suppressed route can be used again
configure policy-options damping string reuse number
1 to 20000
16.0.R1
All
Value above which a route is suppressed
configure policy-options damping string suppress number
1 to 20000
16.0.R1
All
Enter the global-variables context
16.0.R4
All
Enter the name list instance
1000
16.0.R4
All
Global variable name used to reference policy functions
1 to 32
This element is part of a list key.
16.0.R4
All
IP address of the policy variable
configure policy-options global-variables name string address (ipv4-address-no-zone | ipv6-address-no-zone)
The following elements are part of a mandatory choice: address, decimal, number, or value.
16.0.R4
All
Attribute decimal to which variable name is resolved
configure policy-options global-variables name string decimal decimal-number
0.000 to 4294967295.000
The following elements are part of a mandatory choice: address, decimal, number, or value.
19.7.R1
All
Numerical value of the policy variable
configure policy-options global-variables name string number number
0 to 4294967295
The following elements are part of a mandatory choice: address, decimal, number, or value.
16.0.R4
All
Policy variable value
configure policy-options global-variables name string value string
1 to 32
The following elements are part of a mandatory choice: address, decimal, number, or value.
16.0.R4
All
Enter the policy-statement list instance
65535
16.0.R1
All
Route policy statement name
1 to 64
This element is part of a list key.
16.0.R1
All
Enable the default-action context
16.0.R1
All
Action type for routes matching the route policy entry
configure policy-options policy-statement string default-action action-type keyword
accept, reject, next-entry, next-policy
This element is mandatory.
16.0.R1
All
BGP Add-Paths send limit applied for routes
configure policy-options policy-statement string default-action add-paths-send-limit (number | keyword)
1 to 16
multipaths
16.0.R1
All
Administrative tag policy name
configure policy-options policy-statement string default-action admin-tag-policy (param-midstring-64 | string)
1 to 64
16.0.R1
All
Label allocation for matched BGP routes
configure policy-options policy-statement string default-action advertise-label keyword
This command configures the label allocation method for advertised routes. The effect of this command depends on the context where the associated policy is applied.
per-prefix, pop, pop-and-forward
16.0.R1
All
Enter the aigp-metric context
16.0.R1
All
AIGP metric to add
configure policy-options policy-statement string default-action aigp-metric add (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add or set.
16.0.R1
All
AIGP metric
configure policy-options policy-statement string default-action aigp-metric set (keyword | number | string)
1 to 32
0 to 4294967295
igp
The following elements are part of a choice: add or set.
16.0.R1
All
Enter the as-path context
16.0.R1
All
AS path to add
configure policy-options policy-statement string default-action as-path add (param-midstring | string)
1 to 32
The following elements are part of a choice: add or replace.
16.0.R1
All
AS path to replace
configure policy-options policy-statement string default-action as-path replace (param-midstring | string)
1 to 32
The following elements are part of a choice: add or replace.
16.0.R1
All
Enter the as-path-prepend context
16.0.R1
All
AS number to prepend to the AS path attribute
configure policy-options policy-statement string default-action as-path-prepend as-path (number | string | keyword)
1 to 32
1 to 4294967295
most-recent
16.0.R1
All
Number of times to prepend the specified AS number
configure policy-options policy-statement string default-action as-path-prepend repeat (number | string)
1 to 32
1 to 50
1
16.0.R1
All
Tag routes as high priority for fast table updates
configure policy-options policy-statement string default-action bgp-high-priority boolean
When configured to true, eligible BGP routes matched by the policy entry or policy default-action are tagged as needing faster route table updates.
This action applies only when the policy is applied as a BGP import policy to a base router BGP peer or VPRN BGP peer and applies only to the following route types:
• IPv4
• label-IPv4
• IPv6
• label-IPv6
This command is useful when the BGP RIB contains a large number of routes and quick routing table updates are needed for a small subset of these routes. The effectiveness of this command decreases as the subset becomes a larger proportion of the total RIB.
When configured as false, no routes are tagged for faster route table updates.
false
20.5.R1
All
Allow leaking for BGP routes
configure policy-options policy-statement string default-action bgp-leak boolean
false
16.0.R1
All
Enter the bgp-med context
19.7.R1
All
BGP-MED adjustment
configure policy-options policy-statement string default-action bgp-med adjust string
1 to 64
The following elements are part of a choice: adjust or set.
19.7.R1
All
BGP-MED assignment
configure policy-options policy-statement string default-action bgp-med set (keyword | number | string)
1 to 32
0 to 4294967295
igp, min-igp
The following elements are part of a choice: adjust or set.
19.7.R1
All
Enter the bgp-tunnel-metric context
Commands in this context configure the tunnel-table metrics associated with BGP label unicast routes that pass through to the default action of the policy.
20.5.R1
All
Use AIGP attribute as tunnel metric when present
When configured to true, and a BGP-LU route is selected for installation in TTM and it is matched by this action in a BGP import policy. The TTM metric of the tunnel is set to the AIGP metric value of the BGP-LU route plus the IGP cost to reach the BGP next-hop if it has the AIGP path attribute, otherwise it is set to the value implied by the value leaf.
When configured to false, the AIGP attribute is removed from the advertised routes and is ignored if present in the received routes.
false
20.5.R1
All
BGP tunnel table metric value
configure policy-options policy-statement string default-action bgp-tunnel-metric value (string | number)
This command configures a BGP tunnel metric is assigned to routes that do not match any entry.
If a BGP-LU route is selected for installation in TTM and it is matched by this action in a BGP import policy, the TTM metric of the associated tunnel is set to this value (or the value associated with the parameter name) if either:
1 to 32
0 to 4294967295
20.5.R1
All
Enter the community context
16.0.R1
All
List of community names to add
configure policy-options policy-statement string default-action community add (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
16.0.R1
All
List of community names to remove
configure policy-options policy-statement string default-action community remove (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
16.0.R1
All
List of community names to replace
configure policy-options policy-statement string default-action community replace (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
16.0.R1
All
Create an MPLS tunnel
configure policy-options policy-statement string default-action create-mpls-tunnel boolean
When configured to true, this commands creates an MPLS tunnel.This command creates an MPLS tunnel. It is only supported for the following address families:
When configured to false, this command disables the creation of an MPLS tunnel.
false
21.10.R1
All
Create an MPLS-over-UDP tunnel
configure policy-options policy-statement string default-action create-udp-tunnel boolean
false
16.0.R1
All
Damping profile used for routes
configure policy-options policy-statement string default-action damping (keyword | param-midstring | string)
1 to 32
none
16.0.R1
All
Default destination class for the policy statement
configure policy-options policy-statement string default-action dest-class number
This command specifies the policy accounting destination class index to associate with matched routes.
1 to 255
16.0.R1
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS
Enable egress statistics for BGP-LU routes
configure policy-options policy-statement string default-action egress-statistics boolean
When configured to true, this command enables the allocation of statistical indexes to BGP labeled unicast route entries that are programmed on egress data paths.
When configured to false, this command disables the allocation of statistical indexes to BGP-LU route entries.
false
20.10.R1
All
Flexible algorithm for BGP next-hop autobind operation
configure policy-options policy-statement string default-action flex-algo (string | number)
This command configures the Flex-Algorithm for use in the BGP next-hop automatic bind operation in a BGP import policy. A Flex-Algorithm aware autobind of the BGP next-hop is enabled when the route is matched by the policy statement entry.
Flex-Algorithm aware next-hop lookup is supported for unicast BGP, VPRN, and BGP-LU.
This command is not supported for multicast address families.
1 to 32
128 to 255
20.10.R1
All
Enable ingress statistics for BGP-LU routes
configure policy-options policy-statement string default-action ingress-statistics boolean
When configured to true, this command enables the allocation of statistical indexes to BGP labeled unicast route entries that are programmed on ingress data paths. For effective operation, a prefix must be advertised with a label per prefix for ILM statistics.
When configured to false, this command disables the allocation of statistical indexes to BGP-LU route entries.
false
20.10.R1
All
Install a preprogrammed backup path for the prefix
configure policy-options policy-statement string default-action install-backup-path boolean
false
16.0.R1
All
BGP local preference for routes not matching any entry
configure policy-options policy-statement string default-action local-preference (number | string)
1 to 32
0 to 4294967295
16.0.R1
All
Enter the metric context
16.0.R1
All
Metric to add
configure policy-options policy-statement string default-action metric add (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
16.0.R1
All
Metric to assign
configure policy-options policy-statement string default-action metric set (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
16.0.R1
All
Metric to subtract
configure policy-options policy-statement string default-action metric subtract (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
16.0.R1
All
Enter the multicast-redirection context
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Service ID for multicast redirection
Base
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Alternate interface where IGMP messages are redirected
1 to 32
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
BGP-VPN imported route and a NAT policy association
configure policy-options policy-statement string default-action nat-policy (param-midstring | string)
This command assigns a NAT policy to the matched routes that do not have a more specific NAT policy configured under action.
A dynamic route obtained by BGP-VPN can be imported into an inside (private side) routing context in NAT environment. This route must be associated with a NAT policy that maps traffic into a NAT pool and outside routing context. If the NAT policy is not specified within the route policy entry, the imported NAT route is, by default, associated with the default NAT policy defined in the NAT inside routing context.
All BGP-VPN routes that are destined to be imported into the NAT inside routing context must have action-type accept regardless of whether the NAT policy is configured in the action.
1 to 32
21.5.R1
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Next-hop IP address applied to routes
configure policy-options policy-statement string default-action next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
1 to 32
peer-address, self
16.0.R1
All
BGP origin for routes that are exported into BGP
configure policy-options policy-statement string default-action origin (keyword | string)
1 to 32
igp, egp, incomplete
16.0.R1
All
Origin validation state for routes
configure policy-options policy-statement string default-action origin-validation-state (keyword | string)
1 to 32
valid, not-found, invalid
16.0.R1
All
Route preference applied to routes
configure policy-options policy-statement string default-action preference (number | string)
1 to 32
1 to 255
16.0.R1
All
Resolve next hop of a static route for the BGP next hop
configure policy-options policy-statement string default-action resolve-static boolean
false
16.0.R1
All
Allow BGP route installation in the route table
configure policy-options policy-statement string default-action route-table-install boolean
true
19.10.R1
All
Default source class for the policy statement
configure policy-options policy-statement string default-action source-class number
This command specifies the policy accounting source class index to associate with matched routes.
1 to 255
16.0.R1
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS
Enter the sr-label-index context
Commands in this context configure the policy action to associate a BGP segment-routing label index value with all /32 BGP labeled IPv4 routes.
The use of this action in a policy entry that matches more than one /32 labeled IPv4 route may create SID conflicts.
This action only takes effect in BGP peer import policies (and only on received /32 labeled IPv4 routes) and in route table import policies associated with the labeled IPv4 RIB.
When this action occurs in a policy applied as a peer import policy, a prefix SID attribute can be added to a received /32 labeled IPv4 route that was not sent with this attribute, or the received prefix SID attribute can be replaced with a new one.
19.10.R1
All
Use the SR label index from the IGP route when present
configure policy-options policy-statement string default-action sr-label-index prefer-igp boolean
When configured to true, BGP obtains the SID index from the IGP route (if a SID index is present) and the configure router bgp segment-routing prefix-sid-range global command is set to true.
This command applies only to route table import policies.
When configured to false, or the SID index is not present in the IGP route, or the configure router bgp segment-routing prefix-sid-range global command is not set to true, BGP obtains the label index value from the value command.
false
19.10.R1
All
BGP SR label index associated with routes
configure policy-options policy-statement string default-action sr-label-index value (string | number)
This command specifies the BGP SR label index value to be associated with a route or routes.
If this command specifies an index value that causes a SID conflict with another BGP route, all conflicting BGP routes are re-advertised with label values based on dynamic allocation rather than SID-based allocation.
If this command specifies an index value that causes a SID conflict with an IGP route, the BGP route is re-advertised with a label value based on dynamic allocation rather than SID-based allocation.
1 to 32
0 to 524287
19.10.R1
All
SR maintenance policy as an action
configure policy-options policy-statement string default-action sr-maintenance-policy (param-midstring | string)
This command applies a named segment routing maintenance policy as an action for route policies. It is only used for SR policy routes.
1 to 32
20.10.R1
All
Specify the sticky ECMP flag for BGP ECMP routes
configure policy-options policy-statement string default-action sticky-ecmp boolean
false
16.0.R1
All
OSPF RIP or IS-IS tag applied to routes
configure policy-options policy-statement string default-action tag (number | string)
1 to 32
1 to 4294967295
16.0.R1
All
OSPF metric type applied to routes
configure policy-options policy-statement string default-action type (number | string)
1 to 32
1 to 2
16.0.R1
All
Text description
configure policy-options policy-statement string description string
1 to 80
16.0.R1
All
Enter the entry list instance
configure policy-options policy-statement string entry number
16.0.R1
All
Entry ID for a route policy entry
configure policy-options policy-statement string entry number
1 to 4294967295
This element is part of a list key.
16.0.R1
All
Enable the action context
configure policy-options policy-statement string entry number action
16.0.R1
All
Action type for routes matching the route policy entry
configure policy-options policy-statement string entry number action action-type keyword
accept, reject, next-entry, next-policy
This element is mandatory.
16.0.R1
All
BGP Add-Paths send limit applied for routes
configure policy-options policy-statement string entry number action add-paths-send-limit (number | keyword)
1 to 16
multipaths
16.0.R1
All
Administrative tag policy name
configure policy-options policy-statement string entry number action admin-tag-policy (param-midstring-64 | string)
1 to 64
16.0.R1
All
Label allocation for matched BGP routes
configure policy-options policy-statement string entry number action advertise-label keyword
This command configures the label allocation method for advertised routes. The effect of this command depends on the context where the associated policy is applied.
per-prefix, pop, pop-and-forward
16.0.R1
All
Enter the aigp-metric context
configure policy-options policy-statement string entry number action aigp-metric
16.0.R1
All
AIGP metric to add
configure policy-options policy-statement string entry number action aigp-metric add (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add or set.
16.0.R1
All
AIGP metric
configure policy-options policy-statement string entry number action aigp-metric set (keyword | number | string)
1 to 32
0 to 4294967295
igp
The following elements are part of a choice: add or set.
16.0.R1
All
Enter the as-path context
configure policy-options policy-statement string entry number action as-path
16.0.R1
All
AS path to add
configure policy-options policy-statement string entry number action as-path add (param-midstring | string)
1 to 32
The following elements are part of a choice: add or replace.
16.0.R1
All
AS path to replace
configure policy-options policy-statement string entry number action as-path replace (param-midstring | string)
1 to 32
The following elements are part of a choice: add or replace.
16.0.R1
All
Enter the as-path-prepend context
configure policy-options policy-statement string entry number action as-path-prepend
16.0.R1
All
AS number to prepend to the AS path attribute
configure policy-options policy-statement string entry number action as-path-prepend as-path (number | string | keyword)
1 to 32
1 to 4294967295
most-recent
16.0.R1
All
Number of times to prepend the specified AS number
configure policy-options policy-statement string entry number action as-path-prepend repeat (number | string)
1 to 32
1 to 50
1
16.0.R1
All
Tag routes as high priority for fast table updates
configure policy-options policy-statement string entry number action bgp-high-priority boolean
When configured to true, eligible BGP routes matched by the policy entry or policy default-action are tagged as needing faster route table updates.
This action applies only when the policy is applied as a BGP import policy to a base router BGP peer or VPRN BGP peer and applies only to the following route types:
• IPv4
• label-IPv4
• IPv6
• label-IPv6
This command is useful when the BGP RIB contains a large number of routes and quick routing table updates are needed for a small subset of these routes. The effectiveness of this command decreases as the subset becomes a larger proportion of the total RIB.
When configured as false, no routes are tagged for faster route table updates.
false
20.5.R1
All
Allow leaking for BGP routes
configure policy-options policy-statement string entry number action bgp-leak boolean
false
16.0.R1
All
Enter the bgp-med context
configure policy-options policy-statement string entry number action bgp-med
19.7.R1
All
BGP-MED adjustment
configure policy-options policy-statement string entry number action bgp-med adjust string
1 to 64
The following elements are part of a choice: adjust or set.
19.7.R1
All
BGP-MED assignment
configure policy-options policy-statement string entry number action bgp-med set (keyword | number | string)
1 to 32
0 to 4294967295
igp, min-igp
The following elements are part of a choice: adjust or set.
19.7.R1
All
Enter the bgp-tunnel-metric context
configure policy-options policy-statement string entry number action bgp-tunnel-metric
Commands in this context configure the tunnel-table metrics associated with BGP label unicast routes that pass through to the default action of the policy.
20.5.R1
All
Use AIGP attribute as tunnel metric when present
configure policy-options policy-statement string entry number action bgp-tunnel-metric prefer-aigp boolean
When configured to true, and a BGP-LU route is selected for installation in TTM and it is matched by this action in a BGP import policy. The TTM metric of the tunnel is set to the AIGP metric value of the BGP-LU route plus the IGP cost to reach the BGP next-hop if it has the AIGP path attribute, otherwise it is set to the value implied by the value leaf.
When configured to false, the AIGP attribute is removed from the advertised routes and is ignored if present in the received routes.
false
20.5.R1
All
BGP tunnel table metric value
configure policy-options policy-statement string entry number action bgp-tunnel-metric value (string | number)
This command configures a BGP tunnel metric is assigned to routes that do not match any entry.
If a BGP-LU route is selected for installation in TTM and it is matched by this action in a BGP import policy, the TTM metric of the associated tunnel is set to this value (or the value associated with the parameter name) if either:
1 to 32
0 to 4294967295
20.5.R1
All
Enter the community context
configure policy-options policy-statement string entry number action community
16.0.R1
All
List of community names to add
configure policy-options policy-statement string entry number action community add (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
16.0.R1
All
List of community names to remove
configure policy-options policy-statement string entry number action community remove (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
16.0.R1
All
List of community names to replace
configure policy-options policy-statement string entry number action community replace (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
16.0.R1
All
Create an MPLS tunnel
configure policy-options policy-statement string entry number action create-mpls-tunnel boolean
When configured to true, this commands creates an MPLS tunnel.This command creates an MPLS tunnel. It is only supported for the following address families:
When configured to false, this command disables the creation of an MPLS tunnel.
false
21.10.R1
All
Create an MPLS-over-UDP tunnel
configure policy-options policy-statement string entry number action create-udp-tunnel boolean
false
16.0.R1
All
Damping profile used for routes
configure policy-options policy-statement string entry number action damping (keyword | param-midstring | string)
1 to 32
none
16.0.R1
All
Default destination class for the policy statement
configure policy-options policy-statement string entry number action dest-class number
This command specifies the policy accounting destination class index to associate with matched routes.
1 to 255
16.0.R1
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS
Enable egress statistics for BGP-LU routes
configure policy-options policy-statement string entry number action egress-statistics boolean
When configured to true, this command enables the allocation of statistical indexes to BGP labeled unicast route entries that are programmed on egress data paths.
When configured to false, this command disables the allocation of statistical indexes to BGP-LU route entries.
false
20.10.R1
All
Flexible algorithm for BGP next-hop autobind operation
configure policy-options policy-statement string entry number action flex-algo (string | number)
This command configures the Flex-Algorithm for use in the BGP next-hop automatic bind operation in a BGP import policy. A Flex-Algorithm aware autobind of the BGP next-hop is enabled when the route is matched by the policy statement entry.
Flex-Algorithm aware next-hop lookup is supported for unicast BGP, VPRN, and BGP-LU.
This command is not supported for multicast address families.
1 to 32
128 to 255
20.10.R1
All
Enter the forwarding-class context
configure policy-options policy-statement string entry number action forwarding-class
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Forwarding class associated with the route
configure policy-options policy-statement string entry number action forwarding-class fc keyword
be, l2, af, l1, h2, ef, h1, nc
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Route priority
configure policy-options policy-statement string entry number action forwarding-class priority keyword
low, high
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Enable ingress statistics for BGP-LU routes
configure policy-options policy-statement string entry number action ingress-statistics boolean
When configured to true, this command enables the allocation of statistical indexes to BGP labeled unicast route entries that are programmed on ingress data paths. For effective operation, a prefix must be advertised with a label per prefix for ILM statistics.
When configured to false, this command disables the allocation of statistical indexes to BGP-LU route entries.
false
20.10.R1
All
Install a preprogrammed backup path for the prefix
configure policy-options policy-statement string entry number action install-backup-path boolean
false
16.0.R1
All
BGP local preference for routes not matching any entry
configure policy-options policy-statement string entry number action local-preference (number | string)
1 to 32
0 to 4294967295
16.0.R1
All
Enter the metric context
configure policy-options policy-statement string entry number action metric
16.0.R1
All
Metric to add
configure policy-options policy-statement string entry number action metric add (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
16.0.R1
All
Metric to assign
configure policy-options policy-statement string entry number action metric set (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
16.0.R1
All
Metric to subtract
configure policy-options policy-statement string entry number action metric subtract (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
16.0.R1
All
Enter the multicast-redirection context
configure policy-options policy-statement string entry number action multicast-redirection
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Service ID for multicast redirection
configure policy-options policy-statement string entry number action multicast-redirection fwd-service string
Base
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Alternate interface where IGMP messages are redirected
configure policy-options policy-statement string entry number action multicast-redirection ip-int-name string
1 to 32
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
BGP-VPN imported route and a NAT policy association
configure policy-options policy-statement string entry number action nat-policy (param-midstring | string)
This command assigns a NAT policy to the matched routes that do not have a more specific NAT policy configured under action.
A dynamic route obtained by BGP-VPN can be imported into an inside (private side) routing context in NAT environment. This route must be associated with a NAT policy that maps traffic into a NAT pool and outside routing context. If the NAT policy is not specified within the route policy entry, the imported NAT route is, by default, associated with the default NAT policy defined in the NAT inside routing context.
All BGP-VPN routes that are destined to be imported into the NAT inside routing context must have action-type accept regardless of whether the NAT policy is configured in the action.
1 to 32
21.5.R1
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Next-hop IP address applied to routes
configure policy-options policy-statement string entry number action next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
1 to 32
peer-address, self
16.0.R1
All
BGP origin for routes that are exported into BGP
configure policy-options policy-statement string entry number action origin (keyword | string)
1 to 32
igp, egp, incomplete
16.0.R1
All
Origin validation state for routes
configure policy-options policy-statement string entry number action origin-validation-state (keyword | string)
1 to 32
valid, not-found, invalid
16.0.R1
All
Route preference applied to routes
configure policy-options policy-statement string entry number action preference (number | string)
1 to 32
1 to 255
16.0.R1
All
Resolve next hop of a static route for the BGP next hop
configure policy-options policy-statement string entry number action resolve-static boolean
false
16.0.R1
All
Allow BGP route installation in the route table
configure policy-options policy-statement string entry number action route-table-install boolean
true
19.10.R1
All
Default source class for the policy statement
configure policy-options policy-statement string entry number action source-class number
This command specifies the policy accounting source class index to associate with matched routes.
1 to 255
16.0.R1
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS
Enter the sr-label-index context
configure policy-options policy-statement string entry number action sr-label-index
Commands in this context configure the policy action to associate a BGP segment-routing label index value with all /32 BGP labeled IPv4 routes.
The use of this action in a policy entry that matches more than one /32 labeled IPv4 route may create SID conflicts.
This action only takes effect in BGP peer import policies (and only on received /32 labeled IPv4 routes) and in route table import policies associated with the labeled IPv4 RIB.
When this action occurs in a policy applied as a peer import policy, a prefix SID attribute can be added to a received /32 labeled IPv4 route that was not sent with this attribute, or the received prefix SID attribute can be replaced with a new one.
19.10.R1
All
Use the SR label index from the IGP route when present
configure policy-options policy-statement string entry number action sr-label-index prefer-igp boolean
When configured to true, BGP obtains the SID index from the IGP route (if a SID index is present) and the configure router bgp segment-routing prefix-sid-range global command is set to true.
This command applies only to route table import policies.
When configured to false, or the SID index is not present in the IGP route, or the configure router bgp segment-routing prefix-sid-range global command is not set to true, BGP obtains the label index value from the value command.
false
19.10.R1
All
BGP SR label index associated with routes
configure policy-options policy-statement string entry number action sr-label-index value (string | number)
This command specifies the BGP SR label index value to be associated with a route or routes.
If this command specifies an index value that causes a SID conflict with another BGP route, all conflicting BGP routes are re-advertised with label values based on dynamic allocation rather than SID-based allocation.
If this command specifies an index value that causes a SID conflict with an IGP route, the BGP route is re-advertised with a label value based on dynamic allocation rather than SID-based allocation.
1 to 32
0 to 524287
19.10.R1
All
SR maintenance policy as an action
configure policy-options policy-statement string entry number action sr-maintenance-policy (param-midstring | string)
This command applies a named segment routing maintenance policy as an action for route policies. It is only used for SR policy routes.
1 to 32
20.10.R1
All
Specify the sticky ECMP flag for BGP ECMP routes
configure policy-options policy-statement string entry number action sticky-ecmp boolean
false
16.0.R1
All
OSPF RIP or IS-IS tag applied to routes
configure policy-options policy-statement string entry number action tag (number | string)
1 to 32
1 to 4294967295
16.0.R1
All
OSPF metric type applied to routes
configure policy-options policy-statement string entry number action type (number | string)
1 to 32
1 to 2
16.0.R1
All
Enable the conditional-expression context
configure policy-options policy-statement string entry number conditional-expression
16.0.R1
All
Conditional expression to test route existence
configure policy-options policy-statement string entry number conditional-expression route-exists string
1 to 255
16.0.R1
All
Text description
configure policy-options policy-statement string entry number description string
1 to 80
16.0.R1
All
Enable the from context
configure policy-options policy-statement string entry number from
Commands in this context configure policy match criteria based on the route’s source or the protocol from which it is received. If conditions are not specified, all route sources are considered to match.
16.0.R1
All
Enable aggregate route match criterion
configure policy-options policy-statement string entry number from aggregate-contributor boolean
When configured to true, matches all routes (BGP and non-BGP) that have contributed to an active aggregate route. If the prefix tree above a particular route includes no active aggregate routes or the most specific active aggregate route in the prefix tree above this route has a policy that rejects the route, then it is not considered as an aggregate-contributor.
This match condition is only supported when used in a BGP export policy. If it is used in an entry of a BGP import policy, vrf-export policy or vrf-import policy, no routes are matched by that entry.
When configured to false, no routes (BGP and non-BGP) that have contributed to an active aggregate route are matched.
false
20.10.R1
All
OSPF area as a match criterion
configure policy-options policy-statement string entry number from area string
16.0.R1
All
Enter the as-path context
configure policy-options policy-statement string entry number from as-path
16.0.R1
All
AS path group as a match criterion
configure policy-options policy-statement string entry number from as-path group (param-midstring | string)
1 to 32
The following elements are part of a choice: group or name.
16.0.R1
All
Enter the length context
configure policy-options policy-statement string entry number from as-path length
16.0.R1
All
Higher or lower values to be accepted as match criteria
configure policy-options policy-statement string entry number from as-path length qualifier keyword
equal
equal, or-higher, or-lower
16.0.R1
All
Use unique AS numbers as matching criteria
configure policy-options policy-statement string entry number from as-path length unique boolean
false
16.0.R1
All
AS numbers in the AS path that match on the BGP route
configure policy-options policy-statement string entry number from as-path length value (number | string)
1 to 32
0 to 255
16.0.R1
All
AS path name to match
configure policy-options policy-statement string entry number from as-path name (param-midstring | string)
This command specifies an AS path regular expression name for the route policy entry.
Policy parameters must be enclosed by at-signs (@) and may be midstring; for example, "@variable@," "start@variable@end", "@variable@end", or "start@variable@".
1 to 32
The following elements are part of a choice: group or name.
16.0.R1
All
Enter the cluster-id context
configure policy-options policy-statement string entry number from cluster-id
16.0.R1
All
Cluster list attribute IP addresses for route matching
configure policy-options policy-statement string entry number from cluster-id ip-address string
5
The following elements are part of a choice: ip-address or none-cluster-list.
This element is ordered by the user.
16.0.R1
All
Specify matching BGP routes without a cluster ID
configure policy-options policy-statement string entry number from cluster-id none-cluster-list boolean
false
The following elements are part of a choice: ip-address or none-cluster-list.
16.0.R1
All
Color ID as a match criterion
configure policy-options policy-statement string entry number from color number
This command configures an SR Policy color ID as a route policy match criterion. This match criterion is only used in import policies.
0 to 4294967295
20.10.R1
All
Enter the community context
configure policy-options policy-statement string entry number from community
16.0.R1
All
Enter the count context
configure policy-options policy-statement string entry number from community count
16.0.R1
All
Higher or lower values to be accepted as match criteria
configure policy-options policy-statement string entry number from community count qualifier keyword
equal
equal, or-higher, or-lower
16.0.R1
All
Community count to match the community count criteria
configure policy-options policy-statement string entry number from community count type keyword
standard, extended, large
16.0.R1
All
Number of BGP communities to match the BGP route
configure policy-options policy-statement string entry number from community count value (number | string)
1 to 32
0 to 1024
16.0.R1
All
Community expression name as a match criterion
configure policy-options policy-statement string entry number from community expression string
1 to 900
The following elements are part of a choice: expression or name.
16.0.R1
All
Community list name
configure policy-options policy-statement string entry number from community name (param-midstring-64 | string)
1 to 64
The following elements are part of a choice: expression or name.
16.0.R1
All
SR policy distinguisher as a match criterion
configure policy-options policy-statement string entry number from distinguisher number
This command configures an SR Policy distinguisher as a route policy match criterion. This match criterion is only used in import policies.
0 to 4294967295
20.10.R1
All
SR policy endpoint address as a match criterion
configure policy-options policy-statement string entry number from endpoint (ipv4-address-no-zone | ipv6-address-no-zone)
This command configures an SR Policy endpoint address as a route policy match criterion. This match criterion is only used in import policies.
20.10.R1
All
EVPN type as a match criterion for the entry
configure policy-options policy-statement string entry number from evpn-type keyword
ethernet-auto-discovery, mac-ip-advertisement, inclusive-multicast, ethernet-segment, ip-prefix, selective-multicast, multicast-join-sync, multicast-leave-sync
16.0.R4
All
Specify the external IS-IS route as a match criterion
configure policy-options policy-statement string entry number from external boolean
false
16.0.R1
All
Address family as the match condition
configure policy-options policy-statement string entry number from family keyword
ipv4, vpn-ipv4, ipv6, mcast-ipv4, vpn-ipv6, l2-vpn, mvpn-ipv4, mdt-safi, ms-pw, flow-ipv4, route-target, mcast-vpn-ipv4, mvpn-ipv6, flow-ipv6, evpn, mcast-ipv6, label-ipv4, label-ipv6, bgp-ls, mcast-vpn-ipv6, sr-policy-ipv4, sr-policy-ipv6
20
16.0.R1
All
Enter the flowspec context
configure policy-options policy-statement string entry number from flowspec
16.0.R4
All
BGP FlowSpec route matches per destination IP prefix
configure policy-options policy-statement string entry number from flowspec dest (param-midstring | string)
1 to 32
16.0.R4
All
BGP FlowSpec route matches per the source IP prefix
configure policy-options policy-statement string entry number from flowspec source (param-midstring | string)
1 to 32
16.0.R4
All
Prefix list of multicast group addresses for mathcing
configure policy-options policy-statement string entry number from group-address (param-midstring | string)
1 to 32
16.0.R1
All
Prefix list of IGMP host IP addresses for matching
configure policy-options policy-statement string entry number from host-ip (param-midstring | string)
1 to 32
16.0.R1
All
Interface name as match criterion
configure policy-options policy-statement string entry number from interface (named-item | interface-name | interface-name | interface-name)
1 to 32
1
This element is ordered by the user.
16.0.R1
All
Enter the interface-subnets context
configure policy-options policy-statement string entry number from interface-subnets
Commands in this context configure the applied router instance and interfaces that are used as the matching condition within each policy statement entry when exporting the IP address of the associated interface to a routing protocol.
The interface subnet policy statement match criterion is applied to the following unicast use case contexts:
21.2.R1
All
Interface name as the match criterion
configure policy-options policy-statement string entry number from interface-subnets ip-int-name string
This command specifies the interface name to match when exporting the IP address of the associated interface to a routing protocol.
1 to 32
10
This element is ordered by the user.
21.2.R1
All
Service ID of the interface subnets
configure policy-options policy-statement string entry number from interface-subnets service string
Base
21.2.R1
All
IS-IS route level as a match criterion
configure policy-options policy-statement string entry number from level number
1 to 2
16.0.R1
All
Enter the local-preference context
configure policy-options policy-statement string entry number from local-preference
16.0.R1
All
Higher or lower values to be accepted as match criteria
configure policy-options policy-statement string entry number from local-preference qualifier keyword
equal
equal, or-higher, or-lower
16.0.R1
All
BGP routes per local preference value or variable name
configure policy-options policy-statement string entry number from local-preference value (number | string)
1 to 32
0 to 4294967295
16.0.R1
All
Enter the metric context
configure policy-options policy-statement string entry number from metric
16.0.R1
All
Higher or lower values to be accepted as match criteria
configure policy-options policy-statement string entry number from metric qualifier keyword
equal
equal, or-higher, or-lower
16.0.R1
All
Local preference value or variable name
configure policy-options policy-statement string entry number from metric value (number | string)
1 to 32
0 to 4294967295
16.0.R1
All
MVPN type as a match criterion for the entry
configure policy-options policy-statement string entry number from mvpn-type keyword
intra-as-ipmsi-auto-discovery, inter-as-ipmsi-auto-discovery, s-pmsi-auto-discovery, intra-as-segment-leaf-auto-discovery, source-active-auto-discovery, shared-tree-join, source-tree-join
16.0.R1
All
Enter the neighbor context
configure policy-options policy-statement string entry number from neighbor
16.0.R1
All
IP address to match the neighbor
configure policy-options policy-statement string entry number from neighbor ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
The following elements are part of a choice: ip-address or prefix-list.
16.0.R1
All
Name to match the neighbor prefix list
configure policy-options policy-statement string entry number from neighbor prefix-list (param-midstring | string)
1 to 32
The following elements are part of a choice: ip-address or prefix-list.
16.0.R1
All
Enter the next-hop context
configure policy-options policy-statement string entry number from next-hop
16.0.R1
All
IP address of the next hop to match
configure policy-options policy-statement string entry number from next-hop ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
The following elements are part of a choice: ip-address or prefix-list.
16.0.R1
All
Name of a next hop prefix list to match
configure policy-options policy-statement string entry number from next-hop prefix-list (param-midstring | string)
1 to 32
The following elements are part of a choice: ip-address or prefix-list.
16.0.R1
All
Route origin match criteria
configure policy-options policy-statement string entry number from origin keyword
This command configures a match criteria for the origin attribute of the route. The origin attribute is applicable to BGP routes and to the following subscriber-management routes:
Host routes (for example, IPv4 /32 address, or IPv6 SLAAC prefix) carry the origin attribute with AAA, dynamic, or static values, depending on the address assignment method. For CUPS hosts, the origin attribute is always PFCP. Host routes can also be distinguished using the sub-mgmt option for the protocol command.
Dynamically provisioned prefixes or loopback addresses use AAA or PFCP origin values, depending on the protocol that provides the prefix and address. Dynamic routes can also be distinguished using the direct option for the protocol command.
Statically configured prefixes under the subscriber interface do not have an origin attribute. These routes can be distinguished using the direct option for the protocol command.
Framed routes for non-CUPS hosts do not have an origin attribute. Framed routes for CUPS hosts use PFCP for the origin attribute. Alternatively, framed routes can be distinguished using the managed option for the protocol command.
The values that are specific to subscriber-management routes are never carried in BGP updates as part of the BGP origin attribute and are not visible within the BGP process.
igp, egp, incomplete, any, aaa, dynamic, static, bonding, pfcp
16.0.R1
All
Origin validation state used for match criteria
configure policy-options policy-statement string entry number from origin-validation-state keyword
This command specifies a validation state that is used to match BGP routes based on their origin validation state.
valid, not-found, invalid
16.0.R1
All
OSPF type metric applied to unmatching route entries
configure policy-options policy-statement string entry number from ospf-type number
1 to 2
16.0.R1
All
Path type as a match criterion
configure policy-options policy-statement string entry number from path-type keyword
ibgp, ebgp
16.0.R1
All
Policy statement as a match criterion
configure policy-options policy-statement string entry number from policy (string | string)
1 to 255
16.0.R1
All
Enter the policy-variables context
configure policy-options policy-statement string entry number from policy-variables
16.0.R1
All
Enter the name list instance
configure policy-options policy-statement string entry number from policy-variables name string
10
16.0.R1
All
Global variable name used to reference policy functions
configure policy-options policy-statement string entry number from policy-variables name string
1 to 32
This element is part of a list key.
16.0.R1
All
IP address of the policy variable
configure policy-options policy-statement string entry number from policy-variables name string address (ipv4-address-no-zone | ipv6-address-no-zone)
The following elements are part of a mandatory choice: address, decimal, number, or value.
16.0.R1
All
Attribute decimal to which variable name is resolved
configure policy-options policy-statement string entry number from policy-variables name string decimal decimal-number
0.000 to 4294967295.000
The following elements are part of a mandatory choice: address, decimal, number, or value.
19.7.R1
All
Numerical value of the policy variable
configure policy-options policy-statement string entry number from policy-variables name string number number
0 to 4294967295
The following elements are part of a mandatory choice: address, decimal, number, or value.
16.0.R1
All
Policy variable value
configure policy-options policy-statement string entry number from policy-variables name string value string
1 to 32
The following elements are part of a mandatory choice: address, decimal, number, or value.
16.0.R1
All
Prefix list as match criterion
configure policy-options policy-statement string entry number from prefix-list (param-midstring | string)
1 to 32
28
This element is ordered by the user.
16.0.R1
All
Enter the protocol context
configure policy-options policy-statement string entry number from protocol
Commands in this context configure the match criterion based on protocols for a route policy statement entry and may be used for both import and export policies.
16.0.R1
All
Instance for protocol IS-IS, OSPF, or OSPFv3 to match
configure policy-options policy-statement string entry number from protocol instance (keyword | number)
This command specifies the OSPF, OSPFv3, or IS-IS instance to be used as the match criterion.
When this command is explicitly configured, the name command must be configured to identify the protocol (OSPF, OSPFv3, or IS-IS).
0 to 127
0
all
16.0.R1
All
List of protocol names as the match criterion
configure policy-options policy-statement string entry number from protocol name keyword
This command specifies a protocol list for the match criterion. If multiple protocols are specified, the protocol names must belong to the following protocol set:
If multiple protocols are specified, the instance command cannot be explicitly configured.
direct, static, bgp, isis, ospf, rip, aggregate, bgp-vpn, igmp, pim, ospf3, ldp, sub-mgmt, mld, managed, vpn-leak, nat, periodic, ipsec, dhcpv6-pd, dhcpv6-na, dhcpv6-ta, dhcpv6-pd-excl, ripng, bgp-label, direct-interface, arp-nd, rib-api, dhcp-client, evpn-ifl, srv6
5
16.0.R1
All
Enter the source-address context
configure policy-options policy-statement string entry number from source-address
16.0.R1
All
Source IP address to match
configure policy-options policy-statement string entry number from source-address ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
The following elements are part of a choice: ip-address or prefix-list.
16.0.R1
All
Name of a source address prefix list to match
configure policy-options policy-statement string entry number from source-address prefix-list (param-midstring | string)
1 to 32
The following elements are part of a choice: ip-address or prefix-list.
16.0.R1
All
State used as a match criterion
configure policy-options policy-statement string entry number from state keyword
This command configures a criterion that identifies in resilient gateways which routes are associated with an active context and which routes are associated with a standby context.
srrp-master, srrp-non-master, ipsec-master-with-peer, ipsec-master-without-peer, ipsec-non-master, fsg-active, fsg-standby
16.0.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Route tag used as a match criterion
configure policy-options policy-statement string entry number from tag (number | keyword)
1 to 4294967295
no-tag
16.0.R1
All
Enable the to context
configure policy-options policy-statement string entry number to
16.0.R1
All
IS-IS route level as a match criterion
configure policy-options policy-statement string entry number to level number
1 to 2
16.0.R1
All
Enter the neighbor context
configure policy-options policy-statement string entry number to neighbor
16.0.R1
All
IP address to match the neighbor
configure policy-options policy-statement string entry number to neighbor ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
The following elements are part of a choice: ip-address or prefix-list.
16.0.R1
All
Name to match the neighbor prefix list
configure policy-options policy-statement string entry number to neighbor prefix-list (param-midstring | string)
1 to 32
The following elements are part of a choice: ip-address or prefix-list.
16.0.R1
All
Prefix list as match criterion
configure policy-options policy-statement string entry number to prefix-list (param-midstring | string)
1 to 32
28
This element is ordered by the user.
16.0.R1
All
Enter the protocol context
configure policy-options policy-statement string entry number to protocol
16.0.R1
All
Instance for the IS-IS, OSPF, or OSPF3 protocol
configure policy-options policy-statement string entry number to protocol instance (keyword | number)
0 to 127
0
all
16.0.R1
All
Protocol name to match
configure policy-options policy-statement string entry number to protocol name keyword
bgp, isis, ospf, rip, bgp-vpn, ospf3, ldp, vpn-leak, ripng, bgp-label, evpn-ifl
2
16.0.R1
All
The entry type for a route policy entry
configure policy-options policy-statement string entry-type keyword
numbered
numbered, named
19.10.R1
All
Enter the named-entry list instance
configure policy-options policy-statement string named-entry string
16384
This element is ordered by the user.
19.10.R1
All
Route policy entry name
configure policy-options policy-statement string named-entry string
1 to 255
This element is part of a list key.
19.10.R1
All
Enable the action context
configure policy-options policy-statement string named-entry string action
19.10.R1
All
Action type for routes matching the route policy entry
configure policy-options policy-statement string named-entry string action action-type keyword
accept, reject, next-entry, next-policy
This element is mandatory.
19.10.R1
All
BGP Add-Paths send limit applied for routes
configure policy-options policy-statement string named-entry string action add-paths-send-limit (number | keyword)
1 to 16
multipaths
19.10.R1
All
Administrative tag policy name
configure policy-options policy-statement string named-entry string action admin-tag-policy (param-midstring-64 | string)
1 to 64
19.10.R1
All
Label allocation for matched BGP routes
configure policy-options policy-statement string named-entry string action advertise-label keyword
This command configures the label allocation method for advertised routes. The effect of this command depends on the context where the associated policy is applied.
per-prefix, pop, pop-and-forward
19.10.R1
All
Enter the aigp-metric context
configure policy-options policy-statement string named-entry string action aigp-metric
19.10.R1
All
AIGP metric to add
configure policy-options policy-statement string named-entry string action aigp-metric add (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add or set.
19.10.R1
All
AIGP metric
configure policy-options policy-statement string named-entry string action aigp-metric set (keyword | number | string)
1 to 32
0 to 4294967295
igp
The following elements are part of a choice: add or set.
19.10.R1
All
Enter the as-path context
configure policy-options policy-statement string named-entry string action as-path
19.10.R1
All
AS path to add
configure policy-options policy-statement string named-entry string action as-path add (param-midstring | string)
1 to 32
The following elements are part of a choice: add or replace.
19.10.R1
All
AS path to replace
configure policy-options policy-statement string named-entry string action as-path replace (param-midstring | string)
1 to 32
The following elements are part of a choice: add or replace.
19.10.R1
All
Enter the as-path-prepend context
configure policy-options policy-statement string named-entry string action as-path-prepend
19.10.R1
All
AS number to prepend to the AS path attribute
configure policy-options policy-statement string named-entry string action as-path-prepend as-path (number | string | keyword)
1 to 32
1 to 4294967295
most-recent
19.10.R1
All
Number of times to prepend the specified AS number
configure policy-options policy-statement string named-entry string action as-path-prepend repeat (number | string)
1 to 32
1 to 50
1
19.10.R1
All
Tag routes as high priority for fast table updates
configure policy-options policy-statement string named-entry string action bgp-high-priority boolean
When configured to true, eligible BGP routes matched by the policy entry or policy default-action are tagged as needing faster route table updates.
This action applies only when the policy is applied as a BGP import policy to a base router BGP peer or VPRN BGP peer and applies only to the following route types:
• IPv4
• label-IPv4
• IPv6
• label-IPv6
This command is useful when the BGP RIB contains a large number of routes and quick routing table updates are needed for a small subset of these routes. The effectiveness of this command decreases as the subset becomes a larger proportion of the total RIB.
When configured as false, no routes are tagged for faster route table updates.
false
20.5.R1
All
Allow leaking for BGP routes
configure policy-options policy-statement string named-entry string action bgp-leak boolean
false
19.10.R1
All
Enter the bgp-med context
configure policy-options policy-statement string named-entry string action bgp-med
19.10.R1
All
BGP-MED adjustment
configure policy-options policy-statement string named-entry string action bgp-med adjust string
1 to 64
The following elements are part of a choice: adjust or set.
19.10.R1
All
BGP-MED assignment
configure policy-options policy-statement string named-entry string action bgp-med set (keyword | number | string)
1 to 32
0 to 4294967295
igp, min-igp
The following elements are part of a choice: adjust or set.
19.10.R1
All
Enter the bgp-tunnel-metric context
configure policy-options policy-statement string named-entry string action bgp-tunnel-metric
Commands in this context configure the tunnel-table metrics associated with BGP label unicast routes that pass through to the default action of the policy.
20.5.R1
All
Use AIGP attribute as tunnel metric when present
configure policy-options policy-statement string named-entry string action bgp-tunnel-metric prefer-aigp boolean
When configured to true, and a BGP-LU route is selected for installation in TTM and it is matched by this action in a BGP import policy. The TTM metric of the tunnel is set to the AIGP metric value of the BGP-LU route plus the IGP cost to reach the BGP next-hop if it has the AIGP path attribute, otherwise it is set to the value implied by the value leaf.
When configured to false, the AIGP attribute is removed from the advertised routes and is ignored if present in the received routes.
false
20.5.R1
All
BGP tunnel table metric value
configure policy-options policy-statement string named-entry string action bgp-tunnel-metric value (string | number)
This command configures a BGP tunnel metric is assigned to routes that do not match any entry.
If a BGP-LU route is selected for installation in TTM and it is matched by this action in a BGP import policy, the TTM metric of the associated tunnel is set to this value (or the value associated with the parameter name) if either:
1 to 32
0 to 4294967295
20.5.R1
All
Enter the community context
configure policy-options policy-statement string named-entry string action community
19.10.R1
All
List of community names to add
configure policy-options policy-statement string named-entry string action community add (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
19.10.R1
All
List of community names to remove
configure policy-options policy-statement string named-entry string action community remove (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
19.10.R1
All
List of community names to replace
configure policy-options policy-statement string named-entry string action community replace (param-midstring-64 | string)
1 to 64
28
The following elements are part of a choice: (add and remove) or replace.
This element is ordered by the user.
19.10.R1
All
Create an MPLS tunnel
configure policy-options policy-statement string named-entry string action create-mpls-tunnel boolean
When configured to true, this commands creates an MPLS tunnel.This command creates an MPLS tunnel. It is only supported for the following address families:
When configured to false, this command disables the creation of an MPLS tunnel.
false
21.10.R1
All
Create an MPLS-over-UDP tunnel
configure policy-options policy-statement string named-entry string action create-udp-tunnel boolean
false
19.10.R1
All
Damping profile used for routes
configure policy-options policy-statement string named-entry string action damping (keyword | param-midstring | string)
1 to 32
none
19.10.R1
All
Default destination class for the policy statement
configure policy-options policy-statement string named-entry string action dest-class number
This command specifies the policy accounting destination class index to associate with matched routes.
1 to 255
19.10.R1
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS
Enable egress statistics for BGP-LU routes
configure policy-options policy-statement string named-entry string action egress-statistics boolean
When configured to true, this command enables the allocation of statistical indexes to BGP labeled unicast route entries that are programmed on egress data paths.
When configured to false, this command disables the allocation of statistical indexes to BGP-LU route entries.
false
20.10.R1
All
Flexible algorithm for BGP next-hop autobind operation
configure policy-options policy-statement string named-entry string action flex-algo (string | number)
This command configures the Flex-Algorithm for use in the BGP next-hop automatic bind operation in a BGP import policy. A Flex-Algorithm aware autobind of the BGP next-hop is enabled when the route is matched by the policy statement entry.
Flex-Algorithm aware next-hop lookup is supported for unicast BGP, VPRN, and BGP-LU.
This command is not supported for multicast address families.
1 to 32
128 to 255
20.10.R1
All
Enter the forwarding-class context
configure policy-options policy-statement string named-entry string action forwarding-class
19.10.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Forwarding class associated with the route
configure policy-options policy-statement string named-entry string action forwarding-class fc keyword
be, l2, af, l1, h2, ef, h1, nc
19.10.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Route priority
configure policy-options policy-statement string named-entry string action forwarding-class priority keyword
low, high
19.10.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Enable ingress statistics for BGP-LU routes
configure policy-options policy-statement string named-entry string action ingress-statistics boolean
When configured to true, this command enables the allocation of statistical indexes to BGP labeled unicast route entries that are programmed on ingress data paths. For effective operation, a prefix must be advertised with a label per prefix for ILM statistics.
When configured to false, this command disables the allocation of statistical indexes to BGP-LU route entries.
false
20.10.R1
All
Install a preprogrammed backup path for the prefix
configure policy-options policy-statement string named-entry string action install-backup-path boolean
false
19.10.R1
All
BGP local preference for routes not matching any entry
configure policy-options policy-statement string named-entry string action local-preference (number | string)
1 to 32
0 to 4294967295
19.10.R1
All
Enter the metric context
configure policy-options policy-statement string named-entry string action metric
19.10.R1
All
Metric to add
configure policy-options policy-statement string named-entry string action metric add (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
19.10.R1
All
Metric to assign
configure policy-options policy-statement string named-entry string action metric set (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
19.10.R1
All
Metric to subtract
configure policy-options policy-statement string named-entry string action metric subtract (number | string)
1 to 32
0 to 4294967295
The following elements are part of a choice: add, set, or subtract.
19.10.R1
All
Enter the multicast-redirection context
19.10.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Service ID for multicast redirection
configure policy-options policy-statement string named-entry string action multicast-redirection fwd-service string
Base
19.10.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Alternate interface where IGMP messages are redirected
configure policy-options policy-statement string named-entry string action multicast-redirection ip-int-name string
1 to 32
19.10.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
BGP-VPN imported route and a NAT policy association
configure policy-options policy-statement string named-entry string action nat-policy (param-midstring | string)
This command assigns a NAT policy to the matched routes that do not have a more specific NAT policy configured under action.
A dynamic route obtained by BGP-VPN can be imported into an inside (private side) routing context in NAT environment. This route must be associated with a NAT policy that maps traffic into a NAT pool and outside routing context. If the NAT policy is not specified within the route policy entry, the imported NAT route is, by default, associated with the default NAT policy defined in the NAT inside routing context.
All BGP-VPN routes that are destined to be imported into the NAT inside routing context must have action-type accept regardless of whether the NAT policy is configured in the action.
1 to 32
21.5.R1
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Next-hop IP address applied to routes
configure policy-options policy-statement string named-entry string action next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
1 to 32
peer-address, self
19.10.R1
All
BGP origin for routes that are exported into BGP
configure policy-options policy-statement string named-entry string action origin (keyword | string)
1 to 32
igp, egp, incomplete
19.10.R1
All
Origin validation state for routes
configure policy-options policy-statement string named-entry string action origin-validation-state (keyword | string)
1 to 32
valid, not-found, invalid
19.10.R1
All
Route preference applied to routes
configure policy-options policy-statement string named-entry string action preference (number | string)
1 to 32
1 to 255
19.10.R1
All
Resolve next hop of a static route for the BGP next hop
configure policy-options policy-statement string named-entry string action resolve-static boolean
false
19.10.R1
All
Allow BGP route installation in the route table
configure policy-options policy-statement string named-entry string action route-table-install boolean
true
19.10.R1
All
Default source class for the policy statement
configure policy-options policy-statement string named-entry string action source-class number
This command specifies the policy accounting source class index to associate with matched routes.
1 to 255
19.10.R1
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS
Enter the sr-label-index context
configure policy-options policy-statement string named-entry string action sr-label-index
Commands in this context configure the policy action to associate a BGP segment-routing label index value with all /32 BGP labeled IPv4 routes.
The use of this action in a policy entry that matches more than one /32 labeled IPv4 route may create SID conflicts.
This action only takes effect in BGP peer import policies (and only on received /32 labeled IPv4 routes) and in route table import policies associated with the labeled IPv4 RIB.
When this action occurs in a policy applied as a peer import policy, a prefix SID attribute can be added to a received /32 labeled IPv4 route that was not sent with this attribute, or the received prefix SID attribute can be replaced with a new one.
19.10.R1
All
Use the SR label index from the IGP route when present
configure policy-options policy-statement string named-entry string action sr-label-index prefer-igp boolean
When configured to true, BGP obtains the SID index from the IGP route (if a SID index is present) and the configure router bgp segment-routing prefix-sid-range global command is set to true.
This command applies only to route table import policies.
When configured to false, or the SID index is not present in the IGP route, or the configure router bgp segment-routing prefix-sid-range global command is not set to true, BGP obtains the label index value from the value command.
false
19.10.R1
All
BGP SR label index associated with routes
configure policy-options policy-statement string named-entry string action sr-label-index value (string | number)
This command specifies the BGP SR label index value to be associated with a route or routes.
If this command specifies an index value that causes a SID conflict with another BGP route, all conflicting BGP routes are re-advertised with label values based on dynamic allocation rather than SID-based allocation.
If this command specifies an index value that causes a SID conflict with an IGP route, the BGP route is re-advertised with a label value based on dynamic allocation rather than SID-based allocation.
1 to 32
0 to 524287
19.10.R1
All
SR maintenance policy as an action
configure policy-options policy-statement string named-entry string action sr-maintenance-policy (param-midstring | string)
This command applies a named segment routing maintenance policy as an action for route policies. It is only used for SR policy routes.
1 to 32
20.10.R1
All
Specify the sticky ECMP flag for BGP ECMP routes
configure policy-options policy-statement string named-entry string action sticky-ecmp boolean
false
19.10.R1
All
OSPF RIP or IS-IS tag applied to routes
configure policy-options policy-statement string named-entry string action tag (number | string)
1 to 32
1 to 4294967295
19.10.R1
All
OSPF metric type applied to routes
configure policy-options policy-statement string named-entry string action type (number | string)
1 to 32
1 to 2
19.10.R1
All
Enable the conditional-expression context
configure policy-options policy-statement string named-entry string conditional-expression
19.10.R1
All
Conditional expression to test route existence
configure policy-options policy-statement string named-entry string conditional-expression route-exists string
1 to 255
19.10.R1
All
Text description
configure policy-options policy-statement string named-entry string description string
1 to 80
19.10.R1
All
Enable the from context
configure policy-options policy-statement string named-entry string from
19.10.R1
All
Enable aggregate route match criterion
configure policy-options policy-statement string named-entry string from aggregate-contributor boolean
When configured to true, matches all routes (BGP and non-BGP) that have contributed to an active aggregate route. If the prefix tree above a particular route includes no active aggregate routes or the most specific active aggregate route in the prefix tree above this route has a policy that rejects the route, then it is not considered as an aggregate-contributor.
This match condition is only supported when used in a BGP export policy. If it is used in an entry of a BGP import policy, vrf-export policy or vrf-import policy, no routes are matched by that entry.
When configured to false, no routes (BGP and non-BGP) that have contributed to an active aggregate route are matched.
false
20.10.R1
All
OSPF area as a match criterion
configure policy-options policy-statement string named-entry string from area string
19.10.R1
All
Enter the as-path context
configure policy-options policy-statement string named-entry string from as-path
19.10.R1
All
AS path group as a match criterion
configure policy-options policy-statement string named-entry string from as-path group (param-midstring | string)
1 to 32
The following elements are part of a choice: group or name.
19.10.R1
All
Enter the length context
configure policy-options policy-statement string named-entry string from as-path length
19.10.R1
All
Higher or lower values to be accepted as match criteria
configure policy-options policy-statement string named-entry string from as-path length qualifier keyword
equal
equal, or-higher, or-lower
19.10.R1
All
Use unique AS numbers as matching criteria
configure policy-options policy-statement string named-entry string from as-path length unique boolean
false
19.10.R1
All
AS numbers in the AS path that match on the BGP route
configure policy-options policy-statement string named-entry string from as-path length value (number | string)
1 to 32
0 to 255
19.10.R1
All
AS path name to match
configure policy-options policy-statement string named-entry string from as-path name (param-midstring | string)
This command specifies an AS path regular expression name for the route policy entry.
Policy parameters must be enclosed by at-signs (@) and may be midstring; for example, "@variable@," "start@variable@end", "@variable@end", or "start@variable@".
1 to 32
The following elements are part of a choice: group or name.
19.10.R1
All
Enter the cluster-id context
configure policy-options policy-statement string named-entry string from cluster-id
19.10.R1
All
Cluster list attribute IP addresses for route matching
configure policy-options policy-statement string named-entry string from cluster-id ip-address string
5
The following elements are part of a choice: ip-address or none-cluster-list.
This element is ordered by the user.
19.10.R1
All
Specify matching BGP routes without a cluster ID
configure policy-options policy-statement string named-entry string from cluster-id none-cluster-list boolean
false
The following elements are part of a choice: ip-address or none-cluster-list.
19.10.R1
All
Color ID as a match criterion
configure policy-options policy-statement string named-entry string from color number
This command configures an SR Policy color ID as a route policy match criterion. This match criterion is only used in import policies.
0 to 4294967295
20.10.R1
All
Enter the community context
configure policy-options policy-statement string named-entry string from community
19.10.R1
All
Enter the count context
configure policy-options policy-statement string named-entry string from community count
19.10.R1
All
Higher or lower values to be accepted as match criteria
configure policy-options policy-statement string named-entry string from community count qualifier keyword
equal
equal, or-higher, or-lower
19.10.R1
All
Community count to match the community count criteria
configure policy-options policy-statement string named-entry string from community count type keyword
standard, extended, large
19.10.R1
All
Number of BGP communities to match the BGP route
configure policy-options policy-statement string named-entry string from community count value (number | string)
1 to 32
0 to 1024
19.10.R1
All
Community expression name as a match criterion
configure policy-options policy-statement string named-entry string from community expression string
1 to 900
The following elements are part of a choice: expression or name.
19.10.R1
All
Community list name
configure policy-options policy-statement string named-entry string from community name (param-midstring-64 | string)
1 to 64
The following elements are part of a choice: expression or name.
19.10.R1
All
SR policy distinguisher as a match criterion
configure policy-options policy-statement string named-entry string from distinguisher number
This command configures an SR Policy distinguisher as a route policy match criterion. This match criterion is only used in import policies.
0 to 4294967295
20.10.R1
All
SR policy endpoint address as a match criterion
configure policy-options policy-statement string named-entry string from endpoint (ipv4-address-no-zone | ipv6-address-no-zone)
This command configures an SR Policy endpoint address as a route policy match criterion. This match criterion is only used in import policies.
20.10.R1
All
EVPN type as a match criterion for the entry
configure policy-options policy-statement string named-entry string from evpn-type keyword
ethernet-auto-discovery, mac-ip-advertisement, inclusive-multicast, ethernet-segment, ip-prefix, selective-multicast, multicast-join-sync, multicast-leave-sync
19.10.R1
All
Specify the external IS-IS route as a match criterion
configure policy-options policy-statement string named-entry string from external boolean
false
19.10.R1
All
Address family as the match condition
configure policy-options policy-statement string named-entry string from family keyword
ipv4, vpn-ipv4, ipv6, mcast-ipv4, vpn-ipv6, l2-vpn, mvpn-ipv4, mdt-safi, ms-pw, flow-ipv4, route-target, mcast-vpn-ipv4, mvpn-ipv6, flow-ipv6, evpn, mcast-ipv6, label-ipv4, label-ipv6, bgp-ls, mcast-vpn-ipv6, sr-policy-ipv4, sr-policy-ipv6
20
19.10.R1
All
Enter the flowspec context
configure policy-options policy-statement string named-entry string from flowspec
19.10.R1
All
BGP FlowSpec route matches per destination IP prefix
configure policy-options policy-statement string named-entry string from flowspec dest (param-midstring | string)
1 to 32
19.10.R1
All
BGP FlowSpec route matches per the source IP prefix
configure policy-options policy-statement string named-entry string from flowspec source (param-midstring | string)
1 to 32
19.10.R1
All
Prefix list of multicast group addresses for mathcing
configure policy-options policy-statement string named-entry string from group-address (param-midstring | string)
1 to 32
19.10.R1
All
Prefix list of IGMP host IP addresses for matching
configure policy-options policy-statement string named-entry string from host-ip (param-midstring | string)
1 to 32
19.10.R1
All
Interface name as match criterion
configure policy-options policy-statement string named-entry string from interface (named-item | interface-name | interface-name | interface-name)
1 to 32
1
This element is ordered by the user.
19.10.R1
All
Enter the interface-subnets context
configure policy-options policy-statement string named-entry string from interface-subnets
Commands in this context configure the applied router instance and interfaces that are used as the matching condition within each policy statement entry when exporting the IP address of the associated interface to a routing protocol.
The interface subnet policy statement match criterion is applied to the following unicast use case contexts:
21.2.R1
All
Interface name as the match criterion
configure policy-options policy-statement string named-entry string from interface-subnets ip-int-name string
This command specifies the interface name to match when exporting the IP address of the associated interface to a routing protocol.
1 to 32
10
This element is ordered by the user.
21.2.R1
All
Service ID of the interface subnets
configure policy-options policy-statement string named-entry string from interface-subnets service string
Base
21.2.R1
All
IS-IS route level as a match criterion
configure policy-options policy-statement string named-entry string from level number
1 to 2
19.10.R1
All
Enter the local-preference context
configure policy-options policy-statement string named-entry string from local-preference
19.10.R1
All
Higher or lower values to be accepted as match criteria
configure policy-options policy-statement string named-entry string from local-preference qualifier keyword
equal
equal, or-higher, or-lower
19.10.R1
All
BGP routes per local preference value or variable name
configure policy-options policy-statement string named-entry string from local-preference value (number | string)
1 to 32
0 to 4294967295
19.10.R1
All
Enter the metric context
configure policy-options policy-statement string named-entry string from metric
19.10.R1
All
Higher or lower values to be accepted as match criteria
configure policy-options policy-statement string named-entry string from metric qualifier keyword
equal
equal, or-higher, or-lower
19.10.R1
All
Local preference value or variable name
configure policy-options policy-statement string named-entry string from metric value (number | string)
1 to 32
0 to 4294967295
19.10.R1
All
MVPN type as a match criterion for the entry
configure policy-options policy-statement string named-entry string from mvpn-type keyword
intra-as-ipmsi-auto-discovery, inter-as-ipmsi-auto-discovery, s-pmsi-auto-discovery, intra-as-segment-leaf-auto-discovery, source-active-auto-discovery, shared-tree-join, source-tree-join
19.10.R1
All
Enter the neighbor context
configure policy-options policy-statement string named-entry string from neighbor
19.10.R1
All
IP address to match the neighbor
configure policy-options policy-statement string named-entry string from neighbor ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
The following elements are part of a choice: ip-address or prefix-list.
19.10.R1
All
Name to match the neighbor prefix list
configure policy-options policy-statement string named-entry string from neighbor prefix-list (param-midstring | string)
1 to 32
The following elements are part of a choice: ip-address or prefix-list.
19.10.R1
All
Enter the next-hop context
configure policy-options policy-statement string named-entry string from next-hop
19.10.R1
All
IP address of the next hop to match
configure policy-options policy-statement string named-entry string from next-hop ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
The following elements are part of a choice: ip-address or prefix-list.
19.10.R1
All
Name of a next hop prefix list to match
configure policy-options policy-statement string named-entry string from next-hop prefix-list (param-midstring | string)
1 to 32
The following elements are part of a choice: ip-address or prefix-list.
19.10.R1
All
Route origin match criteria
configure policy-options policy-statement string named-entry string from origin keyword
This command configures a match criteria for the origin attribute of the route. The origin attribute is applicable to BGP routes and to the following subscriber-management routes:
Host routes (for example, IPv4 /32 address, or IPv6 SLAAC prefix) carry the origin attribute with AAA, dynamic, or static values, depending on the address assignment method. For CUPS hosts, the origin attribute is always PFCP. Host routes can also be distinguished using the sub-mgmt option for the protocol command.
Dynamically provisioned prefixes or loopback addresses use AAA or PFCP origin values, depending on the protocol that provides the prefix and address. Dynamic routes can also be distinguished using the direct option for the protocol command.
Statically configured prefixes under the subscriber interface do not have an origin attribute. These routes can be distinguished using the direct option for the protocol command.
Framed routes for non-CUPS hosts do not have an origin attribute. Framed routes for CUPS hosts use PFCP for the origin attribute. Alternatively, framed routes can be distinguished using the managed option for the protocol command.
The values that are specific to subscriber-management routes are never carried in BGP updates as part of the BGP origin attribute and are not visible within the BGP process.
igp, egp, incomplete, any, aaa, dynamic, static, bonding, pfcp
19.10.R1
All
Origin validation state used for match criteria
configure policy-options policy-statement string named-entry string from origin-validation-state keyword
This command specifies a validation state that is used to match BGP routes based on their origin validation state.
valid, not-found, invalid
19.10.R1
All
OSPF type metric applied to unmatching route entries
configure policy-options policy-statement string named-entry string from ospf-type number
1 to 2
19.10.R1
All
Path type as a match criterion
configure policy-options policy-statement string named-entry string from path-type keyword
ibgp, ebgp
19.10.R1
All
Policy statement as a match criterion
configure policy-options policy-statement string named-entry string from policy (string | string)
1 to 255
19.10.R1
All
Enter the policy-variables context
configure policy-options policy-statement string named-entry string from policy-variables
19.10.R1
All
Enter the name list instance
configure policy-options policy-statement string named-entry string from policy-variables name string
Commands in this context configure global variables for use across BGP peers of a common type (transit, peer, customer, and so on).
10
19.10.R1
All
Global variable name used to reference policy functions
configure policy-options policy-statement string named-entry string from policy-variables name string
1 to 32
This element is part of a list key.
19.10.R1
All
IP address of the policy variable
configure policy-options policy-statement string named-entry string from policy-variables name string address (ipv4-address-no-zone | ipv6-address-no-zone)
The following elements are part of a mandatory choice: address, decimal, number, or value.
19.10.R1
All
Attribute decimal to which variable name is resolved
configure policy-options policy-statement string named-entry string from policy-variables name string decimal decimal-number
0.000 to 4294967295.000
The following elements are part of a mandatory choice: address, decimal, number, or value.
19.10.R1
All
Numerical value of the policy variable
configure policy-options policy-statement string named-entry string from policy-variables name string number number
0 to 4294967295
The following elements are part of a mandatory choice: address, decimal, number, or value.
19.10.R1
All
Policy variable value
configure policy-options policy-statement string named-entry string from policy-variables name string value string
1 to 32
The following elements are part of a mandatory choice: address, decimal, number, or value.
19.10.R1
All
Prefix list as match criterion
configure policy-options policy-statement string named-entry string from prefix-list (param-midstring | string)
1 to 32
28
This element is ordered by the user.
19.10.R1
All
Enter the protocol context
configure policy-options policy-statement string named-entry string from protocol
Commands in this context configure the match criterion based on protocols for a route policy statement entry and may be used for both import and export policies.
19.10.R1
All
Instance for protocol IS-IS, OSPF, or OSPFv3 to match
configure policy-options policy-statement string named-entry string from protocol instance (keyword | number)
This command specifies the OSPF, OSPFv3, or IS-IS instance to be used as the match criterion.
When this command is explicitly configured, the name command must be configured to identify the protocol (OSPF, OSPFv3, or IS-IS).
0 to 127
0
all
19.10.R1
All
List of protocol names as the match criterion
configure policy-options policy-statement string named-entry string from protocol name keyword
This command specifies a protocol list for the match criterion. If multiple protocols are specified, the protocol names must belong to the following protocol set:
If multiple protocols are specified, the instance command cannot be explicitly configured.
direct, static, bgp, isis, ospf, rip, aggregate, bgp-vpn, igmp, pim, ospf3, ldp, sub-mgmt, mld, managed, vpn-leak, nat, periodic, ipsec, dhcpv6-pd, dhcpv6-na, dhcpv6-ta, dhcpv6-pd-excl, ripng, bgp-label, direct-interface, arp-nd, rib-api, dhcp-client, evpn-ifl, srv6
5
19.10.R1
All
Enter the source-address context
configure policy-options policy-statement string named-entry string from source-address
19.10.R1
All
Source IP address to match
configure policy-options policy-statement string named-entry string from source-address ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
The following elements are part of a choice: ip-address or prefix-list.
19.10.R1
All
Name of a source address prefix list to match
configure policy-options policy-statement string named-entry string from source-address prefix-list (param-midstring | string)
1 to 32
The following elements are part of a choice: ip-address or prefix-list.
19.10.R1
All
State used as a match criterion
configure policy-options policy-statement string named-entry string from state keyword
This command configures a criterion that identifies in resilient gateways which routes are associated with an active context and which routes are associated with a standby context.
srrp-master, srrp-non-master, ipsec-master-with-peer, ipsec-master-without-peer, ipsec-non-master, fsg-active, fsg-standby
19.10.R1
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Route tag used as a match criterion
configure policy-options policy-statement string named-entry string from tag (number | keyword)
1 to 4294967295
no-tag
19.10.R1
All
Enable the to context
configure policy-options policy-statement string named-entry string to
19.10.R1
All
IS-IS route level as a match criterion
configure policy-options policy-statement string named-entry string to level number
1 to 2
19.10.R1
All
Enter the neighbor context
configure policy-options policy-statement string named-entry string to neighbor
19.10.R1
All
IP address to match the neighbor
configure policy-options policy-statement string named-entry string to neighbor ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
The following elements are part of a choice: ip-address or prefix-list.
19.10.R1
All
Name to match the neighbor prefix list
configure policy-options policy-statement string named-entry string to neighbor prefix-list (param-midstring | string)
1 to 32
The following elements are part of a choice: ip-address or prefix-list.
19.10.R1
All
Prefix list as match criterion
configure policy-options policy-statement string named-entry string to prefix-list (param-midstring | string)
1 to 32
28
This element is ordered by the user.
19.10.R1
All
Enter the protocol context
configure policy-options policy-statement string named-entry string to protocol
19.10.R1
All
Instance for the IS-IS, OSPF, or OSPF3 protocol
configure policy-options policy-statement string named-entry string to protocol instance (keyword | number)
0 to 127
0
all
19.10.R1
All
Protocol name to match
configure policy-options policy-statement string named-entry string to protocol name keyword
bgp, isis, ospf, rip, bgp-vpn, ospf3, ldp, vpn-leak, ripng, bgp-label, evpn-ifl
2
19.10.R1
All
Enter the prefix-list list instance
configure policy-options prefix-list string
16.0.R1
All
Prefix list name
configure policy-options prefix-list string
This command specifies the name for a prefix list.
Policy parameters must be enclosed by at-signs (@) and may be midstring; for example, "@variable@", "start@variable@end", "@variable@end", or "start@variable@".
1 to 32
This element is part of a list key.
16.0.R1
All
Enter the prefix list instance
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword
16.0.R1
All
IP prefix associated with the prefix length
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword
This element is part of a list key.
16.0.R1
All
Prefix list match type
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword
exact, longer, through, range, to, address-mask
This element is part of a list key.
16.0.R1
All
Prefix range end length
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword end-length number
0 to 128
The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix.
16.0.R1
All
Add a list entry for mask-pattern
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword mask-pattern (ipv4-address-no-zone | ipv6-address-no-zone)
The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix.
20.7.R1
All
Address mask for matching routes to the prefix entry
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword mask-pattern (ipv4-address-no-zone | ipv6-address-no-zone)
This command specifies the address mask to compare against the prefix entry to determine whether the route is considered a match.
A route matches the prefix entry if the following conditions are met.
For example, for a prefix entry of 17.1.0.0/32, routes with an address 17.1.x.0 (where x can be 0 through 255) and a prefix length of 32 match the entry.
This element is part of a list key.
20.7.R1
All
Start in the prefix range length
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword start-length number
0 to 128
The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix.
16.0.R1
All
Prefix through length
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword through-length number
0 to 128
The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix.
16.0.R1
All
Add a list entry for to-prefix
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword to-prefix (ipv4-prefix | ipv6-prefix)
The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix.
20.7.R1
All
IP prefix for "to" match type
configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword to-prefix (ipv4-prefix | ipv6-prefix)
This command configures an IP prefix to use in a route policy prefix list for the to match type. If the prefix entry is in the format prefix1/length1, and this command is configured in the format prefix2/length2, a route matches the prefix entry if the following conditions are met.
For example, for a prefix entry of 10.0.0.8 with a to IP prefix value of 10.0.0.0/32, routes 10.0.0.0/8, 10.0.0.0/9, 10.0.0.0.0/10, and so on, to 10.0.0.0/32 are considered matches for the prefix entry.
This element is part of a list key.
20.7.R1
All