Configure Flexible Algorithm Affinities
Flexible Algorithm affinity names that are defined on devices are not collected by Crosswork. The affinity mapping name is used for visualization and should be configured prior to visualizing Flexible Algorithms. For this reason, you should manually configure and collect Flexible Algorithm affinities on the device, then define the affinity mapping in the UI with the same name and bits that are used on the device. Crosswork only sends bit information to SR-PCE during provisioning. If an affinity mapping is not defined in the UI, then the affinity name is displayed as "UNKNOWN".
See SR configuration documentation for your specific device to view descriptions and supported configuration commands (for example: Segment Routing Configuration Guide for Cisco ASR 9000 Series Routers
The following example shows the Flexible Algorithm affinity configuration (affinity-map
) on a device:
router isis CORE
is-type level-2-only
net 49.0001.0000.0000.0002.00
log adjacency changes
affinity-map b33 bit-position 33
affinity-map red bit-position 1
affinity-map blue bit-position 5
flex-algo 128
priority 228
advertise-definition
affinity exclude-any blue indigo violet black
!
For visualization purposes, you must map the affinity names to the bits using the following procedure:
Procedure
Step 1 |
From the main menu, select tab. |
Step 2 |
To add a new Flexible Algorithm affinity mapping, click + Create . |
Step 3 |
Enter the name and the bit it will be assigned. For example (using the above configuration): Example: |
Step 4 |
Click Save to save the mapping. To view all Flexible Algorithm affinities for a link, see Find Flexible Algorithms for Links and Devices. |