Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

disable (OSPF)

Syntax

disable;

Hierarchy Level

[edit logical-systems logical-system-name protocols (ospf | ospf3)],[edit logical-systems logical-system-name protocols (ospf | ospf3) area area-id interface interface-name],[edit logical-systems logical-system-name protocols ospf area area-id peer-interfaceinterface-name],[edit logical-systems logical-system-name protocols (ospf | ospf3) virtual-link],[edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)],[edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name],[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 (ospf | ospf3) area area-id interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3) virtual-link],[edit logical-systems logical-system-name routing-instances routing-instances protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name],[edit protocols (ospf | ospf3)],[edit protocols (ospf | ospf3) area area-id interface interface-name],[edit protocols (ospf | ospf3) virtual-link],[edit protocols ospf area area-id peer-interface interface-name],[edit protocols ospf area area-id virtual-link neighbor-id router-id transit-area area-id],[edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)],[edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name],[edit routing-instances routing-instance-name protocols (ospf | ospf3)],[edit routing-instances routing-instance-name protocols (ospf | ospf3) area area-id interface interface-name],[edit routing-instances routing-instance-name protocols (ospf | ospf3) virtual-link],[edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast)],[edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id interface interface-name]

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

Disable OSPF, an OSPF interface, or an OSPF virtual link.

By default, control packets sent to the remote end of a virtual link must be forwarded using the default topology. In addition, the transit area path consists only of links that are in the default topology. You can disable a virtual link for a configured topology, but not for a default topology. Include the disable statement at the [edit protocols ospf area area-id virtual-link neighbor-id router-id transit-area area-id topology name] hierarchy level.

Note: If you disable the virtual link by including the disable statement at the [edit protocols ospf area area-id virtual-link neighbor-id router-id transit-area area-id] hierarchy level, you disable the virtual link for all topologies, including the default topology. You cannot disable the virtual link only in the default topology.

Default

The configured object is enabled (operational) unless explicitly disabled.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2014-05-08