Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

preference (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.

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

Description

Configure the preference of internal routes.

Route preferences (also known as administrative distances) are used to select which route is installed in the forwarding table when several protocols calculate routes to the same destination. The route with the lowest preference value is selected.

To change the preference values, include the preference statement (for internal routes) or the external-preference statement.

Options

preference—Preference value.

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

Default: 15 (for Level 1 internal routes), 18 (for Level 2 internal routes), 160 (for Level 1 external routes), 165 (for Level 2 external routes)

Required Privilege Level

routing—To view this statement in the configuration.

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