preference (Protocols OSPF)

 

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.

Support for the realm statement introduced in Junos OS Release 9.2.

Support for the realm statement introduced in Junos OS Release 9.2 for EX Series switches.

Statement introduced in Junos OS Release 11.3 for the QFX Series.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

Description

Set the route preference for OSPF internal routes.

Options

preference—Preference value.

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

Default: 10

Required Privilege Level

routing—To view this statement in the configuration.

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