SNMP

Simple Network Management Protocol

Statistics

  • Source: Manager (Poller)
  • Destination: Device
  • Port: 161 UDP

Traps / Alarms

  • Source: Device
  • Destination: Manager
  • Port: 162 UDP

SNMP v3

Proviso

SNMP community string as used in the gui

&V3,AccessMode=Auth-MD5,SecurityName=useridtext,ContextName=,AuthPasswd=authpwtext

SNMP Communtity string as used in the cli

snmpGet [OID's] sysName.0 -S SNMPCOLLECTORNAME -P 3002 -r 3 -t 2 -c '&V3,AccessMode=Auth-MD5,SecurityName=useridtext,ContextName=,AuthPasswd=authpwtext'

Net-SNMP

CLI command

./snmpget -v 3 -a MD5 -A 'authpwtext' -l authNoPriv -u useridtext 10.78.252.19 iso.3.6.1.2.1.1.5.0

Nice guide to comparing Juniper CLI to SNMP

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_q_and_a_item09186a00800b69ac.shtml

  • RFC1213 - SNMPv1
  • RFC3416 - SNMPv2c
  • RFC3411-3415 - SNMPv3
Toolbox
Favorite Categories