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]




