Configuration Files Overview
Working With Configuration Files
page 6-8
OmniSwitch 6800/6850/9000 Switch Management Guide
December 2007
Setting the Error File Limit
The number of files ending with the
.err
extension present in the switch’s
/flash
directory is set with the
configuration error-file limit
command. You can set the switch to allow up to 25 error files in the
/flash
directory. Once the error file limit has been reached, the next error file generated will cause the error file
with the oldest time stamp to be deleted. The following command sets the error file limit to 5 files:
-> configuration error-file limit 5
If you need to save files with the
.err
extension, you can either rename them so they no longer end with
the
.err
extension or you may move them to another directory.
Note.
The default error file limit is one file. Unless you set the error file limit to a higher number, any
subsequent error file will cause any existing error file to be overwritten.
Syntax Checking
The configuration syntax check command is used to detect potential syntax errors contained in a
configuration file
before
it is applied to the switch. It is recommended that you check
all
configuration
files for syntax errors before applying them to your switch.
To run a syntax check on a configuration file, use the
configuration syntax check
command.
For example:
-> configuration syntax check asc.1.snap
Errors: 3
Log file name: check asc.1.snap.1.err
In this example, the proposed
asc.1.snap
configuration file contains three errors. As with the
configuration apply
command, an error file (
.err
) is automatically generated by the switch whenever
an error is detected. By default, this file is placed in the root
/flash
directory.
Note.
The syntax,
mac alloc
, is automatically included in many snapshot files (e.g.,
configuration
snapshot all
). All
mac alloc
-related syntax is valid
during switch boot up only
(i.e., it cannot be applied
while the switch is in run-time operation). Because snapshot files are commonly used as configuration
files, syntax checks may detect
mac alloc
syntax and issue an error (along with a generated
.err
file).
This is a valid switch function and does not represent a significant problem. If a
mac alloc
-related error is
the
only
error detected, simply remove the syntax using a text editor, then re-check the file using the
configuration syntax check
command.
If a configuration file is located in another directory, be sure to specify the full path. For example:
-> configuration syntax check /flash/working/asc.1.snap
Viewing Generated Error File Contents
For error details, you can view the contents of a generated error file. To view the contents of an error file,
use the
more
command. For example:
-> more asc.1.snap.1.err
For more information, refer to
“Displaying a Text File” on page 6-9
.
Содержание 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...