Huawei S2300 Switch SNMP OID List

I will give a list of some popular SNMP OID and MIB for the Huawei S2300 series of switches and the like.
I will use Huawei Quidway S2326TP-EI for the test.

You can check them from Linux, for example, with the command (where .1 is the OID):

snmpwalk -v2c -c COMMUNITY .1

You can see the description of network interfaces via the OID:

. (ifDescr)

from which it can be seen that, for example, the ifInOctets.15 number, unfortunately, shows no incoming traffic on port 15, but on the other, since when adding Vlan interfaces, the numbering gets confused.
I have for example the first SFP port (it is 25 in order) ifDescr.30

List of port interface indexes:


The status of the port, is there a link or not: (ifOperStatus)

Port status, software enabled or disabled:


Port last change time: (ifLastChange)

Traffic ports: (ifInOctets) (ifOutOctets)

VLAN list:


Outgoing Unicast packets: (ifOutUcastPkts)

Errors: (ifOutErrors) (ifInErrors)

Port speed: (ifSpeed)

Device uptime: (sysUpTime)

Device Description:

CPU load (current / 1min / 5min):

See also my article:
SNMP OID and MIB for interfaces

Leave a comment

Leave a Reply