scheme
Syntax
scheme name {
import-policy [ import-policy ... ];
import-policy-append [ import-policy-append ... ];
mapping-community mapping-community;
resolution-ribs [ resolution-ribs ... ];
transport-classes [ transport-classes ... ];
}Hierarchy Level
[edit logical-systems name routing-instances name routing-options resolution],
[edit logical-systems name routing-options resolution],
[edit logical-systems name tenants name routing-instances name routing-options resolution],
[edit routing-instances name routing-options resolution],
[edit routing-options resolution],
[edit tenants name routing-instances name routing-options resolution]
Description
Use the scheme statement to define a resolution scheme that maps a mapping community to an ordered list of RIBs used for protocol next-hop (PNH) resolution. Any route community can be used as a mapping community. When a route is received with a mapping community, the device resolves the next hop using the associated resolution scheme, which can be user-defined or auto-created.
A resolution scheme specifies the ordered sequence of RIBs to consult during next-hop lookup, providing deterministic primary and fallback resolution behavior. The RIBs can include any valid RIBs, such as inet.0, inet.3, or other transport-specific RIBs.
If a user-defined scheme is configured for a mapping community, it takes precedence over any auto-created scheme associated with the same community, and the router uses the explicitly configured RIB resolution order.
Options
| name |
Name the resolution scheme |
| import-policy |
Apply routing policies to define which routes can use the resolution scheme. |
| import-policy-append |
Append resolution import policy to scheme's policy list. |
| mapping-community |
Community on route that maps to this resolution scheme. |
| resolution-ribs |
Routing tables to use for nexthop resolution, in fallback order. |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.