Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

preference (Access)

Syntax

preference route-distance;

Hierarchy Level

[edit routing-options access route ip-prefix</prefix-length>]

Release Information

Statement introduced in Junos OS Release 10.1.

Statement introduced in Junos OS Release 12.3 for ACX Series routers.

Description

Configure the distance for an access route.

Options

route-distance—Specific distance you want to assign to the access route.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2012-12-08