cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
324
Views
0
Helpful
0
Replies
saalvare
Cisco Employee

How to configure SR mappings

SR mappings are required to connect SR devices with other MPLS devices using LDP.  Here are five sample apps to configure IPv4 and IPv6 mappings:

nc-create-xr-segment-routing-ms-cfg-20-ydk.py - mapping with single IPv4-to-SID range

nc-create-xr-segment-routing-ms-cfg-21-ydk.py - mapping with single IPv6-to-SID range

nc-create-xr-segment-routing-ms-cfg-22-ydk.py - mapping with two IPv4-to-SID ranges

nc-create-xr-segment-routing-ms-cfg-23-ydk.py - mapping with two IPv6-to-SID ranges

nc-delete-xr-segment-routing-ms-cfg-20-ydk.py - delete all mapping configuration

As usual, you can also find four boilerplate apps to start creating your own mapping configurations:

nc-create-xr-segment-routing-ms-cfg-10-ydk.py - create boilerplate

nc-read-xr-segment-routing-ms-cfg-10-ydk.py - read boilerplate

nc-update-xr-segment-routing-ms-cfg-10-ydk.py - update boilerplate

nc-delete-xr-segment-routing-ms-cfg-10-ydk.py - delete boilerplate

You can find the commit at: https://git.io/v1YPp

Try them out!

0 REPLIES 0
Create
Recognize Your Peers
Content for Community-Ad