Command Line Reference Guide
clear ip ospf
Clear all OSPF routing tables.
S5000
Syntax
clear ip ospf process-id [process]
Parameters
process-id
Enter the OSPF Process ID to clear a specific process. If no Process
ID is entered, all OSPF processes are cleared.
process (OPTIONAL) Enter the keyword process to reset the OSPF process.
Command Modes EXEC Privilege
Command History
Version 9.0(1.3) Introduced on the S5000.
clear ip ospf statistics
Clear the packet statistics in interfaces and neighbors.
S5000
Syntax
clear ip ospf process-id statistics [interface type slot/port
{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.
interface
type
slot/port
(OPTIONAL) Enter the interface keyword followed by the
interface type and slot/port or number information. Valid slot numbers
are 0-11. The valid port numbers for each interface type are listed
below.
• For a 10-Gigabit Ethernet interface, enter the keyword
tengigabitethernet followed by slot/port numbers.
The port range is 0 to 63.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by slot/port numbers. The ports are 48,
52, 56, and 60.
• For a Loopback interface, enter the keyword loopback
followed by a number from 0 to 16383.
• For a Null interface, enter the keywords null 0.
• For a Port Channel interface, enter the keywords port-
channel
followed by a number from 1 to 128.
• For a VLAN interface, enter the keyword vlan followed by a
VLAN id number from 1 to 4094.
914