Using the CLI
CLI Services
OmniSwitch 6800/6850/9000 Switch Management Guide
December 2007
page 5-11
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 will display:
-> 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. In order to enable IP routing, you must 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 may have to enter the same command prefix multiple times.
Entering the same prefix again and again 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 will retain the prefix information
in a memory buffer. Then, if a valid related command is entered next, the CLI will assume 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.
Содержание 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...