Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 3 OSPF Configuration Commands
3-5
3.1.5 bandwidth-reference
Syntax
bandwidth-reference
value
undo bandwidth-reference
View
OSPF view
Parameters
value
: Bandwidth reference value for link cost calculation, in the range 1 to 2147483648
Mbps.
Description
Use the
bandwidth-reference
command to specify a reference bandwidth value for
link cost calculation.
Use the
undo bandwidth-reference
command to restore the default value.
The default value is 100 Mbps.
When links have no cost values configured, OSPF calculates their cost values:
Cost=Reference bandwidth value / Link bandwidth. If the calculated cost is greater than
65535, the value of 65535 is used.
Examples
# Specify the reference bandwidth value as 1000 Mbps.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] bandwidth-reference 1000
3.1.6 default
Syntax
default
{
cost
cost
|
limit
limit
|
tag
tag
|
type type
} *
undo default
{
cost
|
limit
|
tag
|
type
} *
View
OSPF view
Parameters
cost
: Specifies the default cost for redistributed routes, in the range 0 to 16777214.