- clear (ospf | ospf3) neighbor
- <instance instance-name>
- <logical-system (all | logical-system-name)>
- <neighbor>
- <realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)>
Command introduced before JUNOS Release 7.4.
realm option introduced in JUNOS Release 9.2.
Tear down Open Shortest Path First (OSPF) neighbor connections.
none — Tear down OSPF connections with all neighbors for all routing instances on all logical systems.
instance instance-name — (Optional) Tear down neighbor connections for the specified routing instance 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) — (opsf3 only) (Optional) 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.
clear
When you enter this command, you are provided feedback on the status of your request.