
158
View
System view
Default level
2: System level
Parameters
pathname
: Specifies the name of an explicit path for a tunnel, which is a string of 1 to 31 characters.
disable
: Disables explicit routing.
enable
: Enables explicit routing.
Examples
# Create an explicit path named path1 and enter its view.
<Sysname> system-view
[Sysname] explicit-path path1
[Sysname-explicit-path-path1]
list hop
Description
Use the
list hop
command to display information about a specific node or all nodes on the explicit path.
Syntax
list hop
[
ip-address
]
View
Explicit path view
Default level
2: System level
Parameters
ip-address
: Specifies the IP address of a node on the explicit path. If you do not specify an IP address,
information about all the nodes on the explicit path is displayed.
Examples
# Display information about all nodes on an MPLS TE explicit path.
<Sysname> system-view
[Sysname] explicit-path path1
[Sysname-explicit-path-path1] list hop
Path Name : path1 Path Status : Enabled
1 1.1.1.9 Strict Include
2 2.2.2.9 Strict Exclude
modify hop
Description
Use the
modify hop
command to change the IP address of a node on the explicit path.
By default, the changed IP address is included on the explicit path, and its next hop is a strict node.