Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear (ospf | ospf3) neighbor

Syntax

Syntax (EX Series Switch and QFX Series)

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 realm option to specify an address family for OSPFv3 other than IPv6 unicast, which is the default.

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

Release Information

Command introduced before Junos OS Release 7.4.

realm option introduced in Junos OS Release 9.2.