Users Guide

Table Of Contents
Parameters value — Enter the reference bandwidth value to calculate the OSPF interface cost in megabits per second, from
1 to 4294967.
Default 100000
Command Mode ROUTER-OSPF
Usage Information The value set by the ip ospf cost command in INTERFACE mode overrides the cost resulting from the
auto-cost command. The no version of this command resets the value to the default.
Example
OS10(config)# router ospf 10
OS10(conf-router-ospf-10)# auto-cost reference-bandwidth 150
Supported Releases 10.2.0E or later
clear ip ospf process
Clears all OSPF routing tables.
Syntax
clear ip ospf {instance-number} [vrf vrf-name] process
Parameters
instance-number — Enter an OSPF instance number, from 1 to 65535.
vrf vrf-name — Enter the keyword vrf followed by the name of the VRF to reset the OSPF process
congured in that VRF.
Default Not congured
Command Mode EXEC
Usage Information This command clears all entries in the OSPF routing table.
Example
OS10# clear ip ospf 3 vrf vrf-test process
Supported Releases 10.2.0E or later
clear ip ospf statistics
Clears OSPF trac statistics.
Syntax
clear ip ospf [instance-number] [vrf vrf-name] statistics
Parameters
instance-number — (Optional) Enter an OSPF instance number, from 1 to 65535.
vrf vrf-name — (Optional) Enter the keyword vrf followed by the name of the VRF to clear OSPF trac
statistics in that congured VRF.
Default Not congured
Command Mode EXEC
Usage Information This command clears the OSPF trac statistics in a specied instance or in all the congured OSPF instances, and
resets them to zero.
Example
OS10# clear ip ospf 10 vrf vrf-test statistics
Supported Releases 10.4.0E(R1) or later
Layer 3 615