3com 8807 Reference Guide

Page of 1099
OSPF Configuration Commands
417
Description
Use the debugging ospf command to enable OSPF process debugging.
Use the undo debugging ospf command to disable OSPF process debugging.
In OSPF multiple processes, the debugging command can enable a certain 
debugging for all the processes, or enable the debugging of one of them.
If you do not specify a process ID, the command is applied to all processes. While 
the router is operating, the debugging state always remains regardless of the 
existing OSPF process. If you specify a process ID, the command is only applied to 
the specified process.
Related command: display debugging ospf.
Example
# Enable OSPF packet debugging.
<SW8800> debugging ospf packet 
# Enable the debugging for OSPF GR.
<SW8800> debugging ospf graceful-restart 
default cost
Syntax
default cost value
undo default cost
View
OSPF view
Parameter
value: Default routing cost of an external route imported by OSPF, ranging from 0 
to 16,777,214. By default, its value is 1.
Description
Use the default cost command to configure the default cost for OSPF to import 
external routes.
Use the undo default cost command to restore the default value of the default 
routing cost configured for OSPF to import external routes.
Since OSPF can import external routing information, whose routing cost can 
influence routing selection and calculation, and propagate it to the entire 
autonomous system, it is necessary to specify the default routing cost for the 
protocol to import external routes.
Example
# Specify the default routing cost for OSPF to import external routes as 10.
[3Com-ospf-1] default cost 10