The path metric-type command specifies a link metric type in a P2MP tunnel template to select links.
The undo path metric-type command restores the default link metric type.
By default, the TE metric is used.
Usage Scenario
The link metric type is used to select links. If links have the same constraint parameters, the path with the smallest link metric sum is selected. On an MPLS network, either IGP or TE metric is used. The rules for selecting IGP and TE metric types are as follows:
Prerequisites
A P2MP tunnel template has been configured using the mpls te p2mp-template command.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] mpls te p2mp-te [*HUAWEI-mpls] quit [*HUAWEI] mpls te p2mp-template Template1 [*HUAWEI-te-p2mp-template-Template1] path metric-type te