Configuration Syntax Check - Alcatel-Lucent OmniSwitch 6850-48 Cli Reference Manual

Alcatel-lucent omniswitch 6850-48: reference guide
Hide thumbs Also See for OmniSwitch 6850-48:
Table of Contents

Advertisement

Configuration File Manager Commands

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
verbose
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
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.
OmniSwitch CLI Reference Guide
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.
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.
June 2012
page 60-9

Advertisement

Table of Contents
loading

Table of Contents