i have some confusion with SNMP:
snmp-server host 220.127.116.11 communityname eigrp bgp
That command would send snmp traps (EIGRP and BGP) to snmp server 18.104.22.168 with the community name of community name correct?
which then confuses me about the following commands:
snmp-server community communityname ro
snmp-server community communityname rw
I assume those would be to change what that particular community can do?
Another confusion is:
snmp-server enable traps eigrp bgp
Does this have to be enable to enable those particular traps?
snmp-server host allows you to specify to who you want to send the traps. But first you need to enable Trap generation with the snmp-server enable traps command. Then you have the option in the snmp-server host command to limit which traps must be send to which host.
On the other hand snmp-server community is there to filter SNMP request coming from your NMS.
You will find mode infos here: