Configure SNMP on ASA Firewall

Configure SNMP on ASA Firewall

- in Security
17351
0
SNMPv2

Specify the recipient of an SNMP notification, indicate the interface from which traps are sent, and identify the name and IP address of the NMS or SNMP manager that can connect to the ASA. 

snmp-server host{interface hostname | ip_address} [trap poll] [community community-string] [version {1 2c username}] [udp-port port]

Set the community string for use only with SNMP Version 1 or 2c. 

snmp-server community community-string

Set the SNMP server location or contact information. 

snmp-server [contact | locationtext

Example:

asa(config)# snmp-server host management 10.1.1.1 community MyCommunity
asa(config)# snmp-server community MyCommunity
asa(config)# snmp-server enable

SNMPv3

Specify a new SNMP group for use only with SNMP Version 3. 

SNMP-server group group-name v3 [auth | noauth | priv]

Configure a new user for an SNMP group, which is for use only with SNMP Version 3. 

snmp-server user username group_name v3 [engineID engineID] [encrypted] [auth {md5 | shaauth_password [priv {des | 3des | aes {128 | 192 | 256}} priv_password]]

Indicate the interface from which traps are sent. Identify the name and IP address of the NMS or SNMP manager that can connect to the ASA. 

snmp-server host interface {hostname | ip_address} [trappoll] [community community-string] [version{1 | 2c | 3 username}] [udp-port port]

Set the SNMP server location or contact information. 

snmp-server [contact | locationtext

Example:

asa(config)# snmp-server group MY_GROUP v3 priv
asa(config)# snmp-server host mgmt 10.1.1.1 version 3 MY_USER
asa(config)# snmp-server location "MY_DATA_CENTER"
asa(config)# snmp-server contact "MyEmailContact@example.com"
asa(config)# snmp-server enable

Verification Commands:

asa# show run snmp-server 
asa# show SNMP-server group
asa# show SNMP-server host
asa# show SNMP-server statistics

Facebook Comments

You may also like

How-to Install SSH Server on Linux 

1.- Install with apt-get command on Ubuntu: sudo