segment-routing ipv6 (System view)

Function

The segment-routing ipv6 command enables SRv6 function and displays the SRv6 view.

The undo segment-routing ipv6 command disables SRv6 function.

By default, this function is disabled.

Format

segment-routing ipv6

undo segment-routing ipv6

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
segr write

Usage Guidelines

Usage Scenario

Segment Routing IPv6 (SRv6) is used to forward IPv6 data packets based on the source route concept. IPv6 forwarding plane-based SRv6 enables the ingress to add a Segment Routing header (SRH) into IPv6 packets. An explicit IPv6 address stack is pushed into the SRH. Transit nodes continue to update IPv6 destination IP addresses and the offset address stack to implement per-hop forwarding.

To enable SRv6, run the segment-routing ipv6 command. An IPv6 SID can then be set in the SRv6 view and used to generate an IPv6 local SID forwarding entry.

Example

# Enable SRv6.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >