Switch 7700 Configuration Guide

SNMP 25
By default, the engine ID is expressed as enterprise No. + device information. The
device information can be IP address, MAC address, or user-defined text.
Set/Delete an SNMP Group
You can use the following commands to set or delete an SNMP group.
Perform the following configuration in system view.
Set the Source Address of the Trap
You can use the following commands to set or remove the source address of the
trap.
Perform the following configuration in system view.
Add/Delete 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.
Tabl e 46 Set/Delete an SNMP Group
Operation Command
Setting an SNMP group snmp-agent group group-name { v1 | v2c } [ read-view
read-view ] [ write-view write-view ] [ notify-view
notify-view ] [ acl acl-list ]
snmp-agent group group-name v3 [ authentication |
privacy ] [ read-view read-view ] [ write-view
write-view ] [ notify-view notify-view ] [ acl acl-list ]
Deleting an SNMP group undo snmp-agent group group-name { v1 | v2c }
undo snmp-agent group group-name v3 [
authentication | privacy ]
Tabl e 47 Set the Source Address of the 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
Tabl e 48 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 } authpassstring [
privacy-mod { 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 }