Navigation
Supported Platforms
Related Documentation
- ACX, J, M, MX, PTX, SRX, T Series, QFabric System, QFX Series standalone switches
- Example: Controlling OSPF Route Preferences
- ACX, EX, M, MX, PTX, SRX, T Series, QFabric System, QFX Series standalone switches
- preference
external-preference (Protocols OSPF)
Syntax
external-preference preference;
Hierarchy Level
[edit logical-systems logical-system-name protocols (ospf | ospf3)],[edit logical-systems logical-system-name protocols ospf3 realm (ip4-unicast | ipv4-multicast | ipv6-multicast)],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3)],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)],[edit protocols (ospf | ospf3)],[edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)],[edit routing-instances routing-instance-name protocols (ospf | ospf3)],[edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast } ipv4-multicast | ipv6-multicast)]
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.
Description
Set the route preference for OSPF external routes.
Options
preference—Preference value.
Range: 0 through 4,294,967,295 (232 – 1)
Default: 150
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- ACX, J, M, MX, PTX, SRX, T Series, QFabric System, QFX Series standalone switches
- Example: Controlling OSPF Route Preferences
- ACX, EX, M, MX, PTX, SRX, T Series, QFabric System, QFX Series standalone switches
- preference
Published: 2014-05-08
Supported Platforms
Related Documentation
- ACX, J, M, MX, PTX, SRX, T Series, QFabric System, QFX Series standalone switches
- Example: Controlling OSPF Route Preferences
- ACX, EX, M, MX, PTX, SRX, T Series, QFabric System, QFX Series standalone switches
- preference