
administrative-color
Maps an administrative color-name to a bit position.
Syntax: administrative-color color-name 0...31
no administrative color color-name
color-name
Specifies an administrative color name. Color names must begin with an alpha character and can be up to 128 characters including alpha-numerics, underlines, hyphens and commas. Color names must not include spaces. Color names must not be the same as a name already in use to identify a color-list.
0...31
Bit position to which this color name is mapped. Valid range for bit positions is 0 to 31.
Description: Administrative colors are used to determine which links an MPLS tunnel can use. During interface and tunnel configuration, you can use administrative colors to include or exclude traffic flows in constraint based routing computation.
During interface configuration, the administrative-color command defines which administrative colors are permitted or prevented from using the interface. During tunnel configuration, the commands tunnel default on page 1-169 and tunnel parameter-set on page 1-174, define which administrative colors are permitted in or excluded from the tunnel.
Use the administrative-color color-name 0...31 command to map an administrative color name to a bit position. One color is mapped in each command line.
You can map as many colors as you wish to a single bit position. This feature eases the transition when new interfaces are added or when interface colors are moved from one group to another.
Use the no administrative-color color-name command to delete an administrative-color. You can not delete a color-name that is not defined. You can not delete a color-name if that color is referenced by a color-list, interface, tunnel, default tunnel, or tunnel-parameter-set.
Factory Default: None.
Command Mode: Configuration
Example 1: In the following example:
- The four administrative-color commands configure bits 1 through 4 as aqua, blue, cerise, and teal.
- The show mpls te command displays the setting:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#administrative-color aqua 1
router(config)#administrative-color blue 2
router(config)#administrative-color cerise 3
router(config)#administrative-color teal 4
router(config)#end
router#show mpls te
Traffic engineering is enabled
.
.
.
Administrative color(s):
color name "aqua" bit 1
color name "blue" bit 2
color name "cerise" bit 3
color name "teal" bit 4
.
.
.
Example 2: In the following example, the administrative-color commands configure bit 1 with four color names, and the show mpls te command displays the mapping:
router(config)#administrative-color azure 1
router(config)#administrative-color yellow 1
router(config)#administrative-color chrome 1
router(config)#administrative-color turquoise 1
router(config)#end
router#show mpls te
Traffic engineering is enabled
.
.
.
Administrative color(s):
color name "azure" bit 1
color name "chrome" bit 1
color name "turquoise" bit 1
color name "yellow" bit 1
.
.
.
Example 3: Continuing Example 2, the following example deletes the yellow color-name-to-bit-position mapping for bit 1, but leaves the other three mappings intact:
router(config)#no administrative-color yellow
router(config)#end
router#show mpls te
Traffic engineering is enabled
.
.
.
Administrative color(s):
color name "azure" bit 1
color name "chrome" bit 1
color name "turquoise" bit 1
.
.
.
Related Commands: administrative-color-list
default-administrative-color
exclude-administrative-color
include-administrative-color
reserving-priority
mpls te administrative-color
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: TE%20Commands.fm
HTML File Name: TE%20Commands6.html
Last Updated: 12/19/04 at 14:56:07