Use Telnet or SSH to connect to your Switch, then enter the following commands to enable and configure SNMP.
conf t snmp-server community 1qaz2wsx RO snmp-server location Brossard snmp-server contact support@domain.com snmp-server host x.x.x.x version 2c 1qaz2wsxNote The above commands will set it to allow any IP address to make SNMP requests on the router. The « 1qaz2wsx » represent the community string and « x.x.x.x » the IP address of the remote Monitoring Server to send Traps.
Enable SNMP on Cisco Firewall
Use Telnet or SSH to connect to your Firewall, then enter the following commands to enable, configure SNMP.
conf t snmp-server host <interfacename> x.x.x.x poll community 1qaz2wsx snmp-server location Brossard snmp-server contact support@domain.comNote The above commands will set it to allow the IP of the Monitoring Server to make requests on the Firewall. The « 1qaz2wsx » represent the community string and « x.x.x.x » the IP address of the remote Monitoring Server, « interfacename » represent the Interface Name on which you want to allow SNMP (i.e. Internet, outside, etc…).