[Contents] [Prev] [Next] [Index] [Report an Error]

Specifying an LSP as the Next Hop for a Static Route

Static routes can be configured with a next hop that is a label-switched path (LSP). This is useful when implementing filter-based forwarding. You can specify an LSP as the next hop and assign an independent preference and metric to this next hop.

To specify an LSP as the next hop for a static route, include the following statements:

lsp-next-hop lsp-name {
metric metric;
preference preference;
}

Note: The preference and metric configured by means of the lsp-next-hop statement only apply to the LSP next hops. The LSP next-hop preference and metric override the route preference and metric (for that specific LSP next hop), similar to how the route preference overrides the default preference and metric (for that specific route).

For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.

The preference value can be a number in the range from 0 through 4,294,967,295 (232 – 1) with a lower number indicating a more preferred route. The metric value can be a number in the range from 0 through 4,294,967,295 (232 – 1).

Note: The lsp-next-hop statement is mutually exclusive with all other types of next hops, except for next-hop address and qualified-next-hop. Therefore, you cannot configure next-hop reject, next-hop discard, next-hop receive, and next-table with lsp-next-hop for the same destination.

To specify a point-to-multipoint LSP as the next hop for a static route, include the following statements:

p2mp-lsp-next-hop {
interface interface-name;
metric metric;
preference preference;
}

For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.

Enable the qualified next-hop address on the interface by specifying the interface option. The preference value can be a number from 0 through 4,294,967,295 (232 -1). A lower number indicates a more preferred route. The metric value can be a number from  0 through 4,294,967,295 (232 –1).


[Contents] [Prev] [Next] [Index] [Report an Error]