3com 8807 Guida Di Riferimento
916
C
HAPTER
53: SNMP C
ONFIGURATION
C
OMMANDS
Description
Use the snmp-agent usm-user command to add a new user to an SNMP group.
Use the undo snmp-agent usm-user command to cancel a user from SNMP
group.
group.
SNMP engineID (for authentication) is required when configuring remote user for
an agent. This command will not be effective without engineID configured.
an agent. This command will not be effective without engineID configured.
For V1 and V2C, this command will add a new community name. For V3, it will
add a new user for an SNMP group.
add a new user for an SNMP group.
Example
# Add a user wang for 3com (an SNMP group), configures to authenticate with
MD5 and sets authentication password as pass.
MD5 and sets authentication password as pass.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] snmp-agent usm-user v3 wang 3com authentication-mode md5 pass
undo snmp-agent
Syntax
undo snmp-agent
View
System view
Parameter
None
Description
Use the undo snmp-agent command to disable all versions of SNMP running on
the server.
the server.
Perform any command of snmp-agent will enable SNMP Agent.
Example
# Disable the running SNMP agents of all SNMP versions.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] undo snmp-agent