The bandwidth command sets the bandwidth of a VLANIF interface.
The undo bandwidth command deletes the configured bandwidth of a VLANIF interface.
By default, the bandwidth of a VLANIF interface is 1000 Mbits/s.
Usage Scenario
The bandwidth command mainly ensures that the network management station (NMS) can acquire the bandwidth of the VLANIF interface. The NMS can check the interface bandwidth through the two objects ifSpeed and ifHighSpeed in IF-MIB.
<HUAWEI> system-view [~HUAWEI] vlan 2 [*HUAWEI-vlan2] quit [*HUAWEI] interface vlanif 2 [*HUAWEI-Vlanif2] bandwidth 10000
<HUAWEI> system-view [~HUAWEI] vlan 2 [*HUAWEI-vlan2] quit [*HUAWEI] interface vlanif 2 [*HUAWEI-Vlanif2] bandwidth 10000 kbps