< Home

delete hop

Function

The delete hop command deletes a specified node from an MPLS TE explicit path.

Format

delete hop ip-address

Parameters

Parameter Description Value
ip-address Specifies the IP address of an interface on a node. In dotted decimal notation.

Views

Explicit path view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The following commands are used to adjust nodes on a created explicit path:

  • The add hop command is used to add a node to the explicit path.
  • The modify hop command is used to delete a node from the explicit path and replace the node with a specified node.
  • The delete hop command is used to delete a node from the explicit path.

Follow-up Procedure

Run the display explicit-path command to view information about the explicit path.

Precautions

A node can be deleted from an explicit path using the delete hop command only when the following conditions are met:
  • The node must exist on the explicit path
  • If an explicit path over which a TE tunnel has been established is modified, the make-before-break mechanism is triggered, and a CR-LSP is reestablished without traffic loss.

Example

# Delete the node of 10.10.10.10 from the MPLS TE explicit path.

<HUAWEI> system-view
[HUAWEI] explicit-path p1
[HUAWEI-explicit-path-p1] list hop
 Path Name : p1        Path Status : Enabled
 1      2.2.2.2           Strict      Include
 2      10.10.10.10       Strict      Include
 3      10.20.20.20       Strict      Include
[HUAWEI-explicit-path-p1] delete hop 10.10.10.10
[HUAWEI-explicit-path-p1] list hop
 Path Name : p1        Path Status : Enabled
 1      2.2.2.2           Strict      Include
 2      10.20.20.20       Strict      Include
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >