Chapter 8 Network Management
Command
Function
zte(cfg-snmp)#
set rmon
{
enable
|
disable
}
This enables or disables
RMON function.
zte(cfg-snmp)#
set alarm
<
1-65535
>{
int
erval
<
1-65535
>|
variable
<
mib-oid
>|
sampletype
{
absolute
|
delta
}|
startup
{
rising
|
falling
|
both
}|
threshold
<
1-65535
>
eventindex
<
1-65535
>{
rising
|
falling
}|
owner
<
name
>|
status
{
valid
|
underCreation
|
createRequest
|
invalid
}}
This sets alarm group.
zte(cfg-snmp)#
set event
<
1-65535
>{
d
escription
<
string
>|
type
{
none
|
log
|
snmptrap
|
logandtrap
}|
owner
<
name
>|
community
<
name
>|
status
{
valid
|
underCreation
|
createRequest
|
invalid
}}
This sets event group.
zte(cfg-snmp)#
set history
<
1-65535
>{
dat
asource
<
portname
>|
bucketRequested
<
1-65535
>|
owner
<
name
>|
interval
<
1-3600
>|
status
{
valid
|
underCreation
|
createRequest
|
invalid
}}
This sets history group.
zte(cfg-snmp)#
set statistics
<
1-6553
5
>{
datasource
<
portname
>|
owner
<
name
>|
status
{
valid
|
underCreation
|
createRequest
|
invalid
}}
This sets statistics
group.
zte(cfg-snmp)#
show alarm
[<
1-65535
>]
This displays
configuration
information about
alarm group.
zte(cfg-snmp)#
show event
[<
1-65535
>]
This displays
configuration
information about
event group.
zte(cfg-snmp)#
show history
[<
1-65535
>]
This displays
configuration
information about
history group.
zte(cfg-snmp)#
show rmon
This displays RMON
status.
zte(cfg-snmp)#
show statistics
[<
1-65535
>]
This displays
configuration
information about
statistic group.
RMON Configuration Example
The following examples describe how to set event 2, history 2,
alarm 2 and statistics 1 respectively.
zte(cfg-snmp)#set event 2 description It'sJustForTest!!
zte(cfg-snmp)#set event 2 type logandtrap
Confidential and Proprietary Information of ZTE CORPORATION
203