Chapter 5 Management Configuration
zte(cfg-snmp)#set alarm 10 owner user1
The following example sets the status of the alarm group whose index is 10 to invalid:
zte(cfg-snmp)#set alarm 10 status invalid
5.5.4 set event
Purpose
This command sets an event group.
Command Mode
SNMP configuration mode
Syntax
set event
<
1-65535
>{
description
<
string
>|
type
{
none
|
log
|
snmptrap
|
logandtrap
}|
owner
<
name
>|
community
<
name
>|
status
{
valid
|
underCreation
|
createRequest
|
invalid
}}
Parameter Description
Parameter
Description
event
<
1-65535
>
Index of the event group.
<
string
>
Index description.
none
The type of the event group is non-operation.
log
The type of the event group is log.
snmptrap
The type of the event group is trace.
logandtrap
The type of the event group is trace and log.
owner
<
name
>
Name of the owner.
community
<
name
>
Name of the community.
valid
The status of the event group is valid.
underCreation
The status of the event group is underCreation.
createRequest
The status of the event group is createRequest.
invalid
The status of the event group is invalid.
Example
The following example sets the description information of the event group whose index is
10 to initial:
zte(cfg-snmp)#set event 10 description initial
The following example sets the type of the event group whose index is 10 to log:
zte(cfg-snmp)#set event 10 type log
5-33
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential