![background image](/i/tripp-lite/128520/tripp-lite-b094-008-2e-m-f-b096-048-b096-016-b094-008-2e-v-b096-032/h/tripp-lite-b094-008-2e-m-f-b096-048-b096-016-b094-008-2e-v-b096-032-228.png)
228
Chapter 15: Advanced Configuration
• Using the
snmpwalk
and
snmpget
commands, the status information can be retrieved from any console server. For
example:
snmpwalk -Oa -v1 -M .:/usr/share/snmp/mibs -c public b095 STATUS-MIB::ogStatus
snmpget -Oa -v1 -M .:/usr/share/snmp/mibs -c public b095 OG-STATUSMIB::
ogSerialPortStatusSpeed.2
noauth
snmpwalk -Oa –v3 –l noAuthNoPriv –u readonlyusername -M .:/usr/share/snmp/mibs b095 STATUS-MIB::Status
auth
snmpwalk -Oa –v3 –l authNoPriv –u readonlyusername –a SHA –A “authpassword” -M .:/usr/share/snmp/mibs b095 STATUS-
MIB::ogStatus
priv
snmpwalk -Oa –v3 –l authNoPriv –u readonlyusername –a SHA –A “authpassword” –x DES –X “privpassword” -M .:/usr/share/
snmp/mibs b095 STATUS-MIB::ogStatus
-l
Security Level
-u
Security Name or Read Only Username
-a
Authentication Protocol – SHA or MD5
-A
Authentication Password
-x
Privacy Protocol – DES or AES
-X
Privacy Password
A mib browser may be used to explore the enterprise MIB structure.