SNMP

From Braindisconnect
Revision as of 07:38, 2 March 2015 by Jbutler (talk | contribs) (Created page with "== Cisco == === Device Information === snmpget -v 2c -c <SNMP Comm String> <Hostname or IP> 1.3.6.1.2.1.1.1.0 === Hardware Information === snmptable -v2c -c <SNMP Comm Str...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Cisco

Device Information

snmpget -v 2c -c <SNMP Comm String> <Hostname or IP> 1.3.6.1.2.1.1.1.0

Hardware Information

snmptable -v2c -c <SNMP Comm String> -m +/usr/share/mibs/ietf/ENTITY-MIB \
-Cf , -Cb <Hostname or IP> 1.3.6.1.2.1.47.1.1.1 | sed 's/, / /g' | \
cut -s -d ',' -f 1,4,6,7,8,9,10,11,12

Just the Serials

snmpwalk -v2c -c <SNMP Comm String> <Hostname or IP> 1.3.6.1.2.1.47.1.1.1.1.11

Juniper

Device Information

snmpget -v 2c -c <SNMP Comm String> <Hostname or IP> 1.3.6.1.2.1.1.1.0

Juniper Chassis Info

snmpwalk -v 2c -c <SNMP Comm String> <Hostname or IP> 1.3.6.1.4.1.2636.3.1

Juniper Chassis Serial Number

snmpwalk -v 2c -c <SNMP Comm String> <Hostname or IP> 1.3.6.1.4.1.2636.3.1.3

Juniper OS Ver

snmpwalk -v 2c -c <SNMP Comm String> <Hostname or IP> 1.3.6.1.2.1.54.1.1.1.1.4.2