routing-policy

routing-policy
+  as-path-set name string 
   +  expression string
+  community-set name string 
   +  match-set-options keyword
   +  member (identityref | bgp-std-community-type | bgp-large-community-type | string | string | string | string | string | string | string | string | string | string | bgp-large-community-regexp-type | bgp-std-community-regexp-type)
+  policy name string 
   +  default-action
      +  bgp
         +  as-path
            +  prepend
               +  as-number (number | keyword)
               +  repeat-n number
            +  remove boolean
            +  replace number
         +  communities
            +  add reference
            +  remove reference
            +  replace reference
         +  label-allocation
            +  prefix-sid
               +  reuse-igp boolean
         +  local-preference
            +  set number
         +  med
            +  set (number | keyword)
         +  next-hop
            +  set (ipv4-address | ipv6-address | keyword)
         +  next-hop-resolution
            +  set-tag-set reference
         +  origin
            +  set keyword
      +  internal-tags
         +  set-tag-set reference
      +  policy-result keyword
      +  route-preference
         +  set number
   +  statement name string 
      +  action
         +  bgp
            +  as-path
               +  prepend
                  +  as-number (number | keyword)
                  +  repeat-n number
               +  remove boolean
               +  replace number
            +  communities
               +  add reference
               +  remove reference
               +  replace reference
            +  label-allocation
               +  prefix-sid
                  +  reuse-igp boolean
            +  local-preference
               +  set number
            +  med
               +  set (number | keyword)
            +  next-hop
               +  set (ipv4-address | ipv6-address | keyword)
            +  next-hop-resolution
               +  set-tag-set reference
            +  origin
               +  set keyword
         +  internal-tags
            +  set-tag-set reference
         +  policy-result keyword
         +  route-preference
            +  set number
      +  match
         +  bgp
            +  as-path-length
               +  operator keyword
               +  unique boolean
               +  value number
            +  as-path-set reference
            +  community-set reference
            +  evpn
               +  route-type number
         +  family identityref
         +  internal-tags
            +  match-set-options keyword
            +  tag-set reference
         +  isis
            +  level number
            +  route-type keyword
         +  multicast
            +  group-address
               +  prefix-set reference
            +  source-address
               +  prefix-set reference
         +  ospf
            +  area-id
            +  instance-id number
            +  route-type identityref
         +  prefix-set reference
         +  protocol identityref
+  prefix-set name string 
   +  prefix ip-prefix (ipv4-prefix | ipv6-prefix) mask-length-range string 
+  tag-set name string 
   -  tag-set-index number
   +  tag-value (number | hex-string)

routing-policy Descriptions

routing-policy

Description Top-level container for all routing policy configuration
Contextrouting-policy
Treerouting-policy
ConfigurableTrue
PlatformsSupported on all platforms

as-path-set name string

Description AS Path regular expressions for use in policy entries
Contextrouting-policy as-path-set name string
Treeas-path-set
ConfigurableTrue
PlatformsSupported on all platforms

name string

Description A name used to identify the AS path regular expression
Contextrouting-policy as-path-set name string
String Length1 to 255
ConfigurableTrue
PlatformsSupported on all platforms

expression string

Description A regular expression where each AS number is an elemental term
Contextrouting-policy as-path-set name string expression string
Treeexpression
String Length1 to 65535
ConfigurableTrue
PlatformsSupported on all platforms

community-set name string

Description List of BGP community sets containing standard, extended and large BGP communities
Contextrouting-policy community-set name string
Treecommunity-set
ConfigurableTrue
PlatformsSupported on all platforms

name string

Description A name used to identify the community set
Contextrouting-policy community-set name string
String Length1 to 255
ConfigurableTrue
PlatformsSupported on all platforms

match-set-options keyword

Description Options that determine the matching criteria that applies to the list of community members
Contextrouting-policy community-set name string match-set-options keyword
Treematch-set-options
Defaultall
Options
  • any

    Match is true if any of the listed community member values is present in the route

  • all

    Match is true if all of the listed community member values are present in the route

  • invert

    Match is true if none of the listed community member values are present in the route

ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S

member (identityref | bgp-std-community-type | bgp-large-community-type | string | string | string | string | string | string | string | string | string | string | bgp-large-community-regexp-type | bgp-std-community-regexp-type)

