segment-routing srv6 (VPNv4)
Use this command to enter into segment routing SRv6 mode
Command Syntax
segment-routing srv6
Parameters
None
Command Mode
VPNv4 address family mode
Applicability
This command was introduced before OcNOS version 5.1.
Example
(config)#router bgp 100
(config-router)#address-family vpnv4 unicast
(config-router-af)#segment-routing srv6
(config-router-vpnv4-srv6)#
(config)#router bgp 100
(config-router)#address-family vpnv4 unicast
(config-router-af)#no segment-routing srv6
srv6
Use this command to enter in to SRv6 mode.
Use this no command to remove the SRv6 configuration.
Command Syntax
srv6
no srv6
Parameters
None
Default
NA
Command Mode
segment-routing mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
(config)#segment-routing
(config-sr)#srv6
(config-srv6)#
sid-alloc per-vrf
Use this command to configure the SID allocation per VRF.
Use the no form of the command to remove the SID allocation per VRF.
Command Syntax
sid-alloc per-vrf
Parameters
None
Command Mode
Segment routing SRv6 mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
(config)#router bgp 100
(config-router)#address-family ipv4 vrf vrf1
(config-router-af)#segment-routing srv6
(config-router-vrfv4-srv6)#
(config-router-vrfv4-srv6)#sid-alloc per-vrf
(config-router-vrfv4-srv6)#
(config)#router bgp 100
(config-router)#address-family ipv4 vrf vrf1
(config-router-af)#segment-routing srv6
(config-router-vrfv4-srv6)#
(config-router-vrfv4-srv6)#no sid-alloc per-vrf
Last modified date: 10/20/2023