ZXR10 8900 Series User Manual (FW Volume)
Example
126
Confidential and Proprietary Information of ZTE CORPORATION
Command
ZXR10_FW.log #log type_set delete
<string>
1. To set log server to 192.168.1.25, protocol and port to TCP:
524, log transmission type to syslog, and permit log transmis-
sion, execute the following command:
ZXR10_FW.log # log set ipaddr 192.168.1.25 port tcp:524
logtype syslog trans enable
To transmit level 5 (and below) log to log server, execute the
following command:
ZXR10_FW.log # log level_set 5
2. To set log server on each FW where log analysis is needed,
execute the following command:
ZXR10_FW.log # log set ipaddr 10.200.2.111 port udp:514
logtype syslog trans enable
To set log level, execute the following command:
ZXR10_FW.log # log level_set 6
To set log type to System Running, execute the folloing com-
mand:
ZXR10_FW.log # log type_set add system
To show System Running log, execute the following command:
ZXR10_FW.log # log show keyword system from 1 to 10
Viewing Log
This topic describes how to view log.
1. Viewing the total number of logs.
Command
ZXR10_FW.log #log count
2. Viewing configuration information of log server.
Command
ZXR10_FW.log #log set_show
3. Viewing log information.
Command
ZXR10_FW.log #log show from<numbe
r1> to <number2>[keyword <string>]
Function
This deletes log type
transmitted to log
server.
Function
This views the total
number of logs.
Function
This views
configuration
information of log
server.
Function
This views log
information.