Syntax
Description
Example
Purpose
Command Modes
Syntax
Syntax
Description
Defaults
Instructions
Example
Related
Commands
Purpose
<acl-numberorname>
This example describes how to configure ACL 1 to control access
to the system host address according to SNMP.
ZXR10(config)#snmp-server access-list 1
snmp-server community
Use this command to set an SNMP packet community string.
Delete the SNMP packet community string with the no form of
this command.
Global configuration
snmp-server community <community-name>[view <view-na
me>][ro | rw]
no snmp-sever community <community-name>
<community-name>
view <view-name>
ro | rw
When the view parameter is the default parameter, the commu-
nity configured will be specified as the default view (1.3.6.1.2.1.1).
When the ro | rw parameters are default parameters, the ro will
be identified as the default priority of the configured community.
�
This command is supported after the platform version 4.6.02.
�
In global configuration mode, input the above command lines
directly. The <community-name> is an arbitrary string (1~32)
and the <view-name> is an MIB view name.
This example describes how to set SNMP packets community as
myCommunity with read-write access.
ZXR10(config)#snmp-server community myCommunity view myview rw
snmp server view
snmp-server contact
Use this command to set the Simple Network Management Pro-
tocol (SNMP) system contact for Management Information Base
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 SNMP Configuration
Basic ACL number, range: 1~199,
1000~1999, or ACL name
Community string name, 1~32 characters
Specifies a view name for the community
string configured, 1~32 characters
ro indicates conducting read-only access to
the MIB object and rw indicates conducting
read/write access to the MIB object
9