Configuring SNMP
283
Table 320
Set the Engine ID of a Local or Remote Device
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.
Setting/Deleting an
SNMP Group
You can use the following commands to set or delete an SNMP group.
Perform the following configuration in System View.
Table 321
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 322
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 323
Add/Delete a user to/from an SNMP Group
Operation
Command
Set the engine ID of the device
snmp-agent local-engineid
engineid
Restore the default engine ID of the device.
undo snmp-agent local-engineid
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
}
Summary of Contents for Switch 4500 26-Port
Page 16: ...14 ABOUT THIS GUIDE...
Page 58: ...56 CHAPTER 2 PORT OPERATION...
Page 104: ...102 CHAPTER 5 NETWORK PROTOCOL OPERATION...
Page 130: ...128 CHAPTER 6 IP ROUTING PROTOCOL OPERATION...
Page 154: ...152 CHAPTER 7 ACL CONFIGURATION...
Page 228: ...226 CHAPTER 11 802 1X CONFIGURATION...
Page 250: ...248 CHAPTER 14 DEVICE MANAGEMENT...
Page 280: ...278 CHAPTER 15 SYSTEM MAINTENANCE AND DEBUGGING...
Page 312: ...310 CHAPTER 18 NTP CONFIGURATION...
Page 340: ...338 CHAPTER 19 SSH TERMINAL SERVICES...
Page 350: ...348 CHAPTER 20 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 388: ...386 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP...