bandwidth-reference (IS-IS topology view)

Function

The bandwidth-reference command sets a bandwidth reference value that is used when the system automatically calculates the interface cost.

The undo bandwidth-reference command cancels the configuration.

By default, the bandwidth reference value is 100 Mbit/s.

Format

bandwidth-reference value

undo bandwidth-reference

Parameters

Parameter Description Value
value

Specifies a bandwidth reference value.

The value is an integer ranging from 1 to 2147483648, in Mbit/s.

Views

IS-IS topology view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

You can configure a link cost for all interfaces or enable automatic interface cost calculation. To enable automatic interface cost calculation, you need to set a proper bandwidth reference value.

Prerequisites

An IS-IS process has been created.

Configuration Impact

You can run the bandwidth-reference command to set a proper bandwidth reference value. After automatic interface cost calculation is enabled, and the cost type is wide or wide-compatible, the system calculates the cost of each interface with the following formula: Interface cost = (Bandwidth-reference/Interface bandwidth) * 10. If the interface cost calculated through this formula is greater than 16777214, 16777214 is used as the interface cost for route calculation. That is, the interface cost will never be greater than 16777214.

The automatic interface cost calculation is enabled by the auto-cost enable command, and the cost style is set by the cost-style command.

Precautions

Set a proper bandwidth reference value.

If the command is run in the IS-IS view, it takes effect only in the base topology. If the command is run in the IS-IS topology view, it takes effect only in the current topology.

Example

# Set the bandwidth reference value to 1000 Mbit/s.
<HUAWEI> system-view
[~HUAWEI] ip topology topo1
[*HUAWEI] isis 1
[*HUAWEI-isis-1] cost-style wide
[*HUAWEI-isis-1] topology topo1 topology-id 10
[*HUAWEI-isis-1-topology-topo1] bandwidth-reference 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >