Users Guide

Table Of Contents
Usage Information The no version of this command deletes a stub area.
Example
OS10(config)# router ospf 10
OS10(conf-router-ospf-10)# area 10.10.1.5 stub
Supported
Releases
10.2.0E or later
auto-cost reference-bandwidth
Calculates default metrics for the interface based on the configured auto-cost reference bandwidth value.
Syntax
auto-cost reference-bandwidth value
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
configured in that VRF.
Default Not configured
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 traffic 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
traffic statistics in that configured VRF.
Default Not configured
Command Mode EXEC
Usage Information This command clears the OSPF traffic statistics in a specified instance or in all the configured OSPF instances,
and resets them to zero.
622 Layer 3