xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
703
If no parameter is specified, all hosts will be displayed.
Restrictions
None.
Example
To show the syslog host information:
DGS-3120-24TC:admin#show syslog host
Command: show syslog host
Syslog Global State: Disabled
Host 1
IP Address : 10.90.90.1
Severity : Debug(7)
Facility : Local0
UDP Port : 514
Status : Disabled
Total Entries : 1
DGS-3120-24TC:admin#
76-11
config log_save_timing
Description
This command is used to set the method for saving the log.
Format
config log_save_timing [time_interval <min 1-65535> | on_demand | log_trigger]
Parameters
time_interval
- Save log to flash every xxx minutes. (If no new log events occur in this period,
don't save.)
<min 1-65535>
- Enter the time interval value here. This value must be between 1 and 65535
minutes.
on_demand
- Save log to flash whenever the user enters the "save log" or "save all" command.
The default setting is on_demand.
log_trigger
- Save log to flash whenever a new log event arrives.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure the method for saving a log as on demand: