
Configuration File Manager Commands
OmniSwitch 6250 CLI Reference Guide
November 2009
page 9-9
configuration syntax check
Performs a syntax and authorization check of all CLI commands contained in a configuration file.
configuration syntax check path/filename [verbose]
Syntax Definitions
path/filename
The configuration file being checked for syntax and authorization
errors. If a configuration file is located in another directory, be sure to
specify the full path. For example,
/flash/working/asc.1.snap
.
verbose
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
.
Defaults
N/A
Platforms Supported
OmniSwitch 6250
Usage Guidelines
•
When an error is detected, an error file (
.err
) is automatically generated by the switch. By default, this
file is placed in the root
/flash
directory. To view the contents of a generated error file, use the
view
command. For example,
view asc.1.snap.1.err
.
•
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.
•
It is recommended that you check all configuration files for syntax errors before applying them to your
switch.
Examples
-> configuration syntax check vlan_file1
..
Note.
When the
configuration syntax check
command is entered, one or more dots “
.
” is displayed in the
command output. This indicates command progress; each dot represents 256 text lines in the configura-
tion file processed by the syntax check mechanism.
Summary of Contents for OmniSwitch 6250
Page 140: ...Power over Ethernet PoE Commands page 4 18 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 212: ...Session Management Commands page 6 52 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 270: ...File Management Commands page 7 58 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 280: ...Web Management Commands page 8 10 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 328: ...SNMP Commands page 10 32 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 338: ...DNS Commands page 11 10 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 392: ...Link Aggregation Commands page 12 54 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 440: ...802 1Q Commands page 15 8 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 628: ...Loopback Detection Commands page 17 12 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 768: ...Ethernet Port Commands page 20 96 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 826: ...VLAN Management Commands page 22 26 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 968: ...Ethernet OAM Commands page 25 56 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1014: ...LINK OAM Commands page 26 46 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1036: ...UDLD Commands page 27 22 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1048: ...Port Mapping Commands page 28 12 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1256: ...IPv6 Commands page 30 90 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1276: ...RDP Commands page 31 20 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1372: ...RIP Commands page 33 32 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1702: ...QoS Policy Commands page 39 206 OmniSwitch CLI Reference Guide November 2009...
Page 1718: ...Policy Server Commands page 40 16 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 2018: ...Index Index 6 OmniSwitch 6250 CLI Reference Guide November 2009...