AT-S62 Command Line User’s Guide

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 file system.

Description

This command saves the current entries in the event log to a file in the switch’s file system. The parameters in the command allow you to specify which events you want saved in the file. Once the file is saved in the file system, you can either view the file or upload it to your management workstation.

Examples

The following command saves all of the events currently stored in the event log to a file called “switch 2.log”:

save log=temporary filename=”switch 2.log”

The following command saves just the error messages of the VLAN module in the full format to a file called “sw14.log”:

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

The following command saves the event messages generated by the spanning tree protocol and Quality of Service modules to a file called “stp_qos.log”. It saves only the informational and error messages in the full format and overwrites a file with an identical name already in the file system:

save log=temporary filename=stp_qos.log full module=stp,qos severity=i,e overwrite

273

Page 273
Image 273
Allied Telesis management software layer 2+ fast ethernet switches manual Save log=temporary filename=switch 2.log