SUMMARY STEPS
1.
configure
2.
mpls traffic-eng
3.
affinity-map affinity name {affinity value | bit-position value}
4.
Use the commit or end command.
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure
Example:
RP/0/RP0/CPU0:router# configure
Step 1
Enters MPLS-TE configuration mode.mpls traffic-eng
Example:
RP/0/RP0/CPU0:router(config)# mpls
Step 2
traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)#
Enters an affinity name and a map value by using a color name (repeat
this command to assign multiple colors up to a maximum of 64 colors).
affinity-map affinity name {affinity value |
bit-position value}
Step 3
An affinity color name cannot exceed 64 characters. The value you
assign to a color name must be a single digit.
Example:
RP/0/RP0/CPU0:router(config-mpls-te)#
affinity-map red 1
commit—Saves the configuration changes and remains within the
configuration session.
Use the commit or end command.
Step 4
end—Prompts user to take one of these actions:
• Yes— Saves configuration changes and exits the configuration
session.
• No—Exits the configuration session without committing the
configuration changes.
• Cancel—Remains in the configuration session, without
committing the configuration changes.
Related Topics
Flexible Name-based Tunnel Constraints, on page 180
Configure Flexible Name-based Tunnel Constraints: Example, on page 347
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
269
Implementing MPLS Traffic Engineering
Configuring Flexible Name-based Tunnel Constraints