< Home

bandwidth (Interface view)

Function

The bandwidth command sets the interface bandwidth obtained by the NMS from the MIB.

The undo bandwidth command restores the default configuration.

By default, the interface bandwidth obtained by the NMS from the MIB depends on the interface type. For example, the bandwidth of a GE interface is 1000 Mbit/s.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

bandwidth bandwidth [ kbps ]

undo bandwidth

Parameters

Parameter Description Value

bandwidth

Specifies the bandwidth of an interface.

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

kbps

Indicates the unit of an interface bandwidth is kbit/s.

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

-

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, GE sub-interface view, XGE sub-interface view, 40GE interface view, 100GE interface view, 40GE sub-interface view, 100GE sub-interface view, MultiGE interface view, MultiGE sub-interface view, tunnel interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, VLANIF interface view, VE interface view, VE sub-interface view

Default Level

2: Configuration level

Usage Guidelines

Running the bandwidth command sets an interface bandwidth obtained by the NMS from the MIB and does not change an interface actual bandwidth. The NMS can check the interface bandwidth through the two objects ifSpeed and ifHighSpeed in IF-MIB.
  • If the configured bandwidth is smaller than 4000 Mbit/s, ifSpeed and ifHighSpeed are respectively displayed as bandwidth x 1000 x 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.

Example

# Set the bandwidth of GE0/0/1 to 100 Mbit/s.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet0/0/1
[HUAWEI-GigabitEthernet0/0/1] bandwidth 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >