I configure this task as follow instead of following SG
snmp-server community CISCOBGP
snmp-server host 220.127.116.11 traps CISCOBGP bgp
"snmp-server community CISCOBGP" allows to router to be polled by that community, which is NOT required by the task, so extra configuration.
"snmp-server host 18.104.22.168 traps CISCOBGP bgp" is limiting the router to send only bgp traps(no informs) with that community to the server, however you did not enable bgp traps. You still need the SG command "snmp-server enable traps bgp".
Good luck with your studies!