display segment-routing ipv6 local-sid forwarding (all)

Function

The display segment-routing ipv6 local-sid forwarding command is used to display all SID information.

Format

display segment-routing ipv6 local-sid [ locator locator-name ] forwarding

Parameters

Parameter Description Value
locator locator-name

Specify to view all SID information based on the locator.

The value is a string of 1 to 31 case-sensitive characters. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
segr read

Usage Guidelines

Usage Scenario

This command is used to view the My Local SID table information of all types of SIDs of SRv6 at one time. If the locator-name parameter is specified, the query is based on a specified locator.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display all Local SID information.
<HUAWEI> display segment-routing ipv6 local-sid forwarding

                    My Local-SID Forwarding Table
                    ---------------------------------

SID        : 123::7/128                                FuncType : End
LocatorName: test                                      LocatorID: 1

SID        : 123::8/128                                FuncType : End
LocatorName: test1                                     LocatorID: 2

Total SID(s): 2
# Display Local SID information based on locator.
<HUAWEI> display segment-routing ipv6 local-sid locator test1 forwarding

                    My Local-SID Forwarding Table
                    ---------------------------------

SID        : 123::8/128                                FuncType : End
LocatorName: test1                                     LocatorID: 2

Total SID(s): 1
Table 1 Description of the display segment-routing ipv6 local-sid forwarding (all) command output
Item Description
SID

SID value.

FuncType

The function type of the SID.

LocatorName

The Locator name corresponding to the SID.

LocatorID

Locator ID corresponding to the SID.

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