Switch 7700 Command reference Guide, v2.0

Table Of Contents
Logon user’s ACL Control Command 297
Example
Configures MyCompany as the community name, allows read-only access to the
switch by the name, meanwhile, performs the ACL control to the network
management user by ACL 20. (Suppose ACL 20 has been defined.)
[SW7700]snmp-agent read community MyCompany acl 20
snmp-agent group Syntax
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
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
Parameter
v1: Configure to use V1 safe mode.
v2c: Configure to use V2c safe mode.
v3: Configure to use V3 safe mode.
groupname: Group name, ranging from 1 to 32 bytes.
auth: If this parameter is added to configuration command, the system will
authenticate but not encrypt SNMP data packets..
privacy: Configure to authenticate and encrypt the packet.
read-view: Configures to allow read-only view settings.
readview: Read-only view name, ranging from 1 to 32 bytes.
write-view: Configure to allow read-write view settings.
writeview: Name of read-write view, ranging from 1 to 32 bytes.
notify-view: Configure to allow notify view settings.
notifyview: Specify the notify view name, ranging from 1 to 32 bytes.
acl acl-number: the number of basic ACL, ranging from 1 to 99
Description
Use the snmp-agent group command to configure a new SNMP group, and
perform the ACL control to the group through the parameter
acl acl-number.
Use the undo snmp-agent group command to cancel the SNMP group.