Supported Platforms
clear (ospf | ospf3) neighbor
Syntax
Syntax (EX Series Switch and QFX Series)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
realm option introduced in Junos OS Release 9.2.
Command introduced in Junos OS Release 11.3 for the QFX Series.
Description
Tear down Open Shortest Path First (OSPF) neighbor connections.
Options
none | — | Tear down OSPF connections with all neighbors for all routing instances. |
area area-id | — | (Optional) Tear down neighbor connections for the specified area only. |
instance instance-name | — | (Optional) Tear down neighbor connections for the specified routing instance only. |
interface interface-name | — | (Optional) Tear down neighbor connections for the specified interface only. |
logical-system (all | logical-system-name) | — | (Optional) Perform this operation on all logical systems or on a particular logical system. |
neighbor | — | (Optional) Clear the state of the specified neighbor only. |
realm (ipv4-multicast | ipv4-unicast | ipv6-multicast) | — | (Optional) (OSPFv3 only) Clear the state of the specified OSPFv3 realm, or address family. Use the realm option to specify an address family for OSPFv3 other than IPv6 unicast, which is the default. |
Required Privilege Level
clear
List of Sample Output
clear ospf neighborOutput Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear ospf neighbor
user@host> clear ospf neighbor