beautypg.com

Allied Telesis AT-S63 User Manual

Page 263

background image

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

Section II: Advanced Operations

263

severity

Saves events of a particular severity.
Choices are I for Informational, E for Error,
W for Warning, and D for Debug. You can
select more than one severity at a time (for
example, E,W). For a definition of the
severity levels, see Table 10, “Event Log
Severity Levels” on page 271. Th
e default
is E, W, I.

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 an 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

permanent 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=permanent filename=switch2.log

The following command saves the error messages of the VLAN module

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

save log=temporary 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=permanent filename=sw56.log severity=i overwrite