User's Manual

Chapter 3 - Operation and Administration Using the CLI NPU Configuration
4Motion 351 System Manual
Run the following command to make a backup of the log and trace messages
(written to file), on the NPU flash:
npu(config)# save log file <file name.gz>
When you run this command, the last 1000 log and trace messages are stored in
the compressed file, which is saved on the NPU flash.
IMPORTANT
Trace messages are also written to the same file as log messages (provided you have enabled
writing of trace messages to file.) When you make a backup of log files written to file, the backup file
also contains trace messages (provided you have enabled writing of trace messages to file). For
more information about configuring traces, refer Section 3.11.1.1.
IMPORTANT
An error may occur if:
You have specified the file name in an invalid format. Because the backup log file is a
compressed file, always suffix the file name with .gz.
The length of the file name has exceeded 255 characters.
The system was unable to compress the file or save the compressed file to flash.
A processing error has occurred.
Command
Syntax
npu(config)# save log file <file name>
Privilege
Level
10
Syntax
Description
Parameter Description Presence Default
Value
Possible
Values
<file name> Indicates the name of the
compressed file that contains
the last 1000 log and trace
messages. Always suffix the
file name with .gz.
Mandatory N/A <file name>.gz
file name string
can contain 1
to 50 printable
characters.