Configures the agent with the SNMP trap destination information with the community attached to it.
Config mode
You must have the admin role to perform this task.
This command combines a host and community string.
For a given host/community combination, you can enable either v1 or v2 SNMP traps.
The following example configures the SNMP server with the community string using version 2c.
device# configure terminal device(config)# snmp-server host 10.23.17.128 public 162 version 2c
The following example removes the configured host and community string.
device# configure terminal device(config)# no snmp-server host 10.23.17.128 public