Use this procedure to define flexible algorithm affinity mappings in Crosswork Network Controller, matching device affinity names and bit positions to maintain consistency, improve visualization, and ensure proper provisioning to SR-PCE for effective traffic engineering.
Crosswork Network Controller does not automatically collect flexible algorithm affinity names from devices. For consistency with flexible algorithm affinity names, you can define affinities in Crosswork Network Controller with the same names and bit positions that are used on the device. This helps maintain consistency and improve visualization.
The affinity bit position ranges from 0–255 allowing more granular affinity definitions.
If an affinity mapping is not defined in the UI, the affinity name will appear as "UNKNOWN".
Crosswork Network Controller sends the bit information to the SR-PCE only during provisioning.
On devices, affinity maps are configured by setting bits for each affinity name. 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
!
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).
To add flexible algorithm affinities in Crosswork Network Controller, complete these steps:
Procedure
| 1. | Choose . |
|
| 2. | Click + Create to add a new affinity mapping. |
|
| 3. | Enter the name and the bit position corresponding to the device configuration. |
|
| 4. | Click Save to save the mapping. |
|
| 5. | To view all flexible algorithm affinities for a link, see View flexible algorithm details. |