< Home

bandwidth-reference (IS-IS)

Function

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

The undo bandwidth-reference command cancels the configuration.

By default, the bandwidth reference value is 100.

Format

bandwidth-reference value

undo bandwidth-reference

Parameters

Parameter Description Value

value

Specifies the bandwidth reference value.

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

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

To make the set link cost of IS-IS routes reflect the actual link cost, you need to configure a proper 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.

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) x 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.

The bandwidth-reference command can be operated on Eth-Trunk interfaces as same with on physical interfaces. If the command is run on an Eth-Trunk interface, the bandwidth of the Eth-Trunk interface is equal to the total bandwidth of all its member interfaces.

Example

# Configure the reference value of the bandwidth to 1000 Mbit/s.

<sysname> system-view
[sysname] isis 1
[sysname-isis-1] bandwidth-reference 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >