H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches Chapter 1
SNMP Configuration Commands
1-11
1.1.11 snmp-agent group
Syntax
1) For 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
2) For 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: Specifies SNMPv1.
v2c: Specifies SNMPv2c.
v3: Specifies SNMPv3.
groupname: Group name, ranging from 1 to 32 bytes.
authentication: Configures to authenticate packets without encrypting them.
privacy: Configures to authenticate and encrypt packets.
read-view: Sets read-only view.
read-view: Read-only view name, ranging from 1 to 32 bytes.
write-view: Sets read-write view.
write-view: Read-write view name, ranging from 1 to 32 bytes.
notify-view: Sets notify view.
notify-view: Notification view name, ranging from 1 to 32 bytes.
acl: Sets an ACL.
acl-number: ACL number, ranging from 2000 to 2099.
Description
Use the snmp-agent group command to configure a new SNMP group, that is, to map
SNMP users to an SNMP view.
Use the undo snmp-agent group command to remove a specified SNMP group.
By default, an SNMP group configured using the snmp-agent group v3 command
does not authenticate or encrypt packets.