Alcatel-Lucent 6850-48 Supplementary Manual

Page of 312
Working With Configuration Files
Configuration Files Overview
OmniSwitch AOS Release 6 Switch Management Guide
September 2009
page 7-9
Verbose Mode Syntax Checking
When verbose is specified in the command line, all syntax contained in the configuration file is printed to 
the console, even if no error is detected. (When verbose is not specified in the command line, cursory 
information—number of errors and error log file name—will be printed to the console only if a syntax or 
configuration error is detected.) 
To specify verbose mode, enter the verbose keyword at the end of the command line. For example:
-> configuration syntax check asc.1.snap verbose
Displaying a Text File
 command allows you to view a text file one screen at a time. Use this command with the 
desired filename. Specifying a path is optional. The following command will display the textfile.rtf text 
file located in the /flash/working directory.
-> more /flash/working/textfile.rtf
The switch will display the file text on your terminal screen until the entire screen is full. After that, when 
you press Enter, the switch will scroll the file text until it fills up another screen or until the end of the file.
 mode assumes a screen that is 80 columns wide and 24 lines long. 
Text Editing on the Switch
The switch software includes a standard UNIX-type line editor called “Vi”. The Vi editor is available on 
most UNIX systems. No attempt is being made to document Vi in this manual because information on it is 
freely available on the Internet.
Invoke the “Vi” Editor
You can invoke the Vi editor from the command line. Use the following syntax to view the switchlog.txt 
file located in the /flash/working directory:
-> vi /flash/working switchlog.txt
You can invoke the Vi editor in read-only mode by using the following syntax.
-> view
To exit the Vi editor, use the Cap ZZ key sequence.