R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

726
If no cost value is configured for an interface, OSPFv3 computes the interface cost value automatically:
Examples
# Specify the reference bandwidth value as 1000 Mbps.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] bandwidth-reference 1000
default cost
Syntax
default cost value
undo default cost
View
OSPFv3 view
Default level
2: System level
Parameters
value: Specifies a default cost for redistributed routes, in the range of 1 to 16777214.
Description
Use default cost to configure a default cost for redistributed routes.
Use undo default cost to restore the default.
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.
Examples
# Specify the default cost for redistributed routes as 10.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] default cost 10
default-cost (OSPFv3 area view)
Syntax
default-cost value
undo default-cost
View
OSPFv3 area view
Default level
2: System level