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 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
The use-igp-metric or use-te-metric options can be enabled simultaneously.