443
Examples
# Configure the tag for redistributed routes as 2.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] default tag 2
Related commands
•
default-route-advertise
(OSPFv3 view)
•
import-route
•
route-tag
(
MPLS Command Reference
)
default-cost (OSPFv3 area view)
Use
default-cost
to configure a cost for the default route advertised to the stub area or NSSA area.
Use
undo default-cost
to restore the default.
Syntax
default-cost
cost
undo default-cost
Default
The cost is 1.
Views
OSPFv3 area view
Predefined user roles
network-admin
Parameters
cost
: 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/ASBR of an NSSA area.
Examples
# Configure Area 1 as a stub area, and specify the cost of the default route advertised to the stub area
as 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
(OSPFv3 area view)
•
stub
(OSPFv3 area view)