list hop

Function

The list hop command displays information about nodes along an explicit path of a tunnel.

Format

list hop [ ip-address ]

Parameters

Parameter Description Value
ip-address

Specifies the IP address of a node.

The value is in dotted decimal notation.

Views

Explicit path view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te execute

Usage Guidelines

Usage Scenario

The list hop command displays information about nodes along an explicit path of a tunnel.

Example

# Display information about nodes along an explicit path of an MPLS TE tunnel.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] explicit-path path1
[*HUAWEI-explicit-path-path1] list hop
Path Name :    abc     Path Status :  Enabled
-----------------------------------------------------------------------------------
 HopIndex        Hop/Sid        HopType              HopIfType        SidType
-----------------------------------------------------------------------------------
 1               1.1.1.1        Loose Include        Outgoing          -
 2               1.1.1.2        Strict Include       Incoming          -
# Display information about nodes along an explicit path of a Segment Routing tunnel.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] explicit-path path2
[*HUAWEI-explicit-path-path2] list hop
Path Name :    path2     Path Status :  Enabled
-----------------------------------------------------------------------------------
 HopIndex        Hop/Sid        HopType              HopIfType        SidType
-----------------------------------------------------------------------------------
 1               1.1.1.1        Loose Include        Outgoing          -
 2               1.1.1.2        Strict Include       Incoming          -
 3               66             Strict               -                 Adjacency
 4               67             Strict               -                 Prefix
Table 1 Description of the list hop command output
Item Description
Path Name

Explicit path name.

Path Status

Status of an explicit path.

HopIndex

Hop index.

Hop/Sid

IP address/Label value.

HopType

Hop type.

HopIfType

Hop interface type.

SidType

The type of hop sid label.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >