3com 8807 Reference Guide

Page of 1099
The ACL Control Commands to Control Login Users
277
Description
Use the snmp-agent community command to set the community access name, 
permit the access to the switch using SNMP, and reference the ACL to perform 
ACL control to the network management users by acl-number.
Use the undo snmp-agent community command to remove the setting of 
community access name.
By default, SNMPV1 and SNMPV2C use community name to perform access.
Example
# Set the community name as "3Com", permit the user to perform read-only 
access by using this community name, and reference the ACL 2000 to perform 
ACL control to the network management users (basic ACL 2000 has already been 
defined ).
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] snmp-agent community read 3com acl 2000 
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: V 1 security mode.
v2c: V 2 security mode.
v3: V 3 security mode.
group-name: Group name, ranging from 1 to 32 bytes.
authentication: With this parameter, the system will authenticate SNMP data 
without encrypting it.
privacy: Authenticates and encrypts packets.
read-view: Sets read-only view.
read-view: Name of read-only view, ranging from 1 to 32 bytes.
write-view: Permits to set read-write view.