color
Syntax color {
metric-value;
<type metric_type>
}
Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name
routing-options (aggregate | generate | static) (defaults | route)],
[edit logical-systems logical-system-name routing-instances routing-instance-name
routing-options rib routing-table-name (aggregate | generate | static) (defaults | route)],
[edit logical-systems logical-system-name routing-options (aggregate | generate | static)
(defaults | route)],
[edit logical-systems logical-system-name routing-options rib routing-table-name (aggregate |
generate | static) (defaults | route)],
[edit routing-instances routing-instance-name routing-options (aggregate | generate | static)
(defaults | route)],
[edit routing-instances routing-instance-name routing-options rib routing-table-name
(aggregate | generate | static) (defaults | route)],
[edit routing-options (aggregate | generate | static) (defaults | route)],
[edit routing-options rib routing-table-name (aggregate | generate | static) (defaults | route)]
Release Information Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11.3 for the QFX Series.
Statement introduced in Junos OS Release 12.3 for ACX Series routers.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Description Fine-grained preference value for a static, aggregate, or generated route.
You can also specify a primary route preference (by including the color statement in the
configuration), and a secondary preference that is used as a tiebreaker (by including the
color2 statement). You can also mark route preferences with additional route tiebreaker
information by specifying a primary route preference and a tiebreaker route preference
(by including the preference and preference2 statements in the configuration).
If the Junos OS routing table contains a dynamic route to a destination that has a better
(lower) preference value than the static, aggregate, or generated route, the dynamic
route is chosen as the active route and is installed in the forwarding table.
Options metric_value—The metric value for an aggregate, a generated, or a static route.
Range: 0 through 4,294,967,295 (2
32
– 1)
type metric_type—(Optional) External metric type for routes exported by OSPF. When
routes are exported to OSPF, type 1 routes are advertised in type 1 externals, and
routes of any other type are advertised in type 2 externals. Note that if a
qualified-next-hop metric value is configured, this value overrides the route metric.
Range: 1 through 16
Copyright © 2017, Juniper Networks, Inc.1468
ACX Series Universal Access Router Configuration Guide