R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

68
Syntax
bandwidth-reference value
undo bandwidth-reference
Default
The default value is 100 Mbps.
Views
OSPF view
Default command level
2: System level
Parameters
value: Specifies the bandwidth reference value for link cost calculation, in the range of 1 to 2147483648
Mbps.
Usage guidelines
When links have no cost values configured, OSPF calculates their cost values using formula:
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
default
Use default to configure default parameters for redistributed routes.
Use undo default to restore default values.
Syntax
default { cost cost | limit limit | tag tag | type type } *
undo default { cost | limit | tag | type } *
Default
The cost, route type, tag, and the upper limit are 1, 2, 1, and 1000.
Views
OSPF view
Default command level
2: System level
Parameters
cost: Specifies the default cost for redistributed routes, in the range of 0 to 16777214.
limit: Specifies the default upper limit of routes redistributed per time, in the range of 1 to 2147483647.
tag: Specifies the default tag for redistributed routes, in the range of 0 to 4294967295.