< Home

next hop

Function

The next hop command specifies the next-hop address on an explicit path, and creates an MPLS TE tunnel through nodes in the order in which they are configured.

The undo next hop command restores the default configuration.

By default, no next-hop address on an explicit path is specified.

Format

next hop ip-address [ include [ [ loose | strict ] | [ incoming | outgoing ] ] * | exclude ]

undo next hop ip-address

Parameters

Parameter Description Value
ip-address Specifies the next-hop IP address on an explicit path. The value is in dotted decimal notation.
include [ [ loose | strict ] | [ incoming | outgoing ] ] * Specifies the IP address of a node included on an explicit path.
  • strict: indicates that the node is added in strict mode. The node of ip-address is directly connected to the previous hop.
  • loose: indicates that the node is added in loose mode. The node of ip-address may not be directly connected to the previous hop.
  • incoming: indicates that the ip-address1 is the IP address of an inbound interface of a next-hop node.
  • outgoing: indicates that the ip-address1 is the IP address of an outbound interface of a next-hop node.
By default, a node is added to an explicit path in include strict mode.
exclude Excludes the IP address from an explicit path. -

Views

Explicit path view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The next hop command is used to plan nodes for an explicit path.

Precautions

The include strict parameters are used by default, meaning the tunnel must pass through a specified node.

Example

# Exclude the IP address 10.0.0.125 from the MPLS TE explicit path.

<HUAWEI> system-view
[HUAWEI] explicit-path p1
[HUAWEI-explicit-path-p1] next hop 10.0.0.125 exclude
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >