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
+ 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 | |
Context | routing-policy | |
Tree | routing-policy | |
Configurable | True | |
Platforms | Supported on all platforms |
as-path-set name string
Description | AS Path regular expressions for use in policy entries | |
Context | routing-policy as-path-set name string | |
Tree | as-path-set | |
Configurable | True | |
Platforms | Supported on all platforms |
name string
Description | A name used to identify the AS path regular expression | |
Context | routing-policy as-path-set name string | |
String Length | 1 to 255 | |
Configurable | True | |
Platforms | Supported on all platforms |
expression string
Description | A regular expression where each AS number is an elemental term | |
Context | routing-policy as-path-set name string expression string | |
Tree | expression | |
String Length | 1 to 65535 | |
Configurable | True | |
Platforms | Supported on all platforms |
community-set name string
Description | List of BGP community sets containing standard and large BGP communities | |
Context | routing-policy community-set name string | |
Tree | community-set | |
Configurable | True | |
Platforms | Supported on all platforms |
name string
Description | A name used to identify the community set | |
Context | routing-policy community-set name string | |
String Length | 1 to 255 | |
Configurable | True | |
Platforms | Supported on all platforms |
match-set-options keyword
Description | Options that determine the matching criteria that applies to the list of community members | |
Context | routing-policy community-set name string match-set-options keyword | |
Tree | match-set-options | |
Default | all | |
Options |
| |
Configurable | True | |
Platforms | 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-X3b |
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 | |
Context | routing-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) | |
Tree | member | |
Options |
| |
Configurable | True | |
Platforms | Supported 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. | |
Context | routing-policy policy name string | |
Tree | policy | |
Configurable | True | |
Platforms | Supported on all platforms |
name string
Description | A name used to identify the policy | |
Context | routing-policy policy name string | |
String Length | 1 to 255 | |
Configurable | True | |
Platforms | Supported on all platforms |
default-action
Description | Actions for routes that do not match any policy entry | |
Context | routing-policy policy name string default-action | |
Tree | default-action | |
Configurable | True | |
Platforms | Supported on all platforms |
bgp
Description | Enter the bgp context | |
Context | routing-policy policy name string default-action bgp | |
Tree | bgp | |
Configurable | True | |
Platforms | Supported on all platforms |
as-path
Description | Modify AS Path attribute of routes | |
Context | routing-policy policy name string default-action bgp as-path | |
Tree | as-path | |
Configurable | True | |
Platforms | Supported on all platforms |
prepend
Description | Prepend a BGP AS number to the AS Path attribute of routes | |
Context | routing-policy policy name string default-action bgp as-path prepend | |
Tree | prepend | |
Configurable | True | |
Platforms | Supported 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. | |
Context | routing-policy policy name string default-action bgp as-path prepend as-number (number | keyword) | |
Tree | as-number | |
Range | 1 to 4294967295 | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
repeat-n number
Description | The number of repetitions of the prepended AS number | |
Context | routing-policy policy name string default-action bgp as-path prepend repeat-n number | |
Tree | repeat-n | |
Range | 1 to 50 | |
Configurable | True | |
Platforms | Supported on all platforms |
remove boolean
Description | Clear the AS path to make it empty. | |
Context | routing-policy policy name string default-action bgp as-path remove boolean | |
Tree | remove | |
Configurable | True | |
Platforms | Supported on all platforms |
replace number
Description | Clear the existing AS path and replace it a new AS_SEQUENCE containing the listed AS numbers. | |
Context | routing-policy policy name string default-action bgp as-path replace number | |
Tree | replace | |
Range | 1 to 4294967295 | |
Configurable | True | |
Platforms | Supported on all platforms |
communities
Description | Modify BGP communities attached to routes | |
Context | routing-policy policy name string default-action bgp communities | |
Tree | communities | |
Configurable | True | |
Platforms | Supported on all platforms |
add reference
Description | Reference to a community-set name All of the non-regex community members in the referenced community-set are added to the COMMUNTIES and LARGE_COMMUNITIES attributes. | |
Context | routing-policy policy name string default-action bgp communities add reference | |
Tree | add | |
Reference | routing-policy community-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
remove reference
Description | Reference to a community-set name The communities in the route are compared to all of the community members in the referenced community-set, and all matching communities are removed from the COMMUNITIES and LARGE_COMMUNITIES attributes. | |
Context | routing-policy policy name string default-action bgp communities remove reference | |
Tree | remove | |
Reference | routing-policy community-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
replace reference
Description | Reference to a community-set name All of the existing communities are deleted and then all of the non-regex community members in the referenced community-set are encoded in new COMMUNTIES and LARGE_COMMUNITIES attributes. | |
Context | routing-policy policy name string default-action bgp communities replace reference | |
Tree | replace | |
Reference | routing-policy community-set name string | |
Configurable | True | |
Platforms | Supported 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 | |
Context | routing-policy policy name string default-action bgp label-allocation | |
Tree | label-allocation | |
Configurable | True | |
Platforms | 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X3b |
prefix-sid
Description | RIB-OUT label is based on prefix SID configuration | |
Context | routing-policy policy name string default-action bgp label-allocation prefix-sid | |
Tree | prefix-sid | |
Configurable | True | |
Platforms | 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X3b |
reuse-igp boolean
Description | When true use the programmed SR-IGP label index for the matching prefix, resulting in a stitch to the IGP segment routing tunnel | |
Context | routing-policy policy name string default-action bgp label-allocation prefix-sid reuse-igp boolean | |
Tree | reuse-igp | |
Configurable | True | |
Platforms | 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X3b |
local-preference
Description | Enter the local-preference context | |
Context | routing-policy policy name string default-action bgp local-preference | |
Tree | local-preference | |
Configurable | True | |
Platforms | Supported on all platforms |
set number
Description | The new value of LOCAL_PREF to write into the matching BGP routes | |
Context | routing-policy policy name string default-action bgp local-preference set number | |
Tree | set | |
Configurable | True | |
Platforms | Supported on all platforms |
med
Description | Enter the med context | |
Context | routing-policy policy name string default-action bgp med | |
Tree | med | |
Configurable | True | |
Platforms | 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-X3b |
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. | |
Context | routing-policy policy name string default-action bgp med set (number | keyword) | |
Tree | set | |
Options |
| |
Configurable | True | |
Platforms | 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-X3b |
next-hop
Description | Container for BGP next-hop modifications | |
Context | routing-policy policy name string default-action bgp next-hop | |
Tree | next-hop | |
Configurable | True | |
Platforms | Supported on all platforms |
set (ipv4-address | ipv6-address | keyword)
Description | Set the protocol next-hop addres of matched BGP routes | |
Context | routing-policy policy name string default-action bgp next-hop set (ipv4-address | ipv6-address | keyword) | |
Tree | set | |
Options |
| |
Configurable | True | |
Platforms | 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-X3b |
next-hop-resolution
Description | Actions related to next-hop resolution of matched BGP routes | |
Context | routing-policy policy name string default-action bgp next-hop-resolution | |
Tree | next-hop-resolution | |
Configurable | True | |
Platforms | Supported on all platforms |
set-tag-set reference
Description | Reference to a tag-set to be used for controlling next-hop resolution | |
Context | routing-policy policy name string default-action bgp next-hop-resolution set-tag-set reference | |
Tree | set-tag-set | |
Reference | routing-policy tag-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
origin
Description | Enter the origin context | |
Context | routing-policy policy name string default-action bgp origin | |
Tree | origin | |
Configurable | True | |
Platforms | Supported on all platforms |
set keyword
Description | The new value of the ORIGIN attribute to write into the matching BGP routes | |
Context | routing-policy policy name string default-action bgp origin set keyword | |
Tree | set | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
internal-tags
Description | Configuration of internal tags | |
Context | routing-policy policy name string default-action internal-tags | |
Tree | internal-tags | |
Configurable | True | |
Platforms | 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-X3b |
set-tag-set reference
Description | Reference to a tag-set defined under routing-policy | |
Context | routing-policy policy name string default-action internal-tags set-tag-set reference | |
Tree | set-tag-set | |
Reference | routing-policy tag-set name string | |
Configurable | True | |
Platforms | 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-X3b | |
Max. Elements | 1 |
policy-result keyword
Description | Select the action type for routes that do not match any policy statement. | |
Context | routing-policy policy name string default-action policy-result keyword | |
Tree | policy-result | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
route-preference
Description | Options for modifying route preference | |
Context | routing-policy policy name string default-action route-preference | |
Tree | route-preference | |
Configurable | True | |
Platforms | 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-X3b |
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 | |
Context | routing-policy policy name string default-action route-preference set number | |
Tree | set | |
Configurable | True | |
Platforms | 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-X3b |
statement name string
name string
Description | Name given to the policy statement (rule). | |
Context | routing-policy policy name string statement name string | |
String Length | 1 to 255 | |
Configurable | True | |
Platforms | Supported on all platforms |
action
bgp
as-path
prepend
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. | |
Context | routing-policy policy name string statement name string action bgp as-path prepend as-number (number | keyword) | |
Tree | as-number | |
Range | 1 to 4294967295 | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
repeat-n number
remove boolean
replace number
communities
Description | Modify BGP communities attached to routes | |
Context | routing-policy policy name string statement name string action bgp communities | |
Tree | communities | |
Configurable | True | |
Platforms | Supported on all platforms |
add reference
Description | Reference to a community-set name All of the non-regex community members in the referenced community-set are added to the COMMUNTIES and LARGE_COMMUNITIES attributes. | |
Context | routing-policy policy name string statement name string action bgp communities add reference | |
Tree | add | |
Reference | routing-policy community-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
remove reference
Description | Reference to a community-set name The communities in the route are compared to all of the community members in the referenced community-set, and all matching communities are removed from the COMMUNITIES and LARGE_COMMUNITIES attributes. | |
Context | routing-policy policy name string statement name string action bgp communities remove reference | |
Tree | remove | |
Reference | routing-policy community-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
replace reference
Description | Reference to a community-set name All of the existing communities are deleted and then all of the non-regex community members in the referenced community-set are encoded in new COMMUNTIES and LARGE_COMMUNITIES attributes. | |
Context | routing-policy policy name string statement name string action bgp communities replace reference | |
Tree | replace | |
Reference | routing-policy community-set name string | |
Configurable | True | |
Platforms | Supported 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 | |
Context | routing-policy policy name string statement name string action bgp label-allocation | |
Tree | label-allocation | |
Configurable | True | |
Platforms | 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X3b |
prefix-sid
Description | RIB-OUT label is based on prefix SID configuration | |
Context | routing-policy policy name string statement name string action bgp label-allocation prefix-sid | |
Tree | prefix-sid | |
Configurable | True | |
Platforms | 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X3b |
reuse-igp boolean
Description | When true use the programmed SR-IGP label index for the matching prefix, resulting in a stitch to the IGP segment routing tunnel | |
Context | routing-policy policy name string statement name string action bgp label-allocation prefix-sid reuse-igp boolean | |
Tree | reuse-igp | |
Configurable | True | |
Platforms | 7250 IXR-10, 7250 IXR-10e, 7250 IXR-6, 7250 IXR-6e, 7250 IXR-X3b |
local-preference
Description | Enter the local-preference context | |
Context | routing-policy policy name string statement name string action bgp local-preference | |
Tree | local-preference | |
Configurable | True | |
Platforms | Supported on all platforms |
set number
Description | The new value of LOCAL_PREF to write into the matching BGP routes | |
Context | routing-policy policy name string statement name string action bgp local-preference set number | |
Tree | set | |
Configurable | True | |
Platforms | Supported on all platforms |
med
Description | Enter the med context | |
Context | routing-policy policy name string statement name string action bgp med | |
Tree | med | |
Configurable | True | |
Platforms | 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-X3b |
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. | |
Context | routing-policy policy name string statement name string action bgp med set (number | keyword) | |
Tree | set | |
Options |
| |
Configurable | True | |
Platforms | 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-X3b |
next-hop
set (ipv4-address | ipv6-address | keyword)
Description | Set the protocol next-hop addres of matched BGP routes | |
Context | routing-policy policy name string statement name string action bgp next-hop set (ipv4-address | ipv6-address | keyword) | |
Tree | set | |
Options |
| |
Configurable | True | |
Platforms | 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-X3b |
next-hop-resolution
Description | Actions related to next-hop resolution of matched BGP routes | |
Context | routing-policy policy name string statement name string action bgp next-hop-resolution | |
Tree | next-hop-resolution | |
Configurable | True | |
Platforms | Supported on all platforms |
set-tag-set reference
Description | Reference to a tag-set to be used for controlling next-hop resolution | |
Context | routing-policy policy name string statement name string action bgp next-hop-resolution set-tag-set reference | |
Tree | set-tag-set | |
Reference | routing-policy tag-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
origin
set keyword
internal-tags
Description | Configuration of internal tags | |
Context | routing-policy policy name string statement name string action internal-tags | |
Tree | internal-tags | |
Configurable | True | |
Platforms | 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-X3b |
set-tag-set reference
Description | Reference to a tag-set defined under routing-policy | |
Context | routing-policy policy name string statement name string action internal-tags set-tag-set reference | |
Tree | set-tag-set | |
Reference | routing-policy tag-set name string | |
Configurable | True | |
Platforms | 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-X3b | |
Max. Elements | 1 |
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. | |
Context | routing-policy policy name string statement name string action policy-result keyword | |
Tree | policy-result | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
route-preference
Description | Options for modifying route preference | |
Context | routing-policy policy name string statement name string action route-preference | |
Tree | route-preference | |
Configurable | True | |
Platforms | 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-X3b |
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 | |
Context | routing-policy policy name string statement name string action route-preference set number | |
Tree | set | |
Configurable | True | |
Platforms | 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-X3b |
match
bgp
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. | |
Context | routing-policy policy name string statement name string match bgp as-path-length | |
Tree | as-path-length | |
Configurable | True | |
Platforms | Supported on all platforms |
operator keyword
Description | The comparison operator that applies to the value | |
Context | routing-policy policy name string statement name string match bgp as-path-length operator keyword | |
Tree | operator | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
unique boolean
Description | Count a repeated sequence of the same AS number as just 1 element | |
Context | routing-policy policy name string statement name string match bgp as-path-length unique boolean | |
Tree | unique | |
Configurable | True | |
Platforms | Supported on all platforms |
value number
Description | The number of (unique) AS numbers in the AS path | |
Context | routing-policy policy name string statement name string match bgp as-path-length value number | |
Tree | value | |
Range | 0 to 255 | |
Configurable | True | |
Platforms | Supported on all platforms |
as-path-set reference
Description | Reference to an as-path-set name A route meets this condition if it matches the regular expression | |
Context | routing-policy policy name string statement name string match bgp as-path-set reference | |
Tree | as-path-set | |
Reference | routing-policy as-path-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
community-set reference
Description | Reference to a community-set name A route meets this condition if has any community value matching a community member in the referenced community-set | |
Context | routing-policy policy name string statement name string match bgp community-set reference | |
Tree | community-set | |
Reference | routing-policy community-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
evpn
route-type number
Description | An EVPN route meets this condition if the route-type field in the NLRI is one of the values provided in this list. | |
Context | routing-policy policy name string statement name string match bgp evpn route-type number | |
Tree | route-type | |
Range | 1 to 5 | |
Configurable | True | |
Platforms | Supported on all platforms | |
Max. Elements | 1 |
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. | |
Context | routing-policy policy name string statement name string match family identityref | |
Tree | family | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
internal-tags
Description | Configuration and state of internal tags | |
Context | routing-policy policy name string statement name string match internal-tags | |
Tree | internal-tags | |
Configurable | True | |
Platforms | 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-X3b |
tag-set reference
Description | Reference to a tag-set defined under routing-policy | |
Context | routing-policy policy name string statement name string match internal-tags tag-set reference | |
Tree | tag-set | |
Reference | routing-policy tag-set name string | |
Configurable | True | |
Platforms | 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-X3b | |
Max. Elements | 1 |
isis
level number
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. | |
Context | routing-policy policy name string statement name string match isis route-type keyword | |
Tree | route-type | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
multicast
Description | Enter the multicast context | |
Context | routing-policy policy name string statement name string match multicast | |
Tree | multicast | |
Configurable | True | |
Platforms | 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-X3b |
group-address
Description | Enter the group-address context | |
Context | routing-policy policy name string statement name string match multicast group-address | |
Tree | group-address | |
Configurable | True | |
Platforms | 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-X3b |
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. | |
Context | routing-policy policy name string statement name string match multicast group-address prefix-set reference | |
Tree | prefix-set | |
Reference | routing-policy prefix-set name string | |
Configurable | True | |
Platforms | 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-X3b |
source-address
Description | Enter the source-address context | |
Context | routing-policy policy name string statement name string match multicast source-address | |
Tree | source-address | |
Configurable | True | |
Platforms | 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-X3b |
prefix-set reference
Description | Multicast source IP address Source address can be configured as a prefix. | |
Context | routing-policy policy name string statement name string match multicast source-address prefix-set reference | |
Tree | prefix-set | |
Reference | routing-policy prefix-set name string | |
Configurable | True | |
Platforms | 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-X3b |
ospf
area-id
instance-id number
Description | OSPFv3 instance identifier | |
Context | routing-policy policy name string statement name string match ospf instance-id number | |
Tree | instance-id | |
Range | 0 to 255 | |
Configurable | True | |
Platforms | Supported on all platforms |
route-type identityref
Description | The OSPF route type. | |
Context | routing-policy policy name string statement name string match ospf route-type identityref | |
Tree | route-type | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
prefix-set reference
Description | Reference to a prefix set name | |
Context | routing-policy policy name string statement name string match prefix-set reference | |
Tree | prefix-set | |
Reference | routing-policy prefix-set name string | |
Configurable | True | |
Platforms | Supported on all platforms |
protocol identityref
Description | The route type to match | |
Context | routing-policy policy name string statement name string match protocol identityref | |
Tree | protocol | |
Options |
| |
Configurable | True | |
Platforms | Supported on all platforms |
prefix-set name string
Description | List of defined prefix sets | |
Context | routing-policy prefix-set name string | |
Tree | prefix-set | |
Configurable | True | |
Platforms | Supported on all platforms |
name string
Description | A name used to identify the prefix set | |
Context | routing-policy prefix-set name string | |
String Length | 1 to 255 | |
Configurable | True | |
Platforms | Supported 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 | |
Tree | prefix | |
Configurable | True | |
Platforms | Supported on all platforms |
ip-prefix (ipv4-prefix | ipv6-prefix)
Description | The IPv4 or IPv6 prefix in CIDR notation | |
Context | routing-policy prefix-set name string prefix ip-prefix (ipv4-prefix | ipv6-prefix) mask-length-range string | |
Configurable | True | |
Platforms | Supported 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 | |
Context | routing-policy prefix-set name string prefix ip-prefix (ipv4-prefix | ipv6-prefix) mask-length-range string | |
Configurable | True | |
Platforms | Supported on all platforms |
tag-set name string
Description | List of administrative tag sets | |
Context | routing-policy tag-set name string | |
Tree | tag-set | |
Configurable | True | |
Platforms | 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-X3b | |
Max. Elements | 1024 |
name string
Description | A name used to identify the tag set | |
Context | routing-policy tag-set name string | |
String Length | 1 to 255 | |
Configurable | True | |
Platforms | 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-X3b |
tag-set-index number
Description | System-wide persistent unique identifier assigned to the tag-set | |
Context | routing-policy tag-set name string tag-set-index number | |
Tree | tag-set-index | |
Configurable | False | |
Platforms | 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-X3b |
tag-value (number | hex-string)
Description | Value of the tag set member | |
Context | routing-policy tag-set name string tag-value (number | hex-string) | |
Tree | tag-value | |
String Length | 1 to 11 | |
Range | 1 to 4294967295 | |
Configurable | True | |
Platforms | 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-X3b | |
Max. Elements | 2 | |
Min. Elements | 1 |