Description A standard BGP community value, regular expression or well-known name or else a large BGP community value or regular expression
Contextrouting-policy community-set name string member (identityref | bgp-std-community-type | bgp-large-community-type | string | string | string | string | string | string | string | string | string | string | bgp-large-community-regexp-type | bgp-std-community-regexp-type)
Treemember
Options
  • no-export

    Do not export NLRI received carrying this community outside the bounds of this autonomous system, or this confederation if the local autonomous system is a confederation member AS. This community has a value of 0xFFFFFF01.

  • no-advertise

    All NLRI received carrying this community must not be advertised to other BGP peers. This community has a value of 0xFFFFFF02.

  • no-export-subconfed

    All NLRI received carrying this community must not be advertised to external BGP peers - including over confederation sub-AS boundaries. This community has a value of 0xFFFFFF03.

ConfigurableTrue
PlatformsSupported on all platforms

policy name string

Description List of policy definitions, keyed by unique name These policy definitions are expected to be referenced (by name) in policy in import-policy and/or export-policy statements.
Contextrouting-policy policy name string
Treepolicy
ConfigurableTrue
PlatformsSupported on all platforms

name string

Description A name used to identify the policy
Context routing-policy policy name string
String Length1 to 255
ConfigurableTrue
PlatformsSupported on all platforms

default-action

Description Actions for routes that do not match any policy entry
Contextrouting-policy policy name string default-action
Treedefault-action
ConfigurableTrue
PlatformsSupported on all platforms
bgp
Description Enter the bgp context
Context routing-policy policy name string default-action bgp
Treebgp
ConfigurableTrue
PlatformsSupported on all platforms
as-path
Description Modify AS Path attribute of routes
Context routing-policy policy name string default-action bgp as-path
Treeas-path
ConfigurableTrue
PlatformsSupported on all platforms
prepend
Description Prepend a BGP AS number to the AS Path attribute of routes
Contextrouting-policy policy name string default-action bgp as-path prepend
Treeprepend
ConfigurableTrue
PlatformsSupported on all platforms
as-number (number | keyword)
Description

The AS number to prepend to the AS Path attributes

If 'auto' is specified then the peer's AS number is used in the context of an import policy and the local AS number is used in the context of an export policy.

Contextrouting-policy policy name string default-action bgp as-path prepend as-number (number | keyword)
Treeas-number
Range1 to 4294967295
Options
  • auto

ConfigurableTrue
PlatformsSupported on all platforms
communities
Description Modify BGP communities attached to routes
Contextrouting-policy policy name string default-action bgp communities
Treecommunities
ConfigurableTrue
PlatformsSupported on all platforms
label-allocation
Description Actions that determine the method used to assign labels to BGP LU routes matched and accepted by route-table-import policies
Contextrouting-policy policy name string default-action bgp label-allocation
Treelabel-allocation
ConfigurableTrue
Platforms7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
prefix-sid
Description RIB-OUT label is based on prefix SID configuration
Contextrouting-policy policy name string default-action bgp label-allocation prefix-sid
Treeprefix-sid
ConfigurableTrue
Platforms7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
med
Description Enter the med context
Context routing-policy policy name string default-action bgp med
Treemed
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
set (number | keyword)
Description The new value of the Multi-Exit Discriminator attribute value to write into the matching BGP routes. The route-table-cost option derives the MED from the route metric.
Contextrouting-policy policy name string default-action bgp med set (number | keyword)
Treeset
Options
  • route-table-cost

ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
next-hop
Description Container for BGP next-hop modifications
Contextrouting-policy policy name string default-action bgp next-hop
Treenext-hop
ConfigurableTrue
PlatformsSupported on all platforms
set (ipv4-address | ipv6-address | keyword)
Description Set the protocol next-hop addres of matched BGP routes
Contextrouting-policy policy name string default-action bgp next-hop set (ipv4-address | ipv6-address | keyword)
Treeset
Options
  • self

    Special designation for local router's own address, i.e., next-hop-self

ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
next-hop-resolution
Description Actions related to next-hop resolution of matched BGP routes
Contextrouting-policy policy name string default-action bgp next-hop-resolution
Treenext-hop-resolution
ConfigurableTrue
PlatformsSupported on all platforms
internal-tags
Description Configuration of internal tags
Context routing-policy policy name string default-action internal-tags
Treeinternal-tags
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
set-tag-set reference
Description Reference to a tag-set defined under routing-policy
Contextrouting-policy policy name string default-action internal-tags set-tag-set reference
Treeset-tag-set
Referencerouting-policy tag-set name string
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
Max. Elements1
policy-result keyword
Description Select the action type for routes that do not match any policy statement.
Contextrouting-policy policy name string default-action policy-result keyword
Treepolicy-result
Options
  • accept

    The route is accepted, route property modifications are applied, and evaluation stops immediately

  • reject

    The route is rejected and evaluation stops immediately

  • next-policy

    Route policy modifications are applied and evaluation continues to the next policy

