Chapter5ManagementConguration
zte(cfg-snmp)#setalarm10owneruser1
Thefollowingexamplesetsthestatusofthealarmgroupwhoseindexis10toinvalid:
zte(cfg-snmp)#setalarm10statusinvalid
5.5.4setevent
Purpose
Thiscommandsetsaneventgroup.
CommandMode
SNMPcongurationmode
Syntax
setevent<1-65535>{description<string>|type{none|log|snmptrap|logandtrap}|owner
<name>|community<name>|status{valid|underCreation|createRequest|invalid}}
ParameterDescription
ParameterDescription
event<1-65535>Indexoftheeventgroup.
<string>Indexdescription.
noneThetypeoftheeventgroupisnon-operation.
logThetypeoftheeventgroupislog.
snmptrapThetypeoftheeventgroupistrace.
logandtrapThetypeoftheeventgroupistraceandlog.
owner<name>Nameoftheowner.
community<name>Nameofthecommunity.
validThestatusoftheeventgroupisvalid.
underCreationThestatusoftheeventgroupisunderCreation.
createRequestThestatusoftheeventgroupiscreateRequest.
invalidThestatusoftheeventgroupisinvalid.
Example
Thefollowingexamplesetsthedescriptioninformationoftheeventgroupwhoseindexis
10toinitial:
zte(cfg-snmp)#setevent10descriptioninitial
Thefollowingexamplesetsthetypeoftheeventgroupwhoseindexis10tolog:
zte(cfg-snmp)#setevent10typelog
5-33
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential