A SERVICE OF

logo

xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
669
91
SYSTEM LOG COMMANDS
The System Log commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
clear log
show log {[index <value_list> | severity {emergency | alert | critical | error | warning | notice
| informational| debug |<level_list 0-7>}]}
enable syslog
disable syslog
show syslog
config syslog host <index 1-4> [severity [emergency | alert | critical | error | warning | notice |
informational | debug | all | <level 0-7>] | facility [local0 | local1 | local2 | local3 |
local4 | local5 | local6 | local7] | udp_port <udp_port_number> | ipaddress
<ipaddr> | state [enable | disable]]
create syslog host <index 1-4> {severity [ emergency | alert | critical | error | warning | notice |
informational |debug| all | <level 0-7>] | facility [ local0 | local1 | local2 | local3 |
local4 | local5 | local6 | local7] | udp_port <udp_port_number> |
ipaddress<ipaddr> | 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 {unit <unit_id 1-12>} {index <value_list>}
clear attack_log {unit <unit_id 1-12>|all}
upload attack_log_toTFTP [<ipaddr> | <ipv6addr> |<domain_name 255>] dest_file <path_filename 64> {unit
<unit_id 1-12>}
upload attack_log_toRCP [{username <username 15>} {<ipaddr>} dest_file <path_filename 64> | rcp:
<string 128> ] {unit <unit_id 1-12>}
config system_severity [trap | log | all] [emergency | alert | critical | error | warning | notice | information |
debug | <level 0-7>]
show system_severity
Each command is listed, in detail, in the following sections.
clear log
Purpose Used to clear the switch’s history log.
Syntax
clear log
Description This command clears the switch’s history log.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.