policy-options commands
configure
— policy-options
— apply-groups reference
— apply-groups-exclude reference
— as-path string
— apply-groups reference
— apply-groups-exclude reference
— expression string
— as-path-group string
— apply-groups reference
— apply-groups-exclude reference
— entry number
— apply-groups reference
— apply-groups-exclude reference
— expression string
— community string
— apply-groups reference
— apply-groups-exclude reference
— expression
— apply-groups reference
— apply-groups-exclude reference
— exact boolean
— expr string
— member string
— damping string
— apply-groups reference
— apply-groups-exclude reference
— half-life number
— max-suppress number
— reuse number
— suppress number
— global-variables
— name string
— address (ipv4-address-no-zone | ipv6-address-no-zone)
— apply-groups reference
— apply-groups-exclude reference
— decimal decimal-number
— number number
— value string
— policy-statement string
— apply-groups reference
— apply-groups-exclude reference
— default-action
— action-type keyword
— add-paths-send-limit (number | keyword)
— admin-tag-policy (param-midstring-64 | string)
— advertise-label keyword
— aigp-metric
— add (number | string)
— set (keyword | number | string)
— apply-groups reference
— apply-groups-exclude reference
— as-path
— add (param-midstring | string)
— replace (param-midstring | string)
— as-path-prepend
— as-path (number | string | keyword)
— repeat (number | string)
— bgp-high-priority boolean
— bgp-leak boolean
— bgp-med
— adjust string
— set (keyword | number | string)
— bgp-tunnel-metric
— prefer-aigp boolean
— prefer-med boolean
— value (string | number)
— community
— add (param-midstring-64 | string)
— apply-groups reference
— apply-groups-exclude reference
— remove (param-midstring-64 | string)
— replace (param-midstring-64 | string)
— create-mpls-tunnel boolean
— create-udp-tunnel boolean
— damping (keyword | param-midstring | string)
— dest-class number
— egress-statistics boolean
— flex-algo (string | number)
— ingress-statistics boolean
— install-backup-path boolean
— local-preference (number | string)
— metric
— add (number | string)
— set (number | string)
— subtract (number | string)
— multicast-redirection
— fwd-service string
— ip-int-name string
— nat-policy (param-midstring | string)
— next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
— origin (keyword | string)
— origin-validation-state (keyword | string)
— preference (number | string)
— resolve-static boolean
— route-table-install boolean
— source-class number
— sr-label-index
— prefer-igp boolean
— value (string | number)
— sr-maintenance-policy (param-midstring | string)
— srv6-return-path-bfd-sid (policy-var-name | ipv6-address)
— sticky-ecmp boolean
— tag (number | string)
— type (number | string)
— description string
— entry number
— action
— action-type keyword
— add-paths-send-limit (number | keyword)
— admin-tag-policy (param-midstring-64 | string)
— advertise-label keyword
— aigp-metric
— add (number | string)
— set (keyword | number | string)
— apply-groups reference
— apply-groups-exclude reference
— as-path
— add (param-midstring | string)
— replace (param-midstring | string)
— as-path-prepend
— as-path (number | string | keyword)
— repeat (number | string)
— bgp-high-priority boolean
— bgp-leak boolean
— bgp-med
— adjust string
— set (keyword | number | string)
— bgp-tunnel-metric
— prefer-aigp boolean
— prefer-med boolean
— value (string | number)
— community
— add (param-midstring-64 | string)
— apply-groups reference
— apply-groups-exclude reference
— remove (param-midstring-64 | string)
— replace (param-midstring-64 | string)
— create-mpls-tunnel boolean
— create-udp-tunnel boolean
— damping (keyword | param-midstring | string)
— dest-class number
— egress-statistics boolean
— flex-algo (string | number)
— forwarding-class
— fc keyword
— priority keyword
— ingress-statistics boolean
— install-backup-path boolean
— local-preference (number | string)
— metric
— add (number | string)
— set (number | string)
— subtract (number | string)
— multicast-redirection
— fwd-service string
— ip-int-name string
— nat-policy (param-midstring | string)
— next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
— origin (keyword | string)
— origin-validation-state (keyword | string)
— preference (number | string)
— resolve-static boolean
— route-table-install boolean
— source-class number
— sr-label-index
— prefer-igp boolean
— value (string | number)
— sr-maintenance-policy (param-midstring | string)
— srv6-return-path-bfd-sid (policy-var-name | ipv6-address)
— sticky-ecmp boolean
— tag (number | string)
— type (number | string)
— apply-groups reference
— apply-groups-exclude reference
— conditional-expression
— apply-groups reference
— apply-groups-exclude reference
— route-exists string
— description string
— from
— aggregate-contributor boolean
— apply-groups reference
— apply-groups-exclude reference
— area string
— as-path
— group (param-midstring | string)
— length
— qualifier keyword
— unique boolean
— value (number | string)
— name (param-midstring | string)
— cluster-id
— ip-address string
— none-cluster-list boolean
— color number
— community
— count
— qualifier keyword
— type keyword
— value (number | string)
— expression string
— name (param-midstring-64 | string)
— distinguisher number
— endpoint (ipv4-address-no-zone | ipv6-address-no-zone)
— evpn-type keyword
— external boolean
— family keyword
— flowspec
— dest (param-midstring | string)
— source (param-midstring | string)
— group-address (param-midstring | string)
— host-ip (param-midstring | string)
— interface (named-item | interface-name | interface-name | interface-name)
— interface-subnets
— ip-int-name string
— service string
— level number
— local-preference
— qualifier keyword
— value (number | string)
— metric
— qualifier keyword
— value (number | string)
— mvpn-type keyword
— neighbor
— ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
— prefix-list (param-midstring | string)
— next-hop
— ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
— prefix-list (param-midstring | string)
— origin keyword
— origin-validation-state keyword
— ospf-type number
— path-type keyword
— policy (string | string)
— policy-variables
— name string
— address (ipv4-address-no-zone | ipv6-address-no-zone)
— apply-groups reference
— apply-groups-exclude reference
— decimal decimal-number
— number number
— value string
— prefix-list (param-midstring-64 | string)
— protocol
— instance (keyword | number)
— name keyword
— route-distinguisher-list (param-midstring-64 | string)
— source-address
— ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
— prefix-list (param-midstring | string)
— state keyword
— tag (number | keyword)
— to
— apply-groups reference
— apply-groups-exclude reference
— level number
— neighbor
— ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
— prefix-list (param-midstring | string)
— prefix-list (param-midstring-64 | string)
— protocol
— instance (keyword | number)
— name keyword
— entry-type keyword
— named-entry string
— action
— action-type keyword
— add-paths-send-limit (number | keyword)
— admin-tag-policy (param-midstring-64 | string)
— advertise-label keyword
— aigp-metric
— add (number | string)
— set (keyword | number | string)
— apply-groups reference
— apply-groups-exclude reference
— as-path
— add (param-midstring | string)
— replace (param-midstring | string)
— as-path-prepend
— as-path (number | string | keyword)
— repeat (number | string)
— bgp-high-priority boolean
— bgp-leak boolean
— bgp-med
— adjust string
— set (keyword | number | string)
— bgp-tunnel-metric
— prefer-aigp boolean
— prefer-med boolean
— value (string | number)
— community
— add (param-midstring-64 | string)
— apply-groups reference
— apply-groups-exclude reference
— remove (param-midstring-64 | string)
— replace (param-midstring-64 | string)
— create-mpls-tunnel boolean
— create-udp-tunnel boolean
— damping (keyword | param-midstring | string)
— dest-class number
— egress-statistics boolean
— flex-algo (string | number)
— forwarding-class
— fc keyword
— priority keyword
— ingress-statistics boolean
— install-backup-path boolean
— local-preference (number | string)
— metric
— add (number | string)
— set (number | string)
— subtract (number | string)
— multicast-redirection
— fwd-service string
— ip-int-name string
— nat-policy (param-midstring | string)
— next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
— origin (keyword | string)
— origin-validation-state (keyword | string)
— preference (number | string)
— resolve-static boolean
— route-table-install boolean
— source-class number
— sr-label-index
— prefer-igp boolean
— value (string | number)
— sr-maintenance-policy (param-midstring | string)
— srv6-return-path-bfd-sid (policy-var-name | ipv6-address)
— sticky-ecmp boolean
— tag (number | string)
— type (number | string)
— apply-groups reference
— apply-groups-exclude reference
— conditional-expression
— apply-groups reference
— apply-groups-exclude reference
— route-exists string
— description string
— from
— aggregate-contributor boolean
— apply-groups reference
— apply-groups-exclude reference
— area string
— as-path
— group (param-midstring | string)
— length
— qualifier keyword
— unique boolean
— value (number | string)
— name (param-midstring | string)
— cluster-id
— ip-address string
— none-cluster-list boolean
— color number
— community
— count
— qualifier keyword
— type keyword
— value (number | string)
— expression string
— name (param-midstring-64 | string)
— distinguisher number
— endpoint (ipv4-address-no-zone | ipv6-address-no-zone)
— evpn-type keyword
— external boolean
— family keyword
— flowspec
— dest (param-midstring | string)
— source (param-midstring | string)
— group-address (param-midstring | string)
— host-ip (param-midstring | string)
— interface (named-item | interface-name | interface-name | interface-name)
— interface-subnets
— ip-int-name string
— service string
— level number
— local-preference
— qualifier keyword
— value (number | string)
— metric
— qualifier keyword
— value (number | string)
— mvpn-type keyword
— neighbor
— ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
— prefix-list (param-midstring | string)
— next-hop
— ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
— prefix-list (param-midstring | string)
— origin keyword
— origin-validation-state keyword
— ospf-type number
— path-type keyword
— policy (string | string)
— policy-variables
— name string
— address (ipv4-address-no-zone | ipv6-address-no-zone)
— apply-groups reference
— apply-groups-exclude reference
— decimal decimal-number
— number number
— value string
— prefix-list (param-midstring-64 | string)
— protocol
— instance (keyword | number)
— name keyword
— route-distinguisher-list (param-midstring-64 | string)
— source-address
— ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
— prefix-list (param-midstring | string)
— state keyword
— tag (number | keyword)
— to
— apply-groups reference
— apply-groups-exclude reference
— level number
— neighbor
— ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
— prefix-list (param-midstring | string)
— prefix-list (param-midstring-64 | string)
— protocol
— instance (keyword | number)
— name keyword
— prefix-list string
— apply-groups reference
— apply-groups-exclude reference
— prefix (ipv4-prefix | ipv6-prefix) type keyword
— apply-groups reference
— apply-groups-exclude reference
— end-length number
— mask-pattern (ipv4-address-no-zone | ipv6-address-no-zone)
— start-length number
— through-length number
— to-prefix (ipv4-prefix | ipv6-prefix)
— route-distinguisher-list string
— apply-groups reference
— apply-groups-exclude reference
— rd-entry string
policy-options command descriptions
policy-options
Synopsis | Enter the policy-options context | |
Context | configure policy-options | |
Tree | policy-options | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path [name] string
Synopsis | Enter the as-path list instance | |
Context | configure policy-options as-path string | |
Tree | as-path | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] string
Synopsis | AS path name | |
Context | configure policy-options as-path string | |
Tree | as-path | |
String Length | 1 to 32 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
expression string
Synopsis | Regular expression string | |
Context | configure policy-options as-path string expression string | |
Tree | expression | |
String Length | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path-group [name] string
Synopsis | Enter the as-path-group list instance | |
Context | configure policy-options as-path-group string | |
Tree | as-path-group | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] string
Synopsis | AS path group name | |
Context | configure policy-options as-path-group string | |
Tree | as-path-group | |
String Length | 1 to 32 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
entry [entry] number
Synopsis | Enter the entry list instance | |
Context | configure policy-options as-path-group string entry number | |
Tree | entry | |
Introduced | 16.0.R1 | |
Platforms | All |
[entry] number
Synopsis | AS path entry ID | |
Context | configure policy-options as-path-group string entry number | |
Tree | entry | |
Range | 1 to 128 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
expression string
Synopsis | Regular expression string | |
Context | configure policy-options as-path-group string entry number expression string | |
Tree | expression | |
String Length | 1 to 255 | |
Notes | This element is mandatory. | |
Introduced | 16.0.R1 | |
Platforms | All |
community [name] string
Synopsis | Enter the community list instance | |
Context | configure policy-options community string | |
Tree | community | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] string
Synopsis | Community name | |
Context | configure policy-options community string | |
Tree | community | |
Description | 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. | |
String Length | 1 to 64 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
expression
Synopsis | Enable the expression context | |
Context | configure policy-options community string expression | |
Tree | expression | |
Introduced | 16.0.R1 | |
Platforms | All |
exact boolean
Synopsis | Match exactly for the specified expression | |
Context | configure policy-options community string expression exact boolean | |
Tree | exact | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
expr string
Synopsis | Community expression value | |
Context | configure policy-options community string expression expr string | |
Tree | expr | |
String Length | 1 to 900 | |
Notes | This element is mandatory. | |
Introduced | 16.0.R1 | |
Platforms | All |
member [member] string
Synopsis | Add a list entry for member | |
Context | configure policy-options community string member string | |
Tree | member | |
Introduced | 16.0.R1 | |
Platforms | All |
[member] string
Synopsis | Community member value | |
Context | configure policy-options community string member string | |
Tree | member | |
String Length | 1 to 72 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
damping [name] string
Synopsis | Enter the damping list instance | |
Context | configure policy-options damping string | |
Tree | damping | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] string
Synopsis | Damping profile name | |
Context | configure policy-options damping string | |
Tree | damping | |
String Length | 1 to 32 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
half-life number
Synopsis | Time after the FOM value is halved | |
Context | configure policy-options damping string half-life number | |
Tree | half-life | |
Range | 1 to 45 | |
Units | minutes | |
Introduced | 16.0.R1 | |
Platforms |
All |
max-suppress number
Synopsis | Maximum time for a route to remain suppressed | |
Context | configure policy-options damping string max-suppress number | |
Tree | max-suppress | |
Range | 1 to 720 | |
Units | minutes | |
Introduced | 16.0.R1 | |
Platforms |
All |
reuse number
Synopsis | Value below which a suppressed route can be used again | |
Context | configure policy-options damping string reuse number | |
Tree | reuse | |
Range | 1 to 20000 | |
Introduced | 16.0.R1 | |
Platforms | All |
suppress number
Synopsis | Value above which a route is suppressed | |
Context | configure policy-options damping string suppress number | |
Tree | suppress | |
Range | 1 to 20000 | |
Introduced | 16.0.R1 | |
Platforms | All |
global-variables
Synopsis | Enter the global-variables context | |
Context | configure policy-options global-variables | |
Tree | global-variables | |
Introduced | 16.0.R4 | |
Platforms | All |
name [variable-name] string
Synopsis | Enter the name list instance | |
Context | configure policy-options global-variables name string | |
Tree | name | |
Max. Instances | 1000 | |
Introduced | 16.0.R4 | |
Platforms | All |
[variable-name] string
Synopsis | Global variable name used to reference policy functions | |
Context | configure policy-options global-variables name string | |
Tree | name | |
String Length | 1 to 32 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R4 | |
Platforms | All |
address (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | IP address of the policy variable | |
Context | configure policy-options global-variables name string address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | address | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 16.0.R4 | |
Platforms | All |
decimal decimal-number
Synopsis | Attribute decimal to which variable name is resolved | |
Context | configure policy-options global-variables name string decimal decimal-number | |
Tree | decimal | |
Range | 0.000 to 4294967295.000 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 19.7.R1 | |
Platforms | All |
number number
Synopsis | Numerical value of the policy variable | |
Context | configure policy-options global-variables name string number number | |
Tree | number | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 16.0.R4 | |
Platforms | All |
value string
Synopsis | Policy variable value | |
Context | configure policy-options global-variables name string value string | |
Tree | value | |
String Length | 1 to 32 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 16.0.R4 | |
Platforms | All |
policy-statement [name] string
Synopsis | Enter the policy-statement list instance | |
Context | configure policy-options policy-statement string | |
Tree | policy-statement | |
Max. Instances | 65535 | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] string
Synopsis | Route policy statement name | |
Context | configure policy-options policy-statement string | |
Tree | policy-statement | |
String Length | 1 to 64 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
default-action
Synopsis | Enable the default-action context | |
Context | configure policy-options policy-statement string default-action | |
Tree | default-action | |
Introduced | 16.0.R1 | |
Platforms | All |
action-type keyword
Synopsis | Action type for routes matching the route policy entry | |
Context | configure policy-options policy-statement string default-action action-type keyword | |
Tree | action-type | |
Options | ||
Notes | This element is mandatory. | |
Introduced | 16.0.R1 | |
Platforms | All |
add-paths-send-limit (number | keyword)
Synopsis | BGP Add-Paths send limit applied for routes | |
Context | configure policy-options policy-statement string default-action add-paths-send-limit (number | keyword) | |
Tree | add-paths-send-limit | |
Range | 1 to 16 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
admin-tag-policy (param-midstring-64 | string)
Synopsis | Administrative tag policy name | |
Context | configure policy-options policy-statement string default-action admin-tag-policy (param-midstring-64 | string) | |
Tree | admin-tag-policy | |
String Length | 1 to 64 | |
Introduced | 16.0.R1 | |
Platforms | All |
advertise-label keyword
Synopsis | Label allocation for matched BGP routes | |
Context | configure policy-options policy-statement string default-action advertise-label keyword | |
Tree | advertise-label | |
Description | 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. | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
aigp-metric
Synopsis | Enter the aigp-metric context | |
Context | configure policy-options policy-statement string default-action aigp-metric | |
Tree | aigp-metric | |
Introduced | 16.0.R1 | |
Platforms | All |
add (number | string)
Synopsis | AIGP metric to add | |
Context | configure policy-options policy-statement string default-action aigp-metric add (number | string) | |
Tree | add | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add or set. | |
Introduced | 16.0.R1 | |
Platforms | All |
set (keyword | number | string)
Synopsis | AIGP metric | |
Context | configure policy-options policy-statement string default-action aigp-metric set (keyword | number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Options | ||
Notes | The following elements are part of a choice: add or set. | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path
Synopsis | Enter the as-path context | |
Context | configure policy-options policy-statement string default-action as-path | |
Tree | as-path | |
Introduced | 16.0.R1 | |
Platforms | All |
add (param-midstring | string)
Synopsis | AS path to add | |
Context | configure policy-options policy-statement string default-action as-path add (param-midstring | string) | |
Tree | add | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: add or replace. | |
Introduced | 16.0.R1 | |
Platforms | All |
replace (param-midstring | string)
Synopsis | AS path to replace | |
Context | configure policy-options policy-statement string default-action as-path replace (param-midstring | string) | |
Tree | replace | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: add or replace. | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path-prepend
Synopsis | Enter the as-path-prepend context | |
Context | configure policy-options policy-statement string default-action as-path-prepend | |
Tree | as-path-prepend | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path (number | string | keyword)
Synopsis | AS number to prepend to the AS path attribute | |
Context | configure policy-options policy-statement string default-action as-path-prepend as-path (number | string | keyword) | |
Tree | as-path | |
String Length | 1 to 32 | |
Range | 1 to 4294967295 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
repeat (number | string)
Synopsis | Number of times to prepend the specified AS number | |
Context | configure policy-options policy-statement string default-action as-path-prepend repeat (number | string) | |
Tree | repeat | |
String Length | 1 to 32 | |
Range | 1 to 50 | |
Default | 1 | |
Introduced | 16.0.R1 | |
Platforms | All |
bgp-high-priority boolean
Synopsis | Tag routes as high priority for fast table updates | |
Context | configure policy-options policy-statement string default-action bgp-high-priority boolean | |
Tree | bgp-high-priority | |
Description | 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:
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 to false, no routes are tagged for faster route table updates. | |
Default | false | |
Introduced | 20.5.R1 | |
Platforms | All |
bgp-leak boolean
Synopsis | Allow leaking for BGP routes | |
Context | configure policy-options policy-statement string default-action bgp-leak boolean | |
Tree | bgp-leak | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
bgp-med
Synopsis | Enter the bgp-med context | |
Context | configure policy-options policy-statement string default-action bgp-med | |
Tree | bgp-med | |
Introduced | 19.7.R1 | |
Platforms | All |
adjust string
Synopsis | BGP-MED adjustment | |
Context | configure policy-options policy-statement string default-action bgp-med adjust string | |
Tree | adjust | |
String Length | 1 to 64 | |
Notes | The following elements are part of a choice: adjust or set. | |
Introduced | 19.7.R1 | |
Platforms | All |
set (keyword | number | string)
Synopsis | BGP-MED assignment | |
Context | configure policy-options policy-statement string default-action bgp-med set (keyword | number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Options | ||
Notes | The following elements are part of a choice: adjust or set. | |
Introduced | 19.7.R1 | |
Platforms | All |
bgp-tunnel-metric
Synopsis | Enter the bgp-tunnel-metric context | |
Context | configure policy-options policy-statement string default-action bgp-tunnel-metric | |
Tree | bgp-tunnel-metric | |
Description | 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. | |
Introduced | 20.5.R1 | |
Platforms | All |
prefer-aigp boolean
Synopsis | Use AIGP attribute as tunnel metric when present | |
Context | configure policy-options policy-statement string default-action bgp-tunnel-metric prefer-aigp boolean | |
Tree | prefer-aigp | |
Description | 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. | |
Default | false | |
Introduced | 20.5.R1 | |
Platforms | All |
prefer-med boolean
Synopsis | Use MED attribute as tunnel metric when present | |
Context | configure policy-options policy-statement string default-action bgp-tunnel-metric prefer-med boolean | |
Tree | prefer-med | |
Description | When configured to true, if a BGP-LU route is selected for installation in the TTM and is matched by this action in a BGP import policy, the TTM metric of the tunnel is set to the MED metric value of the BGP-LU route with the IGP cost to reach the BGP next hop added to it. When configured to false, the BGP tunnel metric associated with the BGP-LU route accepted by this policy action is not determined using the MED attribute. | |
Default | false | |
Introduced | 23.3.R1 | |
Platforms | All |
value (string | number)
Synopsis | BGP tunnel table metric value | |
Context | configure policy-options policy-statement string default-action bgp-tunnel-metric value (string | number) | |
Tree | value | |
Description | 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:
| |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 20.5.R1 | |
Platforms | All |
community
Synopsis | Enter the community context | |
Context | configure policy-options policy-statement string default-action community | |
Tree | community | |
Introduced | 16.0.R1 | |
Platforms | All |
add (param-midstring-64 | string)
Synopsis | List of community names to add | |
Context | configure policy-options policy-statement string default-action community add (param-midstring-64 | string) | |
Tree | add | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms |
All |
remove (param-midstring-64 | string)
Synopsis | List of community names to remove | |
Context | configure policy-options policy-statement string default-action community remove (param-midstring-64 | string) | |
Tree | remove | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms |
All |
replace (param-midstring-64 | string)
Synopsis | List of community names to replace | |
Context | configure policy-options policy-statement string default-action community replace (param-midstring-64 | string) | |
Tree | replace | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms |
All |
create-mpls-tunnel boolean
Synopsis | Create an MPLS tunnel | |
Context | configure policy-options policy-statement string default-action create-mpls-tunnel boolean | |
Tree | create-mpls-tunnel | |
Description | When configured to true, the router creates an MPLS tunnel. This command is supported for only the following address families:
| |
Default | false | |
Introduced | 21.10.R1 | |
Platforms |
All |
create-udp-tunnel boolean
Synopsis | Create an MPLS-over-UDP tunnel | |
Context | configure policy-options policy-statement string default-action create-udp-tunnel boolean | |
Tree | create-udp-tunnel | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
damping (keyword | param-midstring | string)
Synopsis | Damping profile used for routes | |
Context | configure policy-options policy-statement string default-action damping (keyword | param-midstring | string) | |
Tree | damping | |
String Length | 1 to 32 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
dest-class number
Synopsis | Default destination class for the policy statement | |
Context | configure policy-options policy-statement string default-action dest-class number | |
Tree | dest-class | |
Description | This command specifies the policy accounting destination class index to associate with matched routes. | |
Range | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS |
egress-statistics boolean
Synopsis | Enable egress statistics for BGP-LU routes | |
Context | configure policy-options policy-statement string default-action egress-statistics boolean | |
Tree | egress-statistics | |
Description | 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. | |
Default | false | |
Introduced | 20.10.R1 | |
Platforms | All |
flex-algo (string | number)
Synopsis | Flexible algorithm for BGP next-hop autobind operation | |
Context | configure policy-options policy-statement string default-action flex-algo (string | number) | |
Tree | flex-algo | |
Description | 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. | |
String Length | 1 to 32 | |
Range | 128 to 255 | |
Introduced | 20.10.R1 | |
Platforms | All |
ingress-statistics boolean
Synopsis | Enable ingress statistics for BGP-LU routes | |
Context | configure policy-options policy-statement string default-action ingress-statistics boolean | |
Tree | ingress-statistics | |
Description | 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. | |
Default | false | |
Introduced | 20.10.R1 | |
Platforms | All |
install-backup-path boolean
Synopsis | Install a preprogrammed backup path for the prefix | |
Context | configure policy-options policy-statement string default-action install-backup-path boolean | |
Tree | install-backup-path | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
local-preference (number | string)
Synopsis | BGP local preference for routes not matching any entry | |
Context | configure policy-options policy-statement string default-action local-preference (number | string) | |
Tree | local-preference | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 16.0.R1 | |
Platforms | All |
metric
Synopsis | Enter the metric context | |
Context | configure policy-options policy-statement string default-action metric | |
Tree | metric | |
Introduced | 16.0.R1 | |
Platforms | All |
add (number | string)
Synopsis | Metric to add | |
Context | configure policy-options policy-statement string default-action metric add (number | string) | |
Tree | add | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 16.0.R1 | |
Platforms | All |
set (number | string)
Synopsis | Metric to assign | |
Context | configure policy-options policy-statement string default-action metric set (number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 16.0.R1 | |
Platforms | All |
subtract (number | string)
Synopsis | Metric to subtract | |
Context | configure policy-options policy-statement string default-action metric subtract (number | string) | |
Tree | subtract | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 16.0.R1 | |
Platforms | All |
multicast-redirection
Synopsis | Enter the multicast-redirection context | |
Context | configure policy-options policy-statement string default-action multicast-redirection | |
Tree | multicast-redirection | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
fwd-service string
Synopsis | Service ID for multicast redirection | |
Context | configure policy-options policy-statement string default-action multicast-redirection fwd-service string | |
Tree | fwd-service | |
Default | Base | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
ip-int-name string
Synopsis | Alternate interface where IGMP messages are redirected | |
Context | configure policy-options policy-statement string default-action multicast-redirection ip-int-name string | |
Tree | ip-int-name | |
String Length | 1 to 32 | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
nat-policy (param-midstring | string)
Synopsis | BGP-VPN imported route and a NAT policy association | |
Context | configure policy-options policy-statement string default-action nat-policy (param-midstring | string) | |
Tree | nat-policy | |
Description | 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. | |
String Length | 1 to 32 | |
Introduced | 21.5.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR |
next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
Synopsis | Next-hop IP address applied to routes | |
Context | configure policy-options policy-statement string default-action next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string) | |
Tree | next-hop | |
String Length | 1 to 32 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
origin (keyword | string)
Synopsis | BGP origin for routes that are exported into BGP | |
Context | configure policy-options policy-statement string default-action origin (keyword | string) | |
Tree | origin | |
String Length | 1 to 32 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
origin-validation-state (keyword | string)
Synopsis | Origin validation state for routes | |
Context | configure policy-options policy-statement string default-action origin-validation-state (keyword | string) | |
Tree | origin-validation-state | |
String Length | 1 to 32 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
preference (number | string)
Synopsis | Route preference applied to routes | |
Context | configure policy-options policy-statement string default-action preference (number | string) | |
Tree | preference | |
String Length | 1 to 32 | |
Range | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms |
All |
resolve-static boolean
Synopsis | Resolve next hop of a static route for the BGP next hop | |
Context | configure policy-options policy-statement string default-action resolve-static boolean | |
Tree | resolve-static | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
route-table-install boolean
Synopsis | Allow BGP route installation in the route table | |
Context | configure policy-options policy-statement string default-action route-table-install boolean | |
Tree | route-table-install | |
Default | true | |
Introduced | 19.10.R1 | |
Platforms | All |
source-class number
Synopsis | Default source class for the policy statement | |
Context | configure policy-options policy-statement string default-action source-class number | |
Tree | source-class | |
Description | This command specifies the policy accounting source class index to associate with matched routes. | |
Range | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS |
sr-label-index
Synopsis | Enter the sr-label-index context | |
Context | configure policy-options policy-statement string default-action sr-label-index | |
Tree | sr-label-index | |
Description | 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. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefer-igp boolean
Synopsis | Use the SR label index from the IGP route when present | |
Context | configure policy-options policy-statement string default-action sr-label-index prefer-igp boolean | |
Tree | prefer-igp | |
Description | 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. | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
value (string | number)
Synopsis | BGP SR label index associated with routes | |
Context | configure policy-options policy-statement string default-action sr-label-index value (string | number) | |
Tree | value | |
Description | 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. | |
String Length | 1 to 32 | |
Range | 0 to 524287 | |
Introduced | 19.10.R1 | |
Platforms | All |
sr-maintenance-policy (param-midstring | string)
Synopsis | SR maintenance policy as an action | |
Context | configure policy-options policy-statement string default-action sr-maintenance-policy (param-midstring | string) | |
Tree | sr-maintenance-policy | |
Description | This command applies a named segment routing maintenance policy as an action for route policies. It is only used for SR policy routes. | |
String Length | 1 to 32 | |
Introduced | 20.10.R1 | |
Platforms | All |
srv6-return-path-bfd-sid (policy-var-name | ipv6-address)
Synopsis | SRv6 return path BFD SID applied to SRv6 policy routes | |
Context | configure policy-options policy-statement string default-action srv6-return-path-bfd-sid (policy-var-name | ipv6-address) | |
Tree | srv6-return-path-bfd-sid | |
Description | This command configures the S-BFD session to echo mode and pushes an additional SRv6 SID in the SRH only for S-BFD packets sent on the imported SRv6 policy. | |
String Length | 1 to 32 | |
Introduced | 23.3.R1 | |
Platforms | All |
sticky-ecmp boolean
Synopsis | Specify the sticky ECMP flag for BGP ECMP routes | |
Context | configure policy-options policy-statement string default-action sticky-ecmp boolean | |
Tree | sticky-ecmp | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
tag (number | string)
Synopsis | OSPF RIP or IS-IS tag applied to routes | |
Context | configure policy-options policy-statement string default-action tag (number | string) | |
Tree | tag | |
String Length | 1 to 32 | |
Range | 1 to 4294967295 | |
Introduced | 16.0.R1 | |
Platforms | All |
type (number | string)
Synopsis | OSPF metric type applied to routes | |
Context | configure policy-options policy-statement string default-action type (number | string) | |
Tree | type | |
String Length | 1 to 32 | |
Range | 1 to 2 | |
Introduced | 16.0.R1 | |
Platforms |
All |
description string
Synopsis | Text description | |
Context | configure policy-options policy-statement string description string | |
Tree | description | |
String Length | 1 to 80 | |
Introduced | 16.0.R1 | |
Platforms | All |
entry [entry-id] number
Synopsis | Enter the entry list instance | |
Context | configure policy-options policy-statement string entry number | |
Tree | entry | |
Introduced | 16.0.R1 | |
Platforms | All |
[entry-id] number
Synopsis | Entry ID for a route policy entry | |
Context | configure policy-options policy-statement string entry number | |
Tree | entry | |
Range | 1 to 4294967295 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
action
Synopsis | Enable the action context | |
Context | configure policy-options policy-statement string entry number action | |
Tree | action | |
Introduced | 16.0.R1 | |
Platforms | All |
action-type keyword
Synopsis | Action type for routes matching the route policy entry | |
Context | configure policy-options policy-statement string entry number action action-type keyword | |
Tree | action-type | |
Options | ||
Notes | This element is mandatory. | |
Introduced | 16.0.R1 | |
Platforms | All |
add-paths-send-limit (number | keyword)
Synopsis | BGP Add-Paths send limit applied for routes | |
Context | configure policy-options policy-statement string entry number action add-paths-send-limit (number | keyword) | |
Tree | add-paths-send-limit | |
Range | 1 to 16 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
admin-tag-policy (param-midstring-64 | string)
Synopsis | Administrative tag policy name | |
Context | configure policy-options policy-statement string entry number action admin-tag-policy (param-midstring-64 | string) | |
Tree | admin-tag-policy | |
String Length | 1 to 64 | |
Introduced | 16.0.R1 | |
Platforms | All |
advertise-label keyword
Synopsis | Label allocation for matched BGP routes | |
Context | configure policy-options policy-statement string entry number action advertise-label keyword | |
Tree | advertise-label | |
Description | 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. | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
aigp-metric
Synopsis | Enter the aigp-metric context | |
Context | configure policy-options policy-statement string entry number action aigp-metric | |
Tree | aigp-metric | |
Introduced | 16.0.R1 | |
Platforms | All |
add (number | string)
Synopsis | AIGP metric to add | |
Context | configure policy-options policy-statement string entry number action aigp-metric add (number | string) | |
Tree | add | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add or set. | |
Introduced | 16.0.R1 | |
Platforms | All |
set (keyword | number | string)
Synopsis | AIGP metric | |
Context | configure policy-options policy-statement string entry number action aigp-metric set (keyword | number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Options | ||
Notes | The following elements are part of a choice: add or set. | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path
Synopsis | Enter the as-path context | |
Context | configure policy-options policy-statement string entry number action as-path | |
Tree | as-path | |
Introduced | 16.0.R1 | |
Platforms | All |
add (param-midstring | string)
Synopsis | AS path to add | |
Context | configure policy-options policy-statement string entry number action as-path add (param-midstring | string) | |
Tree | add | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: add or replace. | |
Introduced | 16.0.R1 | |
Platforms | All |
replace (param-midstring | string)
Synopsis | AS path to replace | |
Context | configure policy-options policy-statement string entry number action as-path replace (param-midstring | string) | |
Tree | replace | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: add or replace. | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path-prepend
Synopsis | Enter the as-path-prepend context | |
Context | configure policy-options policy-statement string entry number action as-path-prepend | |
Tree | as-path-prepend | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path (number | string | keyword)
Synopsis | AS number to prepend to the AS path attribute | |
Context | configure policy-options policy-statement string entry number action as-path-prepend as-path (number | string | keyword) | |
Tree | as-path | |
String Length | 1 to 32 | |
Range | 1 to 4294967295 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
repeat (number | string)
Synopsis | Number of times to prepend the specified AS number | |
Context | configure policy-options policy-statement string entry number action as-path-prepend repeat (number | string) | |
Tree | repeat | |
String Length | 1 to 32 | |
Range | 1 to 50 | |
Default | 1 | |
Introduced | 16.0.R1 | |
Platforms | All |
bgp-high-priority boolean
Synopsis | Tag routes as high priority for fast table updates | |
Context | configure policy-options policy-statement string entry number action bgp-high-priority boolean | |
Tree | bgp-high-priority | |
Description | 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:
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 to false, no routes are tagged for faster route table updates. | |
Default | false | |
Introduced | 20.5.R1 | |
Platforms | All |
bgp-leak boolean
Synopsis | Allow leaking for BGP routes | |
Context | configure policy-options policy-statement string entry number action bgp-leak boolean | |
Tree | bgp-leak | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
bgp-med
Synopsis | Enter the bgp-med context | |
Context | configure policy-options policy-statement string entry number action bgp-med | |
Tree | bgp-med | |
Introduced | 19.7.R1 | |
Platforms | All |
adjust string
Synopsis | BGP-MED adjustment | |
Context | configure policy-options policy-statement string entry number action bgp-med adjust string | |
Tree | adjust | |
String Length | 1 to 64 | |
Notes | The following elements are part of a choice: adjust or set. | |
Introduced | 19.7.R1 | |
Platforms | All |
set (keyword | number | string)
Synopsis | BGP-MED assignment | |
Context | configure policy-options policy-statement string entry number action bgp-med set (keyword | number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Options | ||
Notes | The following elements are part of a choice: adjust or set. | |
Introduced | 19.7.R1 | |
Platforms | All |
bgp-tunnel-metric
Synopsis | Enter the bgp-tunnel-metric context | |
Context | configure policy-options policy-statement string entry number action bgp-tunnel-metric | |
Tree | bgp-tunnel-metric | |
Description | 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. | |
Introduced | 20.5.R1 | |
Platforms | All |
prefer-aigp boolean
Synopsis | Use AIGP attribute as tunnel metric when present | |
Context | configure policy-options policy-statement string entry number action bgp-tunnel-metric prefer-aigp boolean | |
Tree | prefer-aigp | |
Description | 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. | |
Default | false | |
Introduced | 20.5.R1 | |
Platforms | All |
prefer-med boolean
Synopsis | Use MED attribute as tunnel metric when present | |
Context | configure policy-options policy-statement string entry number action bgp-tunnel-metric prefer-med boolean | |
Tree | prefer-med | |
Description | When configured to true, if a BGP-LU route is selected for installation in the TTM and is matched by this action in a BGP import policy, the TTM metric of the tunnel is set to the MED metric value of the BGP-LU route with the IGP cost to reach the BGP next hop added to it. When configured to false, the BGP tunnel metric associated with the BGP-LU route accepted by this policy action is not determined using the MED attribute. | |
Default | false | |
Introduced | 23.3.R1 | |
Platforms | All |
value (string | number)
Synopsis | BGP tunnel table metric value | |
Context | configure policy-options policy-statement string entry number action bgp-tunnel-metric value (string | number) | |
Tree | value | |
Description | 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:
| |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 20.5.R1 | |
Platforms | All |
community
Synopsis | Enter the community context | |
Context | configure policy-options policy-statement string entry number action community | |
Tree | community | |
Introduced | 16.0.R1 | |
Platforms | All |
add (param-midstring-64 | string)
Synopsis | List of community names to add | |
Context | configure policy-options policy-statement string entry number action community add (param-midstring-64 | string) | |
Tree | add | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms |
All |
remove (param-midstring-64 | string)
Synopsis | List of community names to remove | |
Context | configure policy-options policy-statement string entry number action community remove (param-midstring-64 | string) | |
Tree | remove | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms |
All |
replace (param-midstring-64 | string)
Synopsis | List of community names to replace | |
Context | configure policy-options policy-statement string entry number action community replace (param-midstring-64 | string) | |
Tree | replace | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms |
All |
create-mpls-tunnel boolean
Synopsis | Create an MPLS tunnel | |
Context | configure policy-options policy-statement string entry number action create-mpls-tunnel boolean | |
Tree | create-mpls-tunnel | |
Description | When configured to true, the router creates an MPLS tunnel. This command is supported for only the following address families:
| |
Default | false | |
Introduced | 21.10.R1 | |
Platforms |
All |
create-udp-tunnel boolean
Synopsis | Create an MPLS-over-UDP tunnel | |
Context | configure policy-options policy-statement string entry number action create-udp-tunnel boolean | |
Tree | create-udp-tunnel | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
damping (keyword | param-midstring | string)
Synopsis | Damping profile used for routes | |
Context | configure policy-options policy-statement string entry number action damping (keyword | param-midstring | string) | |
Tree | damping | |
String Length | 1 to 32 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
dest-class number
Synopsis | Default destination class for the policy statement | |
Context | configure policy-options policy-statement string entry number action dest-class number | |
Tree | dest-class | |
Description | This command specifies the policy accounting destination class index to associate with matched routes. | |
Range | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS |
egress-statistics boolean
Synopsis | Enable egress statistics for BGP-LU routes | |
Context | configure policy-options policy-statement string entry number action egress-statistics boolean | |
Tree | egress-statistics | |
Description | 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. | |
Default | false | |
Introduced | 20.10.R1 | |
Platforms | All |
flex-algo (string | number)
Synopsis | Flexible algorithm for BGP next-hop autobind operation | |
Context | configure policy-options policy-statement string entry number action flex-algo (string | number) | |
Tree | flex-algo | |
Description | 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. | |
String Length | 1 to 32 | |
Range | 128 to 255 | |
Introduced | 20.10.R1 | |
Platforms | All |
forwarding-class
Synopsis | Enter the forwarding-class context | |
Context | configure policy-options policy-statement string entry number action forwarding-class | |
Tree | forwarding-class | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS |
fc keyword
Synopsis | Forwarding class associated with the route | |
Context | configure policy-options policy-statement string entry number action forwarding-class fc keyword | |
Tree | fc | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS |
priority keyword
Synopsis | Route priority | |
Context | configure policy-options policy-statement string entry number action forwarding-class priority keyword | |
Tree | priority | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS |
ingress-statistics boolean
Synopsis | Enable ingress statistics for BGP-LU routes | |
Context | configure policy-options policy-statement string entry number action ingress-statistics boolean | |
Tree | ingress-statistics | |
Description | 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. | |
Default | false | |
Introduced | 20.10.R1 | |
Platforms | All |
install-backup-path boolean
Synopsis | Install a preprogrammed backup path for the prefix | |
Context | configure policy-options policy-statement string entry number action install-backup-path boolean | |
Tree | install-backup-path | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
local-preference (number | string)
Synopsis | BGP local preference for routes not matching any entry | |
Context | configure policy-options policy-statement string entry number action local-preference (number | string) | |
Tree | local-preference | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 16.0.R1 | |
Platforms | All |
metric
Synopsis | Enter the metric context | |
Context | configure policy-options policy-statement string entry number action metric | |
Tree | metric | |
Introduced | 16.0.R1 | |
Platforms | All |
add (number | string)
Synopsis | Metric to add | |
Context | configure policy-options policy-statement string entry number action metric add (number | string) | |
Tree | add | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 16.0.R1 | |
Platforms | All |
set (number | string)
Synopsis | Metric to assign | |
Context | configure policy-options policy-statement string entry number action metric set (number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 16.0.R1 | |
Platforms | All |
subtract (number | string)
Synopsis | Metric to subtract | |
Context | configure policy-options policy-statement string entry number action metric subtract (number | string) | |
Tree | subtract | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 16.0.R1 | |
Platforms | All |
multicast-redirection
Synopsis | Enter the multicast-redirection context | |
Context | configure policy-options policy-statement string entry number action multicast-redirection | |
Tree | multicast-redirection | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
fwd-service string
Synopsis | Service ID for multicast redirection | |
Context | configure policy-options policy-statement string entry number action multicast-redirection fwd-service string | |
Tree | fwd-service | |
Default | Base | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
ip-int-name string
Synopsis | Alternate interface where IGMP messages are redirected | |
Context | configure policy-options policy-statement string entry number action multicast-redirection ip-int-name string | |
Tree | ip-int-name | |
String Length | 1 to 32 | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
nat-policy (param-midstring | string)
Synopsis | BGP-VPN imported route and a NAT policy association | |
Context | configure policy-options policy-statement string entry number action nat-policy (param-midstring | string) | |
Tree | nat-policy | |
Description | 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. | |
String Length | 1 to 32 | |
Introduced | 21.5.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR |
next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
Synopsis | Next-hop IP address applied to routes | |
Context | configure policy-options policy-statement string entry number action next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string) | |
Tree | next-hop | |
String Length | 1 to 32 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
origin (keyword | string)
Synopsis | BGP origin for routes that are exported into BGP | |
Context | configure policy-options policy-statement string entry number action origin (keyword | string) | |
Tree | origin | |
String Length | 1 to 32 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
origin-validation-state (keyword | string)
Synopsis | Origin validation state for routes | |
Context | configure policy-options policy-statement string entry number action origin-validation-state (keyword | string) | |
Tree | origin-validation-state | |
String Length | 1 to 32 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
preference (number | string)
Synopsis | Route preference applied to routes | |
Context | configure policy-options policy-statement string entry number action preference (number | string) | |
Tree | preference | |
String Length | 1 to 32 | |
Range | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms |
All |
resolve-static boolean
Synopsis | Resolve next hop of a static route for the BGP next hop | |
Context | configure policy-options policy-statement string entry number action resolve-static boolean | |
Tree | resolve-static | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
route-table-install boolean
Synopsis | Allow BGP route installation in the route table | |
Context | configure policy-options policy-statement string entry number action route-table-install boolean | |
Tree | route-table-install | |
Default | true | |
Introduced | 19.10.R1 | |
Platforms | All |
source-class number
Synopsis | Default source class for the policy statement | |
Context | configure policy-options policy-statement string entry number action source-class number | |
Tree | source-class | |
Description | This command specifies the policy accounting source class index to associate with matched routes. | |
Range | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS |
sr-label-index
Synopsis | Enter the sr-label-index context | |
Context | configure policy-options policy-statement string entry number action sr-label-index | |
Tree | sr-label-index | |
Description | 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. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefer-igp boolean
Synopsis | Use the SR label index from the IGP route when present | |
Context | configure policy-options policy-statement string entry number action sr-label-index prefer-igp boolean | |
Tree | prefer-igp | |
Description | 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. | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
value (string | number)
Synopsis | BGP SR label index associated with routes | |
Context | configure policy-options policy-statement string entry number action sr-label-index value (string | number) | |
Tree | value | |
Description | 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. | |
String Length | 1 to 32 | |
Range | 0 to 524287 | |
Introduced | 19.10.R1 | |
Platforms | All |
sr-maintenance-policy (param-midstring | string)
Synopsis | SR maintenance policy as an action | |
Context | configure policy-options policy-statement string entry number action sr-maintenance-policy (param-midstring | string) | |
Tree | sr-maintenance-policy | |
Description | This command applies a named segment routing maintenance policy as an action for route policies. It is only used for SR policy routes. | |
String Length | 1 to 32 | |
Introduced | 20.10.R1 | |
Platforms | All |
srv6-return-path-bfd-sid (policy-var-name | ipv6-address)
Synopsis | SRv6 return path BFD SID applied to SRv6 policy routes | |
Context | configure policy-options policy-statement string entry number action srv6-return-path-bfd-sid (policy-var-name | ipv6-address) | |
Tree | srv6-return-path-bfd-sid | |
Description | This command configures the S-BFD session to echo mode and pushes an additional SRv6 SID in the SRH only for S-BFD packets sent on the imported SRv6 policy. | |
String Length | 1 to 32 | |
Introduced | 23.3.R1 | |
Platforms | All |
sticky-ecmp boolean
Synopsis | Specify the sticky ECMP flag for BGP ECMP routes | |
Context | configure policy-options policy-statement string entry number action sticky-ecmp boolean | |
Tree | sticky-ecmp | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
tag (number | string)
Synopsis | OSPF RIP or IS-IS tag applied to routes | |
Context | configure policy-options policy-statement string entry number action tag (number | string) | |
Tree | tag | |
String Length | 1 to 32 | |
Range | 1 to 4294967295 | |
Introduced | 16.0.R1 | |
Platforms | All |
type (number | string)
Synopsis | OSPF metric type applied to routes | |
Context | configure policy-options policy-statement string entry number action type (number | string) | |
Tree | type | |
String Length | 1 to 32 | |
Range | 1 to 2 | |
Introduced | 16.0.R1 | |
Platforms |
All |
conditional-expression
Synopsis | Enable the conditional-expression context | |
Context | configure policy-options policy-statement string entry number conditional-expression | |
Tree | conditional-expression | |
Introduced | 16.0.R1 | |
Platforms | All |
route-exists string
Synopsis | Conditional expression to test route existence | |
Context | configure policy-options policy-statement string entry number conditional-expression route-exists string | |
Tree | route-exists | |
String Length | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | All |
description string
Synopsis | Text description | |
Context | configure policy-options policy-statement string entry number description string | |
Tree | description | |
String Length | 1 to 80 | |
Introduced | 16.0.R1 | |
Platforms | All |
from
Synopsis | Enable the from context | |
Context | configure policy-options policy-statement string entry number from | |
Tree | from | |
Description | 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. | |
Introduced | 16.0.R1 | |
Platforms | All |
aggregate-contributor boolean
Synopsis | Enable aggregate route match criterion | |
Context | configure policy-options policy-statement string entry number from aggregate-contributor boolean | |
Tree | aggregate-contributor | |
Description | 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. | |
Default | false | |
Introduced | 20.10.R1 | |
Platforms | All |
area string
Synopsis | OSPF area as a match criterion | |
Context | configure policy-options policy-statement string entry number from area string | |
Tree | area | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path
Synopsis | Enter the as-path context | |
Context | configure policy-options policy-statement string entry number from as-path | |
Tree | as-path | |
Introduced | 16.0.R1 | |
Platforms | All |
group (param-midstring | string)
Synopsis | AS path group as a match criterion | |
Context | configure policy-options policy-statement string entry number from as-path group (param-midstring | string) | |
Tree | group | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: group or name. | |
Introduced | 16.0.R1 | |
Platforms | All |
length
Synopsis | Enter the length context | |
Context | configure policy-options policy-statement string entry number from as-path length | |
Tree | length | |
Introduced | 16.0.R1 | |
Platforms | All |
qualifier keyword
Synopsis | Higher or lower values to be accepted as match criteria | |
Context | configure policy-options policy-statement string entry number from as-path length qualifier keyword | |
Tree | qualifier | |
Default | equal | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
unique boolean
Synopsis | Use unique AS numbers as matching criteria | |
Context | configure policy-options policy-statement string entry number from as-path length unique boolean | |
Tree | unique | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
value (number | string)
Synopsis | AS numbers in the AS path that match on the BGP route | |
Context | configure policy-options policy-statement string entry number from as-path length value (number | string) | |
Tree | value | |
String Length | 1 to 32 | |
Range | 0 to 255 | |
Introduced | 16.0.R1 | |
Platforms |
All |
name (param-midstring | string)
Synopsis | AS path name to match | |
Context | configure policy-options policy-statement string entry number from as-path name (param-midstring | string) | |
Tree | name | |
Description | 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@". | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: group or name. | |
Introduced | 16.0.R1 | |
Platforms | All |
cluster-id
Synopsis | Enter the cluster-id context | |
Context | configure policy-options policy-statement string entry number from cluster-id | |
Tree | cluster-id | |
Introduced | 16.0.R1 | |
Platforms | All |
ip-address string
Synopsis | Cluster list attribute IP addresses for route matching | |
Context | configure policy-options policy-statement string entry number from cluster-id ip-address string | |
Tree | ip-address | |
Max. Instances | 5 | |
Notes | The following elements are part of a choice: ip-address or none-cluster-list. This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms |
All |
none-cluster-list boolean
Synopsis | Specify matching BGP routes without a cluster ID | |
Context | configure policy-options policy-statement string entry number from cluster-id none-cluster-list boolean | |
Tree | none-cluster-list | |
Default | false | |
Notes | The following elements are part of a choice: ip-address or none-cluster-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
color number
Synopsis | Color ID as a match criterion | |
Context | configure policy-options policy-statement string entry number from color number | |
Tree | color | |
Description | This command configures an SR Policy color ID as a route policy match criterion. This match criterion is only used in import policies. | |
Range | 0 to 4294967295 | |
Introduced | 20.10.R1 | |
Platforms | All |
community
Synopsis | Enter the community context | |
Context | configure policy-options policy-statement string entry number from community | |
Tree | community | |
Introduced | 16.0.R1 | |
Platforms | All |
count
Synopsis | Enter the count context | |
Context | configure policy-options policy-statement string entry number from community count | |
Tree | count | |
Introduced | 16.0.R1 | |
Platforms | All |
qualifier keyword
Synopsis | Higher or lower values to be accepted as match criteria | |
Context | configure policy-options policy-statement string entry number from community count qualifier keyword | |
Tree | qualifier | |
Default | equal | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
type keyword
Synopsis | Community count to match the community count criteria | |
Context | configure policy-options policy-statement string entry number from community count type keyword | |
Tree | type | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
value (number | string)
Synopsis | Number of BGP communities to match the BGP route | |
Context | configure policy-options policy-statement string entry number from community count value (number | string) | |
Tree | value | |
String Length | 1 to 32 | |
Range | 0 to 1024 | |
Introduced | 16.0.R1 | |
Platforms | All |
expression string
Synopsis | Community expression name as a match criterion | |
Context | configure policy-options policy-statement string entry number from community expression string | |
Tree | expression | |
String Length | 1 to 900 | |
Notes | The following elements are part of a choice: expression or name. | |
Introduced | 16.0.R1 | |
Platforms | All |
name (param-midstring-64 | string)
Synopsis | Community list name | |
Context | configure policy-options policy-statement string entry number from community name (param-midstring-64 | string) | |
Tree | name | |
String Length | 1 to 64 | |
Notes | The following elements are part of a choice: expression or name. | |
Introduced | 16.0.R1 | |
Platforms | All |
distinguisher number
Synopsis | SR policy distinguisher as a match criterion | |
Context | configure policy-options policy-statement string entry number from distinguisher number | |
Tree | distinguisher | |
Description | This command configures an SR Policy distinguisher as a route policy match criterion. This match criterion is only used in import policies. | |
Range | 0 to 4294967295 | |
Introduced | 20.10.R1 | |
Platforms | All |
endpoint (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | SR policy endpoint address as a match criterion | |
Context | configure policy-options policy-statement string entry number from endpoint (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | endpoint | |
Description | This command configures an SR Policy endpoint address as a route policy match criterion. This match criterion is only used in import policies. | |
Introduced | 20.10.R1 | |
Platforms | All |
evpn-type keyword
Synopsis | EVPN type as a match criterion for the entry | |
Context | configure policy-options policy-statement string entry number from evpn-type keyword | |
Tree | evpn-type | |
Options | ||
Introduced | 16.0.R4 | |
Platforms | All |
external boolean
Synopsis | Specify the external IS-IS route as a match criterion | |
Context | configure policy-options policy-statement string entry number from external boolean | |
Tree | external | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
family keyword
Synopsis | Address family as the match condition | |
Context | configure policy-options policy-statement string entry number from family keyword | |
Tree | family | |
Options | ||
Max. Instances | 20 | |
Introduced | 16.0.R1 | |
Platforms |
All |
flowspec
Synopsis | Enter the flowspec context | |
Context | configure policy-options policy-statement string entry number from flowspec | |
Tree | flowspec | |
Introduced | 16.0.R4 | |
Platforms | All |
dest (param-midstring | string)
Synopsis | BGP FlowSpec route matches per destination IP prefix | |
Context | configure policy-options policy-statement string entry number from flowspec dest (param-midstring | string) | |
Tree | dest | |
String Length | 1 to 32 | |
Introduced | 16.0.R4 | |
Platforms | All |
source (param-midstring | string)
Synopsis | BGP FlowSpec route matches per the source IP prefix | |
Context | configure policy-options policy-statement string entry number from flowspec source (param-midstring | string) | |
Tree | source | |
String Length | 1 to 32 | |
Introduced | 16.0.R4 | |
Platforms | All |
group-address (param-midstring | string)
Synopsis | Prefix list of multicast group addresses for mathcing | |
Context | configure policy-options policy-statement string entry number from group-address (param-midstring | string) | |
Tree | group-address | |
String Length | 1 to 32 | |
Introduced | 16.0.R1 | |
Platforms | All |
host-ip (param-midstring | string)
Synopsis | Prefix list of IGMP host IP addresses for matching | |
Context | configure policy-options policy-statement string entry number from host-ip (param-midstring | string) | |
Tree | host-ip | |
String Length | 1 to 32 | |
Introduced | 16.0.R1 | |
Platforms | All |
interface (named-item | interface-name | interface-name | interface-name)
Synopsis | Interface name as match criterion | |
Context | configure policy-options policy-statement string entry number from interface (named-item | interface-name | interface-name | interface-name) | |
Tree | interface | |
String Length | 1 to 32 | |
Max. Instances | 1 | |
Notes | This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms | All |
interface-subnets
Synopsis | Enter the interface-subnets context | |
Context | configure policy-options policy-statement string entry number from interface-subnets | |
Tree | interface-subnets | |
Description | 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:
| |
Introduced | 21.2.R1 | |
Platforms | All |
ip-int-name string
Synopsis | Interface name as the match criterion | |
Context | configure policy-options policy-statement string entry number from interface-subnets ip-int-name string | |
Tree | ip-int-name | |
Description | This command specifies the interface name to match when exporting the IP address of the associated interface to a routing protocol. | |
String Length | 1 to 32 | |
Max. Instances | 10 | |
Notes | This element is ordered by the user. | |
Introduced | 21.2.R1 | |
Platforms | All |
service string
Synopsis | Service ID of the interface subnets | |
Context | configure policy-options policy-statement string entry number from interface-subnets service string | |
Tree | service | |
Default | Base | |
Introduced | 21.2.R1 | |
Platforms | All |
level number
Synopsis | IS-IS route level as a match criterion | |
Context | configure policy-options policy-statement string entry number from level number | |
Tree | level | |
Range | 1 to 2 | |
Introduced | 16.0.R1 | |
Platforms | All |
local-preference
Synopsis | Enter the local-preference context | |
Context | configure policy-options policy-statement string entry number from local-preference | |
Tree | local-preference | |
Introduced | 16.0.R1 | |
Platforms | All |
qualifier keyword
Synopsis | Higher or lower values to be accepted as match criteria | |
Context | configure policy-options policy-statement string entry number from local-preference qualifier keyword | |
Tree | qualifier | |
Default | equal | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
value (number | string)
Synopsis | BGP routes per local preference value or variable name | |
Context | configure policy-options policy-statement string entry number from local-preference value (number | string) | |
Tree | value | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 16.0.R1 | |
Platforms | All |
metric
Synopsis | Enter the metric context | |
Context | configure policy-options policy-statement string entry number from metric | |
Tree | metric | |
Introduced | 16.0.R1 | |
Platforms | All |
qualifier keyword
Synopsis | Higher or lower values to be accepted as match criteria | |
Context | configure policy-options policy-statement string entry number from metric qualifier keyword | |
Tree | qualifier | |
Default | equal | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
value (number | string)
Synopsis | Local preference value or variable name | |
Context | configure policy-options policy-statement string entry number from metric value (number | string) | |
Tree | value | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 16.0.R1 | |
Platforms | All |
mvpn-type keyword
Synopsis | MVPN type as a match criterion for the entry | |
Context | configure policy-options policy-statement string entry number from mvpn-type keyword | |
Tree | mvpn-type | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
neighbor
Synopsis | Enter the neighbor context | |
Context | configure policy-options policy-statement string entry number from neighbor | |
Tree | neighbor | |
Introduced | 16.0.R1 | |
Platforms | All |
ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
Synopsis | IP address to match the neighbor | |
Context | 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) | |
Tree | ip-address | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
prefix-list (param-midstring | string)
Synopsis | Name to match the neighbor prefix list | |
Context | configure policy-options policy-statement string entry number from neighbor prefix-list (param-midstring | string) | |
Tree | prefix-list | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
next-hop
Synopsis | Enter the next-hop context | |
Context | configure policy-options policy-statement string entry number from next-hop | |
Tree | next-hop | |
Introduced | 16.0.R1 | |
Platforms | All |
ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | IP address of the next hop to match | |
Context | configure policy-options policy-statement string entry number from next-hop ip-address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | ip-address | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
prefix-list (param-midstring | string)
Synopsis | Name of a next hop prefix list to match | |
Context | configure policy-options policy-statement string entry number from next-hop prefix-list (param-midstring | string) | |
Tree | prefix-list | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
origin keyword
Synopsis | Route origin match criteria | |
Context | configure policy-options policy-statement string entry number from origin keyword | |
Tree | origin | |
Description | 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. | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
origin-validation-state keyword
Synopsis | Origin validation state used for match criteria | |
Context | configure policy-options policy-statement string entry number from origin-validation-state keyword | |
Tree | origin-validation-state | |
Description | This command specifies a validation state that is used to match BGP routes based on their origin validation state. | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
ospf-type number
Synopsis | OSPF type metric applied to unmatching route entries | |
Context | configure policy-options policy-statement string entry number from ospf-type number | |
Tree | ospf-type | |
Range | 1 to 2 | |
Introduced | 16.0.R1 | |
Platforms | All |
path-type keyword
Synopsis | Path type as a match criterion | |
Context | configure policy-options policy-statement string entry number from path-type keyword | |
Tree | path-type | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
policy (string | string)
Synopsis | Policy statement as a match criterion | |
Context | configure policy-options policy-statement string entry number from policy (string | string) | |
Tree | policy | |
String Length | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | All |
policy-variables
Synopsis | Enter the policy-variables context | |
Context | configure policy-options policy-statement string entry number from policy-variables | |
Tree | policy-variables | |
Introduced | 16.0.R1 | |
Platforms | All |
name [variable-name] string
Synopsis | Enter the name list instance | |
Context | configure policy-options policy-statement string entry number from policy-variables name string | |
Tree | name | |
Max. Instances | 10 | |
Introduced | 16.0.R1 | |
Platforms | All |
[variable-name] string
Synopsis | Global variable name used to reference policy functions | |
Context | configure policy-options policy-statement string entry number from policy-variables name string | |
Tree | name | |
String Length | 1 to 32 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
address (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | IP address of the policy variable | |
Context | configure policy-options policy-statement string entry number from policy-variables name string address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | address | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 16.0.R1 | |
Platforms | All |
decimal decimal-number
Synopsis | Attribute decimal to which variable name is resolved | |
Context | configure policy-options policy-statement string entry number from policy-variables name string decimal decimal-number | |
Tree | decimal | |
Range | 0.000 to 4294967295.000 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 19.7.R1 | |
Platforms | All |
number number
Synopsis | Numerical value of the policy variable | |
Context | configure policy-options policy-statement string entry number from policy-variables name string number number | |
Tree | number | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 16.0.R1 | |
Platforms | All |
value string
Synopsis | Policy variable value | |
Context | configure policy-options policy-statement string entry number from policy-variables name string value string | |
Tree | value | |
String Length | 1 to 32 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 16.0.R1 | |
Platforms | All |
prefix-list (param-midstring-64 | string)
Synopsis | Prefix list as match criterion | |
Context | configure policy-options policy-statement string entry number from prefix-list (param-midstring-64 | string) | |
Tree | prefix-list | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms | All |
protocol
Synopsis | Enter the protocol context | |
Context | configure policy-options policy-statement string entry number from protocol | |
Tree | protocol | |
Description | 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. | |
Introduced | 16.0.R1 | |
Platforms | All |
instance (keyword | number)
Synopsis | Instance for protocol IS-IS, OSPF, or OSPFv3 to match | |
Context | configure policy-options policy-statement string entry number from protocol instance (keyword | number) | |
Tree | instance | |
Description | 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). | |
Range | 0 to 127 | |
Default | 0 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
name keyword
Synopsis | List of protocol names as the match criterion | |
Context | configure policy-options policy-statement string entry number from protocol name keyword | |
Tree | name | |
Description | 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. | |
Options | ||
Max. Instances | 5 | |
Introduced | 16.0.R1 | |
Platforms | All |
route-distinguisher-list (param-midstring-64 | string)
Synopsis | Route Distinguisher list as a match criterion | |
Context | configure policy-options policy-statement string entry number from route-distinguisher-list (param-midstring-64 | string) | |
Tree | route-distinguisher-list | |
Description | This command specifies the (possibly parameterized) name of a route distinguisher (RD) list. This match condition is supported by policies applied as VRF-import or BGP peer import policies. A BGP route can match a policy entry with this match criterion if the NLRI field contains an RD that is matched by at least one of the entries in the RD list. BGP routes belonging to address families other than VPN-IPv4, VPN-IPv6, MCAST-VPN-IPv4, MCAST-VPN-IPv6, EVPN, FlowSpec-VPN IPv4, FlowSpec-VPN IPv6, MVPN-IPv4, or MVPN-IPv6 route do not match policy entries with this match criterion. | |
String Length | 1 to 64 | |
Introduced | 23.3.R1 | |
Platforms | All |
source-address
Synopsis | Enter the source-address context | |
Context | configure policy-options policy-statement string entry number from source-address | |
Tree | source-address | |
Introduced | 16.0.R1 | |
Platforms | All |
ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | Source IP address to match | |
Context | configure policy-options policy-statement string entry number from source-address ip-address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | ip-address | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
prefix-list (param-midstring | string)
Synopsis | Name of a source address prefix list to match | |
Context | configure policy-options policy-statement string entry number from source-address prefix-list (param-midstring | string) | |
Tree | prefix-list | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
state keyword
Synopsis | State used as a match criterion | |
Context | configure policy-options policy-statement string entry number from state keyword | |
Tree | state | |
Description | 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. | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
tag (number | keyword)
Synopsis | Route tag used as a match criterion | |
Context | configure policy-options policy-statement string entry number from tag (number | keyword) | |
Tree | tag | |
Range | 1 to 4294967295 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms | All |
to
Synopsis | Enable the to context | |
Context | configure policy-options policy-statement string entry number to | |
Tree | to | |
Introduced | 16.0.R1 | |
Platforms | All |
level number
Synopsis | IS-IS route level as a match criterion | |
Context | configure policy-options policy-statement string entry number to level number | |
Tree | level | |
Range | 1 to 2 | |
Introduced | 16.0.R1 | |
Platforms | All |
neighbor
Synopsis | Enter the neighbor context | |
Context | configure policy-options policy-statement string entry number to neighbor | |
Tree | neighbor | |
Introduced | 16.0.R1 | |
Platforms | All |
ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
Synopsis | IP address to match the neighbor | |
Context | 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) | |
Tree | ip-address | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
prefix-list (param-midstring | string)
Synopsis | Name to match the neighbor prefix list | |
Context | configure policy-options policy-statement string entry number to neighbor prefix-list (param-midstring | string) | |
Tree | prefix-list | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 16.0.R1 | |
Platforms | All |
prefix-list (param-midstring-64 | string)
Synopsis | Prefix list as match criterion | |
Context | configure policy-options policy-statement string entry number to prefix-list (param-midstring-64 | string) | |
Tree | prefix-list | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | This element is ordered by the user. | |
Introduced | 16.0.R1 | |
Platforms | All |
protocol
Synopsis | Enter the protocol context | |
Context | configure policy-options policy-statement string entry number to protocol | |
Tree | protocol | |
Introduced | 16.0.R1 | |
Platforms | All |
instance (keyword | number)
Synopsis | Instance for the IS-IS, OSPF, or OSPF3 protocol | |
Context | configure policy-options policy-statement string entry number to protocol instance (keyword | number) | |
Tree | instance | |
Range | 0 to 127 | |
Default | 0 | |
Options | ||
Introduced | 16.0.R1 | |
Platforms |
All |
name keyword
Synopsis | Protocol name to match | |
Context | configure policy-options policy-statement string entry number to protocol name keyword | |
Tree | name | |
Options | ||
Max. Instances | 2 | |
Introduced | 16.0.R1 | |
Platforms | All |
entry-type keyword
Synopsis | The entry type for a route policy entry | |
Context | configure policy-options policy-statement string entry-type keyword | |
Tree | entry-type | |
Default | numbered | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
named-entry [entry-name] string
Synopsis | Enter the named-entry list instance | |
Context | configure policy-options policy-statement string named-entry string | |
Tree | named-entry | |
Max. Instances | 16384 | |
Notes | This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms | All |
[entry-name] string
Synopsis | Route policy entry name | |
Context | configure policy-options policy-statement string named-entry string | |
Tree | named-entry | |
String Length | 1 to 255 | |
Notes | This element is part of a list key. | |
Introduced | 19.10.R1 | |
Platforms | All |
action
Synopsis | Enable the action context | |
Context | configure policy-options policy-statement string named-entry string action | |
Tree | action | |
Introduced | 19.10.R1 | |
Platforms | All |
action-type keyword
Synopsis | Action type for routes matching the route policy entry | |
Context | configure policy-options policy-statement string named-entry string action action-type keyword | |
Tree | action-type | |
Options | ||
Notes | This element is mandatory. | |
Introduced | 19.10.R1 | |
Platforms | All |
add-paths-send-limit (number | keyword)
Synopsis | BGP Add-Paths send limit applied for routes | |
Context | configure policy-options policy-statement string named-entry string action add-paths-send-limit (number | keyword) | |
Tree | add-paths-send-limit | |
Range | 1 to 16 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
admin-tag-policy (param-midstring-64 | string)
Synopsis | Administrative tag policy name | |
Context | configure policy-options policy-statement string named-entry string action admin-tag-policy (param-midstring-64 | string) | |
Tree | admin-tag-policy | |
String Length | 1 to 64 | |
Introduced | 19.10.R1 | |
Platforms | All |
advertise-label keyword
Synopsis | Label allocation for matched BGP routes | |
Context | configure policy-options policy-statement string named-entry string action advertise-label keyword | |
Tree | advertise-label | |
Description | 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. | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
aigp-metric
Synopsis | Enter the aigp-metric context | |
Context | configure policy-options policy-statement string named-entry string action aigp-metric | |
Tree | aigp-metric | |
Introduced | 19.10.R1 | |
Platforms | All |
add (number | string)
Synopsis | AIGP metric to add | |
Context | configure policy-options policy-statement string named-entry string action aigp-metric add (number | string) | |
Tree | add | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add or set. | |
Introduced | 19.10.R1 | |
Platforms | All |
set (keyword | number | string)
Synopsis | AIGP metric | |
Context | configure policy-options policy-statement string named-entry string action aigp-metric set (keyword | number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Options | ||
Notes | The following elements are part of a choice: add or set. | |
Introduced | 19.10.R1 | |
Platforms | All |
as-path
Synopsis | Enter the as-path context | |
Context | configure policy-options policy-statement string named-entry string action as-path | |
Tree | as-path | |
Introduced | 19.10.R1 | |
Platforms | All |
add (param-midstring | string)
Synopsis | AS path to add | |
Context | configure policy-options policy-statement string named-entry string action as-path add (param-midstring | string) | |
Tree | add | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: add or replace. | |
Introduced | 19.10.R1 | |
Platforms | All |
replace (param-midstring | string)
Synopsis | AS path to replace | |
Context | configure policy-options policy-statement string named-entry string action as-path replace (param-midstring | string) | |
Tree | replace | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: add or replace. | |
Introduced | 19.10.R1 | |
Platforms | All |
as-path-prepend
Synopsis | Enter the as-path-prepend context | |
Context | configure policy-options policy-statement string named-entry string action as-path-prepend | |
Tree | as-path-prepend | |
Introduced | 19.10.R1 | |
Platforms | All |
as-path (number | string | keyword)
Synopsis | AS number to prepend to the AS path attribute | |
Context | configure policy-options policy-statement string named-entry string action as-path-prepend as-path (number | string | keyword) | |
Tree | as-path | |
String Length | 1 to 32 | |
Range | 1 to 4294967295 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
repeat (number | string)
Synopsis | Number of times to prepend the specified AS number | |
Context | configure policy-options policy-statement string named-entry string action as-path-prepend repeat (number | string) | |
Tree | repeat | |
String Length | 1 to 32 | |
Range | 1 to 50 | |
Default | 1 | |
Introduced | 19.10.R1 | |
Platforms | All |
bgp-high-priority boolean
Synopsis | Tag routes as high priority for fast table updates | |
Context | configure policy-options policy-statement string named-entry string action bgp-high-priority boolean | |
Tree | bgp-high-priority | |
Description | 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:
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 to false, no routes are tagged for faster route table updates. | |
Default | false | |
Introduced | 20.5.R1 | |
Platforms | All |
bgp-leak boolean
Synopsis | Allow leaking for BGP routes | |
Context | configure policy-options policy-statement string named-entry string action bgp-leak boolean | |
Tree | bgp-leak | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
bgp-med
Synopsis | Enter the bgp-med context | |
Context | configure policy-options policy-statement string named-entry string action bgp-med | |
Tree | bgp-med | |
Introduced | 19.10.R1 | |
Platforms | All |
adjust string
Synopsis | BGP-MED adjustment | |
Context | configure policy-options policy-statement string named-entry string action bgp-med adjust string | |
Tree | adjust | |
String Length | 1 to 64 | |
Notes | The following elements are part of a choice: adjust or set. | |
Introduced | 19.10.R1 | |
Platforms | All |
set (keyword | number | string)
Synopsis | BGP-MED assignment | |
Context | configure policy-options policy-statement string named-entry string action bgp-med set (keyword | number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Options | ||
Notes | The following elements are part of a choice: adjust or set. | |
Introduced | 19.10.R1 | |
Platforms | All |
bgp-tunnel-metric
Synopsis | Enter the bgp-tunnel-metric context | |
Context | configure policy-options policy-statement string named-entry string action bgp-tunnel-metric | |
Tree | bgp-tunnel-metric | |
Description | 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. | |
Introduced | 20.5.R1 | |
Platforms | All |
prefer-aigp boolean
Synopsis | Use AIGP attribute as tunnel metric when present | |
Context | configure policy-options policy-statement string named-entry string action bgp-tunnel-metric prefer-aigp boolean | |
Tree | prefer-aigp | |
Description | 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. | |
Default | false | |
Introduced | 20.5.R1 | |
Platforms | All |
prefer-med boolean
Synopsis | Use MED attribute as tunnel metric when present | |
Context | configure policy-options policy-statement string named-entry string action bgp-tunnel-metric prefer-med boolean | |
Tree | prefer-med | |
Description | When configured to true, if a BGP-LU route is selected for installation in the TTM and is matched by this action in a BGP import policy, the TTM metric of the tunnel is set to the MED metric value of the BGP-LU route with the IGP cost to reach the BGP next hop added to it. When configured to false, the BGP tunnel metric associated with the BGP-LU route accepted by this policy action is not determined using the MED attribute. | |
Default | false | |
Introduced | 23.3.R1 | |
Platforms | All |
value (string | number)
Synopsis | BGP tunnel table metric value | |
Context | configure policy-options policy-statement string named-entry string action bgp-tunnel-metric value (string | number) | |
Tree | value | |
Description | 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:
| |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 20.5.R1 | |
Platforms | All |
community
Synopsis | Enter the community context | |
Context | configure policy-options policy-statement string named-entry string action community | |
Tree | community | |
Introduced | 19.10.R1 | |
Platforms | All |
add (param-midstring-64 | string)
Synopsis | List of community names to add | |
Context | configure policy-options policy-statement string named-entry string action community add (param-midstring-64 | string) | |
Tree | add | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms |
All |
remove (param-midstring-64 | string)
Synopsis | List of community names to remove | |
Context | configure policy-options policy-statement string named-entry string action community remove (param-midstring-64 | string) | |
Tree | remove | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms |
All |
replace (param-midstring-64 | string)
Synopsis | List of community names to replace | |
Context | configure policy-options policy-statement string named-entry string action community replace (param-midstring-64 | string) | |
Tree | replace | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | The following elements are part of a choice: (add and remove) or replace. This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms |
All |
create-mpls-tunnel boolean
Synopsis | Create an MPLS tunnel | |
Context | configure policy-options policy-statement string named-entry string action create-mpls-tunnel boolean | |
Tree | create-mpls-tunnel | |
Description | When configured to true, the router creates an MPLS tunnel. This command is supported for only the following address families:
| |
Default | false | |
Introduced | 21.10.R1 | |
Platforms |
All |
create-udp-tunnel boolean
Synopsis | Create an MPLS-over-UDP tunnel | |
Context | configure policy-options policy-statement string named-entry string action create-udp-tunnel boolean | |
Tree | create-udp-tunnel | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
damping (keyword | param-midstring | string)
Synopsis | Damping profile used for routes | |
Context | configure policy-options policy-statement string named-entry string action damping (keyword | param-midstring | string) | |
Tree | damping | |
String Length | 1 to 32 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
dest-class number
Synopsis | Default destination class for the policy statement | |
Context | configure policy-options policy-statement string named-entry string action dest-class number | |
Tree | dest-class | |
Description | This command specifies the policy accounting destination class index to associate with matched routes. | |
Range | 1 to 255 | |
Introduced | 19.10.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS |
egress-statistics boolean
Synopsis | Enable egress statistics for BGP-LU routes | |
Context | configure policy-options policy-statement string named-entry string action egress-statistics boolean | |
Tree | egress-statistics | |
Description | 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. | |
Default | false | |
Introduced | 20.10.R1 | |
Platforms | All |
flex-algo (string | number)
Synopsis | Flexible algorithm for BGP next-hop autobind operation | |
Context | configure policy-options policy-statement string named-entry string action flex-algo (string | number) | |
Tree | flex-algo | |
Description | 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. | |
String Length | 1 to 32 | |
Range | 128 to 255 | |
Introduced | 20.10.R1 | |
Platforms | All |
forwarding-class
Synopsis | Enter the forwarding-class context | |
Context | configure policy-options policy-statement string named-entry string action forwarding-class | |
Tree | forwarding-class | |
Introduced | 19.10.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS |
fc keyword
Synopsis | Forwarding class associated with the route | |
Context | configure policy-options policy-statement string named-entry string action forwarding-class fc keyword | |
Tree | fc | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS |
priority keyword
Synopsis | Route priority | |
Context | configure policy-options policy-statement string named-entry string action forwarding-class priority keyword | |
Tree | priority | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS |
ingress-statistics boolean
Synopsis | Enable ingress statistics for BGP-LU routes | |
Context | configure policy-options policy-statement string named-entry string action ingress-statistics boolean | |
Tree | ingress-statistics | |
Description | 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. | |
Default | false | |
Introduced | 20.10.R1 | |
Platforms | All |
install-backup-path boolean
Synopsis | Install a preprogrammed backup path for the prefix | |
Context | configure policy-options policy-statement string named-entry string action install-backup-path boolean | |
Tree | install-backup-path | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
local-preference (number | string)
Synopsis | BGP local preference for routes not matching any entry | |
Context | configure policy-options policy-statement string named-entry string action local-preference (number | string) | |
Tree | local-preference | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 19.10.R1 | |
Platforms | All |
metric
Synopsis | Enter the metric context | |
Context | configure policy-options policy-statement string named-entry string action metric | |
Tree | metric | |
Introduced | 19.10.R1 | |
Platforms | All |
add (number | string)
Synopsis | Metric to add | |
Context | configure policy-options policy-statement string named-entry string action metric add (number | string) | |
Tree | add | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 19.10.R1 | |
Platforms | All |
set (number | string)
Synopsis | Metric to assign | |
Context | configure policy-options policy-statement string named-entry string action metric set (number | string) | |
Tree | set | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 19.10.R1 | |
Platforms | All |
subtract (number | string)
Synopsis | Metric to subtract | |
Context | configure policy-options policy-statement string named-entry string action metric subtract (number | string) | |
Tree | subtract | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a choice: add, set, or subtract. | |
Introduced | 19.10.R1 | |
Platforms | All |
multicast-redirection
Synopsis | Enter the multicast-redirection context | |
Context | configure policy-options policy-statement string named-entry string action multicast-redirection | |
Tree | multicast-redirection | |
Introduced | 19.10.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
fwd-service string
Synopsis | Service ID for multicast redirection | |
Context | configure policy-options policy-statement string named-entry string action multicast-redirection fwd-service string | |
Tree | fwd-service | |
Default | Base | |
Introduced | 19.10.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
ip-int-name string
Synopsis | Alternate interface where IGMP messages are redirected | |
Context | configure policy-options policy-statement string named-entry string action multicast-redirection ip-int-name string | |
Tree | ip-int-name | |
String Length | 1 to 32 | |
Introduced | 19.10.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
nat-policy (param-midstring | string)
Synopsis | BGP-VPN imported route and a NAT policy association | |
Context | configure policy-options policy-statement string named-entry string action nat-policy (param-midstring | string) | |
Tree | nat-policy | |
Description | 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. | |
String Length | 1 to 32 | |
Introduced | 21.5.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR |
next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string)
Synopsis | Next-hop IP address applied to routes | |
Context | configure policy-options policy-statement string named-entry string action next-hop (keyword | ipv4-address-no-zone | ipv6-address-no-zone | string) | |
Tree | next-hop | |
String Length | 1 to 32 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
All |
origin (keyword | string)
Synopsis | BGP origin for routes that are exported into BGP | |
Context | configure policy-options policy-statement string named-entry string action origin (keyword | string) | |
Tree | origin | |
String Length | 1 to 32 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
origin-validation-state (keyword | string)
Synopsis | Origin validation state for routes | |
Context | configure policy-options policy-statement string named-entry string action origin-validation-state (keyword | string) | |
Tree | origin-validation-state | |
String Length | 1 to 32 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
preference (number | string)
Synopsis | Route preference applied to routes | |
Context | configure policy-options policy-statement string named-entry string action preference (number | string) | |
Tree | preference | |
String Length | 1 to 32 | |
Range | 1 to 255 | |
Introduced | 19.10.R1 | |
Platforms |
All |
resolve-static boolean
Synopsis | Resolve next hop of a static route for the BGP next hop | |
Context | configure policy-options policy-statement string named-entry string action resolve-static boolean | |
Tree | resolve-static | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
route-table-install boolean
Synopsis | Allow BGP route installation in the route table | |
Context | configure policy-options policy-statement string named-entry string action route-table-install boolean | |
Tree | route-table-install | |
Default | true | |
Introduced | 19.10.R1 | |
Platforms | All |
source-class number
Synopsis | Default source class for the policy statement | |
Context | configure policy-options policy-statement string named-entry string action source-class number | |
Tree | source-class | |
Description | This command specifies the policy accounting source class index to associate with matched routes. | |
Range | 1 to 255 | |
Introduced | 19.10.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS |
sr-label-index
Synopsis | Enter the sr-label-index context | |
Context | configure policy-options policy-statement string named-entry string action sr-label-index | |
Tree | sr-label-index | |
Description | 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. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefer-igp boolean
Synopsis | Use the SR label index from the IGP route when present | |
Context | configure policy-options policy-statement string named-entry string action sr-label-index prefer-igp boolean | |
Tree | prefer-igp | |
Description | 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. | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
value (string | number)
Synopsis | BGP SR label index associated with routes | |
Context | configure policy-options policy-statement string named-entry string action sr-label-index value (string | number) | |
Tree | value | |
Description | 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. | |
String Length | 1 to 32 | |
Range | 0 to 524287 | |
Introduced | 19.10.R1 | |
Platforms | All |
sr-maintenance-policy (param-midstring | string)
Synopsis | SR maintenance policy as an action | |
Context | configure policy-options policy-statement string named-entry string action sr-maintenance-policy (param-midstring | string) | |
Tree | sr-maintenance-policy | |
Description | This command applies a named segment routing maintenance policy as an action for route policies. It is only used for SR policy routes. | |
String Length | 1 to 32 | |
Introduced | 20.10.R1 | |
Platforms | All |
srv6-return-path-bfd-sid (policy-var-name | ipv6-address)
Synopsis | SRv6 return path BFD SID applied to SRv6 policy routes | |
Context | configure policy-options policy-statement string named-entry string action srv6-return-path-bfd-sid (policy-var-name | ipv6-address) | |
Tree | srv6-return-path-bfd-sid | |
Description | This command configures the S-BFD session to echo mode and pushes an additional SRv6 SID in the SRH only for S-BFD packets sent on the imported SRv6 policy. | |
String Length | 1 to 32 | |
Introduced | 23.3.R1 | |
Platforms | All |
sticky-ecmp boolean
Synopsis | Specify the sticky ECMP flag for BGP ECMP routes | |
Context | configure policy-options policy-statement string named-entry string action sticky-ecmp boolean | |
Tree | sticky-ecmp | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
tag (number | string)
Synopsis | OSPF RIP or IS-IS tag applied to routes | |
Context | configure policy-options policy-statement string named-entry string action tag (number | string) | |
Tree | tag | |
String Length | 1 to 32 | |
Range | 1 to 4294967295 | |
Introduced | 19.10.R1 | |
Platforms | All |
type (number | string)
Synopsis | OSPF metric type applied to routes | |
Context | configure policy-options policy-statement string named-entry string action type (number | string) | |
Tree | type | |
String Length | 1 to 32 | |
Range | 1 to 2 | |
Introduced | 19.10.R1 | |
Platforms |
All |
conditional-expression
Synopsis | Enable the conditional-expression context | |
Context | configure policy-options policy-statement string named-entry string conditional-expression | |
Tree | conditional-expression | |
Introduced | 19.10.R1 | |
Platforms | All |
route-exists string
Synopsis | Conditional expression to test route existence | |
Context | configure policy-options policy-statement string named-entry string conditional-expression route-exists string | |
Tree | route-exists | |
String Length | 1 to 255 | |
Introduced | 19.10.R1 | |
Platforms | All |
description string
Synopsis | Text description | |
Context | configure policy-options policy-statement string named-entry string description string | |
Tree | description | |
String Length | 1 to 80 | |
Introduced | 19.10.R1 | |
Platforms | All |
from
Synopsis | Enable the from context | |
Context | configure policy-options policy-statement string named-entry string from | |
Tree | from | |
Introduced | 19.10.R1 | |
Platforms | All |
aggregate-contributor boolean
Synopsis | Enable aggregate route match criterion | |
Context | configure policy-options policy-statement string named-entry string from aggregate-contributor boolean | |
Tree | aggregate-contributor | |
Description | 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. | |
Default | false | |
Introduced | 20.10.R1 | |
Platforms | All |
area string
Synopsis | OSPF area as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from area string | |
Tree | area | |
Introduced | 19.10.R1 | |
Platforms | All |
as-path
Synopsis | Enter the as-path context | |
Context | configure policy-options policy-statement string named-entry string from as-path | |
Tree | as-path | |
Introduced | 19.10.R1 | |
Platforms | All |
group (param-midstring | string)
Synopsis | AS path group as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from as-path group (param-midstring | string) | |
Tree | group | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: group or name. | |
Introduced | 19.10.R1 | |
Platforms | All |
length
Synopsis | Enter the length context | |
Context | configure policy-options policy-statement string named-entry string from as-path length | |
Tree | length | |
Introduced | 19.10.R1 | |
Platforms | All |
qualifier keyword
Synopsis | Higher or lower values to be accepted as match criteria | |
Context | configure policy-options policy-statement string named-entry string from as-path length qualifier keyword | |
Tree | qualifier | |
Default | equal | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
All |
unique boolean
Synopsis | Use unique AS numbers as matching criteria | |
Context | configure policy-options policy-statement string named-entry string from as-path length unique boolean | |
Tree | unique | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
value (number | string)
Synopsis | AS numbers in the AS path that match on the BGP route | |
Context | configure policy-options policy-statement string named-entry string from as-path length value (number | string) | |
Tree | value | |
String Length | 1 to 32 | |
Range | 0 to 255 | |
Introduced | 19.10.R1 | |
Platforms |
All |
name (param-midstring | string)
Synopsis | AS path name to match | |
Context | configure policy-options policy-statement string named-entry string from as-path name (param-midstring | string) | |
Tree | name | |
Description | 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@". | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: group or name. | |
Introduced | 19.10.R1 | |
Platforms | All |
cluster-id
Synopsis | Enter the cluster-id context | |
Context | configure policy-options policy-statement string named-entry string from cluster-id | |
Tree | cluster-id | |
Introduced | 19.10.R1 | |
Platforms | All |
ip-address string
Synopsis | Cluster list attribute IP addresses for route matching | |
Context | configure policy-options policy-statement string named-entry string from cluster-id ip-address string | |
Tree | ip-address | |
Max. Instances | 5 | |
Notes | The following elements are part of a choice: ip-address or none-cluster-list. This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms |
All |
none-cluster-list boolean
Synopsis | Specify matching BGP routes without a cluster ID | |
Context | configure policy-options policy-statement string named-entry string from cluster-id none-cluster-list boolean | |
Tree | none-cluster-list | |
Default | false | |
Notes | The following elements are part of a choice: ip-address or none-cluster-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
color number
Synopsis | Color ID as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from color number | |
Tree | color | |
Description | This command configures an SR Policy color ID as a route policy match criterion. This match criterion is only used in import policies. | |
Range | 0 to 4294967295 | |
Introduced | 20.10.R1 | |
Platforms | All |
community
Synopsis | Enter the community context | |
Context | configure policy-options policy-statement string named-entry string from community | |
Tree | community | |
Introduced | 19.10.R1 | |
Platforms | All |
count
Synopsis | Enter the count context | |
Context | configure policy-options policy-statement string named-entry string from community count | |
Tree | count | |
Introduced | 19.10.R1 | |
Platforms | All |
qualifier keyword
Synopsis | Higher or lower values to be accepted as match criteria | |
Context | configure policy-options policy-statement string named-entry string from community count qualifier keyword | |
Tree | qualifier | |
Default | equal | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
All |
type keyword
Synopsis | Community count to match the community count criteria | |
Context | configure policy-options policy-statement string named-entry string from community count type keyword | |
Tree | type | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
value (number | string)
Synopsis | Number of BGP communities to match the BGP route | |
Context | configure policy-options policy-statement string named-entry string from community count value (number | string) | |
Tree | value | |
String Length | 1 to 32 | |
Range | 0 to 1024 | |
Introduced | 19.10.R1 | |
Platforms | All |
expression string
Synopsis | Community expression name as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from community expression string | |
Tree | expression | |
String Length | 1 to 900 | |
Notes | The following elements are part of a choice: expression or name. | |
Introduced | 19.10.R1 | |
Platforms | All |
name (param-midstring-64 | string)
Synopsis | Community list name | |
Context | configure policy-options policy-statement string named-entry string from community name (param-midstring-64 | string) | |
Tree | name | |
String Length | 1 to 64 | |
Notes | The following elements are part of a choice: expression or name. | |
Introduced | 19.10.R1 | |
Platforms | All |
distinguisher number
Synopsis | SR policy distinguisher as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from distinguisher number | |
Tree | distinguisher | |
Description | This command configures an SR Policy distinguisher as a route policy match criterion. This match criterion is only used in import policies. | |
Range | 0 to 4294967295 | |
Introduced | 20.10.R1 | |
Platforms | All |
endpoint (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | SR policy endpoint address as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from endpoint (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | endpoint | |
Description | This command configures an SR Policy endpoint address as a route policy match criterion. This match criterion is only used in import policies. | |
Introduced | 20.10.R1 | |
Platforms | All |
evpn-type keyword
Synopsis | EVPN type as a match criterion for the entry | |
Context | configure policy-options policy-statement string named-entry string from evpn-type keyword | |
Tree | evpn-type | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
external boolean
Synopsis | Specify the external IS-IS route as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from external boolean | |
Tree | external | |
Default | false | |
Introduced | 19.10.R1 | |
Platforms | All |
family keyword
Synopsis | Address family as the match condition | |
Context | configure policy-options policy-statement string named-entry string from family keyword | |
Tree | family | |
Options | ||
Max. Instances | 20 | |
Introduced | 19.10.R1 | |
Platforms |
All |
flowspec
Synopsis | Enter the flowspec context | |
Context | configure policy-options policy-statement string named-entry string from flowspec | |
Tree | flowspec | |
Introduced | 19.10.R1 | |
Platforms | All |
dest (param-midstring | string)
Synopsis | BGP FlowSpec route matches per destination IP prefix | |
Context | configure policy-options policy-statement string named-entry string from flowspec dest (param-midstring | string) | |
Tree | dest | |
String Length | 1 to 32 | |
Introduced | 19.10.R1 | |
Platforms | All |
source (param-midstring | string)
Synopsis | BGP FlowSpec route matches per the source IP prefix | |
Context | configure policy-options policy-statement string named-entry string from flowspec source (param-midstring | string) | |
Tree | source | |
String Length | 1 to 32 | |
Introduced | 19.10.R1 | |
Platforms | All |
group-address (param-midstring | string)
Synopsis | Prefix list of multicast group addresses for mathcing | |
Context | configure policy-options policy-statement string named-entry string from group-address (param-midstring | string) | |
Tree | group-address | |
String Length | 1 to 32 | |
Introduced | 19.10.R1 | |
Platforms | All |
host-ip (param-midstring | string)
Synopsis | Prefix list of IGMP host IP addresses for matching | |
Context | configure policy-options policy-statement string named-entry string from host-ip (param-midstring | string) | |
Tree | host-ip | |
String Length | 1 to 32 | |
Introduced | 19.10.R1 | |
Platforms | All |
interface (named-item | interface-name | interface-name | interface-name)
Synopsis | Interface name as match criterion | |
Context | configure policy-options policy-statement string named-entry string from interface (named-item | interface-name | interface-name | interface-name) | |
Tree | interface | |
String Length | 1 to 32 | |
Max. Instances | 1 | |
Notes | This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms | All |
interface-subnets
Synopsis | Enter the interface-subnets context | |
Context | configure policy-options policy-statement string named-entry string from interface-subnets | |
Tree | interface-subnets | |
Description | 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:
| |
Introduced | 21.2.R1 | |
Platforms | All |
ip-int-name string
Synopsis | Interface name as the match criterion | |
Context | configure policy-options policy-statement string named-entry string from interface-subnets ip-int-name string | |
Tree | ip-int-name | |
Description | This command specifies the interface name to match when exporting the IP address of the associated interface to a routing protocol. | |
String Length | 1 to 32 | |
Max. Instances | 10 | |
Notes | This element is ordered by the user. | |
Introduced | 21.2.R1 | |
Platforms | All |
service string
Synopsis | Service ID of the interface subnets | |
Context | configure policy-options policy-statement string named-entry string from interface-subnets service string | |
Tree | service | |
Default | Base | |
Introduced | 21.2.R1 | |
Platforms | All |
level number
Synopsis | IS-IS route level as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from level number | |
Tree | level | |
Range | 1 to 2 | |
Introduced | 19.10.R1 | |
Platforms | All |
local-preference
Synopsis | Enter the local-preference context | |
Context | configure policy-options policy-statement string named-entry string from local-preference | |
Tree | local-preference | |
Introduced | 19.10.R1 | |
Platforms | All |
qualifier keyword
Synopsis | Higher or lower values to be accepted as match criteria | |
Context | configure policy-options policy-statement string named-entry string from local-preference qualifier keyword | |
Tree | qualifier | |
Default | equal | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
All |
value (number | string)
Synopsis | BGP routes per local preference value or variable name | |
Context | configure policy-options policy-statement string named-entry string from local-preference value (number | string) | |
Tree | value | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 19.10.R1 | |
Platforms | All |
metric
Synopsis | Enter the metric context | |
Context | configure policy-options policy-statement string named-entry string from metric | |
Tree | metric | |
Introduced | 19.10.R1 | |
Platforms | All |
qualifier keyword
Synopsis | Higher or lower values to be accepted as match criteria | |
Context | configure policy-options policy-statement string named-entry string from metric qualifier keyword | |
Tree | qualifier | |
Default | equal | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
All |
value (number | string)
Synopsis | Local preference value or variable name | |
Context | configure policy-options policy-statement string named-entry string from metric value (number | string) | |
Tree | value | |
String Length | 1 to 32 | |
Range | 0 to 4294967295 | |
Introduced | 19.10.R1 | |
Platforms | All |
mvpn-type keyword
Synopsis | MVPN type as a match criterion for the entry | |
Context | configure policy-options policy-statement string named-entry string from mvpn-type keyword | |
Tree | mvpn-type | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
neighbor
Synopsis | Enter the neighbor context | |
Context | configure policy-options policy-statement string named-entry string from neighbor | |
Tree | neighbor | |
Introduced | 19.10.R1 | |
Platforms | All |
ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
Synopsis | IP address to match the neighbor | |
Context | 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) | |
Tree | ip-address | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix-list (param-midstring | string)
Synopsis | Name to match the neighbor prefix list | |
Context | configure policy-options policy-statement string named-entry string from neighbor prefix-list (param-midstring | string) | |
Tree | prefix-list | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
next-hop
Synopsis | Enter the next-hop context | |
Context | configure policy-options policy-statement string named-entry string from next-hop | |
Tree | next-hop | |
Introduced | 19.10.R1 | |
Platforms | All |
ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | IP address of the next hop to match | |
Context | configure policy-options policy-statement string named-entry string from next-hop ip-address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | ip-address | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix-list (param-midstring | string)
Synopsis | Name of a next hop prefix list to match | |
Context | configure policy-options policy-statement string named-entry string from next-hop prefix-list (param-midstring | string) | |
Tree | prefix-list | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
origin keyword
Synopsis | Route origin match criteria | |
Context | configure policy-options policy-statement string named-entry string from origin keyword | |
Tree | origin | |
Description | 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. | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
origin-validation-state keyword
Synopsis | Origin validation state used for match criteria | |
Context | configure policy-options policy-statement string named-entry string from origin-validation-state keyword | |
Tree | origin-validation-state | |
Description | This command specifies a validation state that is used to match BGP routes based on their origin validation state. | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
ospf-type number
Synopsis | OSPF type metric applied to unmatching route entries | |
Context | configure policy-options policy-statement string named-entry string from ospf-type number | |
Tree | ospf-type | |
Range | 1 to 2 | |
Introduced | 19.10.R1 | |
Platforms | All |
path-type keyword
Synopsis | Path type as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from path-type keyword | |
Tree | path-type | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
All |
policy (string | string)
Synopsis | Policy statement as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from policy (string | string) | |
Tree | policy | |
String Length | 1 to 255 | |
Introduced | 19.10.R1 | |
Platforms | All |
policy-variables
Synopsis | Enter the policy-variables context | |
Context | configure policy-options policy-statement string named-entry string from policy-variables | |
Tree | policy-variables | |
Introduced | 19.10.R1 | |
Platforms | All |
name [variable-name] string
Synopsis | Enter the name list instance | |
Context | configure policy-options policy-statement string named-entry string from policy-variables name string | |
Tree | name | |
Description | Commands in this context configure global variables for use across BGP peers of a common type (transit, peer, customer, and so on). | |
Max. Instances | 10 | |
Introduced | 19.10.R1 | |
Platforms | All |
[variable-name] string
Synopsis | Global variable name used to reference policy functions | |
Context | configure policy-options policy-statement string named-entry string from policy-variables name string | |
Tree | name | |
String Length | 1 to 32 | |
Notes | This element is part of a list key. | |
Introduced | 19.10.R1 | |
Platforms | All |
address (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | IP address of the policy variable | |
Context | configure policy-options policy-statement string named-entry string from policy-variables name string address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | address | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 19.10.R1 | |
Platforms | All |
decimal decimal-number
Synopsis | Attribute decimal to which variable name is resolved | |
Context | configure policy-options policy-statement string named-entry string from policy-variables name string decimal decimal-number | |
Tree | decimal | |
Range | 0.000 to 4294967295.000 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 19.10.R1 | |
Platforms | All |
number number
Synopsis | Numerical value of the policy variable | |
Context | configure policy-options policy-statement string named-entry string from policy-variables name string number number | |
Tree | number | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 19.10.R1 | |
Platforms | All |
value string
Synopsis | Policy variable value | |
Context | configure policy-options policy-statement string named-entry string from policy-variables name string value string | |
Tree | value | |
String Length | 1 to 32 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, or value. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix-list (param-midstring-64 | string)
Synopsis | Prefix list as match criterion | |
Context | configure policy-options policy-statement string named-entry string from prefix-list (param-midstring-64 | string) | |
Tree | prefix-list | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms | All |
protocol
Synopsis | Enter the protocol context | |
Context | configure policy-options policy-statement string named-entry string from protocol | |
Tree | protocol | |
Description | 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. | |
Introduced | 19.10.R1 | |
Platforms | All |
instance (keyword | number)
Synopsis | Instance for protocol IS-IS, OSPF, or OSPFv3 to match | |
Context | configure policy-options policy-statement string named-entry string from protocol instance (keyword | number) | |
Tree | instance | |
Description | 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). | |
Range | 0 to 127 | |
Default | 0 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
All |
name keyword
Synopsis | List of protocol names as the match criterion | |
Context | configure policy-options policy-statement string named-entry string from protocol name keyword | |
Tree | name | |
Description | 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. | |
Options | ||
Max. Instances | 5 | |
Introduced | 19.10.R1 | |
Platforms | All |
route-distinguisher-list (param-midstring-64 | string)
Synopsis | Route Distinguisher list as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from route-distinguisher-list (param-midstring-64 | string) | |
Tree | route-distinguisher-list | |
Description | This command specifies the (possibly parameterized) name of a route distinguisher (RD) list. This match condition is supported by policies applied as VRF-import or BGP peer import policies. A BGP route can match a policy entry with this match criterion if the NLRI field contains an RD that is matched by at least one of the entries in the RD list. BGP routes belonging to address families other than VPN-IPv4, VPN-IPv6, MCAST-VPN-IPv4, MCAST-VPN-IPv6, EVPN, FlowSpec-VPN IPv4, FlowSpec-VPN IPv6, MVPN-IPv4, or MVPN-IPv6 route do not match policy entries with this match criterion. | |
String Length | 1 to 64 | |
Introduced | 23.3.R1 | |
Platforms | All |
source-address
Synopsis | Enter the source-address context | |
Context | configure policy-options policy-statement string named-entry string from source-address | |
Tree | source-address | |
Introduced | 19.10.R1 | |
Platforms | All |
ip-address (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | Source IP address to match | |
Context | configure policy-options policy-statement string named-entry string from source-address ip-address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | ip-address | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix-list (param-midstring | string)
Synopsis | Name of a source address prefix list to match | |
Context | configure policy-options policy-statement string named-entry string from source-address prefix-list (param-midstring | string) | |
Tree | prefix-list | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
state keyword
Synopsis | State used as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from state keyword | |
Tree | state | |
Description | 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. | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
tag (number | keyword)
Synopsis | Route tag used as a match criterion | |
Context | configure policy-options policy-statement string named-entry string from tag (number | keyword) | |
Tree | tag | |
Range | 1 to 4294967295 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms | All |
to
Synopsis | Enable the to context | |
Context | configure policy-options policy-statement string named-entry string to | |
Tree | to | |
Introduced | 19.10.R1 | |
Platforms | All |
level number
Synopsis | IS-IS route level as a match criterion | |
Context | configure policy-options policy-statement string named-entry string to level number | |
Tree | level | |
Range | 1 to 2 | |
Introduced | 19.10.R1 | |
Platforms | All |
neighbor
Synopsis | Enter the neighbor context | |
Context | configure policy-options policy-statement string named-entry string to neighbor | |
Tree | neighbor | |
Introduced | 19.10.R1 | |
Platforms | All |
ip-address (ipv4-address-no-zone | ipv6-address-no-zone | ipv4-address-with-zone | ipv6-address-with-zone)
Synopsis | IP address to match the neighbor | |
Context | 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) | |
Tree | ip-address | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix-list (param-midstring | string)
Synopsis | Name to match the neighbor prefix list | |
Context | configure policy-options policy-statement string named-entry string to neighbor prefix-list (param-midstring | string) | |
Tree | prefix-list | |
String Length | 1 to 32 | |
Notes | The following elements are part of a choice: ip-address or prefix-list. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix-list (param-midstring-64 | string)
Synopsis | Prefix list as match criterion | |
Context | configure policy-options policy-statement string named-entry string to prefix-list (param-midstring-64 | string) | |
Tree | prefix-list | |
String Length | 1 to 64 | |
Max. Instances | 28 | |
Notes | This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms | All |
protocol
Synopsis | Enter the protocol context | |
Context | configure policy-options policy-statement string named-entry string to protocol | |
Tree | protocol | |
Introduced | 19.10.R1 | |
Platforms | All |
instance (keyword | number)
Synopsis | Instance for the IS-IS, OSPF, or OSPF3 protocol | |
Context | configure policy-options policy-statement string named-entry string to protocol instance (keyword | number) | |
Tree | instance | |
Range | 0 to 127 | |
Default | 0 | |
Options | ||
Introduced | 19.10.R1 | |
Platforms |
All |
name keyword
Synopsis | Protocol name to match | |
Context | configure policy-options policy-statement string named-entry string to protocol name keyword | |
Tree | name | |
Options | ||
Max. Instances | 2 | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix-list [name] string
Synopsis | Enter the prefix-list list instance | |
Context | configure policy-options prefix-list string | |
Tree | prefix-list | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] string
Synopsis | Prefix list name | |
Context | configure policy-options prefix-list string | |
Tree | prefix-list | |
Description | 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@". | |
String Length | 1 to 64 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
prefix [ip-prefix] (ipv4-prefix | ipv6-prefix) type keyword
Synopsis | Enter the prefix list instance | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword | |
Tree | prefix | |
Introduced | 16.0.R1 | |
Platforms | All |
[ip-prefix] (ipv4-prefix | ipv6-prefix)
Synopsis | IP prefix associated with the prefix length | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword | |
Tree | prefix | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
type keyword
Synopsis | Prefix list match type | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword | |
Tree | prefix | |
Options | ||
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
end-length number
Synopsis | Prefix range end length | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword end-length number | |
Tree | end-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix. | |
Introduced | 16.0.R1 | |
Platforms | All |
mask-pattern [address] (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | Add a list entry for mask-pattern | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword mask-pattern (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | mask-pattern | |
Notes | The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix. | |
Introduced | 20.7.R1 | |
Platforms | All |
[address] (ipv4-address-no-zone | ipv6-address-no-zone)
Synopsis | Address mask for matching routes to the prefix entry | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword mask-pattern (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | mask-pattern | |
Description | 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. | |
Notes | This element is part of a list key. | |
Introduced | 20.7.R1 | |
Platforms | All |
start-length number
Synopsis | Start in the prefix range length | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword start-length number | |
Tree | start-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix. | |
Introduced | 16.0.R1 | |
Platforms | All |
through-length number
Synopsis | Prefix through length | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword through-length number | |
Tree | through-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix. | |
Introduced | 16.0.R1 | |
Platforms | All |
to-prefix [ip-prefix] (ipv4-prefix | ipv6-prefix)
Synopsis | Add a list entry for to-prefix | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword to-prefix (ipv4-prefix | ipv6-prefix) | |
Tree | to-prefix | |
Notes | The following elements are part of a choice: mask-pattern, (end-length and start-length), through-length, or to-prefix. | |
Introduced | 20.7.R1 | |
Platforms | All |
[ip-prefix] (ipv4-prefix | ipv6-prefix)
Synopsis | IP prefix for "to" match type | |
Context | configure policy-options prefix-list string prefix (ipv4-prefix | ipv6-prefix) type keyword to-prefix (ipv4-prefix | ipv6-prefix) | |
Tree | to-prefix | |
Description | 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. | |
Notes | This element is part of a list key. | |
Introduced | 20.7.R1 | |
Platforms | All |
route-distinguisher-list [name] string
Synopsis | Enter the route-distinguisher-list list instance | |
Context | configure policy-options route-distinguisher-list string | |
Tree | route-distinguisher-list | |
Introduced | 23.3.R1 | |
Platforms | All |
[name] string
Synopsis | Name of the route distinguisher list | |
Context | configure policy-options route-distinguisher-list string | |
Tree | route-distinguisher-list | |
Description | This command creates a list of entries used to match the RD in BGP routes of specific address families. | |
String Length | 1 to 64 | |
Notes | This element is part of a list key. | |
Introduced | 23.3.R1 | |
Platforms | All |
rd-entry [rd] string
Synopsis | Add a list entry for rd-entry | |
Context | configure policy-options route-distinguisher-list string rd-entry string | |
Tree | rd-entry | |
Max. Instances | 128 | |
Introduced | 23.3.R1 | |
Platforms | All |
[rd] string
Synopsis | RD containing IP address or ASN and assigned number | |
Context | configure policy-options route-distinguisher-list string rd-entry string | |
Tree | rd-entry | |
Description | This command creates an RD matching entry containing an IPv4 address or ASN and the assigned number. The following formats are supported:
See the "Route distinguishers" section of the 7450 ESS, 7750 SR, 7950 XRS, and VSR Layer 3 Services Guide: IES and VPRN for information about Type values. | |
String Length | 3 to 28 | |
Notes | This element is part of a list key. | |
Introduced | 23.3.R1 | |
Platforms | All |