First, copy your .mib file into the directory where your script is located.
Then use snmpget in the following format:
snmpget [address] -c [community string] -v 1 -m [mib name] [object to scan]
Then use snmpwalk in the following format:
snmpwalk [address] -c [community string] -v 1 -m [mib name] [object to scan]






[...] See here: http://www.sifizm.com/2009/02/19/using-snmpget-or-snmpwalk-and-a-vendor-mib-file/ [...]