3Com 3031 Command Reference Manual page 568

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

568
C
6: R
HAPTER
OUTING
display debugging ospf
P
ROTOCOL
cost-value: Cost value of this LSA. The cost-value ranges from 0 to 16777214.
The default value is 1.
type-value: Cost type of this LSA. It ranges from 1 to 2. The default value is 2.
route-policy-name: If the default route matches the route-policy specified by
route-policy-name, route-policy will affect the value in LSA. The length of
route-policy-name parameter ranges from 1 to 19 character.
Description
Using the default-route-advertise command, you can make the system generate a
default route to OSPF area. Using the undo default-route-advertise command, you
can cancel the generating of default route.
By default, OSPF does not generate default route.
Using the default-route-advertise command at ABR, you can generate a default
route which is advertised via the Type-5 LSA or Type-7 LSA no matter whether
there is a default route in the routing table.
An OSPF router after the default-route-advertise command is executed will
become an ASBR, as is similar to executing the import-route command on an OSPF
router. But you cannot import the default route into the OSPF area with the
import-route command.
In addition, the default-route-advertise command is not available for the Stub
area. For the ABR or ASBR in NSSA, the default-route-advertise command is
equivalent to the nssa default-route-advertise command in terms of effect.
This command is valid for the current process only if multiple OSPF processes are
enabled.
For the related commands, see import-route and nssa.
Example
If local route has default route, the LSA of default route will be generated,
otherwise it won't be generated.
[3Com-ospf-1] default-route-advertise
The LSA of default route will be generated and advertised to OSPF
route area even the local router has no default route.
[3Com-ospf-1] default-route-advertise always
Syntax
display debugging ospf
View
Any view
Description
Using the display debugging ospf command, you can view the global OSPF
debugging state and each process debugging state.
For the related command, see debugging ospf.
Example
View the global OSPF debugging state and each process debugging state.

Advertisement

Table of Contents
loading

Table of Contents