3com 8807 User Guide
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
742
C
HAPTER
64: SNMP C
ONFIGURATION
Perform the following configuration in system view.
n
Currently, this command takes effect only on the interfaces with vlan-interface
type.
type.
Adding/Deleting a User
to/from an SNMP Group
You can use the following commands to add or delete a user to/from an SNMP
group.
group.
Perform the following configuration in system view.
You must first configure the SNMP engine ID before configuring the remote user
for an agent, because the engine ID is required during the authentication. If you
forget to configure the engine ID before adding a user, the operation of adding
this user will fail.
for an agent, because the engine ID is required during the authentication. If you
forget to configure the engine ID before adding a user, the operation of adding
this user will fail.
For SNMP V1 and V2c, this operation is adding a new community name, while for
SNMP V3, this operation is adding a user for an SNMP group.
SNMP V3, this operation is adding a user for an SNMP group.
Creating/Updating View
Information or Deleting
a View
You can specify the view to control the access to the MIB by SNMP manager. You
can use either the predefined views or the self-defined views. You can use the
following commands to create, update the information of views or delete a view.
can use either the predefined views or the self-defined views. 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 685 Set the source address of trap
Operation
Command
Set the Source Address of Trap
snmp-agent trap source interface-type
interface-number
interface-number
Remove the source address of trap
undo snmp-agent trap source
Table 686 Add/Delete a user to/from an SNMP group
Operation
Command
Add a user to an SNMP
group.
group.
snmp-agent usm-user { v1 | v2c } username groupname [ acl
acl-list ]
acl-list ]
snmp-agent usm-user v3 username groupname [
authentication-mode { md5 | sha } authpassstring [
privacy-mode { des56 privpassstring } ] ] [ acl acl-list ]
authentication-mode { md5 | sha } authpassstring [
privacy-mode { des56 privpassstring } ] ] [ acl acl-list ]
Delete a user from an
SNMP group.
SNMP group.
undo snmp-agent usm-user { v1 | v2c } username groupname
undo snmp-agent usm-user v3 username groupname { local |
engineid engine-id }
engineid engine-id }
Table 687 Create/Update view information or delete a view
Operation
Command
Create/Update view information
snmp-agent mib-view { included | excluded } view-name
oid-tree
oid-tree
Delete a view
undo snmp-agent mib-view view-name