delete hop

Function

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

The delete sid label index command deletes a specified label hop from an SR-MPLS TE explicit path.

The delete index command deletes a specified index from the MPLS TE explicit path.

Format

delete hop ip-address

delete { sid label labelValue index indexValue | index indexValue }

Parameters

Parameter Description Value
ip-address

IP address.

The value is in dotted decimal notation.

label labelValue

Label value.

The value is an integer ranging from 16 to 1048575.

index indexValue

Index value.

The value is an integer ranging from 1 to 96.

Views

Explicit path view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

Ensure that no tunnel interface on the local node is using an explicit path before running the delete hop command to delete specified node from the explicit path.

Example

# Delete a node with IP address 10.0.0.120 from an MPLS TE explicit path.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] explicit-path p1
[*HUAWEI-explicit-path-p1] delete hop 10.0.0.120
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >