Working With Configuration Files
Configuration Files Overview
OmniSwitch 6800/6850/9000 Switch Management Guide
December 2007
page 6-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
The
more
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.
The
more
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.
Содержание OmniSwitch 6850 Series
Страница 12: ...Contents xii OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 20: ...page xx OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 230: ...WebView Help Using WebView page 9 20 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 274: ...Verifying the SNMP Configuration Using SNMP page 10 44 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 292: ...Index Index 6 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...