ZXR105900/5200SeriesUserManual(BasicCongurationVolume)
Bothread-onlyandread-writearelimitedbytheview.Oper-
ationscanonlybeconductedinthepermittedviewrange.If
parameterviewisomittedusedefaultviewanduseparameter
roifro/rwareomitted.
2.TodeneaSNMPv2view,usethefollowingcommand.
CommandFunction
ZXR10(config)#snmp-serverview<view-name><subtree
-id>{included|excluded}
ThisdenesaSNMPv2view.
3.Tosetthesystemhandlercontractmode(SysContact)ofthe
MIBobject,usethefollowingcommand.
CommandFunction
ZXR10(config)#snmp-servercontact<mib-syscontact-
text>
Thissetsthesystemhandler
contractmode(SysContact)of
theMIBobject.
SysContactisamanagementvariableofthesystemgroupin
theMIBIIanditrecordsIDandcontactmodeoftherelevant
personnelofthemanagedequipment.
4.Tosetthelocation(SysLocation)oftheMIBobject,usethe
followingcommand.
CommandFunction
ZXR10(config)#snmp-serverlocation<mib-syslocation-
text>
Thissetsthelocation
(SysLocation)oftheMIB
object.
SysLocationisamanagementvariableofthesystemgroupin
theMIBIIandisusedtoindicatethelocationofthemanaged
equipment.
5.TosetthetypesofTRAPallowedforsending,usethefollowing
command.
CommandFunction
ZXR10(config)#snmp-serverenabletrap[<notification-t
ype>]
ThissetsthetypesofTRAP
allowedforsending.
TRAPisun-requestedinformationsentbythemanagedequip-
mentinitiativelytotheNMSandisusedtoreportsomeemer-
gentevents.
6.TosettheTRAPdestinationhost,usethefollowingcommand.
CommandFunction
ZXR10(config)#snmp-serverhost[mng]<ip-address>[tra
p|inform][version{1|2c|3{auth|noauth|priv}}]<com
munity-name>[udp-port<udp-port>][…<trap-type>]
ThissetstheTRAPdestination
host.
116CondentialandProprietaryInformationofZTECORPORATION