HP VPN Firewall Appliances Network Management Command Reference

805
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
Use default cost to configure a default cost for redistributed routes.
Use undo default cost to restore the default.
Syntax
default cost value
undo default cost
Default
The default cost is 1.
Views
OSPFv3 view
Default command level
2: System level
Parameters
value: Specifies a default cost for redistributed routes, in the range of 1 to 16777214.
Usage guidelines
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)
Use default-cost to specify the cost of the default route to be advertised to the stub area.
Use undo default-cost to restore the default value.
Syntax
default-cost value
undo default-cost