Default-Route-Advertise - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

Parameters
cost-value
range of 0 to 16777214.
Usage guidelines
This command takes effect only on the ABR of a stub area or the ABR or ASBR of an NSSA area.
Examples
# Configure Area 1 as a stub area, and set the cost of the default route advertised to the stub area to
20.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] stub
[Sysname-ospf-100-area-0.0.0.1] default-cost 20
Related commands
nssa
stub

default-route-advertise

Use
default-route-advertise
Use
undo default-route-advertise
Syntax
default-route-advertise [ [ always | permit-calculate-other ] | cost
cost-value | route-policy route-policy-name | type type ] *
default-route-advertise [ summary cost cost-value ]
undo default-route-advertise
Default
No default route is redistributed into the OSPF routing domain.
Views
OSPF view
Predefined user roles
network-admin
Parameters
: Redistributes a default route in a Type-5 LSA into the OSPF routing domain regardless of
always
whether a default route exists in the routing table. If you do not specify this keyword, the router
redistributes a default route only when an active default route that does not belong to the current
OSPF process exists in the IP routing table.
permit-calculate-other
routers. If you do not specify this keyword, OSPF does not calculate default routes from other routers.
If the router does not redistribute any default route in a Type-5 LSA into the OSPF routing domain,
the router calculates default routes from other routers. It calculates these routes regardless of
whether this keyword is specified.
cost cost-value
not specify this option, the default cost specified by the
: Specifies a cost for the default route advertised to the Stub or NSSA area, in the
: Enables OSPF to calculate default routes received from other
: Specifies a cost for the default route, in the range of 0 to 16777214. If you do
to redistribute a default route into the OSPF routing domain.
to restore the default.
default-cost
9
command applies.

Advertisement

Table of Contents
loading

Table of Contents