User Manual

Table Of Contents
[Keyword]
enable : Enable log backup to SD card
disable : Disable log backup to SD card
[Initial value]
logging backup sd disable
[Input mode]
global configuration mode
[Description]
Enables or disables backup of the log to the SD card.
If this is enabled, the log is saved on the SD card when you execute the save logging command.
If this command is executed with the "no" syntax, the setting returns to the default.
This is saved on the SD card with the following file name.
/swx3220/log/YYYYMMDD_syslog.txt
YYYYMMDD … Year month day that the save logging command was executed
[Example]
Enable log backup to SD card.
SWX3220(config)#logging backup sd enable
4.12.11 Clear log
[Syntax]
clear logging
[Input mode]
privileged EXEC mode
[Description]
Clears the log.
[Example]
Clear the log.
SWX3220#clear logging
4.12.12 Show log
[Syntax]
show logging [reverse]
[Keyword]
reverse : Shows the log in reverse order
[Input mode]
unprivileged EXEC mode, privileged EXEC mode
[Description]
Shows the log that records the operating status of the unit. Normally the log is shown starting with the oldest events, but the
display order is reversed if "reverse" is specified.
The log contains a maximum of 10,000 events. If this maximum number is exceeded, the oldest events are successively deleted.
In order to save more than the maximum number of logs, you must use the logging host command to forward the log to the
SYSLOG server and save it on the host.
The level of log events to be output can be specified by the logging trap command.
[Note]
Log events are accumulated in RAM, and are automatically backed up to Flash ROM at regular intervals. When the power is
turned off, log entries that are not backed up will not be saved, so you must back them up manually if you want to save the log.
Command Reference | Maintenance and operation functions | 69