Reference Guide
1012 | Open Shortest Path First (OSPFv2 and OSPFv3)
www.dell.com | support.dell.com
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
c e s
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]
To cancel the debug command, enter no debug ip ospf.
Parameters
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 a Port Channel interface, enter the keyword
port-channel
followed by a number:
C-Series and S-Series Range: 1-128
E-Series Range: 1 to 32 for EtherScale, 1 to 255 for TeraScale and 1 to
512 for ExaScale.
For a SONET interface, enter the keyword
sonet followed by the slot/port
information.
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.
neighbor router-id
(OPTIONAL) Enter the keyword neighbor followed by the neighbor’s
router-id in dotted decimal format (A.B.C.D.).
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
Version 7.4.1.0 Introduced on E-Series
show ip ospf statistics Display the OSPF statistics
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.
bfd (OPTIONAL) Enter the keyword bfd to debug only OSPF BFD information.
event (OPTIONAL) Enter the keyword event to debug only OSPF event information.
packet (OPTIONAL) Enter the keyword packet to debug only OSPF packet information.
spf (OPTIONAL) Enter the keyword spf to display the Shortest Path First information.