Command Manual (For Soliton) – Login
H3C S3100 Series Ethernet Switches
Chapter 2 Commands for User Control
2-4
2.1.5 snmp-agent group
Syntax
In SNMPv1 and SNMPv2c:
snmp-agent group
{
v1
|
v2c
}
group-name
[
read-view
read-view
] [
write-view
write-view
] [
notify-view
notify-view
] [
acl
acl-number
]
undo
snmp-agent group
{
v1
|
v2c
}
group-name
In SNMPv3:
snmp-agent group
v3
group-name
[
authentication
|
privacy
] [
read-view
read-view
] [
write-view
write-view
] [
notify-view
notify-view
] [
acl
acl-number
]
undo
snmp-agent group
v3 group-name
[
authentication
|
privacy
]
View
System view
Parameters
v1
: SNMPv1.
v2c
: SNMPv2c.
v3
: SNMPv3.
group-name
: Group name. This argument can be of 1 to 32 characters.
authentication
: Specifies to authenticate SNMP data without encrypting the data.
privacy
: Authenticates and encrypts packets.
read-view
: Name of the view to be set to read-only. This argument can be of 1 to 32
characters.
write-view
: Name of the view to be set to readable & writable. This argument can be of
1 to 32 characters.
notify-view
: Name of the view to be set to a notifying view. This argument can be of 1 to
32 characters.
acl acl-number
: Specifies an ACL. The
acl-number
argument ranges from 2,000 to
2,999.
Description
Use the
snmp-agent group
command to create an SNMP group. You can also
optionally use this command to apply an ACL to filter network management users.
Use the
undo snmp-agent group
command to remove a specified SNMP group.
By default, the SNMP group configured through the
snmp-agent group v3
command
is not authenticated or encrypted.