beautypg.com

Allied Telesis AT-S62 User Manual

Page 245

background image

AT-S62 Management Software Command Line Interface User’s Guide

Section II: Advanced Operations

245

overwrite

Overwrites the file if it already exists. Without this

option, the command displays an error if a file with the
same name already exists in the switch’s file system.

Description

This command saves the current entries in the event log to a file in the file
system. The parameters in the command allow you to specify which
events you want saved in the log file.

Examples

The following command saves the event messages stored in the event log

to a file called “switch2.log”. Because the MODULE and SEVERITY
parameters are not included in the command, the defaults are used, which
is events from all modules with an informational, error, or warning severity
level:

save log filename=switch2.log

The following command saves the error messages of the VLAN module

stored in the event log in a file called “sw14.log.”:

save log filename=sw14.log module=vlan severity=e

The following command saves informational messages from all modules in

a file called “sw56.log” and overwrites the file of the same name if it
already exists in the file system:

save log filename=sw56.log severity=i overwrite