Command
Function
Command Format
Example
Command
Function
Command Format
Parameter
Description
Example
Command
Function
Command Format
Parameter
Description
Example
log count
This command is used to view the total number of logs.
log count
To view the total number of logs, execute the following command:
# log count Total log : 351
log level_set
This command is used to set the levels at which logs are transmit-
ted to log server.
log level_set <number>
Parameter
<number>
To transmit level 5 (and below) log to log server, execute the fol-
lowing command:
# log level_set 5
log type_set add
This command is used to add log type transmitted to log server.
log type_set add <string>
Parameter
<string>
To transmit vpn-typ logs to log server, execute the following com-
mand:
Confidential and Proprietary Information of ZTE CORPORATION
Description
This is one number, indicating log level,
ranging from 0 to 8, where 0 indicates
serious errors that cause unavailability of
system, 1 indicates alarm messages, 2
indicates errors that cause unavailability
of partial system functions, 3 indicates
common error messages, 4 indicates
all attacks and unauthorized accesses
(except for communication log), 5 indicates
operation record of administrator, 6 indicates
common event record, 7 indicates debugging
information of developer, and 8 indicates
diagnosis log.
Description
This is one string, indicating log type,
including: mgmt, system, pf, conn, ac,
secure, dpi, vpn, avse, sslvpn_conn,
sslvpn_admin, sslvpn_system, all or none.
Chapter 8 log
91