Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 7 SNMP Configuration Commands
3Com Corporation
7-11
undo snmp-agent community community-name
View
System view
Parameter
read: Indicates that the community name has read-only access to the specified view.
write: Indicates that the community name has read-write access to the specified view.
community-name: Community string.
mib-view: MIB view that the specified community can access.
view-name: Specifies a MIB view.
acl: Applies an ACL to the community name.
acl-number: Number of the ACL, in the range 2000 to 2999.
Description
Use the snmp-agent community command to configure the read/write attribute of a
community, the MIB view that it can access, and the ACL applied to it. The configuration
overwrites the old configuration of the community, if there is any.
Use the undo snmp-agent community command to cancel the setting.
Related command: snmp-agent group, snmp-agent usm-user.
Example
# Set the community name to comaccess and grant it read-only access.
[3com] snmp-agent community read comaccess
# Set the community name to mgr and grant it read-write access.
[3com] snmp-agent community write mgr
# Delete the community name comaccess.
[3com] undo snmp-agent community comaccess
7.1.12 snmp-agent group
Syntax
snmp-agent group { v1 | v2c } group-name { [ read read-view ] | [ write write-view ] |
[ notify notify-view ] } [ acl acl-number ]
snmp-agent group { v1 | v2c } group-name acl acl-number
undo snmp-agent group { v1 | v2c } group-name
snmp-agent group v3 group-name [ authentication | privacy ] { [ read read-view ] |
[ write write-view ] | [ notify notify-view ] } [ acl acl-number ]










