policy-options commands
configure
— policy-options
— apply-groups reference
— apply-groups-exclude reference
— as-path named-item
— apply-groups reference
— apply-groups-exclude reference
— expression policy-as-path-regexp
— as-path-group named-item
— apply-groups reference
— apply-groups-exclude reference
— entry number
— apply-groups reference
— apply-groups-exclude reference
— expression policy-as-path-regexp
— community policy-community-name
— apply-groups reference
— apply-groups-exclude reference
— expression
— apply-groups reference
— apply-groups-exclude reference
— exact boolean
— expr expression-community
— member member-community
— damping named-item
— apply-groups reference
— apply-groups-exclude reference
— half-life number
— max-suppress number
— reuse number
— suppress number
— global-variables
— name policy-var-name
— address (ipv4-address-no-zone | ipv6-address-no-zone)
— apply-groups reference
— apply-groups-exclude reference
— decimal decimal-number
— number number
— prefix (ipv4-prefix | ipv6-prefix)
— value named-item
— policy-statement named-item-64
— 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 interface-name
— 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)
— sr-return-path-bfd-label (policy-var-name | number)
— srv6-locator (param-midstring-64 | string)
— srv6-micro-segment-locator (param-midstring-64 | string)
— srv6-return-path-bfd-sid (policy-var-name | ipv6-address)
— sticky-ecmp boolean
— tag (number | string)
— type (number | string)
— description description
— 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 interface-name
— 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)
— sr-return-path-bfd-label (policy-var-name | number)
— srv6-locator (param-midstring-64 | string)
— srv6-micro-segment-locator (param-midstring-64 | 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 description
— from
— aggregate-contributor boolean
— apply-groups reference
— apply-groups-exclude reference
— area ipv4-address
— as-path
— group (param-midstring | string)
— length
— qualifier keyword
— unique boolean
— value (number | string)
— name (param-midstring | string)
— cluster-id
— ip-address ipv4-prefix-with-host-bits
— 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 interface-name
— 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 policy-var-name
— address (ipv4-address-no-zone | ipv6-address-no-zone)
— apply-groups reference
— apply-groups-exclude reference
— decimal decimal-number
— number number
— prefix (ipv4-prefix | ipv6-prefix)
— value named-item
— prefix-list (param-midstring-64 | string)
— prefix-list-override string
— apply-groups reference
— apply-groups-exclude reference
— end-length number
— start-length number
— through-length number
— type keyword
— 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)
— srv6-sid-prefix (policy-var-name | ipv6-unicast-prefix)
— srv6-tlv keyword
— 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 named-item-255
— 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 interface-name
— 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)
— sr-return-path-bfd-label (policy-var-name | number)
— srv6-locator (param-midstring-64 | string)
— srv6-micro-segment-locator (param-midstring-64 | 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 description
— from
— aggregate-contributor boolean
— apply-groups reference
— apply-groups-exclude reference
— area ipv4-address
— as-path
— group (param-midstring | string)
— length
— qualifier keyword
— unique boolean
— value (number | string)
— name (param-midstring | string)
— cluster-id
— ip-address ipv4-prefix-with-host-bits
— 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 interface-name
— 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 policy-var-name
— address (ipv4-address-no-zone | ipv6-address-no-zone)
— apply-groups reference
— apply-groups-exclude reference
— decimal decimal-number
— number number
— prefix (ipv4-prefix | ipv6-prefix)
— value named-item
— prefix-list (param-midstring-64 | string)
— prefix-list-override string
— apply-groups reference
— apply-groups-exclude reference
— end-length number
— start-length number
— through-length number
— type keyword
— 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)
— srv6-sid-prefix (policy-var-name | ipv6-unicast-prefix)
— srv6-tlv keyword
— 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 named-item-64
— 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 named-item-64
— 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] named-item
Synopsis | Enter the as-path list instance | |
Context | configure policy-options as-path named-item | |
Tree | as-path | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] named-item
Synopsis | AS path name | |
Context | configure policy-options as-path named-item | |
Tree | as-path | |
String length | 1 to 32 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
expression policy-as-path-regexp
Synopsis | Regular expression string | |
Context | configure policy-options as-path named-item expression policy-as-path-regexp | |
Tree | expression | |
Description | This command configures a route policy AS path regular expression statement to use in route policy entries. An AS path in a BGP route matches an AS path regular expression, if the path matches the pattern of the regular expression. A regular expression incorporates terms and operators that use the terms. An individual AS number is an elementary term in the AS path regular expression. More complex terms can be built from elementary terms. The following are key operators supported by SR OS:
To reverse the match criteria when specifying a list of ranges or single values using square brackets, use the non-match operator (^) before the elements within the square brackets. | |
String length | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path-group [name] named-item
Synopsis | Enter the as-path-group list instance | |
Context | configure policy-options as-path-group named-item | |
Tree | as-path-group | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] named-item
Synopsis | AS path group name | |
Context | configure policy-options as-path-group named-item | |
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 named-item entry number | |
Tree | entry | |
Introduced | 16.0.R1 | |
Platforms | All |
[entry] number
Synopsis | AS path entry ID | |
Context | configure policy-options as-path-group named-item entry number | |
Tree | entry | |
Range | 1 to 128 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
expression policy-as-path-regexp
Synopsis | Regular expression string | |
Context | configure policy-options as-path-group named-item entry number expression policy-as-path-regexp | |
Tree | expression | |
Description | This command configures an AS path group regular expression. An AS path in a BGP route matches an AS path group, if the pattern of the path matches the concatenation of all regular expressions in the group. A regular expression incorporates terms and operators that use the terms. An individual AS number is an elementary term in the AS path regular expression. More complex terms can be built from elementary terms. The following are key operators supported by SR OS:
To reverse the match criteria when specifying a list of ranges or single values using square brackets, use the non-match operator (^) before the elements within the square brackets. | |
String length | 1 to 255 | |
Notes | This element is mandatory. | |
Introduced | 16.0.R1 | |
Platforms | All |
community [name] policy-community-name
Synopsis | Enter the community list instance | |
Context | configure policy-options community policy-community-name | |
Tree | community | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] policy-community-name
Synopsis | Community name | |
Context | configure policy-options community policy-community-name | |
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 policy-community-name expression | |
Tree | expression | |
Introduced | 16.0.R1 | |
Platforms | All |
exact boolean
Synopsis | Match exactly for the specified expression | |
Context | configure policy-options community policy-community-name expression exact boolean | |
Tree | exact | |
Default | false | |
Introduced | 16.0.R1 | |
Platforms | All |
expr expression-community
Synopsis | Community expression value | |
Context | configure policy-options community policy-community-name expression expr expression-community | |
Tree | expr | |
String length | 1 to 900 | |
Notes | This element is mandatory. | |
Introduced | 16.0.R1 | |
Platforms | All |
member [member] member-community
Synopsis | Add a list entry for member | |
Context | configure policy-options community policy-community-name member member-community | |
Tree | member | |
Introduced | 16.0.R1 | |
Platforms | All |
[member] member-community
Synopsis | Community member value | |
Context | configure policy-options community policy-community-name member member-community | |
Tree | member | |
Description | This command configures a BGP community value. Each member of a community list is a standard, extended, or large community value or a regular expression that potentially matches many community values. A regular expression incorporates terms and operators that use the terms. An individual numerical digit is an elementary term in the community regular expression. More complex terms can be built from elementary terms. The following are key operators supported by SR OS:
To reverse the match criteria when specifying a list of ranges or single values using square brackets, use the non-match operator (^) before the elements within the square brackets. | |
String length | 1 to 72 | |
Notes | This element is part of a list key. | |
Introduced | 16.0.R1 | |
Platforms | All |
damping [name] named-item
Synopsis | Enter the damping list instance | |
Context | configure policy-options damping named-item | |
Tree | damping | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] named-item
Synopsis | Damping profile name | |
Context | configure policy-options damping named-item | |
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 named-item 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 named-item 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 named-item 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 named-item 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] policy-var-name
Synopsis | Enter the name list instance | |
Context | configure policy-options global-variables name policy-var-name | |
Tree | name | |
Max. instances | 1000 | |
Introduced | 16.0.R4 | |
Platforms | All |
[variable-name] policy-var-name
Synopsis | Global variable name used to reference policy functions | |
Context | configure policy-options global-variables name policy-var-name | |
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 policy-var-name address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | address | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, 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 policy-var-name decimal decimal-number | |
Tree | decimal | |
Range | 0.000 to 4294967295.000 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 19.7.R1 | |
Platforms | All |
number number
Synopsis | Numerical value of the policy variable | |
Context | configure policy-options global-variables name policy-var-name number number | |
Tree | number | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 16.0.R4 | |
Platforms | All |
prefix (ipv4-prefix | ipv6-prefix)
Synopsis | Prefix value associated with the variable name | |
Context | configure policy-options global-variables name policy-var-name prefix (ipv4-prefix | ipv6-prefix) | |
Tree | prefix | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
value named-item
Synopsis | Policy variable value | |
Context | configure policy-options global-variables name policy-var-name value named-item | |
Tree | value | |
String length | 1 to 32 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 16.0.R4 | |
Platforms | All |
policy-statement [name] named-item-64
Synopsis | Enter the policy-statement list instance | |
Context | configure policy-options policy-statement named-item-64 | |
Tree | policy-statement | |
Max. instances | 65535 | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] named-item-64
Synopsis | Route policy statement name | |
Context | configure policy-options policy-statement named-item-64 | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 default-action metric | |
Tree | metric | |
Introduced | 16.0.R1 | |
Platforms | All |
add (number | string)
Synopsis | Metric to add | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 interface-name
Synopsis | Alternate interface where IGMP messages are redirected | |
Context | configure policy-options policy-statement named-item-64 default-action multicast-redirection ip-int-name interface-name | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 1048575 | |
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 named-item-64 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 |
sr-return-path-bfd-label (policy-var-name | number)
Synopsis | S-BFD return path label | |
Context | configure policy-options policy-statement named-item-64 default-action sr-return-path-bfd-label (policy-var-name | number) | |
Tree | sr-return-path-bfd-label | |
Description | This command configures an additional MPLS label to add to the bottom of the label stack for the S-BFD packet and sets the S-BFD session to echo mode. This command applies to the initiator of the S-BFD sessions. The label value can either be a binding SID for an SR policy or another MPLS path configured on the reflector router. Instead of being routed through the IGP path, the S-BFD packet returns to the initiator through the MPLS return path. This value takes precedence over the return path label value in a maintenance policy (configured using the configure router segment-routing maintenance-policy return-path-label command) that is also applied as the policy-statement action. This command can only be configured if the sr-maintenance-policy is also configured. If this command is unconfigured, and there is no return-path-label command configuration in the maintenance policy that is also applied as an action, and the policy statement is reevaluated, S-BFD returns to asynchronous mode and no return path label is pushed by the initiator node. S-BFD packets for this LSP or path received by the reflector are routed through the IGP path. | |
String length | 1 to 32 | |
Range | 32 to 1048575 | |
Introduced | 23.10.R1 | |
Platforms | All |
srv6-locator (param-midstring-64 | string)
Synopsis | Locator for SRv6 TLV to use | |
Context | configure policy-options policy-statement named-item-64 default-action srv6-locator (param-midstring-64 | string) | |
Tree | srv6-locator | |
Description | This command configures either a string encoding a midstring parameter delimited by at signs (@), or a reference to a named locator for the SRv6 TLV to use. For a VRF export policy, the referenced locator must already be configured using the commands in the configure service vprn segment-routing-v6 locator context. For a BGP export policy, the referenced locator must already be configured using the commands in the configure router segment-routing segment-routing-v6 base-routing-instance locator context. | |
String length | 1 to 64 | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
srv6-micro-segment-locator (param-midstring-64 | string)
Synopsis | Micro-segment locator for SRv6 TLV to use | |
Context | configure policy-options policy-statement named-item-64 default-action srv6-micro-segment-locator (param-midstring-64 | string) | |
Tree | srv6-micro-segment-locator | |
Description | This command configures either a string encoding a midstring parameter delimited by at signs (@), or a reference to a named micro-segment locator for the SRv6 TLV to use. For a VRF export policy, the referenced micro-segment locator must already be configured using the commands in the configure service vprn segment-routing-v6 micro-segment-locator context. For a BGP export policy, the referenced micro-SID locator must already be configured using the commands in the configure router segment-routing segment-routing-v6 base-routing-instance micro-segment-locator context. | |
String length | 1 to 64 | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 default-action type (number | string) | |
Tree | type | |
String length | 1 to 32 | |
Range | 1 to 2 | |
Introduced | 16.0.R1 | |
Platforms |
All |
description description
Synopsis | Text description | |
Context | configure policy-options policy-statement named-item-64 description description | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 interface-name
Synopsis | Alternate interface where IGMP messages are redirected | |
Context | configure policy-options policy-statement named-item-64 entry number action multicast-redirection ip-int-name interface-name | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 1048575 | |
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 named-item-64 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 |
sr-return-path-bfd-label (policy-var-name | number)
Synopsis | S-BFD return path label | |
Context | configure policy-options policy-statement named-item-64 entry number action sr-return-path-bfd-label (policy-var-name | number) | |
Tree | sr-return-path-bfd-label | |
Description | This command configures an additional MPLS label to add to the bottom of the label stack for the S-BFD packet and sets the S-BFD session to echo mode. This command applies to the initiator of the S-BFD sessions. The label value can either be a binding SID for an SR policy or another MPLS path configured on the reflector router. Instead of being routed through the IGP path, the S-BFD packet returns to the initiator through the MPLS return path. This value takes precedence over the return path label value in a maintenance policy (configured using the configure router segment-routing maintenance-policy return-path-label command) that is also applied as the policy-statement action. This command can only be configured if the sr-maintenance-policy is also configured. If this command is unconfigured, and there is no return-path-label command configuration in the maintenance policy that is also applied as an action, and the policy statement is reevaluated, S-BFD returns to asynchronous mode and no return path label is pushed by the initiator node. S-BFD packets for this LSP or path received by the reflector are routed through the IGP path. | |
String length | 1 to 32 | |
Range | 32 to 1048575 | |
Introduced | 23.10.R1 | |
Platforms | All |
srv6-locator (param-midstring-64 | string)
Synopsis | Locator for SRv6 TLV to use | |
Context | configure policy-options policy-statement named-item-64 entry number action srv6-locator (param-midstring-64 | string) | |
Tree | srv6-locator | |
Description | This command configures either a string encoding a midstring parameter delimited by at signs (@), or a reference to a named locator for the SRv6 TLV to use. For a VRF export policy, the referenced locator must already be configured using the commands in the configure service vprn segment-routing-v6 locator context. For a BGP export policy, the referenced locator must already be configured using the commands in the configure router segment-routing segment-routing-v6 base-routing-instance locator context. | |
String length | 1 to 64 | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
srv6-micro-segment-locator (param-midstring-64 | string)
Synopsis | Micro-segment locator for SRv6 TLV to use | |
Context | configure policy-options policy-statement named-item-64 entry number action srv6-micro-segment-locator (param-midstring-64 | string) | |
Tree | srv6-micro-segment-locator | |
Description | This command configures either a string encoding a midstring parameter delimited by at signs (@), or a reference to a named micro-segment locator for the SRv6 TLV to use. For a VRF export policy, the referenced micro-segment locator must already be configured using the commands in the configure service vprn segment-routing-v6 micro-segment-locator context. For a BGP export policy, the referenced micro-SID locator must already be configured using the commands in the configure router segment-routing segment-routing-v6 base-routing-instance micro-segment-locator context. | |
String length | 1 to 64 | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 entry number conditional-expression route-exists string | |
Tree | route-exists | |
String length | 1 to 255 | |
Introduced | 16.0.R1 | |
Platforms | All |
description description
Synopsis | Text description | |
Context | configure policy-options policy-statement named-item-64 entry number description description | |
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 named-item-64 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 named-item-64 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 ipv4-address
Synopsis | OSPF area as a match criterion | |
Context | configure policy-options policy-statement named-item-64 entry number from area ipv4-address | |
Tree | area | |
Introduced | 16.0.R1 | |
Platforms | All |
as-path
Synopsis | Enter the as-path context | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 entry number from as-path length qualifier keyword | |
Tree | qualifier | |
Options | ||
Default | equal | |
Introduced | 16.0.R1 | |
Platforms | All |
unique boolean
Synopsis | Use unique AS numbers as matching criteria | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 entry number from cluster-id | |
Tree | cluster-id | |
Introduced | 16.0.R1 | |
Platforms | All |
ip-address ipv4-prefix-with-host-bits
Synopsis | Cluster list attribute IP addresses for route matching | |
Context | configure policy-options policy-statement named-item-64 entry number from cluster-id ip-address ipv4-prefix-with-host-bits | |
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 named-item-64 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 named-item-64 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 named-item-64 entry number from community | |
Tree | community | |
Introduced | 16.0.R1 | |
Platforms | All |
count
Synopsis | Enter the count context | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 entry number from community count qualifier keyword | |
Tree | qualifier | |
Options | ||
Default | equal | |
Introduced | 16.0.R1 | |
Platforms | All |
type keyword
Synopsis | Community count to match the community count criteria | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 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 statement as a match criterion | |
Context | configure policy-options policy-statement named-item-64 entry number from community expression string | |
Tree | expression | |
Description | This command configures a community expression statement as a match criterion for the policy statement. This statement is a logical expression string composed of logical operators (keywords AND, OR, NOT), community names delimited by square brackets [], and parentheses ( ) to group subexpressions. If the expression contains special characters (for example, #, $, spaces), the entire string must be enclosed in double quotes. The expression specified must already be defined using the configure policy-options community expression expr command. The following are examples of valid logical expressions: "[community_list_A] OR ([community_list_B] AND [community_list_C])" "NOT [community_list_A]" "[community_list_A] AND [community_list_B] OR [community_list_C]" "NOT ([community_list_A] OR [community_list_B] OR [community_list_C])" | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 entry number from family keyword | |
Tree | family | |
Description | This command specifies address families as matching conditions. | |
Options | ||
Max. instances | 20 | |
Introduced | 16.0.R1 | |
Platforms |
All |
flowspec
Synopsis | Enter the flowspec context | |
Context | configure policy-options policy-statement named-item-64 entry number from flowspec | |
Tree | flowspec | |
Description | Commands in this context configure the route-matching rules for BGP FlowSpec routes. | |
Introduced | 16.0.R4 | |
Platforms | All |
dest (param-midstring | string)
Synopsis | Destination IP prefix list to match BGP FlowSpec routes | |
Context | configure policy-options policy-statement named-item-64 entry number from flowspec dest (param-midstring | string) | |
Tree | dest | |
Description | This command specifies a prefix list used by the router to match BGP FlowSpec routes based on the destination IP prefix in the flow specification. An IPv4 FlowSpec route is matched if its NLRI contains a type 1 subcomponent encoding a prefix and prefix length that is covered by an entry in the referenced prefix list. An IPv6 FlowSpec route is matched if its NLRI contains a type 1 component encoding prefix-offset = 0 and a prefix and prefix length that is covered by an entry in the referenced prefix list. This command has no effect when the policy is not applied as a BGP import or export policy. | |
String length | 1 to 32 | |
Introduced | 16.0.R4 | |
Platforms | All |
source (param-midstring | string)
Synopsis | Source IP prefix list to match BGP FlowSpec routes | |
Context | configure policy-options policy-statement named-item-64 entry number from flowspec source (param-midstring | string) | |
Tree | source | |
Description | This command specifies a prefix list used by the router to match BGP FlowSpec routes based on the source IP prefix in the flow specification. An IPv4 FlowSpec route is matched if its NLRI contains a type 2 subcomponent encoding a prefix and prefix length that is covered by an entry in the referenced prefix list. An IPv6 FlowSpec route is matched if its NLRI contains a type 2 component encoding prefix-offset = 0 and a prefix and prefix length that is covered by an entry in the referenced prefix list. This command has no effect when the policy is not applied as a BGP import or export policy. | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 interface-name
Synopsis | Interface name as the match criterion | |
Context | configure policy-options policy-statement named-item-64 entry number from interface-subnets ip-int-name interface-name | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 entry number from local-preference qualifier keyword | |
Tree | qualifier | |
Options | ||
Default | equal | |
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 named-item-64 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 named-item-64 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 named-item-64 entry number from metric qualifier keyword | |
Tree | qualifier | |
Options | ||
Default | equal | |
Introduced | 16.0.R1 | |
Platforms | All |
value (number | string)
Synopsis | Local preference value or variable name | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 entry number from policy-variables | |
Tree | policy-variables | |
Introduced | 16.0.R1 | |
Platforms | All |
name [variable-name] policy-var-name
Synopsis | Enter the name list instance | |
Context | configure policy-options policy-statement named-item-64 entry number from policy-variables name policy-var-name | |
Tree | name | |
Max. instances | 10 | |
Introduced | 16.0.R1 | |
Platforms | All |
[variable-name] policy-var-name
Synopsis | Global variable name used to reference policy functions | |
Context | configure policy-options policy-statement named-item-64 entry number from policy-variables name policy-var-name | |
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 named-item-64 entry number from policy-variables name policy-var-name address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | address | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, 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 named-item-64 entry number from policy-variables name policy-var-name decimal decimal-number | |
Tree | decimal | |
Range | 0.000 to 4294967295.000 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 19.7.R1 | |
Platforms | All |
number number
Synopsis | Numerical value of the policy variable | |
Context | configure policy-options policy-statement named-item-64 entry number from policy-variables name policy-var-name number number | |
Tree | number | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 16.0.R1 | |
Platforms | All |
prefix (ipv4-prefix | ipv6-prefix)
Synopsis | Prefix value associated with the variable name | |
Context | configure policy-options policy-statement named-item-64 entry number from policy-variables name policy-var-name prefix (ipv4-prefix | ipv6-prefix) | |
Tree | prefix | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
value named-item
Synopsis | Policy variable value | |
Context | configure policy-options policy-statement named-item-64 entry number from policy-variables name policy-var-name value named-item | |
Tree | value | |
String length | 1 to 32 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, 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 named-item-64 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 |
prefix-list-override [prefix-list] string
Synopsis | Enter the prefix-list-override list instance | |
Context | configure policy-options policy-statement named-item-64 entry number from prefix-list-override string | |
Tree | prefix-list-override | |
Description | Commands in this context convert a prefix list to a specific match type. The routing policy uses the converted list as a match condition. The prefix list to be converted can be specified by its name, as an expression containing the name of a global variable that holds the name of the prefix list, or as an expression containing the name of a subroutine variable that holds the name of the prefix list. | |
Max. instances | 1 | |
Introduced | 23.10.R1 | |
Platforms | All |
[prefix-list] string
Synopsis | Prefix list to be converted | |
Context | configure policy-options policy-statement named-item-64 entry number from prefix-list-override string | |
Tree | prefix-list-override | |
Notes | This element is part of a list key. | |
Introduced | 23.10.R1 | |
Platforms | All |
end-length number
Synopsis | Prefix range end length | |
Context | configure policy-options policy-statement named-item-64 entry number from prefix-list-override string end-length number | |
Tree | end-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: (end-length and start-length) or through-length. | |
Introduced | 23.10.R1 | |
Platforms | All |
start-length number
Synopsis | Prefix range start length | |
Context | configure policy-options policy-statement named-item-64 entry number from prefix-list-override string start-length number | |
Tree | start-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: (end-length and start-length) or through-length. | |
Introduced | 23.10.R1 | |
Platforms | All |
through-length number
Synopsis | Prefix through length | |
Context | configure policy-options policy-statement named-item-64 entry number from prefix-list-override string through-length number | |
Tree | through-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: (end-length and start-length) or through-length. | |
Introduced | 23.10.R1 | |
Platforms | All |
type keyword
Synopsis | New match type for entries in referenced prefix list | |
Context | configure policy-options policy-statement named-item-64 entry number from prefix-list-override string type keyword | |
Tree | type | |
Options | ||
Default | exact | |
Introduced | 23.10.R1 | |
Platforms | All |
protocol
Synopsis | Enter the protocol context | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 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 | |
Options | ||
Default | 0 | |
Introduced | 16.0.R1 | |
Platforms |
All |
name keyword
Synopsis | List of protocol names as the match criterion | |
Context | configure policy-options policy-statement named-item-64 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. The protocol direct-interface route type matches the specific direct interface host IPv4 /32 and IPv6 /128 routes. | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 |
srv6-sid-prefix (policy-var-name | ipv6-unicast-prefix)
Synopsis | SRv6 SID or uSID as match criterion for the BGP route | |
Context | configure policy-options policy-statement named-item-64 entry number from srv6-sid-prefix (policy-var-name | ipv6-unicast-prefix) | |
Tree | srv6-sid-prefix | |
Description | This command configures either the name of a prefix policy variable or an IPv6 prefix and prefix length, as a match criterion for a BGP route. Note: If the name of a prefix policy variable is the match criterion, the name must start and end with an at sign (@). A BGP route matches this condition if it has an SRv6 TLV, and the SID or micro-segment (uSID) value in that TLV is matched by the bits of the IPv6 prefix (up to the specified prefix length). This match condition is supported in BGP import policies, BGP export policies, and VRF or VSI import policies. | |
String length | 1 to 32 | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
srv6-tlv keyword
Synopsis | SRv6 TLV presence as match criterion for BGP route | |
Context | configure policy-options policy-statement named-item-64 entry number from srv6-tlv keyword | |
Tree | srv6-tlv | |
Description | This command configures whether the entry matches a BGP route with a prefix SID attribute containing an SRv6 TLV. If this command is not configured, a BGP route can match the entry, regardless of whether it has a prefix SID attribute or whether that prefix SID attribute has SRv6 TLVs. This match condition is supported in BGP import policies, BGP export policies, and VRF or VSI import policies. If the present option is configured, a BGP route only matches this entry if it has a prefix SID attribute containing an SRv6 TLV. If the not-present option is configured, a BGP route only matches this entry if it does not have a prefix SID attribute containing an SRv6 TLV. | |
Options | ||
Introduced | 23.7.R1 | |
Platforms |
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
state keyword
Synopsis | State used as a match criterion | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 entry number to protocol instance (keyword | number) | |
Tree | instance | |
Range | 0 to 127 | |
Options | ||
Default | 0 | |
Introduced | 16.0.R1 | |
Platforms |
All |
name keyword
Synopsis | Protocol name to match | |
Context | configure policy-options policy-statement named-item-64 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 named-item-64 entry-type keyword | |
Tree | entry-type | |
Options | ||
Default | numbered | |
Introduced | 19.10.R1 | |
Platforms | All |
named-entry [entry-name] named-item-255
Synopsis | Enter the named-entry list instance | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 | |
Tree | named-entry | |
Max. instances | 16384 | |
Notes | This element is ordered by the user. | |
Introduced | 19.10.R1 | |
Platforms | All |
[entry-name] named-item-255
Synopsis | Route policy entry name | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 | |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 action bgp-med | |
Tree | bgp-med | |
Introduced | 19.10.R1 | |
Platforms | All |
adjust string
Synopsis | BGP-MED adjustment | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 action metric | |
Tree | metric | |
Introduced | 19.10.R1 | |
Platforms | All |
add (number | string)
Synopsis | Metric to add | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 interface-name
Synopsis | Alternate interface where IGMP messages are redirected | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 action multicast-redirection ip-int-name interface-name | |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 1048575 | |
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 named-item-64 named-entry named-item-255 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 |
sr-return-path-bfd-label (policy-var-name | number)
Synopsis | S-BFD return path label | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 action sr-return-path-bfd-label (policy-var-name | number) | |
Tree | sr-return-path-bfd-label | |
Description | This command configures an additional MPLS label to add to the bottom of the label stack for the S-BFD packet and sets the S-BFD session to echo mode. This command applies to the initiator of the S-BFD sessions. The label value can either be a binding SID for an SR policy or another MPLS path configured on the reflector router. Instead of being routed through the IGP path, the S-BFD packet returns to the initiator through the MPLS return path. This value takes precedence over the return path label value in a maintenance policy (configured using the configure router segment-routing maintenance-policy return-path-label command) that is also applied as the policy-statement action. This command can only be configured if the sr-maintenance-policy is also configured. If this command is unconfigured, and there is no return-path-label command configuration in the maintenance policy that is also applied as an action, and the policy statement is reevaluated, S-BFD returns to asynchronous mode and no return path label is pushed by the initiator node. S-BFD packets for this LSP or path received by the reflector are routed through the IGP path. | |
String length | 1 to 32 | |
Range | 32 to 1048575 | |
Introduced | 23.10.R1 | |
Platforms | All |
srv6-locator (param-midstring-64 | string)
Synopsis | Locator for SRv6 TLV to use | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 action srv6-locator (param-midstring-64 | string) | |
Tree | srv6-locator | |
Description | This command configures either a string encoding a midstring parameter delimited by at signs (@), or a reference to a named locator for the SRv6 TLV to use. For a VRF export policy, the referenced locator must already be configured using the commands in the configure service vprn segment-routing-v6 locator context. For a BGP export policy, the referenced locator must already be configured using the commands in the configure router segment-routing segment-routing-v6 base-routing-instance locator context. | |
String length | 1 to 64 | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
srv6-micro-segment-locator (param-midstring-64 | string)
Synopsis | Micro-segment locator for SRv6 TLV to use | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 action srv6-micro-segment-locator (param-midstring-64 | string) | |
Tree | srv6-micro-segment-locator | |
Description | This command configures either a string encoding a midstring parameter delimited by at signs (@), or a reference to a named micro-segment locator for the SRv6 TLV to use. For a VRF export policy, the referenced micro-segment locator must already be configured using the commands in the configure service vprn segment-routing-v6 micro-segment-locator context. For a BGP export policy, the referenced micro-SID locator must already be configured using the commands in the configure router segment-routing segment-routing-v6 base-routing-instance micro-segment-locator context. | |
String length | 1 to 64 | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 conditional-expression route-exists string | |
Tree | route-exists | |
String length | 1 to 255 | |
Introduced | 19.10.R1 | |
Platforms | All |
description description
Synopsis | Text description | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 description description | |
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 named-item-64 named-entry named-item-255 from | |
Tree | from | |
Introduced | 19.10.R1 | |
Platforms | All |
aggregate-contributor boolean
Synopsis | Enable aggregate route match criterion | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 ipv4-address
Synopsis | OSPF area as a match criterion | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from area ipv4-address | |
Tree | area | |
Introduced | 19.10.R1 | |
Platforms | All |
as-path
Synopsis | Enter the as-path context | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 from as-path length qualifier keyword | |
Tree | qualifier | |
Options | ||
Default | equal | |
Introduced | 19.10.R1 | |
Platforms | All |
unique boolean
Synopsis | Use unique AS numbers as matching criteria | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 from cluster-id | |
Tree | cluster-id | |
Introduced | 19.10.R1 | |
Platforms | All |
ip-address ipv4-prefix-with-host-bits
Synopsis | Cluster list attribute IP addresses for route matching | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from cluster-id ip-address ipv4-prefix-with-host-bits | |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 from community | |
Tree | community | |
Introduced | 19.10.R1 | |
Platforms | All |
count
Synopsis | Enter the count context | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 from community count qualifier keyword | |
Tree | qualifier | |
Options | ||
Default | equal | |
Introduced | 19.10.R1 | |
Platforms | All |
type keyword
Synopsis | Community count to match the community count criteria | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 statement as a match criterion | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from community expression string | |
Tree | expression | |
Description | This command configures a community expression statement as a match criterion for the policy statement. This statement is a logical expression string composed of logical operators (keywords AND, OR, NOT), community names delimited by square brackets [], and parentheses ( ) to group subexpressions. If the expression contains special characters (for example, #, $, spaces), the entire string must be enclosed in double quotes. The expression specified must already be defined using the configure policy-options community expression expr command. The following are examples of valid logical expressions: "[community_list_A] OR ([community_list_B] AND [community_list_C])" "NOT [community_list_A]" "[community_list_A] AND [community_list_B] OR [community_list_C]" "NOT ([community_list_A] OR [community_list_B] OR [community_list_C])" | |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 from family keyword | |
Tree | family | |
Description | This command specifies address families as matching conditions. | |
Options | ||
Max. instances | 20 | |
Introduced | 19.10.R1 | |
Platforms |
All |
flowspec
Synopsis | Enter the flowspec context | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from flowspec | |
Tree | flowspec | |
Description | Commands in this context configure the route-matching rules for BGP FlowSpec routes. | |
Introduced | 19.10.R1 | |
Platforms | All |
dest (param-midstring | string)
Synopsis | Destination IP prefix list to match BGP FlowSpec routes | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from flowspec dest (param-midstring | string) | |
Tree | dest | |
Description | This command specifies a prefix list used by the router to match BGP FlowSpec routes based on the destination IP prefix in the flow specification. An IPv4 FlowSpec route is matched if its NLRI contains a type 1 subcomponent encoding a prefix and prefix length that is covered by an entry in the referenced prefix list. An IPv6 FlowSpec route is matched if its NLRI contains a type 1 component encoding prefix-offset = 0 and a prefix and prefix length that is covered by an entry in the referenced prefix list. This command has no effect when the policy is not applied as a BGP import or export policy. | |
String length | 1 to 32 | |
Introduced | 19.10.R1 | |
Platforms | All |
source (param-midstring | string)
Synopsis | Source IP prefix list to match BGP FlowSpec routes | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from flowspec source (param-midstring | string) | |
Tree | source | |
Description | This command specifies a prefix list used by the router to match BGP FlowSpec routes based on the source IP prefix in the flow specification. An IPv4 FlowSpec route is matched if its NLRI contains a type 2 subcomponent encoding a prefix and prefix length that is covered by an entry in the referenced prefix list. An IPv6 FlowSpec route is matched if its NLRI contains a type 2 component encoding prefix-offset = 0 and a prefix and prefix length that is covered by an entry in the referenced prefix list. This command has no effect when the policy is not applied as a BGP import or export policy. | |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 interface-name
Synopsis | Interface name as the match criterion | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from interface-subnets ip-int-name interface-name | |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 from local-preference qualifier keyword | |
Tree | qualifier | |
Options | ||
Default | equal | |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 from metric qualifier keyword | |
Tree | qualifier | |
Options | ||
Default | equal | |
Introduced | 19.10.R1 | |
Platforms | All |
value (number | string)
Synopsis | Local preference value or variable name | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 from policy-variables | |
Tree | policy-variables | |
Introduced | 19.10.R1 | |
Platforms | All |
name [variable-name] policy-var-name
Synopsis | Enter the name list instance | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from policy-variables name policy-var-name | |
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] policy-var-name
Synopsis | Global variable name used to reference policy functions | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from policy-variables name policy-var-name | |
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 named-item-64 named-entry named-item-255 from policy-variables name policy-var-name address (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | address | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, 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 named-item-64 named-entry named-item-255 from policy-variables name policy-var-name decimal decimal-number | |
Tree | decimal | |
Range | 0.000 to 4294967295.000 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 19.10.R1 | |
Platforms | All |
number number
Synopsis | Numerical value of the policy variable | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from policy-variables name policy-var-name number number | |
Tree | number | |
Range | 0 to 4294967295 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix (ipv4-prefix | ipv6-prefix)
Synopsis | Prefix value associated with the variable name | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from policy-variables name policy-var-name prefix (ipv4-prefix | ipv6-prefix) | |
Tree | prefix | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, or value. | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
value named-item
Synopsis | Policy variable value | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from policy-variables name policy-var-name value named-item | |
Tree | value | |
String length | 1 to 32 | |
Notes | The following elements are part of a mandatory choice: address, decimal, number, prefix, 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 named-item-64 named-entry named-item-255 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 |
prefix-list-override [prefix-list] string
Synopsis | Enter the prefix-list-override list instance | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from prefix-list-override string | |
Tree | prefix-list-override | |
Description | Commands in this context convert a prefix list to a specific match type. The routing policy uses the converted list as a match condition. The prefix list to be converted can be specified by its name, as an expression containing the name of a global variable that holds the name of the prefix list, or as an expression containing the name of a subroutine variable that holds the name of the prefix list. | |
Max. instances | 1 | |
Introduced | 23.10.R1 | |
Platforms | All |
[prefix-list] string
Synopsis | Prefix list to be converted | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from prefix-list-override string | |
Tree | prefix-list-override | |
Notes | This element is part of a list key. | |
Introduced | 23.10.R1 | |
Platforms | All |
end-length number
Synopsis | Prefix range end length | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from prefix-list-override string end-length number | |
Tree | end-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: (end-length and start-length) or through-length. | |
Introduced | 23.10.R1 | |
Platforms | All |
start-length number
Synopsis | Prefix range start length | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from prefix-list-override string start-length number | |
Tree | start-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: (end-length and start-length) or through-length. | |
Introduced | 23.10.R1 | |
Platforms | All |
through-length number
Synopsis | Prefix through length | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from prefix-list-override string through-length number | |
Tree | through-length | |
Range | 0 to 128 | |
Notes | The following elements are part of a choice: (end-length and start-length) or through-length. | |
Introduced | 23.10.R1 | |
Platforms | All |
type keyword
Synopsis | New match type for entries in referenced prefix list | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from prefix-list-override string type keyword | |
Tree | type | |
Options | ||
Default | exact | |
Introduced | 23.10.R1 | |
Platforms | All |
protocol
Synopsis | Enter the protocol context | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 | |
Options | ||
Default | 0 | |
Introduced | 19.10.R1 | |
Platforms |
All |
name keyword
Synopsis | List of protocol names as the match criterion | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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. The protocol direct-interface route type matches the specific direct interface host IPv4 /32 and IPv6 /128 routes. | |
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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 |
srv6-sid-prefix (policy-var-name | ipv6-unicast-prefix)
Synopsis | SRv6 SID or uSID as match criterion for the BGP route | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from srv6-sid-prefix (policy-var-name | ipv6-unicast-prefix) | |
Tree | srv6-sid-prefix | |
Description | This command configures either the name of a prefix policy variable or an IPv6 prefix and prefix length, as a match criterion for a BGP route. Note: If the name of a prefix policy variable is the match criterion, the name must start and end with an at sign (@). A BGP route matches this condition if it has an SRv6 TLV, and the SID or micro-segment (uSID) value in that TLV is matched by the bits of the IPv6 prefix (up to the specified prefix length). This match condition is supported in BGP import policies, BGP export policies, and VRF or VSI import policies. | |
String length | 1 to 32 | |
Introduced | 23.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
srv6-tlv keyword
Synopsis | SRv6 TLV presence as match criterion for BGP route | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 from srv6-tlv keyword | |
Tree | srv6-tlv | |
Description | This command configures whether the entry matches a BGP route with a prefix SID attribute containing an SRv6 TLV. If this command is not configured, a BGP route can match the entry, regardless of whether it has a prefix SID attribute or whether that prefix SID attribute has SRv6 TLVs. This match condition is supported in BGP import policies, BGP export policies, and VRF or VSI import policies. If the present option is configured, a BGP route only matches this entry if it has a prefix SID attribute containing an SRv6 TLV. If the not-present option is configured, a BGP route only matches this entry if it does not have a prefix SID attribute containing an SRv6 TLV. | |
Options | ||
Introduced | 23.7.R1 | |
Platforms |
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR |
state keyword
Synopsis | State used as a match criterion | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 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 named-item-64 named-entry named-item-255 to protocol instance (keyword | number) | |
Tree | instance | |
Range | 0 to 127 | |
Options | ||
Default | 0 | |
Introduced | 19.10.R1 | |
Platforms |
All |
name keyword
Synopsis | Protocol name to match | |
Context | configure policy-options policy-statement named-item-64 named-entry named-item-255 to protocol name keyword | |
Tree | name | |
Options | ||
Max. instances | 2 | |
Introduced | 19.10.R1 | |
Platforms | All |
prefix-list [name] named-item-64
Synopsis | Enter the prefix-list list instance | |
Context | configure policy-options prefix-list named-item-64 | |
Tree | prefix-list | |
Introduced | 16.0.R1 | |
Platforms | All |
[name] named-item-64
Synopsis | Prefix list name | |
Context | configure policy-options prefix-list named-item-64 | |
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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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 named-item-64 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] named-item-64
Synopsis | Enter the route-distinguisher-list list instance | |
Context | configure policy-options route-distinguisher-list named-item-64 | |
Tree | route-distinguisher-list | |
Introduced | 23.3.R1 | |
Platforms | All |
[name] named-item-64
Synopsis | Route distinguisher list name | |
Context | configure policy-options route-distinguisher-list named-item-64 | |
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 named-item-64 rd-entry string | |
Tree | rd-entry | |
Max. instances | 128 | |
Introduced | 23.3.R1 | |
Platforms | All |
[rd] string
Synopsis | Route distinguisher | |
Context | configure policy-options route-distinguisher-list named-item-64 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 |