snmp-server community <name> [RW|RO] <access_list_number>These two commands enable SNMP traps, and these are sent to the IP address specified in the snmp-server host command. Check if you have done this configuration properly. Also check on following lines – 1/ you can specify an access list in the snmp-server community command to specify the IP Addresses, which can have SNMP access to this router. Check if you have specified an access list, which does not permit your SNMP server.
For enabling trap forwarding, you need two additional commands snmp-server enable traps snmp-server host <ip_address> <snmp_string>
If you are trying to detect your router using its hostname in the Cisco View, then ensure that its entry is in the host file of your SNMP server machine.
This was first published in January 2004