OSPF Configuration Commands 185
The import-route command cannot import the default route. When local router
is not configured with default route, the keyword
always should be used by ASE
LSA to generate default route.
Related command: import-route.
Example
If a local route has no default route, the ASE LSA of the default route will be
generated.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]router id 1.1.1.1
[SW5500]ospf
[SW5500-ospf-1]default-route-advertise
The ASE LSA of the default route will be generated and advertised to OSPF route
area even if the local router has no default route.
[SW5500-ospf]default-route-advertise always
display debugging ospf Syntax
display debugging ospf
View
Any View
Description
Use the display debugging ospf command to view the debugging states of
global OSPF and all processes.
For related commands, see debugging ospf.
Example
To display the debugging states of global OSPF and all processes, enter the
following.
<SW5500>display debugging ospf
OSPF global debugging state:
OSPF SPF debugging is on
OSPF LSA debugging is on
OSPF process 100 debugging state:
OSPF SPF debugging is on
OSPF process 200 debugging state:
OSPF SPF debugging is on
OSPF LSA debugging is on
display ospf abr-asbr Syntax
display ospf [
process-id
] abr-asbr