SNMP Commands

  SNMP

Test SNMP UDP Port 161

nc -zvu IP.ADD.RE.SS 161

Validate SNMP Version 2c Connectability

may require installation of snmp-utils

  • YUM: yum install net-snmp-utils
  • APT: apt install snmp
snmpwalk -c COMMUNITY_STRING -v2c -O e IP.ADD.RE.SS

Create Version 3 User and Password

CentOS

net-snmp-create-v3-user -ro -A authkey -a MD5 -X privkey -X DES SNMPuser

LEAVE A COMMENT