Connectivity Guide

Table Of Contents
v3 security-level — SNMPv3 provides optional user authentication and encryption for SNMP
messages, congured with the snmp-server user command.
security-level — (SNMPv3 only) Congure the security level for SNMPv3 users:
auth — Authenticate users in SNMP messages.
noauth — Do not authenticate users or encrypt SNMP messages; send messages in plain text.
priv — Authenticate users and encrypt/decrypt SNMP messages.
access acl-name — (Optional) Enter the name of an IPv4 or IPv6 access list to lter SNMP requests
received on the switch. A maximum of 16 characters.
read view-name — (Optional) Enter the name of a read-only view. A maximum of 32 characters maximum.
write view-name — (Optional) Enter the name of a read-write view. A maximum of 32 characters
maximum.
notify view-name — (Optional) Enter the name of a notication view. A maximum of 32 characters
maximum.
Defaults Not congured
Command Mode CONFIGURATION
Usage Information Use the snmp-server group command to set up the access privileges for a group of SNMP users. Congure
the security level for receiving SNMP messages. Specify read-only, read-write, and/or notication access to the
SNMP agent. To congure an SNMPv3 user's authentication and privacy settings, use the snmp-server user
command.
Enter an access acl-name value to limit access to the SNMP agent on the switch to only ACL-allowed users.
A read-view provides read-only access to the SNMP agent. A read-write view allows read-write access. A notify-
view allows SNMP notications to be sent to group members.
The no snmp-server group group-name command deletes an SNMP group.
Example
OS10(config)# snmp-server group os10admin p3 priv read readonlyview
Supported Releases 10.4.2.0 or later
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.
System management 649