Command Line Reference Guide

Command
Modes
EXEC Privilege
Command
History
Version 8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
clear ip ospf statistics
Clear the packet statistics in interfaces and neighbors.
Syntax
clear ip ospf process-id statistics [interface name {neighbor
router-id}]
Parameters
process-id Enter the OSPF Process ID to clear a specific process. If no
Process ID is entered, all OSPF processes are cleared.
interface name (OPTIONAL) Enter the keyword interface then one of the
following interface keywords and slot/port or number
information:
For Port Channel groups, enter the keywords port-
channel
then a number. The range is from 1 to 128.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
For a VLAN, enter the keyword vlan then a number from
1 to 4094.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE then the slot/port information.
neighbor
router-id
(OPTIONAL) Enter the keyword neighbor then the
neighbor’s router-id in dotted decimal format (A.B.C.D.).
Defaults none
Command
Modes
EXEC Privilege
Command
History
Version 8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Related
Commands
show ip ospf statistics — displays the OSPF statistics.
928
Open Shortest Path First (OSPFv2 and OSPFv3)