Supported Platforms
Related Documentation
- ACX, M, MX, PTX, QFX, T Series
- Example: Enabling Wide IS-IS Metrics for Traffic Engineering
- ACX, M, MX, PTX, SRX, T Series
- te-metric
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- wide-metrics-only
metric (Protocols IS-IS)
Syntax
Hierarchy Level
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 12.1 for the QFX Series.
Description
Specify the metric value for the level.
All IS-IS routes have a cost, which is a routing metric that is used in the IS-IS link-state calculation. The cost is an arbitrary, dimensionless integer that can be from 1 through 63, or from 1 through 16,777,215 (224 – 1) if you are using wide metrics.
Similar to other routing protocols, IS-IS provides a way of exporting routes from the routing table into the IS-IS network. When a route is exported into the IS-IS network without a specified metric, IS-IS uses default metric values for the route, depending on the protocol that was used to learn the route.
Table 1 depicts IS-IS route export metric default values.
Table 1: Default Metric Values for Routes Exported into IS-IS
Protocol Used for Learning the Route | Default Metric Value |
---|---|
Direct | 10 |
Static | Same as reported by the protocol used for exporting the route |
Aggregate | 10 |
Generate | 10 |
RIP | Same as reported by the protocol used for exporting the route |
OSPF | Same as reported by the protocol used for exporting the route |
BGP | 10 |
The default metric values behavior can be customized by using routing policies.
Options
metric—Metric value.
Range: 1 through 63, or 1 through 16,777,215 (if you have configured wide metrics)
Default: 10 (for all interfaces except lo0), 0 (for the lo0 interface)
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- ACX, M, MX, PTX, QFX, T Series
- Example: Enabling Wide IS-IS Metrics for Traffic Engineering
- ACX, M, MX, PTX, SRX, T Series
- te-metric
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- wide-metrics-only
Published: 2013-04-03
Supported Platforms
Related Documentation
- ACX, M, MX, PTX, QFX, T Series
- Example: Enabling Wide IS-IS Metrics for Traffic Engineering
- ACX, M, MX, PTX, SRX, T Series
- te-metric
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- wide-metrics-only