R3303-HP HSR6800 Routers MPLS Command Reference
173
Usage guidelines
For an OSPF area to support the MPLS TE capability, its OSPF process must be available with the opaque
LSA capability.
Examples
# Enable the MPLS TE capability in OSPF area 1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] mpls-te enable
Related commands
opaque-capability
next hop
Use next hop to define a node on the explicit path. By executing this command multiple times, you can
define all nodes that the explicit path must traverse in sequence.
Syntax
next hop ip-address [ include [ loose | strict ] | exclude ]
Views
Explicit path view
Default command level
2: System level
Parameters
ip-address: Defines a node by its link IP address or router ID in dotted decimal notation. In the strict
routing approach, this IP address must be a link IP address. In the loose routing approach, this IP address
can be either a link IP address or a router ID.
include: Includes the specified IP address on the explicit path.
loose: Specifies the node as a loose node, which means that the ip-address and its previous hop can be
connected indirectly.
strict: Specifies the node as a strict node, which means that the ip-address and its previous hop must be
directly connected.
exclude: Excludes the specified IP address from the explicit path.
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 the IP address 10.0.0.125 in path calculation for the explicit path
path1.
<Sysname> system-view
[Sysname] explicit-path path1
[Sysname-explicit-path-path1] next hop 10.0.0.125 exclude










