OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing v6 Commands : prefix X:X::X:X/X
prefix X:X::X:X/X
Use this command to configure locator prefix.
Use the no form of the command to unconfigure locator prefix
Command Syntax
prefix X:X::X:X/X
no prefix
Parameters
X:X::X:X/X
Locator prefix (i.e IPv6 address)
Default
NA
Command Mode
Locator configure mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
(config)#segment-routing
(config-sr)#srv6
(config-srv6)#locators
(config-srv6-loc)#locator LOC_PE1
(config-srv6-loc-conf)#prefix 2981:40:a1::/64
(config-srv6-loc-conf)#
 
(config)#segment-routing
(config-sr)#srv6
(config-srv6)#locators
(config-srv6-loc)#locator LOC_PE1
(config-srv6-loc-conf)#no prefix
Last modified date: 10/20/2023