1280
C
84: IP
6 OSPF
HAPTER
V
View
Parameters
Description
Examples
default cost
Syntax
View
Parameters
Description
Examples
default-cost (OSPFv3 area view)
Syntax
3 C
C
V
ONFIGURATION
OMMANDS
OSPFv3 view
area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295 and
changed to IPv4 address format by the system) or an IPv4 address.
Use the
command to enter OSPFv3 area view.
area
n
The undo form of the command is not available. An area is removed automatically
if there is no configuration and no interface is up in the area.
# Enter OSPFv3 Area 0 view.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] area 0
[Sysname-ospfv3-1-area-0.0.0.0]
default cost value
undo default cost
OSPFv3 view
value: Specifies a default cost for redistributed routes, in the range of 1 to
16777214.
Use the
default cost
routes.
Use the
undo default cost
By default, the default cost is 1.
You need to configure the default cost value for redistributed routes to advertise
them throughout the whole AS.
If multiple OSPFv3 processes are available, use of this command takes effect for
the current process only.
# Specify the default cost for redistributed routes as 10.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] default cost 10
default-cost value
command to configure a default cost for redistributed
command to restore the default.