F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
803
Default command level
2: System level
Parameters
value: Bandwidth reference value for link cost calculation, in the range of 1 to 2147483648 Mbps.
Usage guidelines
You can configure an OSPFv3 cost for an interface with one of the following methods:
Configure the cost value in interface view.
Configure a bandwidth reference value, and OSPFv3 computes the cost automatically based on the
bandwidth reference value: Interface OSPFv3 cost = Bandwidth reference value/Interface
bandwidth. If the calculated cost is greater than 65535, the value of 65535 is used.
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