The mpls te path command specifies an explicit path for a tunnel.
The undo mpls te path command deletes an explicit path constraint for a tunnel.
By default, the tunnel has no explicit path constraint.
Parameter | Description | Value |
---|---|---|
explicit-path path-name |
Specifies the name of an explicit path. |
The value is a string of 1 to 128 characters. |
secondary |
Indicates the explicit path for a backup tunnel. This command is used only after the mpls te backup is run to configure CR-LSP backup modes. |
- |
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] explicit-path path1 [*HUAWEI-explicit-path-path1] next hop 3.3.3.3 [*HUAWEI-explicit-path-path1] quit [*HUAWEI] interface tunnel 1 [*HUAWEI-Tunnel1] tunnel-protocol mpls te [*HUAWEI-Tunnel1] mpls te path explicit-path path1
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] explicit-path path1 [*HUAWEI-explicit-path-path1] next hop 2.2.2.2