![H3C S3100 Series Скачать руководство пользователя страница 716](http://html1.mh-extra.com/html/h3c/s3100-series/s3100-series_command-manual_3591810716.webp)
Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
Chapter 1 SNMP Configuration Commands
1-17
group-name
: Name of the SNMP group to be created, a string of 1 to 32 characters.
authentication
: Configures to authenticate but do not encrypt the packets.
privacy
: Configures to authenticate and encrypt the packets.
read-view
: Read-only view name, a string of 1 to 32 characters. The default value is
ViewDefault.
write-view
: Read-write view name, a string of 1 to 32 characters. By default, no write
view is configured, namely, the NMS cannot perform the write operation on the MIB
objects of the device.
notify-view
: Notification view name in which traps can be sent, a string of 1 to 32
characters. By default, no notify view is configured, namely, the agent will not send
traps to the NMS.
acl-number
: ID of a basic ACL, in the range 2000 to 2999. Using basic ACL can restrict
the source addresses of SNMP messages, namely, permitting or refusing the SNMP
messages with specific source addresses, thus restricting access between the NMS
and the agent.
Description
Use the
snmp-agent group
command to create an SNMP group, and set the security
mode and corresponding SNMP view of the group.
Use the
undo snmp-agent group
command to remove an SNMP group.
For SNMPv3, group name and security mode (whether authentication and privacy are
performed) can jointly define a group. Groups with the same group name but different
security mode are different groups. For the details, see the following examples.
By default, the SNMP groups created using the
snmp-agent group
v3
command do
not authenticate or encrypt packets.
Related commands:
snmp-agent mib-view
,
snmp-agent usm-user
.
Examples
# Create an SNMPv1 group named
v1group
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent group v1 v1group
# Create an SNMPv3 group
v3group
, set the security mode to no authentication no
privacy, and set the read view, write view and view in which traps can be sent to OSPF
view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent group v3 v3group read-view ospf write-view ospf
notify-view ospf