SNMP 271

Perform the following configuration in system view.

Table 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 }

 

 

The authentication-modeparameter specifies the use of authentication. The privacy-modeparameter 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.

Table 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

 

 

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.

Table 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

snmp-agent packet max-size

by an agent

byte-count

Restore the default size of an SNMP packet

undo snmp-agent packet max-size

sent or received by an agent

 

 

 

Page 271
Image 271
3Com 10014298 manual Creating and Updating View Information or Deleting a View