how to configure the speed of interface

The speed command sets the rate for an Ethernet interface in non-auto negotiation mode.
By default, an Ethernet interface works at its highest rate when it works in non-auto negotiation mode.
Example
# Configure GE0/0/1 to work at 100 Mbit/s in non-auto negotiation mode.
system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo negotiation auto
[HUAWEI-GigabitEthernet0/0/1] speed 100

Scroll to top