< Home

explicit-path (upgrade-compatible command)

Function

Using the explicit-path command, you can configure an explicit path of a tunnel.

By default, no explicit path of a tunnel is configured.

Format

explicit-path path-name { enable | disable }

Parameters

Parameter Description Value
path-name Indicates the name of an explicit path. The value is a string of 1 to 31 characters.
enable Enables the explicit path of a tunnel. -
disable Disables the explicit path of a tunnel. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can configure an explicit path only after MPLS TE is enabled.

The addresses of the hops along the explicit path cannot overlap or loops cannot occur. If a loop occurs, CSPF detects the loop and fails to calculate the path.

When the explicit path is in use, you cannot perform the following operations:
  • Run the explicit-path path-name disable command to disable the explicit path.
  • Run the undo explicit-path command to delete the explicit path.

Example

# Create an explicit path named path1.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls te
[HUAWEI-mpls] quit
[HUAWEI] explicit-path path1 enable
[HUAWEI-explicit-path-path1] 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >