Command Manual - System Management
Quidway S3500 Series Ethernet Switches Chapter 5 SNMP Configuration Commands
Huawei Technologies Proprietary
5-9
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 huawei and permits read-only access by this
community name.
[Quidway] snmp-agent community read huawei
# Configure community name as mgr and permits read-write access.
[Quidway] snmp-agent community write mgr
5.1.12 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 ]
View
System view
Parameter
groupname: Group name, ranging from 1 to 32 bytes.
authentication: Configure to authenticate the packet without encryption.
privacy: Configure to authenticate and encrypt the packet.
read-view: Configures to allow read-only view settings.
readview: Read-only view name, ranging from 1 to 32 bytes.
write-view: Configure to allow read-write view settings.
writeview: Name of read-write view, ranging from 1 to 32 bytes.
notify-view: Configure to allow notify view settings.