Command Reference Guide
3Com Router 5000 Family and Router 6000 Family default-route-advertise ● 49
Command Reference
default-route-advertise
Purpose 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.
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.
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 ]
Parameters always
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. Valid values are 0 to 16777214.
If no value is specified, the default value is 1.
type-value
Cost type of this LSA. Valid values are 1 to 2.
If no value is specified, 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.
Default By default, OSPF does not generate default route.
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