Snmp-Agent Community - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – System Management
Quidway S8500 Series Routing Switches
[Quidway] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public
[Quidway] interface ethernet6/1/1
[Quidway-Ethernet6/1/1] enable snmp trap updown

5.1.9 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: Indicates that MIB object can only be read.
write: Indicates that MIB object can be read and written.
community-name: Community name character string.
view-name: MIB view name.
acl acl-list: sets access control list for specified community.
Description
Use the snmp-agent community command to configure community access name and
enable the access to SNMP.
Use the undo snmp-agent community command to cancel the settings of community
access name.
Example
# Configure community name as comaccess and permits read-only access by this
community name.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent community read comaccess
# Configure community name as mgr and permits read-write access.
[Quidway] snmp-agent community write mgr
# Delete the community name comaccess.
[Quidway] undo snmp-agent community comaccess
Huawei Technologies Proprietary
5-10
Chapter 5 SNMP Configuration Commands

Advertisement

Table of Contents
loading

Table of Contents