C
HAPTER
45
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1048 –
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#
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.
EXAMPLE
Console(config-router)#area 10.3.9.0 default-cost 10
Console(config-router)#