Alcatel-Lucent 6850-48 ネットワークガイド
Using Switch Logging
Switch Logging Commands Overview
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 46-11
Configuring the Switch Logging File Size
By default, the size of the switch logging file is 128000 bytes. To configure the size of the switch logging
file, use the
file, use the
size followed by the number of bytes, which must be at least 32000. (The maximum size the file can be is
dependent on the amount of free memory available in flash memory.)
dependent on the amount of free memory available in flash memory.)
Note. Use the
command, which is described in the OmniSwitch AOS Release 6 Switch Management
Guide, to determine the amount of available flash memory.
For example, to set the switch logging file to 500000 bytes enter:
-> swlog output flash file-size 500000
Clearing the Switch Logging Files
You can clear the data stored in the switch logging files by executing the following command:
-> swlog clear
This command will cause the switch to clear all the switch logging information and begin recording again.
As a result, the switch will display a shorter file when you execute the
As a result, the switch will display a shorter file when you execute the
command. You
may want to use
or out of date.
No confirmation message will appear on the screen.