[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

metric

See the following sections:

metric (Aggregate, Generated, or Static Route)

Syntax

(metric | metric2 | metric3 | metric4) metric <type type>;

Hierarchy Level

[edit logical-systems logical-system-name routing-options (aggregate | generate | static) (defaults | route)],
[edit routing-options (aggregate | generate | static) (defaults | route)]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Metric value for an aggregate, generated, or static route. You can specify up to four metric values, starting with metric (for the first metric value) and continuing with metric2, metric3, and metric4.

Options

metric—Metric value.

Range: 0 through 4,294,967,295 (232 – 1)

type type—(Optional) Type of route.

Range: 1 through 16

Usage Guidelines

See Configuring a Metric Value for Static Routes, Configuring a Metric Value for Aggregate Routes, and Configuring a Metric Value for Generated Routes.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Related Topics

aggregate, generate, static

metric (Qualified Next Hop on Static Route)

Syntax

metric metric;

Hierarchy Level

[edit logical-systems logical-system-name routing-options static route destination-prefix qualified-next-hop],
[edit routing-options static route destination-prefix qualified-next-hop]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Metric value for a static route.

Options

metric—Metric value.

Range: 0 through 4,294,967,295 (232 – 1)

Usage Guidelines

See Configuring an Independent Preference for Static Routes.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Related Topics

qualified-next-hop, static


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]