R2511-HP MSR Router Series MPLS Command Reference(V5)
273
Examples
# Create an explicit path named path1 and enter its view.
<Sysname> system-view
[Sysname] explicit-path path1
[Sysname-explicit-path-path1]
list hop
Use list hop to display information about a specific node or all nodes on the explicit path.
Syntax
list hop [ ip-address ]
Views
Explicit path view
Default command level
2: System level
Parameters
ip-address: Specifies the IP address of a node on the explicit path. If no IP address is specified,
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
Use modify hop to change a node on the explicit path, including the node's IP address and other
attributes (include or exclude, strict or loose).
Syntax
modify hop ip-address1 ip-address2 [ include [ loose | strict ] | exclude ]
Views
Explicit path view
Default command level
2: System level
Parameters
ip-address1 ip-address2: Substitutes the IP address specified by the ip-address2 argument for the IP
address specified by the ip-address1 argument in the explicit path. The specified IP addresses can be link
IP addresses or router IDs of nodes.
include: Includes the node ip-address2 on the explicit path.










