DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
643
Chapter 69
System Log Command List
clear log
show log
{[index <value_list> | severity {module <module_list>} {emergency | alert | critical | error |
warning | notice | informational | debug | <level_list 0-7>} | module<module_list>]}
show log_software_module
enable syslog
disable syslog
show syslog
config syslog host
[<index> | all] {severity [emergency | alert | critical | error | warning | notice |
informational | debug | <level 0-7>] | facility [local0 | local1 | local2 | local3 | local4 | local5 |
local6 | local7] | udp_port <udp_port_number> | ipaddress [<ipaddr> | <ipv6addr>] | state
[enable | disable]}
create syslog host
<index 1-4> ipaddress [<ipaddr> | <ipv6addr>] {severity [emergency | alert |
critical | error | warning | notice | informational | debug | <level 0-7>] | facility [local0 | local1 |
local2 | local3 | local4 | local5 | local6 | local7] | udp_port <udp_port_number> | state [enable |
disable]}
delete syslog host
[<index 1-4> | all]
show syslog host
{<index 1-4>}
config log_save_timing
[time_interval <min 1-65535> | on_demand | log_trigger]
show log_save_timing
show attack_log
{index <value_list>}
clear attack_log
69-1
clear log
Description
This command is used to clear the Switch’s history log.
Format
clear log
Parameters
None.
Restrictions
Only Administrators and Operators can issue this command.
Example
To clear the Switch’s history log: