Alcatel-Lucent 6600 Switch User Manual


 
Using Switch Logging Switch Logging Commands Overview
OmniSwitch 6600 Family Network Configuration Guide April 2006 page 28-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 swlog output flash file-size command. To use this command enter swlog output flash file
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.)
Note. Use the ls command, which is described in the OmniSwitch 6600 Family 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 show log swlog command. You
may want to use swlog clear when the switch logging display is too long due to some of the data being old
or out dated.
No confirmation message will appear on the screen.