The display segment-routing ipv6 available-static-sid command displays a maximum of 10 available static SIDs of a specified locator.
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. |
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.
The actual command output varies according to the device. The command output here is only an example.
<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
<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
Item | Description |
---|---|
Available static SID for locator loc1 | Available static SID for locator loc1. |