Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-5
spf: Enables the debugging of the calculation of the OSPF shortest-path tree.
te: Enables the debugging of OSPF TE.
Description
Use the debugging ospf command to enable OSPF debugging.
Use the undo debugging ospf command to disable the function.
In OSPF multi-process, using debugging command, you can enable the debugging of
all the process simultaneously or one of the processes only.
If no process number is specified in the debugging command, the command is valid to
all the processes. And it keeps the state during the router running period no matter
OSPF process exits or not. In this way, the execution of this command will
enable/disable each enabled OSPF debugging. At the same time, the debugging
specified by this command will be enabled automatically when new OSPF is enabled.
If there is a specified process number in the debugging command, only the specified
process is debugged. The configuration command is invalid if OSPF is not enabled.
And the debugging state will not be kept after exiting the process, either.
If you do not define the interface parameter in the debugging command, the system
displays the debugging information of all the interfaces. If you define the parameter, the
system only displays the debugging information of the specified interface.
Related command: display debugging ospf.
Example
# Enable the information debugging of OSPF packets.
<3Com > debugging ospf packet
3.1.6 default cost
Syntax
default cost value
undo default cost
View
OSPF view
Parameter
value: Default routing cost of external route redistributed by OSPF, ranging from 0 to
16777214. By default, its value is 1.










