Users Guide
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
Example — Send
SNMP informs to
host
OS10(config)# snmp-server host 1.1.1.1 informs version 2c public envmon
snmp
Example — Send
SNMP
notifications to
host
OS10(config)# snmp-server host 1.1.1.1 version 3 noauth u1 snmp lldp
Supported
Releases
10.2.0E or later
snmp-server location
Configures the location of the SNMP server.
Syntax
snmp-server location text
Parameters text — Enter an alphanumeric string. A maximum of 55 characters.
Default None
Command Mode CONFIGURATION
Usage
Information
The no version of this command removes the SNMP location.
Example
OS10(config)# snmp-server location datacenter10
Supported
Releases
10.2.0E or later
snmp-server user
Authorizes a user to access the SNMP agent and receive SNMP messages.
Syntax
snmp-server user user-name group-name security-model [[noauth | auth {md5 |
sha} auth-password] [priv {des | aes} priv-password]] [localized] [access
acl-name] [remote ip-address udp-port port-number]]
Parameters
● user-name — Enter the name of the user. A maximum of 32 alphanumeric characters.
● group-name — Enter the name of the group to which the user belongs. A maximum of 32
alphanumeric characters.
● security-model — Enter an SNMP version that sets the security level for SNMP messages:
○ 1 — SNMPv1 provides no user authentication or privacy protection. SNMP messages are sent in
plain text.
○ 2c — SNMPv2c provides no user authentication or privacy protection. SNMP messages are sent
in plain text.
○ 3 — SNMPv3 provides optional user authentication and encryption for SNMP messages.
● noauth — (SNMPv3 only) Configure SNMPv3 messages to send without user authentication and
privacy encryption.
● auth — (SNMPv3 only) Include a user authentication key for SNMPv3 messages sent to the user:
○ md5 — Generate an authentication key using the MD5 algorithm.
○ sha — Generate an authentication key using the SHA algorithm.
○ auth-password — Enter a text string used to generate the authentication key that identifies
the user; a maximum of 32 alphanumeric characters maximum. For an encrypted password, you
can enter the encrypted string instead of plain text.
180 System management