[Contents] [Prev] [Next] [Index] [Report an Error]

clear (ospf | ospf3) neighbor

Syntax

clear (ospf | ospf3) neighbor
<instance instance-name>
<logical-system (all | logical-system-name)>
<neighbor>
<realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)>

Release Information

Command introduced before JUNOS Release 7.4.

realm option introduced in JUNOS Release 9.2.

Description

Tear down Open Shortest Path First (OSPF) neighbor connections.

Options

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.

Required Privilege Level

clear

Related Topics

show (ospf | ospf3) neighbor

List of Sample Output

clear ospf neighbor

Output Fields

When you enter this command, you are provided feedback on the status of your request.

clear ospf neighbor

user@host> clear ospf neighbor

[Contents] [Prev] [Next] [Index] [Report an Error]