ConfigurableTrue
PlatformsSupported on all platforms
route-preference
Description Options for modifying route preference
Contextrouting-policy policy name string default-action route-preference
Treeroute-preference
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
set number
Description

Overwrite the route preference with the specified value

The IP route table preference is sometimes called the administrative distance of the route. In general, when comparing any two routes, the route with the lower preference is the one that is activated and used for forwarding.

This action has an effect only in BGP import policies and VRF import policies

Contextrouting-policy policy name string default-action route-preference set number
Treeset
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S

statement name string

Description Policy statements group conditions and actions within a policy definition. They are evaluated in configuration order.
Contextrouting-policy policy name string statement name string
Treestatement
ConfigurableTrue
PlatformsSupported on all platforms
name string
Description Name given to the policy statement (rule).
Contextrouting-policy policy name string statement name string
String Length1 to 255
ConfigurableTrue
PlatformsSupported on all platforms
action
Description Actions for routes that match the policy statement
Contextrouting-policy policy name string statement name string action
Treeaction
ConfigurableTrue
PlatformsSupported on all platforms
bgp
Description Enter the bgp context
Context routing-policy policy name string statement name string action bgp
Treebgp
ConfigurableTrue
PlatformsSupported on all platforms
as-path
Description Modify AS Path attribute of routes
Context routing-policy policy name string statement name string action bgp as-path
Treeas-path
ConfigurableTrue
PlatformsSupported on all platforms
prepend
Description Prepend a BGP AS number to the AS Path attribute of routes
Contextrouting-policy policy name string statement name string action bgp as-path prepend
Treeprepend
ConfigurableTrue
PlatformsSupported on all platforms
as-number (number | keyword)
Description

The AS number to prepend to the AS Path attributes

If 'auto' is specified then the peer's AS number is used in the context of an import policy and the local AS number is used in the context of an export policy.

Contextrouting-policy policy name string statement name string action bgp as-path prepend as-number (number | keyword)
Treeas-number
Range1 to 4294967295
Options
  • auto

ConfigurableTrue
PlatformsSupported on all platforms
communities
Description Modify BGP communities attached to routes
Contextrouting-policy policy name string statement name string action bgp communities
Treecommunities
ConfigurableTrue
PlatformsSupported on all platforms
label-allocation
Description Actions that determine the method used to assign labels to BGP LU routes matched and accepted by route-table-import policies
Contextrouting-policy policy name string statement name string action bgp label-allocation
Treelabel-allocation
ConfigurableTrue
Platforms7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
prefix-sid
Description RIB-OUT label is based on prefix SID configuration
Contextrouting-policy policy name string statement name string action bgp label-allocation prefix-sid
Treeprefix-sid
ConfigurableTrue
Platforms7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
med
Description Enter the med context
Context routing-policy policy name string statement name string action bgp med
Treemed
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
set (number | keyword)
Description The new value of the Multi-Exit Discriminator attribute value to write into the matching BGP routes. The route-table-cost option derives the MED from the route metric.
Contextrouting-policy policy name string statement name string action bgp med set (number | keyword)
Treeset
Options
  • route-table-cost

ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
next-hop
Description Container for BGP next-hop modifications
Contextrouting-policy policy name string statement name string action bgp next-hop
Treenext-hop
ConfigurableTrue
PlatformsSupported on all platforms
set (ipv4-address | ipv6-address | keyword)
Description Set the protocol next-hop addres of matched BGP routes
Contextrouting-policy policy name string statement name string action bgp next-hop set (ipv4-address | ipv6-address | keyword)
Treeset
Options
  • self

    Special designation for local router's own address, i.e., next-hop-self

ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
next-hop-resolution
Description Actions related to next-hop resolution of matched BGP routes
Contextrouting-policy policy name string statement name string action bgp next-hop-resolution
Treenext-hop-resolution
ConfigurableTrue
PlatformsSupported on all platforms
internal-tags
Description Configuration of internal tags
Context routing-policy policy name string statement name string action internal-tags
Treeinternal-tags
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
set-tag-set reference
Description Reference to a tag-set defined under routing-policy
Contextrouting-policy policy name string statement name string action internal-tags set-tag-set reference
Treeset-tag-set
Referencerouting-policy tag-set name string
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
Max. Elements1
policy-result keyword
Description

