A SERVICE OF

logo

Version Description
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.
S6000
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.
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
Open Shortest Path First (OSPFv2 and OSPFv3)
1065