show route resolution scheme
Syntax
show route resolution scheme (name resolution-name | community mapping-community | color-only | best-effort | all) <logical-system | rib-sharding>
Description
Show resolution schemes available in the system for route next-hop resolution.
Options
| logical-system |
Name of the logical system, or 'all'. Perform this operation on a particular logical system. |
| rib-sharding |
Name of the rib shard. Perform this operation on a particular rib shard. |
| name resolution-name |
Resolution scheme name. |
| community mapping-community |
Show resolution schemes matching given community. Note:
When multiple matching schemes are shown for a protocol family (IPv4 or IPv6), routes map to the user-configured resolution scheme instead of auto-created scheme. |
| color-only |
Show color-only resolution schemes. |
| best-effort |
Show best-effort resolution schemes. |
| all |
Show all resolution schemes. |
Required Privilege Level
view
Output Fields
|
Field Name |
Field Description |
|---|---|
|
Resolution scheme |
The name of the resolution scheme, either auto-created by system or user configured. |
|
AutoCreated |
Indicates resolution scheme is system generated. Not shown for user configured custom resolution schemes. Note:
Custom resolution scheme configured by user takes precedence over system generated (AutoCreated) resolution scheme with the same mapping-community. |
|
References |
Number of internal references in the system to this resolution scheme. |
|
Mapping community |
A BGP community tag used to map routes to this resolution scheme. Note: Two custom user-configured resolution schemes
cannot have the same mapping community and protocol family(IPv4 or IPv6
contributing routing tables).
|
|
Resolution tree |
Internal details about the resolution process, including index and number of nodes. |
|
Contributing routing tables |
Ordered list of Routing tables used for next-hop resolution, primary option followed by fallback options. |
|
Policy |
The import policy applied to the scheme. This controls how routes are accepted into the scheme. |
Sample Output
- show route resolution scheme all
- show route resolution scheme best-effort
- show route resolution scheme community
- show route resolution scheme name
show route resolution scheme all
user@host> show route resolution scheme all Resolution scheme: junos-resol-schem-tc-100-v4-service AutoCreated References: 1 Mapping community: color:0:100 Resolution Tree: 0x11bf8000, index: 6, Nodes: 24 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-100.inet.3 inet.3 Resolution scheme: junos-resol-schem-tc-100-v4-transport AutoCreated References: 1 Mapping community: transport-target:0:100 Resolution Tree: 0x11bfc000, index: 8, Nodes: 5 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-100.inet.3 Resolution scheme: junos-resol-schem-tc-100-v6-service AutoCreated References: 1 Mapping community: color:0:100 Resolution Tree: 0x11bfa000, index: 7, Nodes: 26 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-100.inet6.3 inet6.3 Resolution scheme: junos-resol-schem-tc-100-v6-transport AutoCreated References: 1 Mapping community: transport-target:0:100 Resolution Tree: 0x11bfe000, index: 9, Nodes: 7 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-100.inet6.3 Resolution scheme: junos-resol-schem-tc-200-v4-service AutoCreated References: 1 Mapping community: color:0:200 Resolution Tree: 0x163e6000, index: 10, Nodes: 24 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-200.inet.3 inet.3 Resolution scheme: junos-resol-schem-tc-200-v4-transport AutoCreated References: 1 Mapping community: transport-target:0:200 Resolution Tree: 0x163ea000, index: 12, Nodes: 4 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-200.inet.3 Resolution scheme: junos-resol-schem-tc-200-v6-service AutoCreated References: 1 Mapping community: color:0:200 Resolution Tree: 0x163e8000, index: 11, Nodes: 26 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-200.inet6.3 inet6.3 Resolution scheme: junos-resol-schem-tc-200-v6-transport AutoCreated References: 1 Mapping community: transport-target:0:200 Resolution Tree: 0x163ec000, index: 13, Nodes: 6 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-200.inet6.3 Resolution scheme: junos-resol-schem-tc-best-effort-v4-service AutoCreated Best-effort References: 1 Mapping community: color:0:0 Resolution Tree: 0x11ff9000, index: 4, Nodes: 43 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: inet.3 inet.0 Resolution scheme: junos-resol-schem-tc-best-effort-v6-service AutoCreated Best-effort References: 1 Mapping community: color:0:0 Resolution Tree: 0x11ffb000, index: 5, Nodes: 32 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: inet6.3 inet6.0
show route resolution scheme best-effort
user@host> show route resolution scheme best-effort Resolution scheme: junos-resol-schem-tc-best-effort-v4-service AutoCreated Best-effort References: 1 Mapping community: color:0:0 Resolution Tree: 0x11ff9000, index: 4, Nodes: 43 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: inet.3 inet.0 Resolution scheme: junos-resol-schem-tc-best-effort-v6-service AutoCreated Best-effort References: 1 Mapping community: color:0:0 Resolution Tree: 0x11ffb000, index: 5, Nodes: 32 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: inet6.3 inet6.0
show route resolution scheme community
user@host>show route resolution scheme community color:0:100 Resolution scheme: color-100-v4-custom Configured References: 1 Mapping community: color:0:100 Resolution Tree: 0xb7477165c000, index: 1, Nodes: 0 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: foo.inet.3 Resolution scheme: junos-resol-schem-tc-100-v6-service AutoCreated References: 1 Mapping community: color:0:100 Resolution Tree: 0xb74771644000, index: 6, Nodes: 0 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-100.inet6.3 inet6.3
The community option shows the resolution scheme in effect for
the community and protocol family. For IPv4, it is the configured resolution
scheme in this output.
show route resolution scheme name
user@host>show route resolution scheme name junos-resol-schem-tc-100-v4-service Resolution scheme: junos-resol-schem-tc-100-v4-service AutoCreated References: 1 Mapping community: color:0:100 Resolution Tree: 0x11bf8000, index: 6, Nodes: 24 Policy: [__resol-schem-common-import-policy__] Contributing routing tables: junos-rti-tc-100.inet.3 inet.3
Release Information
Command introduced in Junos OS and Junos OS Evolved Release 24.1R1.