R3303-HP HSR6800 Routers MPLS Command Reference

77
MPLS TE configuration commands
add hop
Use add hop to insert a node to the explicit path, and configure the node's attributes (include or exclude,
strict or loose).
Syntax
add hop ip-address1 [ include [ loose | strict ] | exclude ] { after | before } ip-address2
Views
Explicit path view
Default command level
2: System level
Parameters
ip-address1: Specifies the IP address or Router ID of the node to be inserted, in dotted decimal notation.
include: Includes the specified IP address ip-address1 in the explicit path.
loose: Specifies the inserted node as a loose node, which means that the inserted node and its previous
hop can be connected indirectly.
strict: Specifies the inserted node as a strict node, which means that the inserted node and its previous
hop must be connected directly.
exclude: Excludes the node identified by the ip-address1 argument from the explicit path. Excluded
addresses are not considered in path calculation.
after: Inserts the node ip-address1 after the reference node ip-address2.
before: Inserts the node ip-address1 before the reference node ip-address2.
ip-address2: IP address of the reference node, in dotted decimal notation.
Usage guidelines
If you specify neither include nor exclude, the include keyword is used by default.
If you specify neither loose nor strict, the strict keyword is used by default.
Examples
# Specify the device to not consider 3.3.29.3 as the next hop of 3.3.10.5 during path calculation for the
explicit path path1.
<Sysname> system-view
[Sysname] explicit-path path1
[Sysname-explicit-path-path1] add hop 3.3.29.3 exclude after 3.3.10.5
delete hop
Use delete hop to remove a specific node from the explicit path.