Select the action to apply to matching routes

If no value is configured for the policy-result then the entire statement is skipped and ignored.

Contextrouting-policy policy name string statement name string action policy-result keyword
Treepolicy-result
Options
  • accept

    The route is accepted, route property modifications are applied, and evaluation stops immediately

  • reject

    The route is rejected and evaluation stops immediately

  • next-statement

    Route policy modifications are applied and evaluation continues to the next statement

  • next-policy

    Route policy modifications are applied and evaluation continues to the next policy

ConfigurableTrue
PlatformsSupported on all platforms
route-preference
Description Options for modifying route preference
Contextrouting-policy policy name string statement name string action route-preference
Treeroute-preference
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
set number
Description

Overwrite the route preference with the specified value

The IP route table preference is sometimes called the administrative distance of the route. In general, when comparing any two routes, the route with the lower preference is the one that is activated and used for forwarding.

This action has an effect only in BGP import policies and VRF import policies

Contextrouting-policy policy name string statement name string action route-preference set number
Treeset
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
match
Description Match conditions of the policy statement
Contextrouting-policy policy name string statement name string match
Treematch
ConfigurableTrue
PlatformsSupported on all platforms
bgp
Description Configuration for BGP-specific policy match criteria
Contextrouting-policy policy name string statement name string match bgp
Treebgp
ConfigurableTrue
PlatformsSupported on all platforms
as-path-length
Description A BGP route matches this condition if the number of (unique) AS numbers in its AS_PATH matches this value or the range implied by the value+operator.
Contextrouting-policy policy name string statement name string match bgp as-path-length
Treeas-path-length
ConfigurableTrue
PlatformsSupported on all platforms
evpn
Description Container for match conditions that are specific to BGP EVPN routes.
Contextrouting-policy policy name string statement name string match bgp evpn
Treeevpn
ConfigurableTrue
PlatformsSupported on all platforms
family identityref
Description

The name of an address family

A route meets this condition if the prefix belongs to one of the indicated address families.

Contextrouting-policy policy name string statement name string match family identityref
Treefamily
Options
  • ipv4-unicast

    Unlabeled IPv4 unicast routes (AFI = 1, SAFI = 1)

  • ipv6-unicast

    Unlabeled IPv6 unicast routes (AFI = 2, SAFI = 1)

  • l3vpn-ipv4-unicast

    VPN-IPv4 unicast address family (AFI = 1, SAFI = 128)

  • l3vpn-ipv6-unicast

    VPN-IPv6 unicast address family (AFI = 2, SAFI = 128)

  • ipv4-labeled-unicast

    Labeled IPv4 unicast routes (AFI 1, SAFI 4)

  • ipv6-labeled-unicast

    Labeled IPv6 unicast routes (AFI 2, SAFI 4)

  • evpn

    EVPN routes (AFI = 25, SAFI = 70)

  • route-target

    Route target constraint routes (AFI 1, SAFI 132)

  • sr-policy-ipv4

    SR-TE Policy (AFI 1, SAFI 73)

  • sr-policy-ipv6

    SR-TE Policy (AFI 2, SAFI 73)

ConfigurableTrue
PlatformsSupported on all platforms
internal-tags
Description Configuration and state of internal tags
Contextrouting-policy policy name string statement name string match internal-tags
Treeinternal-tags
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
match-set-options keyword
Description Options that determine the matching criteria that applies to the members in the referenced set
Contextrouting-policy policy name string statement name string match internal-tags match-set-options keyword
Treematch-set-options
Defaultany
Options
  • any

    Match is true if any of the members in the referenced set is present in the route

  • all

    Match is true if all of the members in the referenced set are present in the route

  • invert

    Match is true if none of the members in the referenced set are present in the route

ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
tag-set reference
Description Reference to a tag-set defined under routing-policy
Contextrouting-policy policy name string statement name string match internal-tags tag-set reference
Treetag-set
Referencerouting-policy tag-set name string
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
Max. Elements1
isis
Description Configuration for ISIS-specific policy match criteria
Contextrouting-policy policy name string statement name string match isis
Treeisis
ConfigurableTrue
PlatformsSupported on all platforms
route-type keyword
Description

