Reference Guide

Open Shortest Path First (OSPFv2) | 641
clear ip ospf statistics
z
Clear the packet statistics in interfaces and neighbors.
Syntax
clear ip ospf process-id statistics [interface name {neighbor router-id}]
Parameters
Defaults
No defaults values or behavior
Command Modes
EXEC Privilege
Command
History
Related
Commands
debug ip ospf
z
Display debug information on OSPF. Entering debug ip ospf enables OSPF debugging for the first
OSPF process,.
Syntax
debug ip ospf process-id [bfd |event | packet | spf | database-timer rate-limit]
To cancel the debug command, enter no debug ip ospf.
Parameters
S6000
process-id
Enter the OSPF Process ID to clear statistics for a specific process.
If no Process ID is entered, all OSPF processes are cleared.
interface name
(OPTIONAL) Enter the keyword interface followed by one of the
following interface keywords and slot/port or number information:
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by the slot/port information.
For Port Channel groups, enter the keyword
port-channel followed
by a number:
S-Series Range: 1 to 128
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
For a VLAN, enter the keyword
vlan followed by a number from 1 to
4094.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
followed by the slot/port information.
neighbor router-id
(OPTIONAL) Enter the keyword neighbor followed by the neighbors
router-id in dotted decimal format (A.B.C.D.).
Version 9.0.2.0 Introduced on S6000.
Version 8.3.11.1 Introduced on Z9000
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
show ip ospf statistics Display the OSPF statistics
S6000
process-id
Enter the OSPF Process ID to debug a specific process.
If no Process ID is entered, command applies only to the first OSPF process.
Range: 1 to 65535
bfd
(OPTIONAL) Enter the keyword bfd to debug only OSPF BFD information.
event
(OPTIONAL) Enter the keyword event to debug only OSPF event information.