3Com 5500-SI Switch User Manual


 
568 CHAPTER 28: SNMP CONFIGURATION
Table 623 Set/Delete an SNMP Group
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 624 Set the Source Address of Trap
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 625 Add/Delete a user to/from an SNMP Group
Creating/Updating View
Information or Deleting
a View
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 626 Create/Update View Information or Deleting a View
Setting the Size of SNMP
Packet Sent/Received by
an Agent
You can use the following commands to set the size of SNMP packet sent/received by
an agent.
Perform the following configuration in System View.
Operation Command
Setting an SNMP group snmp-agent group { v1 | v2c } group-name [
read-view read-view ] [ write-view write-view ] [
notify-view notify-view ] [ acl acl-list ]
snmp-agent group v3 group-name [ 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 { v1 | v2c } group-name
undo snmp-agent group v3 group-name [
authentication | privacy ]
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
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 }
Operation Command
Create/Update view information snmp-agent mib-view { included | excluded }
view-name oid-tree
Delete a view undo snmp-agent mib-view view-name