ZXR102900ESeriesCongurationGuide
1.Manageddevices,whichcancommunicateovertheInternet.Eachdevicecontains
anagent.
2.NMS,Thenetworkmanagementprocessshallbeabletocommunicateoverthe
Internet.
3.Theprotocolusedfortheexchangeofmanagementinformationbetweentheswitching
agentprocessandtheNMS,thatis,SNMP .
AnNMScollectsdatabypollingtheagentsthatresideinthemanageddevices.Theagents
inthemanageddevicescanreporterrorstoNMSsatanytimebeforetheNMSspollthem.
Theseerrorsarecalledtraps.Whenatrapoccurstoadevice,theNMScanbeusedto
querythedevice(supposeitisreachable)andobtainmoreinformation.Snmpv2cand
v3alsosupportinform(aSNMPv2Trapthatneedresponse)toinformabnormaleventsto
NMS.IfreceivesinformmessageNMSwillsendaacknowledgementpackettoswitch.If
switchhasn’treceivedacknowledgementpacketfromNMSinaperiodtimeitwillresend
theoriginalinformmessagetwice.
AllvariablesinthenetworkarestoredintheMIB.SNMPmonitorsnetworkdevicestatus
byqueryingtherelatedobjectvaluesintheagentMIB.ZXR102900Eimplementsthe
standardMIBandprivateMIBdenedinrfc2233,rfc1493,rfc2665andrfc2819.
ConguringSNMP
TheSNMPcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg-snmp)#setengineIDSetsdeviceSNMPengineID.
zte(cfg-snmp)#setrecvpacket<0-100>
SetsthenumberofSNMPpackets
thatSNMPprotocolstackcan
handle.
zte(cfg-snmp)#createcommunity<string>{public|
private}[ingress-acl-basic-number<1-99>]
Createsacommunityname,sets
theaccessauthority,andbindsa
basicaclIDwiththecommunity
name.
zte(cfg-snmp)#createview<string>[{include|exclude}<mib-oid>]
Createsaviewname.Thedefault
settingisinclude,whichincludes
mibsubtree.
zte(cfg-snmp)#setcommunity<string>view<string>
Setsspeciccommunityname
thattheviewcontains.
zte(cfg-snmp)#setcommunity<string>ingress-acl-basic-nu
mber<1-99>
SetsthebasicACLnumberbound
tothespeciedcommunity.
zte(cfg-snmp)#clearcommunity<string>ingress-acl-basic-num
ber
DeletesthebasicACLnumber
boundtothespeciedcommunity.
zte(cfg-snmp)#setmib1493compatible{enable|disable}
Enablesordisables1493
compatiblemode.
5-8
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential