Command Manual - System Management
Quidway S6500 Series Ethernet Switches
5.1.12 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
read: Indicate that MIB object can only be read.
write: Indicate that MIB object can be read and written.
community-name: Community name character string.
view-name: MIB view name.
acl acl-list:set access control list for specified community.
Description
Using snmp-agent community command, you can configure community access
name and enable the access to SNMP. Using undo snmp-agent community
command, you can cancel the settings of community access name.
Example
# Configure community name as hello and permits read-only access by this community
name.
[Quidway] snmp-agent community read hello
# Configure community name as mgr and permits read-write access.
[Quidway] snmp-agent community write mgr
5.1.13 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-list ]
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-list ]
undo snmp-agent group v3 group-name [ authentication | privacy ]
Huawei Technologies Proprietary
5-11
Chapter 5 SNMP Configuration Commands