SNMP 271
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 7750 Command Reference Guide.
Creating and Updating View Information or Deleting a View
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 an SNMP Packet Sent or Received by an Agent
Use the following commands to set the size of SNMP packet sent or received by an
agent.
The agent can receive or send the SNMP packets ranging from 484 bytes to 17940
bytes. By default, the size of an SNMP packet is 1500 bytes.
Perform the following configuration in system view.
Tabl e 307 Adding and Deleting a User to or 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 }
Tabl e 308 Creating and Updating View Information or Deleting a View
Operation Command
Create or update view information snmp-agent mib-view { included |
excluded } view-name oid-tree
Delete a view undo snmp-agent mib-view
view-name
Tabl e 309 Setting the Size of an SNMP Packet Sent or Received by an Agent
Operation Command
Set the size of an SNMP packet set or received
by an agent
snmp-agent packet max-size
byte-count
Restore the default size of an SNMP packet
sent or received by an agent
undo snmp-agent packet max-size