A.B.C.D/M SID-number
Use this command to configure a prefix to SID label mapping.
Use the no form of this command to remove a prefix to SID label mapping.
Note: Index and range value must be configured considering SRGB range. If an index is configured outside SRGB no error will be prompted during configuration but an oper log will be shown while installing MPLS entries if index does not fall within SRGB.
Command Syntax
A.B.C.D/M SID-number (attached |(range SID-Interval (attached|)))
no (A.B.C.D/M) SID-number
Parameters
A.B.C.D/M
IPv4 address and prefix-length such as 10.1.1.0/24
SID-number
Starting SID number <0-1048575>
attached
Attached entry advertised via the A-flag
SID-Interval
SID interval <1-65535>
Defaults
The default SID-Interval range is 1.
Command Mode
Mapping server IPv4 address family mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#segment-routing
(config-sr)#mapping-server
(config-sr-ms)#prefix-sid-map address-family ipv4
(config-sr-ms-map-af4)#1.1.1.11/32 11 range 10
(config-sr-ms-map-af4)#1.1.1.10/32 10 attached
(config-sr-ms-map-af4)#no 1.1.1.10/32 11
Last modified date: 10/20/2023