3Com Switch 8800 Configuration Guide Chapter 47 SNMP Configuration
47-7
47.3.8 Setting the Source Address of Trap
You can use the following commands to set or remove the source address of the trap.
Perform the following configuration in system view.
Table 47-9 Set the source address of trap
Operation Command
Set the Source Address of Trap snmp-agent trap source interface-name
interface-num
Remove the source address of trap undo snmp-agent trap source
Note:
Currently, this command takes effect only on the interfaces with vlan-interface type.
47.3.9 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.
Perform the following configuration in system view.
Table 47-10 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 }
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 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.