Foundry NetIron M2404C and M2404F Metro Access Switches
Using the Command Line Interface (Rev. 03)
Getting Started with the CLI
© 2008 Foundry Networks, Inc.
Page 6 of 12
o
The part following the prompt symbol represents the command.
Table 2
lists the
symbols and word-formatting used in the CLI command syntax descriptions.
Table 2: CLI Command Syntax Conventions
Symbol/Format
Description
<>
Numerical argument.
[]
Optional argument or keyword.
{ | }
O
R
sign, between two arguments or keywords.
Bold letters
Keyword.
Italic, small letters
Numerical argument.
ITALIC IN CAPITALS
Non-numerical argument.
A.B.C.D
IP address.
UU/SS/PP
Physical interface in unit/slot/port numbers.
CLI Modes
The command language interface is divided into several CLI modes and associated prompt levels.
The prompt appears as a string starting with the device-name and ending with an angle bracket (>)
or pound symbol (#), depending on the prompt level. The current CLI mode determines the
available commands. Enter a question mark (?) at the system prompt to obtain a list of commands
available for each command mode.
View Mode (User-level)
When a session is started, the user begins in View mode. Only a limited number of CLI commands
are available in View mode. The View mode allows viewing capabilities only. The View mode
prompt is an angle bracket (>):
device-name
>
There is no default password. The user can configure a password by using the
password
command
in Global Configuration mode.
Privileged (Enable) Mode
To have access to the commands, the user must enter Privileged (Enable) mode. The Privileged
(Enable) mode allows advanced viewing of the device capabilities and limited configuration
capabilities. Its prompt is a pound symbol (#):
device-name
#
By default, Privileged (Enable) mode is not password-protected. However, the user can configure
password protection by using the
enable password
in the Global Configuration mode.
To access the Privileged (Enable) mode from the View mode, use the
enable
command.
device-name
>
enable