
82
snmp-agent group
{
v1
|
v2c
}
group-name
[
read-view
view
-
name
] [
write-view
view
-
name
]
[
notify-view
view
-
name
] [
acl
acl-number
]
undo
snmp-agent group
{
v1
|
v2c
}
group-name
SNMPv3:
snmp-agent group v3
group-name
[
authentication
|
privacy
] [
read-view
view
-
name
] [
write-view
view
-
name
] [
notify-view
view
-
name
] [
acl
acl-number
]
undo
snmp-agent group
v3
group-name
[
authentication
|
privacy
]
View
System view
Default level
3: Manage level
Parameters
v1
: Specifies SNMPv1.
v2c
: Specifies SNMPv2c.
v3
: Specifies SNMPv3.
group-name
: Specifies the group name, a string of 1 to 32 characters.
authentication
: Specifies the security model of the SNMPv3 group to be authentication only (without
privacy).
privacy
: Specifies the security model of the SNMPv3 group to be authentication and privacy.
read-view
view-name
: Specifies a read-only MIB view. The
view-name
represents a MIB view, which is a
string of 1 to 32 characters. The users in the specified group have read only access to the objects
included in the MIB view. The default read view is
ViewDefault
.
write-view
view-name:
Specifies a read and write MIB view. The
view-name
argument represents a MIB
view, which is a string of 1 to 32 characters. The users in the specified group have read and write access
to the objects included in the MIB view. By default, no write view is configured, which means the NMS
cannot perform the write operations to all MIB objects on the device.
notify-view
view-name
: Specifies a trap MIB view. The
view-name
argument represents a MIB view,
which is a string of 1 to 32 characters. The system sends traps to the users in the specified group for the
objects included in the MIB view. By default, no notify view is configured, which means the agent does
not send traps to the NMS.
acl
acl-number
: Specifies a basic ACL by its number, in the range of 2000 to 2999. This ACL filters NMSs
by source IP address. In other words, you can configure to allow or prohibit SNMP packets with a specific
source IP address to restrict the intercommunication between the NMS and the agent.
Description
Use the
snmp-agent group
command to create an SNMP group and specify its access right.
Use the
undo
snmp-agent group
command to delete an SNMP group.
By default, no SNMP group exists. New SNMP groups configured by the
snmp-agent group
v3
command use a no-authentication-no-privacy security model.
An SNMP group defines security model, access right, and so on. A user in this SNMP group has all these
public properties.