3Com 4500 26-PORT Switch User Manual


 
Logon User’s ACL Control Command 203
write: Indicates that this community name has the read-write right within the
specified view.
community-name: Character string of the community name.
mib-view: Set the MIB view name which can be accessed by the community
name.
view-name: MIB view name.
acl acl-number: The number identifier of basic number-based ACLs, ranging
from 2000 to 2999
Description
Using the snmp-agent community command, you can 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. Using the
undo snmp-agent community command, you can remove the setting of
community access name.
By default, SNMPV1 and SNMPV2C use community name to perform access.
Example
Set the community name as "MyCompany", 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 ).
<4500>system-view
System View: return to User View with Ctrl+Z
[4500]snmp-agent community read MyCompany acl 2000
[4500]
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: V1 security mode.
v2c: V2c security mode.
v3: V3 security mode.