configure router segment-routing sr-policies static-policy type
Set
the type to srv6 and only commands relevant to SRv6 policies
can be configured. The default value is sr-mpls. If the type is
set to sr-mpls, only MPLS labels can be configured for the
binding SID and the segments in the segment lists.configure router segment-routing sr-policies static-policy segment-list segment srv6-sid
Configure
SRv6 SIDS for each segment in the segment lists of the SRv6 policy. SRv6 SIDs
are 128-bit IPv6 addresses.configure router segment-routing sr-policies static-policy segment-routing-v6 binding-sid
Configure
the binding SID. The binding SID is mandatory. The system supports only one
binding SID per SRv6 policy. The locator or the
ip-address command in the
binding-sid
context configure the value of the binding SID. The
locator and the ip-address commands
are mutually exclusive. The command to use depends on the configuration of the
configure router segment-routing sr-policies static-policy
head-end command:configure router segment-routing sr-policies static-policy segment-routing-v6 binding-sid locator
The router checks that a corresponding locator exists in the configure router segment-routing segment-routing-v6 context.
The function is a binding SID function for the static SRv6 policy and can only be end-b6-encaps-red. The datapath implements the End.B6.Encaps.Red as the End.B6 function for the binding SID.
The function value is optional. If configured, the router checks the availability of the value for the configured locator. If a function value is not configured (default), the router dynamically allocates one for the function.