display segment-routing ipv6 available-static-sid

Function

The display segment-routing ipv6 available-static-sid command displays a maximum of 10 available static SIDs of a specified locator.

Format

display segment-routing ipv6 available-static-sid locator locator-name [ from begin-value ]

Parameters

Parameter Description Value
from begin-value

Specifies the start value of the available SRv6 local static SIDs.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

locator locator-name

Specifies the name of a SID locator.

The value is a string of 1 to 31 case-sensitive characters. If the character string is quoted by double quotation marks, the character string can contain spaces.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
segr read

Usage Guidelines

Usage Scenario

If the length of a static SID segment is specified when the SRv6 locator is configured, a static SID can be assigned to this segment. The display segment-routing ipv6 available-static-sid command displays a maximum of 10 available static SIDs for a specified uncompressed locator.

If the command carries the begin-value parameter, a maximum of 10 available static SIDs starting from the specified start value are displayed. If this parameter is not carried, a maximum of 10 available static SIDs starting from the start static SID value of the locator are displayed.

Precautions

The display segment-routing ipv6 available-static-sid command displays only static SIDs of non-compressed locators.

Example

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

# Display the static SIDs of locator loc1.
<HUAWEI> display segment-routing ipv6 available-static-sid locator loc1

             Available static SID for locator loc1
             -----------------------------------------------
2001:DB8::1:1 
2001:DB8::1:2 
2001:DB8::1:3 
2001:DB8::1:4 
2001:DB8::1:5 
2001:DB8::1:6 
2001:DB8::1:7 
2001:DB8::1:8 
2001:DB8::1:9 
2001:DB8::1:A
# Display the static SIDs of locator loc1 starting from 2001:DB8::1:5.
<HUAWEI> display segment-routing ipv6 available-static-sid locator loc1 from 2001:DB8::1:5

             Available static SID for locator loc1
             -----------------------------------------------
2001:DB8::1:5 
2001:DB8::1:6 
2001:DB8::1:7 
2001:DB8::1:8 
2001:DB8::1:9 
2001:DB8::1:A 
2001:DB8::1:B 
2001:DB8::1:C 
2001:DB8::1:D 
2001:DB8::1:E
Table 1 Description of the display segment-routing ipv6 available-static-sid command output
Item Description
Available static SID for locator loc1

Available static SID for locator loc1.

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