DGS-3000 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
639
Chapter 72
System Log Command List
show log {[index <value_list> | severity {module <module_list>} {emergency | alert | critical | error |
warning | notice | informational | debug | <level_list 0-7>} | module<module_list>]}
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 |
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
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 attack_log {index <value_list>}
72-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: