Chapter5ManagementConguration
ParameterDescription
ParameterDescription
<0-63>IPportnumber
Default
none
Example
ThefollowingexamplesetstheSNMPsourceIPaddresstotheIPaddressofIPport1:
zte(cfg-snmp)#setsrc-ipport1
5.4.4createcommunitypublic/private
Purpose
Thiscommandcreatesacommunityandallocatesrights.
CommandMode
SNMPcongurationmode
Syntax
createcommunity<string>{public|private}[ingress-acl-basic-number<1-99>]
ParameterDescription
ParameterDescription
<string>Communityname.
publicTheattributeofthecommunityisread-only.
privateTheattributeofthecommunityisread/write.
<1-99>IDoftheingressACLbasicgroupboundwiththecommunity.
Example
ThefollowingexamplecreatesacommunitynamedasBeijingandsetstheattributeto
read/write:
zte(cfg-snmp)#createcommunitybeijingprivate
5-11
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential