Configuring SNMP server hosts
The snmp-server host command sets the trap destination IP addresses, SNMP version, community string for SNMPv1and SNMPv2c, the destination port for the SNMP server host, the severity level, and the SNMP communication through default VRF (default-vrf) or management VRF (mgmt-vrf).
To configure SNMP trap hosts associated with community strings, you must create the community string using the snmp-server community command before configuring the host.
The SNMP agent supports six trap-recipient severity levels. The default value for each attribute is as follows: host = 0.0.0.0; udp-port = 162; severity-level = none. The length of the community string must be from 2 through 16 characters.