3Com 3031 Command Reference Manual page 567

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

Advertisement

default-cost
default-route-advertise
Syntax
default-cost value
undo default-cost
View
OSPF area view
Parameter
value: Specifies the cost value of the default route transmitted by OSPF to the
STUB or NSSA area, ranging from 0 to 16777214. The default value is 1.
Description
Using the default-cost command, you can configure the cost of the default route
transmitted by OSPF to the STUB or NSSA area. Using the undo default-cost
command, you can restore the cost of the default route transmitted by OSPF to
the STUB or NSSA area to the default value.
This command is applicable for the border routers connected to STUB or NSSA
area.
The stub and default-cost commands are necessary in configuring STUB area. All
the routers connected to STUB area must use stub command to configure the stub
attribute to this area. Using the default-cost command, you can specify the cost of
the default route transmitted by ABR to STUB or NSSA area.
This command is only valid for this process if multiple OSPF processes are enabled.
For the related commands, see stub and nssa.
Example
Set the area 1 as the STUB area and the cost of the default route transmitted to
this STUB area to 60.
[3Com-ospf-1] area 1
[3Com-ospf-1-area-0.0.0.1] network 20.0.0.0 0.255.255.255
[3Com-ospf-1-area-0.0.0.1] stub
[3Com-ospf-1-area-0.0.0.1] default-cost 60
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.
OSPF Configuration Commands
567

Advertisement

Table of Contents
loading

Table of Contents