tag (Routing Options)
Syntax tag metric type number;
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 Associate a tag with a static, aggregate, or generated route.
Default No tag strings are associated with routes.
Options metric—Tag metric.
Range: 0 through 4,294,967,295
type number—Tag type.
Range: 1 through 16
Required Privilege
Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related
Documentation
• Example: Summarizing Static Routes Through Route Aggregation
• aggregate on page 1420
• generate on page 1535
• static
1741Copyright © 2017, Juniper Networks, Inc.
Chapter 41: Configuration Statements