ipv6

Configure SRv6 (Segment routing IPv6).

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

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