Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-10
Syntax
default-route-advertise [ always ] [ cost cost-value ] [ type type-value ]
[ route-policy route-policy-name ]
undo default-route-advertise [ always ] [ cost ] [ type ] [ route-policy ]
View
OSPF view
Parameter
always: Only available for the ASBR. If the parameter is selected, a default route which
is advertised via LSAs will be generated no matter whether there is a default route in
the routing table. For the ASBR in an general area, the default route is advertised via
Type-5 LSA, while in NSSA, the default route is advertised via Type-7 LSA.
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
Use the default-route-advertise command to make the system generate a default
route to OSPF area.
Use the undo default-route-advertise command to cancel the generating of default
route.
By default, OSPF does not generate default route.
Use the default-route-advertise command at ABR to 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 redistribute 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.
Related command: import-route and nssa.










