Switch 7700 Configuration Guide, v2

SNMP 29
Perform the following configuration in system view.
The authentication-mode parameter specifies the use of authentication. The
privacy-mode parameter specifies the use of authentication and encryption. This
parameter is supported only in SNMP V3.
For details, see the Switch 7700 Command Reference Guide.
Creating and Updating 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.
Setting 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.
The agent can receive/send the SNMP packets of the sizes ranging from 484 to
17940, measured in bytes. By default, the size of SNMP packet is 1500 bytes.
Table 54 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-mod { md5 | sha } auth_password [
privacy-mod { des56 priv_password } ] ] 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 }
Table 55 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
Table 56 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