106
When establishing an MPLS TE tunnel between areas or ASs, use a loose explicit route, specify the ABR
or ASBR as the next hop of the route, and make sure the tunnel's ingress node and the ABR or ASBR can
reach each other.
To configure an MPLS TE explicit path:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Create an explicit path for
MPLS TE tunneling and enter
its view.
explicit-path path-name [ disable |
enable ]
N/A
3. Add a node to the explicit
path.
add hop ip-address1 [ include
[ loose | strict ] | exclude ] { after |
before } ip-address2
Optional.
By default, the include keyword
and the strict keyword apply. The
explicit path traverses the specified
node and the next node is a strict
node.
4. Specify a next hop IP address
on the explicit path.
next hop ip-address [ include
[ loose | strict ] | exclude ]
The next hop is a strict node by
default.
Repeat this step to define a
sequential set of the hops that the
explicit path traverses.
5. Modify the IP address of
current node on the explicit
path.
modify hop ip-address1
ip-address2 [ [ include [ loose |
strict ] | exclude ]
Optional.
By default, the include keyword
and the strict keyword apply. The
explicit path traverses the specified
node and the next node is a strict
node.
6. Remove a node from the
explicit path.
delete hop ip-address Optional.
7. Display information about the
specified or all nodes on the
explicit path.
list hop [ ip-address ] Optional.
Configuring MPLS TE tunnel constraints
Ste
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter MPLS TE tunnel interface
view.
interface tunnel tunnel-number N/A
3. Specify a path for the tunnel
to use and set the preference
of the path.
mpls te path { dynamic |
explicit-path path-name }
preference value
Optional.
By default, a tunnel uses the
dynamically calculated path.
4. Submit current tunnel
configuration.
mpls te commit N/A