Users Guide

Table Of Contents
snmp-server host
Congures a host to receive SNMP notications.
Syntax
snmp-server host {ipv4–address | ipv6–address} {informs version version-number
| traps version version-number | version version-number} [snmpv3-security-
level] [community-name] [udp-port port-number] [entity | envmon | lldp | snmp]
Parameters
ipv4–address | ipv6–address — Enter the IPv4 or IPv6 address of the SNMP host.
informs — Send inform messages to the SNMP host.
traps — Send trap messages to the SNMP host.
version version-number — Enter the SNMP security model used to send traps or informs to the
SNMP host — 1, 2c, or 3. All security models support traps; only 2c and 3 support informs. To send only
SNMP notications, enter only a version-number; do not enter informs or traps. For SNMPv3 traps and
informs, enter the security level:
noauth — (SNMPv3 only) Send SNMPv3 traps without user authentication and privacy encryption.
auth — (SNMPv3 only) Include a user authentication key for SNMPv3 messages sent to the host:
md5 — Generate an authentication key using the Message Digest Algorithm (MD5) algorithm.
sha — Generate an authentication key using the Secure Hash Algorithm (SHA) algorithm.
auth-password — Enter a text string used to generate the authentication key that identies the
user. A maximum of 32 alphanumeric characters. For an encrypted password, enter the encrypted
string instead of plain text.
priv — (SNMPv3 only) Congure encryption for SNMPv3 messages sent to the host:
aes — Encrypt messages using an AES 128-bit algorithm.
des — Encrypt messages using a DES 56-bit algorithm.
priv-password — Enter a text string used to generate the privacy key used in encrypted messages.
A maximum of 32 alphanumeric characters. For an encrypted password, you can enter the encrypted
string instead of plain text.
community-name — (Optional) Enter an SNMPv1 or SNMPv2c community string name or an SNMPv3 user
name.
udp-port port-number — (Optional) Enter the UDP port number on the SNMP host, from 0 to 65535.
entity | envmon | lldp | snmp — Enter one or more types of traps and notications to send to the
SNMP host — entity change, environment monitor, or LLDP state change traps, or SNMP-type notications.
Defaults
Not congured
Command Mode
CONFIGURATION
Usage Information The local SNMP agent sends SNMP notications, traps, and informs to SNMP managers congured as host
receivers. You can congure multiple host receivers.
An SNMP host does not acknowledge the trap messages and notications received from the SNMP agent. SNMP
hosts send an acknowledgement when receiving informs.
The no version of the command disables the local agent from sending SNMP traps, informs, or notications to a
host receiver.
Example — Send
SNMP traps to host
OS10(config)# snmp-server host 1.1.1.1 traps version 3 priv user01 udp-port 32
entity lldp
System management 127