
default-administrative-color
Sets the default administrative-color(s) or administrative-color-list(s) applied when colors are not explicitly configured for the interface.
Syntax: [no] default-administrative-color color-name color-list-name ...
color-name
Specifies defined administrative color(s) used as the default administrative color(s) for interfaces that do not explicitly define administrative-color.
Color names must begin with an alpha character and can be up to 128 characters including alpha-numerics, underlines, hyphens and commas. Names must not include spaces.
color-list-name
Specifies defined administrative-color-list(s) used as the default administrative color-list(s) for interfaces that do not explicitly define administrative-color.
Color-list names must begin with an alpha character and can be up to 128 characters including alpha-numerics, underlines, hyphens and commas. Names must not include spaces.
Description: Administrative colors are used to determine which links an MPLS tunnel can use. At interface configuration, the command mpls te administrative-color defines the set of administrative colors assigned to the interface. By default, an empty color-list is applied to all interfaces that do not explicitly specify administrative colors.
Use the default-administrative-color color-name syntax to add entries to the empty default color-list. The default colors are immediately applied to all interfaces that have no explicit administrative color defined. You can define multiple default administrative colors. You are limited only by the maximum length of the CLI input (1024 characters per line).
If you use the default-administrative-color a second time, the second instance of the command overwrites the first instance.
You can freely mix color names and color list names on a single command line.
Use the no default-administrative-color command to reset the default color-list to empty. The change is immediately applied to all interfaces that have no explicit administrative color defined.
Factory Default: None.
Command Mode: Configuration.
Example 1: In the following example:
- Four administrative-color commands define the color-name-to-bit-position mapping for 4 colors.
- The administrative-color-list command groups the four colors into an administrative color list named pastels.
- Five administrative-color commands define the color-name to bit-position mapping for 5 more colors.
- The default-administrative-color command assigns three of the administrative colors, the color list named pastels, as default administrative colors.
- 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 pink 1
router(config)#administrative-color yellow 2
router(config)#administrative-color grey 3
router(config)#administrative-color white 4
router(config)#administrative-color-list pastels pink yellow grey white
router(config)#administrative-color blue 5
router(config)#administrative-color green 6
router(config)#administrative-color red 7
router(config)#administrative-color aqua 8
router(config)#administrative-color purple 9
router(config)#default-administrative-color aqua purple green pastels
router(config)#end
router#show mpls te
Traffic engineering is enabled
.
.
.
Administrative color(s):
color name "pink" bit 1
color name "yellow" bit 2
color name "grey" bit 3
color name "white: bit 4
color name "blue" bit 5
color name "green" bit 6
color name "red" bit 7
color name "aqua" bit 8
color name "purple" bit 9
default administrative color(s): aqua purple green pastels
.
.
.
Example 2: In the following example:
- The administrative-color-list command assigns three administrative colors defined in the previous example to a color-list named Boston.
- The default-administrative-color command assigns the color-list as the default administrative colors.
- 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-list Boston purple green aqua
router(config)#default-administrative-color Boston
router(config)#end
router#show mpls te
Traffic engineering is enabled
.
.
.
Administrative color(s):
color name "blue" bit 1
color name "green" bit 2
color name "red" bit 3
color name "aqua" bit 4
color name "purple" bit 5
default administrative color(s): Boston
.
.
.
Related Commands: administrative-color
administrative-color-list
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%20Commands16.html
Last Updated: 12/19/04 at 14:56:07