snmp-server location <location-information>
snmp-server contact <contact-information>
snmp-server host <interface> <ip> trap community <community-string>    !! Device only sent traps, no polling
snmp-server host <interface> <ip> poll community <community-string>    !! Device only polling, no traps
snmp-server enable traps

Notes:

  • You can leave off 'poll' and 'trap' to allow both

Documentation

Next Post Previous Post