184mpls te path metric-typeUse mpls te path metric-type in MPLS view to specify the link metric type for path calculation when ametric type is not explicitly configured for a tunnel.Use mpls te path metric-type in tunnel interface view to specify the link metric type to be used for pathcalculation of the current tunnel.Use undo mpls te path metric-type to restore the default. This undo form is only available in tunnelinterface view.Syntaxmpls te path metric-type { igp | te }undo mpls te path metric-typeDefaultIn MPLS view, TE metrics of links are used in path calculation for TE tunnels.In tunnel interface view, no link metric type is specified for path calculation.ViewsMPLS view, tunnel interface viewDefault command level2: System levelParametersigp: Uses the IGP metric for tunnel path calculation.te: Uses the TE metric for tunnel path calculation.Usage guidelinesA tunnel prefers the link metric type specified in the tunnel interface view. If no link metric type is specifiedin tunnel interface view, the configuration in MPLS view is used.ExamplesIn MPLS view:# Configure TE tunnels that were not explicitly specified with a metric type to use the IGP metric for pathcalculation. system-view[Sysname] mpls[Sysname-mpls] mpls te path metric-type igpIn tunnel interface view:# Configure tunnel 0 to use the IGP metric for path calculation. system-view[Sysname] interface tunnel 0[Sysname-Tunnel0] mpls te path metric-type igpRelated commandsmpls te metric