Command Line Reference Guide
1020 | Open Shortest Path First (OSPFv2 and OSPFv3)
www.dell.com | support.dell.com
clear ip ospf statistics
c e s
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
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 [vrf vrf-name] [bfd |event | packet | spf]
To cancel the debug command, enter no debug ip ospf.
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 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
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 8.4.6.0
Added support for the keyword
fortyGigE.
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










