segment-list (Segment Routing IPv6 view)

Function

The segment-list command creates a candidate path for an SRv6 TE Policy and displays the segment list view.

The undo segment-list command deletes an existing segment list.

By default, no candidate path is created for an SRv6 TE Policy.

Format

segment-list list-name

undo segment-list list-name

Parameters

Parameter Description Value
list-name

Specifies the segment list name.

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

Segment routing IPv6 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

The segment-list command creates a segment list for an SRv6 TE Policy. The segment list can be referenced by a candidate path and associated with the SRv6 TE Policy.

Example

# Configure a segment list.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] segment-list 123
[*HUAWEI-segment-routing-ipv6-segment-list-123]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >