Chapter 50
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1008 –
clear ip ospf process This command clears and restarts the OSPF routing process. Specify the process ID
to clear a particular OSPF process. When no process ID is specified, this command
clears all running OSPF processes.
Syntax
clear ip ospf [process-id] process
process-id - Specifies the routing process ID. (Range: 1-65535)
Default Setting
Clears all routing processes.
Command Mode
Privileged Exec
Example
Console#clear ip ospf process
Console#
Route Metrics and Summaries
area default-cost This command specifies a cost for the default summary route sent into a stub or
NSSA from an Area Border Router (ABR). Use the no form to remove the assigned
default cost.
Syntax
area area-id default-cost cost
no area area-id default-cost
area-id - Identifies the stub or NSSA. (The area ID can be in the form of an
IPv4 address or as a four octet unsigned integer ranging from
0-4294967295.)
cost - Cost for the default summary route sent to a stub or NSSA.
(Range: 0-16777215)
Command Mode
Router Configuration
Default Setting
Default cost: 1
Command Usage
◆ If the default cost is set to “0,” the router will not advertise a default route into
the attached stub or NSSA.