xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
704
DGS-3120-24TC:admin# config log_save_timing on_demand
Command: config log_save_timing on_demand
Success.
DGS-3120-24TC:admin#
76-12
show log_save_timing
Description
This command is used to show the method for saving the log.
Format
show log_save_timing
Parameters
None.
Restrictions
None.
Example
To show the timing method used for saving the log:
DGS-3120-24TC:admin#show log_save_timing
Command: show log_save_timing
Saving Log Method: On_demand
DGS-3120-24TC:admin#
76-13
show attack_log
Description
This command is used to display the attack log messages. The attack log message refers to log
messages driven by modules such as DOS and the IP-MAC-port binding module. This type of log
message may generate a large amount of messages and quickly cause the system to run out of
system log storage. Therefore, for this type of log messages only the first log that is generated
each minute can be stored in the system log, with the rest of them being stored in a separate table
named attack log.
Format
show attack_log {unit <unit_id 1-12} {index <value_list>}