preference (Protocols RIP)

Syntax

Hierarchy Level

Description

Specify the preference of external routes learned by RIP as compared to those learned from other routing protocols.

By default, Junos OS assigns a preference of 100 to routes that originate from RIP. When Junos OS determines a route’s preference to become the active route, the software selects the route with the lowest preference and installs this route into the forwarding table.

Options

preference—Preference value. A lower value indicates a more preferred route.

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

  • Default: 100

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.