SRv6 uSID w/ SR-TE Explicit Paths
Load top1.vpnv4v6.srv6.usid.configured.cfg
L3VPN for IPv4 and IPv6 is currently functional using SRv6 uSID in the core.
Configure an SR-TE policy on XR5 that uses an explicit SID list with uSID. The path should go via XR1, XR2, XR4 and then XR7. Color routes OSPF routes redistributed into BGP on XR7 to use this policy.
Answer
Explanation
While SRv6-TE ODN policies are more scalable, it is still good to know how to configure SRv6-TE policies that use explicit paths. Using an explicit path with SRv6-TE requires several lines of configuration.
First we specify the SRv6 locator that is used to allocate a BSID. This is done when using an SRv6-TE policy (ODN or explicit paths).
Next, we configure an SRv6 SID list. We must specify that the SID list uses the f3216 format. (This is our only option). Remember not to include the endpoint itself (XR7) in the SID list. This is because the BGP SID already will be steered towards the endpoint. (The SID comes from the egress PE’s locator block already).
Finally we apply the SID list to the policy as a candidate path. Make sure to enable SRv6 under the policy.
The policy should now be up. A BSID was allocated from the specified locator:
After XR7 colors the routes, traffic towards CE3 should take this SRv6-TE policy.
Taking a pcap of a ping from CE1 to CE3 shows the proper uSID container as the IPv6 destination address:
CE1 receives ping replies:
Last updated