Version Description
9.7(0.0) Introduced on the S6000-ON.
9.4.(0.0) Added support for VRF.
9.0.2.0 Introduced on the S6000.
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
7.8.1.0 Added support for the Multi-Process OSPF.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
pre- 6.1.1.1 Introduced on the E-Series.
clear ip ospf statistics
Clear the packet statistics in interfaces and neighbors.
S4820T
Syntax
clear ip ospf [process-id] [vrf vrf-name] 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.
vrf vrf-name Enter the keyword vrf followed by the name of the VRF to
clear all OSPF routing tables corresponding to that VRF.
statistics Enter the keyword statistics to clear the packet statistics in
interfaces and neighbors.
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. For the C-Series and S-Series,
the range is from 1 to 128.
• For a SONET interface, enter the keyword sonet then the
slot/ port information.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE then the slot/port information.
• For a VLAN, enter the keyword vlan then a number from
1 to 4094.
1266
Open Shortest Path First (OSPFv2 and OSPFv3)