482 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
privacy: Specifies that the packet is authenticated and encrypted.
read-view: Configures read-only view settings.
read-view
: Enter a read-only view name, up to 32 characters in length.
write-view: Configures read and write view settings.
write-view
: Enter a read and write view name, up to 32 characters in length.
notify-view: Configures notify view settings.
notify-view
: Enter a notify view name, up to 32 characters in length.
acl
acl-list
: Enter the access control list for this group name.
v3: Configures SNMP version 3.
Description
Use the snmp-agent group command to configure a new SNMP group, that is,
map an SNMP user to SNMP view.
Use the undo snmp-agent group command to delete a specified SNMP group.
3Com recommends that you do not use the notify-view parameter when
configuring an SNMP group, for the following reasons:
■ The snmp-agent target-host command automatically generates a
notify-view
for a user, and adds it to the corresponding group.
■ Any change of the SNMP group
notify-view
will affect all the users related to
this group.
Example
Create an SNMP group named guest:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]snmp-agent group v3 guest
snmp-agent
local-engineid
Syntax
snmp-agent local-engineid
engineid
undo snmp-agent local-engineid
View
System view
Parameter
local-engineid: Specify an engineID for the local SNMPv3 entity
engineid:
Specify the engine ID with a character string, only composed of
hexadecimal numbers between 5 and 32 inclusive. The default value is "Enterprise
Number + device information".