Switch 7700 Command reference Guide, v2.0

Table Of Contents
474 CHAPTER 11: USING SYSTEM MANAGEMENT COMMANDS
snmp-agent community Syntax
snmp-agent community { read | write } community-name [ [ mib-view
view-name ] [ acl acl-list ] ]
undo snmp-agent community community-name
View
System view
Parameter
community-name: Community name character string.
view-name: MIB view name.
ro: Indicate that MIB object can only be read.
rw: Indicate that MIB object can be read and written.
acl acl-list: set access control list for specified community.
Description
Using the snmp-agent community command, you can set community access name
and enable the access to SNMP. Using the
undo snmp-agent community
command, you can cancel the settings of community access name.
Example
Configure community name as comaccess and permits read-only access by this
community name.
[SW7700]snmp-agent community comaccess ro
Configure community name as mgr and permits read-write access.
[SW7700]snmp-agent community mgr rw
Delete the community name comaccess.
[SW7700]undo snmp-agent community comaccess
snmp-agent group Syntax
snmp-agent group { v1 | v2c } group_name [ read-view read_view ] [
write-view write_view ] [ notify notify_view ] [ acl acl_list ]
undo snmp-agent group { v1 | v2c } group_name
snmp-agent group v3 group-name [ authentication | privacy ] [ acl
acl_list ] [ notify notify_view ] [ read-view read_view ] [
write-view write_view ]
undo snmp-agent group v3 group_name [ authentication | privacy ]
View
System view