Configure the CSPF Computation Mode Value at Global Level

The user can configure the cspf-computation mode at the global level under the router mpls policy.
  1. Configure the device.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enter the MPLS policy mode
    device(config-router-mpls)# policy
  4. Configure the cspf-computation-mode.
    device(config-router-mpls-policy)# cspf-computation-mode metric-type use igp-metric
    In this example, the cspf-computation-mode is configured to use the use-igp-metric.

Example

The following example show how to configure the cspf-computation-mode at the global level under the MPLS policy.

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

The user can run the show mpls policy command to view the configured value.

Note

Note

The use-igp-metric or use-te-metric options can be enabled simultaneously.