Configure the CSPF Computation Mode

To configure the CSPF computation mode on a device, you must perform the following steps.
  1. Configure the device.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Set the cspf-computation mode under router mpls policy to use te-metric or igp-metric at the global level.
    device(config-router-mpls)# policy
  4. Enable or disable cspf-computation mode to use te-metric or igp-metric locally at the LSP level for primary, secondary, and bypass LSPs .

    device(config-router-mpls-policy)# cspf-computation-mode metric-type use-igp-metric

Example

The following example configures the CSPF computation mode on the device.

device# configure
device(config)# router mpls
device(config-router-mpls)# policy
device(config-router-mpls-policy)# cspf-computation-mode metric type use-igp-metric
Note

Note

By default, all LSPs use global configuration.