Match an IS-IS route based on its type

An IS-IS IPv4 prefix is external if it is signalled in TLV 130 or TLV135 with RFC 7794 X flag=1. An IS-IS IPv6 prefix is external if the TLV 236/TLV 237 external bit = 1.

Contextrouting-policy policy name string statement name string match isis route-type keyword
Treeroute-type
Options
  • internal

    Match internal AND external routes

  • external

    Match only external routes

ConfigurableTrue
PlatformsSupported on all platforms
multicast
Description Enter the multicast context
Context routing-policy policy name string statement name string match multicast
Treemulticast
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
group-address
Description Enter the group-address context
Context routing-policy policy name string statement name string match multicast group-address
Treegroup-address
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
prefix-set reference
Description

Multicast group IP address

<S,G> the source needs to be present in the multicast source-address leafref and the group needs to present in the group-address leafref. To match a <*,G> the group has to be programmed in the group-address leafref and no source in the source-address leafref. Group address can be configured as a prefix.

Contextrouting-policy policy name string statement name string match multicast group-address prefix-set reference
Treeprefix-set
Referencerouting-policy prefix-set name string
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
source-address
Description Enter the source-address context
Context routing-policy policy name string statement name string match multicast source-address
Treesource-address
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
prefix-set reference
Description

Multicast source IP address

Source address can be configured as a prefix.

Contextrouting-policy policy name string statement name string match multicast source-address prefix-set reference
Treeprefix-set
Referencerouting-policy prefix-set name string
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
ospf
Description Configuration for OSPF-specific policy match criteria
Contextrouting-policy policy name string statement name string match ospf
Treeospf
ConfigurableTrue
PlatformsSupported on all platforms
protocol identityref
Description The route type to match
Context routing-policy policy name string statement name string match protocol identityref
Treeprotocol
Options
  • routing-policy-protocol-match-type

    Base type for the types of routes and tunnels that can be matched by a route policy statement

ConfigurableTrue
PlatformsSupported on all platforms

prefix-set name string

Description List of defined prefix sets
Context routing-policy prefix-set name string
Treeprefix-set
ConfigurableTrue
PlatformsSupported on all platforms

name string

Description A name used to identify the prefix set
Contextrouting-policy prefix-set name string
String Length1 to 255
ConfigurableTrue
PlatformsSupported on all platforms

prefix ip-prefix (ipv4-prefix | ipv6-prefix) mask-length-range string

Description List of prefixes in the prefix set
Context routing-policy prefix-set name string prefix ip-prefix (ipv4-prefix | ipv6-prefix) mask-length-range string
Treeprefix
ConfigurableTrue
PlatformsSupported on all platforms
mask-length-range string
Description

The range of prefix lengths to match

Example: 10.3.192.0/21 through 10.3.192.0/24 would be expressed as prefix: 10.3.192.0/21, mask-length-range: 21..24.

Example: 10.3.192.0/21 would be expressed as prefix: 10.3.192.0/21, mask-length-range: exact

Contextrouting-policy prefix-set name string prefix ip-prefix (ipv4-prefix | ipv6-prefix) mask-length-range string
ConfigurableTrue
PlatformsSupported on all platforms

tag-set name string

Description List of administrative tag sets
Context routing-policy tag-set name string
Treetag-set
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
Max. Elements1024

name string

Description A name used to identify the tag set
Context routing-policy tag-set name string
String Length1 to 255
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S

tag-set-index number

Description System-wide persistent unique identifier assigned to the tag-set
Contextrouting-policy tag-set name string tag-set-index number
Treetag-set-index
ConfigurableFalse
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S

tag-value (number | hex-string)

Description Value of the tag set member
Context routing-policy tag-set name string tag-value (number | hex-string)
Treetag-value
String Length1 to 11
Range1 to 4294967295
ConfigurableTrue
Platforms7215 IXS-A1, 7220 IXR-D1, 7220 IXR-D2, 7220 IXR-D2L, 7220 IXR-D3, 7220 IXR-D3L, 7220 IXR-D4, 7220 IXR-D5, 7220 IXR-H2, 7220 IXR-H3, 7220 IXR-H4, 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X1b, 7250 IXR-X3b, 7730 SXR-1d-32D, 7730 SXR-1x-44S
Max. Elements2
Min. Elements1