CLI Guide

auto-cost
Specify how the OSPF interface cost is calculated based on the reference bandwidth method.
Syntax
auto-cost [reference-bandwidth ref-bw]
To return to the default bandwidth or to assign cost based on the interface type, use the no auto-cost
[reference-bandwidth] command.
Parameters
ref-bw (OPTIONAL) Specify a reference bandwidth in megabits per second. The range is from 1
to 4294967. The default is 100 megabits per second.
Defaults 100 megabits per second.
Command Modes ROUTER OSPF
Supported Modes Full—Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
clear ip ospf
Clear all OSPF routing tables.
Syntax
clear ip ospf process-id [process]
Parameters
process-id Enter the OSPF Process ID to clear a specic 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
Supported Modes Full—Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
clear ip ospf statistics
Clear the packet statistics in interfaces and neighbors.
Syntax
clear ip ospf process-id statistics [interface name {neighbor router-id}]
Open Shortest Path First (OSPFv2 and OSPFv3) 909