Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


node-segment (Protocols OSPF)


Hierarchy Level


Enable source packet routing in networking (SPRING) at all levels. SPRING, or segment routing, is a control-plane architecture that enables an ingress router to steer a packet through a specific set of nodes and links in the network without relying on the intermediate nodes in the network to determine the actual path it should take.


You can provision an IPv4 node segment index for a routing instance, not for a specific OSPF area. A node segment index is attached to the IPv4 router-id, if the router-ids are configured on the loopback interface. Otherwise, the lowest IP address on the loopback interface is chosen to attach the node segment identifier..


index-range index range

Range of node segment indices allowed.

  • Default: 4096

  • Range: 32 through 4096

ipv4-index index

IPv4 node segment index.

  • Range: 0 through 4095

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.2.