Operation Manual - System Management
Quidway S3000-EI Series Ethernet Switches
Chapter 5 SNMP Configuration
Huawei Technologies Proprietary
5-7
5.3.11 Add/Delete a User to/from an SNMP Group
You can use the following commands to add or delete a user to/from an SNMP group.
Perform the following configuration in system view.
Table 5-12
Add/Delete a user to/from an SNMP group
Operation
Command
Add a user to
an SNMP
group.
snmp-agent usm-user
{
v1
|
v2c
}
username groupname
[
acl
acl-list
]
snmp-agent usm-user v3
username groupname
[
authentication-mode
{
md5
|
sha
}
authpassstring
[
privacy-mode
{
des56
privpassstring
} ] ] [
acl
acl-list
]
Delete a user
from an SNMP
group.
undo snmp-agent usm-user
{
v1
|
v2c
}
username groupname
undo snmp-agent usm-user v3
username groupname
{
local
|
engineid
engine-id
}
5.3.12 Create/Update View Information or Deleting a View
You can use the following commands to create, update the information of views or
delete a view.
Perform the following configuration in system view.
Table 5-13
Create/Update view information or deleting a view
Operation
Command
Create/Update view
information
snmp
-
agent mib
-
view
{
included
|
excluded
}
view
-
name
oid
-
tree
Delete a view
undo snmp
-
agent mib
-
view
view
-
name
5.3.13 Set the Size of SNMP Packet Sent/Received by an Agent
You can use the following commands to set the size of SNMP packet sent/received by
an agent.
Perform the following configuration in system view.
Table 5-14
Set the size of SNMP packet sent/received by an agent
Operation
Command
Set the size of SNMP packet
sent/received by an agent
snmp
-
agent packet max
-
size
byte
-
count
Restore the default size of SNMP
packet sent/received by an agent
undo snmp
-
agent packet max
-
size