OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing Commands : mpls sr-prefer
mpls sr-prefer
Use this command to prefer segment routing MPLS entries over LDP entries for forwarding.
Use the no form of this command to remove this configuration.
Command Syntax
mpls sr-prefer
no mpls sr-prefer
Parameters
None
Default
By default, mpls sr-prefer is not configured and LDP labels are preferred over SR.
Command Mode
Segment-routing mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#segment-routing
(config-sr)#mpls sr-prefer
(config-sr)#
Last modified date: 10/20/2023