Syntax Checking; Prefix Recognition - Alcatel-Lucent OmniSwitch 6450 Management Manual

Hide thumbs Also See for OmniSwitch 6450:
Table of Contents

Advertisement

CLI Services

Syntax Checking

If you make a mistake while entering command syntax, the CLI gives you clues about how to correct your
error. Whenever you enter an invalid command, two indicators are displayed.
• The Error message tells you what the error is.
• The caret (^) character tells you where the error is in your syntax.
The following example of the syntax checking feature shows an attempt to set IP routing. If you enter the
command set ip routing, the following is displayed:
-> set ip routing enable
^
ERROR: Invalid entry: "set"
The set ip routing command is not valid so the CLI error message states what the problem is (Invalid
entry) and the carat indicates where the problem is located in the syntax. Here, the problem is with the
"set" keyword so the carat is located under "set". The error message states the nature of the problem—that
"set" is an invalid entry. To enable IP routing, find another command keyword because set is not valid.

Prefix Recognition

Prefix Recognition is a CLI feature that reduces redundant command line entry by storing prefix
information for certain network commands.
When you configure network services, you might have to enter the same command prefix multiple times.
Entering the same prefix multiple times can be cumbersome and prone to error. The prefix recognition
feature addresses the problem of redundant command entry by allowing the CLI to store commonly used
prefix information. This prefix information stored by the switch then becomes part of the next CLI
command entered.
The following command families support the prefix recognition feature:
• AAA
• Interface
• Link Aggregation
• QOS
• Spanning Tree
• VLAN Management
When certain commands are entered from one of these families, the CLI retains the prefix information in a
memory buffer. Then, if a valid related command is entered next, the CLI assumes the stored prefix is part
of the next command. In this case, you are only required to enter the suffix information for the next
command.
page 6-13
OmniSwitch 6250/6450 Switch Management Guide
Using the CLI
June 2013

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6350Omniswitch 6250

Table of Contents