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 contact support@domain.com snmp-server location Brossard snmp-server host x.x.x.x version v2c 1qaz2wsx exit write memNote The above commands will set it to allow any IP to make SNMP requests on the switch. The « 1qaz2wsx» represent the community string and « x.x.x.x » the IP address of the remote Monitoring Server used to send Traps.