clear (ospf | ospf3) neighbor
Syntax
clear (ospf | ospf3) neighbor <all> <area area-id> <instance instance-name> <interface interface-name> <logical-system (all | logical-system-name)> <neighbor> <realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)>
Syntax (EX Series Switch and QFX Series)
clear (ospf | ospf3) neighbor <all> <area area-id> <instance instance-name> <interface interface-name> <neighbor>
Description
Tear down Open Shortest Path First (OSPF) neighbor connections.
Options
all | 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 |
Required Privilege Level
clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear ospf neighbor all
user@host> clear ospf neighbor all
Release Information
Command introduced before Junos OS Release 7.4.
realm
option introduced in Junos OS Release 9.2.