bandwidth

Function

The bandwidth command sets configuration bandwidth for an interface.

The undo bandwidth command cancels the configuration bandwidth set for an interface.

By default, no configuration bandwidth is set for an interface.

Format

bandwidth bandwidth

bandwidth bandwidth kbps

undo bandwidth

Parameters

Parameter Description Value
bandwidth

Specifies configuration bandwidth for an interface.

The value is an integer ranging from 1 to 1000000, and the default unit is Mbit/s.

kbps

Specifies the unit of an interface bandwidth is kbit/s. If kbps is not specified, the unit of an interface bandwidth is Mbit/s.

-

Views

100GE-Trunk member Layer 2 interface view, 100GE-Trunk member interface view, Layer 2 100GE interface view, 100ge sub-interface view, 100GE interface view, Layer 2 10GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE-L2 view, 25GE sub-interface view, 25GE interface view, 400GE-L2 view, 400GE sub-interface view, 400GE interface view, 40GE-Trunk member Layer 2 interface view, 40GE-Trunk member interface view, Layer 2 40GE interface view, 40GE sub-interface view, 40GE interface view, Layer 2 50GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Global VE interface view, PW-VE sub-interface view, PW-VE interface view, Tunnel interface view, VE sub-interface view, VE interface view, Sub-interface view, Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
interface-mgr write

Usage Guidelines

Usage Scenario

Interface bandwidth is classified as physical bandwidth or configuration bandwidth. The bandwidth command sets configuration bandwidth for an interface, which does not affect the physical bandwidth of the interface. To view the command configurations, you can check the ifSpeed and ifHighSpeed objects in the IF-MIB on the NMS.

  • If the configured bandwidth is smaller than 4000 Mbit/s, ifSpeed and ifHighSpeed are respectively displayed as bandwidth×1000×1000 and bandwidth.
  • If the configured bandwidth is equal to or larger than 4000 Mbit/s, ifSpeed and ifHighSpeed are respectively displayed as 4294967295 (0XFFFFFFFF) and bandwidth.

Precautions

A main interface's bandwidth determines the default sub-interface bandwidth.

If the bandwidth command is run more than once, the latest configuration overrides the previous one.

Example

# Set the configuration bandwidth of Eth-Trunk1 to 512 Kbit/s.
<HUAWEI> system-view
[HUAWEI] interface Eth-Trunk 1
[HUAWEI-Eth-Trunk1] bandwidth 512 kbps
# Set the configuration bandwidth of GE 0/1/0 to 10000 Mbit/s.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] bandwidth 10000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >