Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear (ospf | ospf3) statistics

Syntax

Syntax (EX Series Switch and QFX Series)

Description

Clear Open Shortest Path First (OSPF) statistics.

Options

none

Clear OSPF statistics.

instance instance-name

(Optional) Clear statistics 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.

realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)

(Optional) (OSPFv3 only) Clear statistics for 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

See show (ospf | ospf3) statistics for an explanation of output fields.

Sample Output

clear ospf statistics

The following sample output displays OSPF statistics before and after the clear ospf statistics command is entered:

Release Information

Command introduced before Junos OS Release 7.4.

realm option introduced in Junos OS Release 9.2.