Command Reference Interface Commands
This function is disabled by default.
Global configuration mode
After this command is configured, all interface indexes are saved in the configuration file. After the
device is restarted, interface indexes remain the same as before.
The following example enables the interface index persistence.
Ruijie(config)# snmp-server if-index persist
Use this command to configure the speed on the port. Use the no form of this command to restore the
default setting.
speed [ 10 | 100 | 1000 | auto ]
The transmission rate of the interface is 10Mbps.
The transmission rate of the interface is 100Mbps.
The transmission rate of the interface is 1000Mbps.
Interface configuration mode.
If an interface is the member of an aggregate port, the rate of the interface depends on the rate of the
aggregate port. You can set the rate of the interface, but it does not take effect until the interface exits
the aggregate port. Use show interfaces to display configuration. The rate varies by interface types.
For example, you cannot set the rate of a SFP interface to 10M or 100M.
The following example sets the speed on interface gigabitethernet 1/1 to 100Mbps.
Ruijie(config)# interface gigabitethernet 1/1