Chapter 11 Network Management Configuration
Falling threshold is 10, assigned to event 0
On startup enable rising or falling alarm
ZXR10#
4. This example shows how to configure and enable the event
function.
ZXR10(config)#rmon event 1 log trap rmontrap
description test owner rmontest
ZXR10(config)#
Configure an alarm control entry and wait for 10s, and then
view RMON event contents with the
show
command.
ZXR10#show rmon event
Event 1 is active, owned by rmontest
Description is test
Event firing causes log and trap to community rmontrap,
last fired 05:40:20
Current log entries:
index
time
description
1
05:40:14
test
ZXR10#
SysLog Configuration
SysLog Overview
ZXR10 5900/5200 provides users with log information setting
and query functions. Log information provides convenient routine
maintenance of the routing switch. User can view alarm infor-
mation and port state change condition on the routing switch
through log information. Log information can be displayed on the
configuration terminal in real time or can be saved to a file on
the routing switch or background log server. The syslog protocol
can be enabled on ZXR10 5900/5200 so that the routers can
communicate with the background syslog server to deliver the log
information.
Configuring SysLog
1. To enable the log function, use the following command.
Command
Function
ZXR10(config)#
logging on
This enables the log function.
2. To set the log buffer size, use the following command.
Command
Function
ZXR10(config)#
logging buffer
<
buffer-size
>
This sets the log buffer size.
3. To set log clearance mode, use the following command.
Confidential and Proprietary Information of ZTE CORPORATION
121