Command
EXEC Privilege
Modes
Command
Version 8.3.16.1
History
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
interface name
neighbor
router-id
Defaults
none
Command
EXEC Privilege
Modes
Command
Version 8.3.16.1
History
Related
show ip ospf statistics
Commands
928
Introduced on the MXL 10/40GbE Switch IO Module.
Enter the OSPF Process ID to clear a specific process. If no
Process ID is entered, all OSPF processes are cleared.
(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.
(OPTIONAL) Enter the keyword neighbor then the
neighbor's router-id in dotted decimal format (A.B.C.D.).
Introduced on the MXL 10/40GbE Switch IO Module.
— displays the OSPF statistics.
Open Shortest Path First (OSPFv2 and OSPFv3)