I have cisco, zte, huawei routers..How can i get the traffic information of every interfaces of these routers. I donot have mib file of zte and huawei. So, i want a generic mib file which can monitor every interfaces of these routers
As Nick R already mentioned, you need IF-MIB... details matter though.
You can correlate all OIDs to an interface name below by snmp walking
High Speed interfaces
For high-speed interfaces (100Mbps or above) you should use 64-bit counters if the device supports them:
Low Speed interfaces
Lower speed interfaces can get by with 32-bit counters. If you use 32-bit counters on high-speed interfaces, they can wrap quickly; a 10 Mbps stream of back-to-back, full-size packets causes
Note 1: Quoted from Cisco's SNMP FAQ
IF-MIB should be what you are looking for. The OID you want is ifInOctets and ifOutOctets.
Cacti is the most strait forward way to go.
Download an install it, it will work with a lot of routers and switches straight out of the box. Also, Observium is even easier to get going but less customisable than Cacti; although it does also work with most switches and routers strait out of the box.
Update: Forgot to say these include the MIBs!