AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
230
NXA-ENET24 - Software Management Guide
SNMP Commands (Cont.)
Command Function
snmp-server user
Use this command to add a
user to an SNMP group,
restricting the user to a
specific SNMP Read and a
Write View.
Use the no form to remove a
user from an SNMP group.
Syntax:
snmp-server user username groupname {v1 | v2c | v3 [encrypted]
[auth {md5 | sha} auth-password [priv des56 priv-password]]
no snmp-server user username
username - Name of user connecting to the SNMP agent. (Range: 1-32
characters)
groupname - Name of an SNMP group to which the user is assigned. (Range:
1-32 characters)
v1 | v2c | v3 - Use SNMP version 1, 2c or 3.
encrypted - Accepts the password as encrypted input.
auth - Uses SNMPv3 with authentication.
md5 | sha - Uses MD5 or SHA authentication.
auth-password - Authentication password. Enter as plain text if the encrypted
option is not used. Otherwise, enter an encrypted password. (A minimum of
eight characters is required.)
priv des56 - Uses SNMPv3 with 56-bit DES data encryption.
priv-password - Privacy password. Enter as plain text if the encrypted option is
not used. Otherwise, enter an encrypted password.
Default Setting: None
Command Mode: Global Configuration
Command Usage: The SNMP engine ID is used to compute the authentication/
privacy digests from the password. You should therefore configure the engine ID
with the snmp-server engine-id command before using this configuration com-
mand.
SNMP passwords are localized using the authoritative SNMP engine ID.
Example:
Console(config)#snmp-server user steve group r&d v3 auth md5
greenpeace priv des56 einstien
Console(config)#
show snmp user
Use this command to show
information on SNMP users.
Command Mode: Privileged Exec
Example:
Console#show snmp user
EngineId: 01000000000000000000000000
User Name: steve
Authentication Protocol: md5
Privacy Protocol: des56
Storage Type: nonvolatile
Row Status: active
Console#
EngineId: String identifying the engine ID.
User Name: Name of user connecting to the SNMP agent.
Authentication Protocol: The authentication protocol used with SNMPv3.
Privacy Protocol: The privacy protocol used with SNMPv3.
Storage Type: The storage type for this entry.
Row Status: The row status of this entry.