H3C S6550X-HI Series Command Reference Manual page 1940

Table of Contents

Advertisement

Default
The cost is 1.
Views
OSPFv3 area view
Predefined user roles
network-admin
Parameters
value
: Specifies a cost for the default route advertised to the stub area or NSSA area, in the 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
60.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] area 1
[Sysname-ospfv3-1-area-0.0.0.1] stub
[Sysname-ospfv3-1-area-0.0.0.1] default-cost 60
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 | tag tag | type type ] *
undo default-route-advertise
Default
No default route is redistributed into the OSPFv3 routing domain.
Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
: Redistributes a default route in an AS-external-LSA into the OSPFv3 routing domain
always
regardless of whether a default route exists in the routing table. If you do not specify this keyword,
the router redistributes a default route in an AS-external-LSA into the OSPFv3 routing domain only
when the default route exists in the routing table.
to redistribute a default route into the OSPFv3 routing domain.
to restore the default.
6

Advertisement

Table of Contents
loading

Table of Contents