Assigning Color Names To Numeric Values - Cisco ASR 9000 Series Configuration Manual

Aggregation services router mpls
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Configuring Flexible Name-based Tunnel Constraints
2
Associating Affinity-Names with TE Links, on page 185
3
Associating Affinity Constraints for TE Tunnels, on page 186

Assigning Color Names to Numeric Values

The first task in enabling the new coloring scheme is to assign a numerical value (in hexadecimal) to each
value (color).
An affinity color name cannot exceed 64 characters. An affinity value cannot exceed a single digit. For
Note
example, magenta1.
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
Command or Action
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
mpls traffic-eng
Example:
RP/0/RSP0/CPU0:router(config)# mpls
traffic-eng
RP/0/RSP0/CPU0:router(config-mpls-te)#
Step 3
affinity-map affinity name {affinity value |
bit-position value}
Example:
RP/0/RSP0/CPU0:router(config-mpls-te)#
affinity-map red 1
Step 4
Use the commit or end command.
Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide, Release 4.3.x
184
Purpose
Enters global configuration mode.
Enters MPLS-TE configuration mode.
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).
An affinity color name cannot exceed 64 characters. The value you
assign to a color name must be a single digit.
commit—Saves the configuration changes and remains within the
configuration session.
end—Prompts user to take one of these actions:
Implementing MPLS Traffic Engineering
OL-28381-02

Advertisement

Table of Contents
loading

Table of Contents