ipv6

Configure SRv6 (Segment routing IPv6).

vsr running config# vrf <vrf> routing segment-routing ipv6

encapsulation-source

Configure the encapsulation source address. This option allows to set source address of IPv6 header for locally generated srv6 packets.

vsr running config# vrf <vrf> routing segment-routing ipv6
vsr running ipv6# encapsulation-source ENCAPSULATION-SOURCE

ENCAPSULATION-SOURCE

An IPv6 address.

locator

Configure a SRv6 locator. A locator is the first part of a SID that consists of the most significant bits representing the address of a particular SRv6 node. The locator is very similar to a network address that provides a route to its parent node. The locator is further subdivided into a SID block and a node ID. The locator length should be 64-bits long.

vsr running config# vrf <vrf> routing segment-routing ipv6 locator <locator>

<locator>

Name format of an SRv6 locator.

prefix (mandatory)

Configure the locator prefix.

vsr running config# vrf <vrf> routing segment-routing ipv6 locator <locator>
vsr running locator <locator># prefix PREFIX

PREFIX

An IPv6 prefix: address and CIDR mask.

block-length

unit: bits

Configure the locator block length. block-length + node-length must be <= to the prefix length.

vsr running config# vrf <vrf> routing segment-routing ipv6 locator <locator>
vsr running locator <locator># block-length <16-64>
Default value
40

node-length

unit: bits

Configure the SID locator node length. block-length + node-length must be <= to the prefix length.

vsr running config# vrf <vrf> routing segment-routing ipv6 locator <locator>
vsr running locator <locator># node-length <16-64>
Default value
24

function-length

unit: bits

Configure the function length. A function is the other part of the SID defines that is performed locally on the node that is specified by the locator.

vsr running config# vrf <vrf> routing segment-routing ipv6 locator <locator>
vsr running locator <locator># function-length <0-20>
Default value
16

uncompressed-mode

Define the way the SRv6 SIDs are allocated in the locator. It defines specific explicit and dynamic ranges for hosting SIDs in the function part of the locator.

vsr running config# vrf <vrf> routing segment-routing ipv6 locator <locator> uncompressed-mode

enabled

Using this command will facilitate the way the SRv6 SIDs are used by routing services. The dynamic allocation of SRv6 SIDs will start from index 40. Also it avoids conflicts between dynamic and explicit SID allocation by introducing ranges: values above the 0xFF00 index range are authorised for explicit SRv6 SIDs.

vsr running config# vrf <vrf> routing segment-routing ipv6 locator <locator> uncompressed-mode
vsr running uncompressed-mode# enabled true|false
Default value
true