Récupérer les MIBS depuis le site de Cisco ftp://ftp.cisco.com/pub/mibs/oid/oid.tar.gz
Générer le fichier avec tous les OID :
cat * | sort -k 2,2 -k 1 | uniq | gawk '{printf("%-50s %s\n", $1,$2) }' | uniq > ../oids_all.txt

Le résultat est de la forme :
"org"                                               "1.3"
"dod"                                               "1.3.6"
"internet"                                          "1.3.6.1"
"directory"                                         "1.3.6.1.1"
"mgmt"                                              "1.3.6.1.2"
"mib"                                               "1.3.6.1.2.1"
"mib-2"                                             "1.3.6.1.2.1"
"system"                                            "1.3.6.1.2.1.1"
"transmission"                                      "1.3.6.1.2.1.10"
"docsIfMib"                                         "1.3.6.1.2.1.10.127"
"docsIfMibObjects"                                  "1.3.6.1.2.1.10.127.1"
"docsIfBaseObjects"                                 "1.3.6.1.2.1.10.127.1.1"
"docsIfDownstreamChannelTable"                      "1.3.6.1.2.1.10.127.1.1.1"
"docsIfDownstreamChannelEntry"                      "1.3.6.1.2.1.10.127.1.1.1.1"
...