Cli Messages; Command History; Using No Forms Of Commands; Dynamic Completion Of The Arguments - Foundry Networks NetIron M2404C User Manual

Metro access switches
Hide thumbs Also See for NetIron M2404C:
Table of Contents

Advertisement

Foundry NetIron M2404C and M2404F Metro Access Switches

CLI Messages

The user might encounter some error messages while using the CLI to configure the device.
Several messages may be issued in response to incorrect entries (e.g., wrong syntax, or incomplete
commands). The following are some of these messages:
When the user enters a string that is not a command:
% is not recognized
When the user types a valid command but fail to enter all its required arguments. Press the
<Tab> key to display the possible options.
% command incomplete
Other messages are displayed if the user enters too few characters. The CLI detects an
ambiguity and displays the possible matches:
% Ambiguous token : w
% It matches the following tokens : who write

Command History

The operating system provides a history or record of commands that the user has entered. This
feature is particularly useful for recalling long or complex commands or entries, including access
lists. A memory buffer in the device retains the last 20 entered commands. For more information
see chapter "Configuring System Message Logging".

Using no Forms of Commands

Most configuration commands also have a no form. In general, use the no form to disable a feature
or function or reverse the action of a command. The no forms of some commands also return a
feature or function to its default value.

Dynamic Completion of the Arguments

The CLI allows automatic completion of arguments (VLAN-names, interface-names, file-names,
etc.) with their actual (current) values.
For example, if the user enters interface in configuration node and press the <TAB> key, a list of
currently configured interfaces on the device is displayed:
device-name(config)#interface <TAB>
UU/SS/PP
ag07
ag14
ag21
ag28
device-name(config)#interface
Getting Started with the CLI
ag01
ag02
ag08
ag09
ag15
ag16
ag22
ag23
ag29
ag30
© 2008 Foundry Networks, Inc.
Using the Command Line Interface (Rev. 03)
ag03
ag04
ag10
ag11
ag17
ag18
ag24
ag25
ag31
outBand0
ag05
ag06
ag12
ag13
ag19
ag20
ag26
ag27
range
sw0
Page 9 of 12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netiron m2404f

Table of Contents