Home‎ > ‎cisco‎ > ‎ASA-Base Config‎ > ‎


SNMP v.2c

snmp-server enable 
snmp-server community 0 ZFzBymAfuuVV  
snmp-server host serverlab poll community 0 ZFzBymAfuuVV version 2c

SNMP v.3

You need to define a user, a group associated to that user, and the hosts that are allowed to poll the firewall.  You also need to enable the snmp-server when your done.  
snmp-server group prtg_monitoring v3 priv
snmp-server user prtg prtg_monitoring v3 auth md5 pass123 priv des word123
snmp-server host inside poll version 3 prtg
snmp-server enable

  • is the device allowed to poll the firewall
  • pass123 is the auth password
  • word123 is the encryption password
  • priv means that we will both encrypt the auth and the data being sent back and forth
and you can test with the following unix command: 
snmpwalk -v3 -u prtg -A pass123 -l authPriv -a MD5 -x DES -X word123 | more

  • is the IP of the firewall (assuming that you are polling from, otherwise your traffic will be filtered.