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 11 of 12
|
To search the output of
show
commands, enter the pipe character (the vertical
bar).
include
(Optional). Includes only the lines that contain a specified regular expression. This
is the default when no keyword is specified.
exclude
(Optional). Excludes any lines that contain a specified regular expression.
REGEXP
Any regular-expression (text string) found in
show
command output.
Example
The following example demonstrates the filtering characteristics of the
show running
config
command. In this example, only the lines in the configuration file that contain “interface”
are displayed:
device-name
#
show running-config | include interface
Building the configuration ...
interface 1/1/1
interface 1/1/2
interface 1/1/3
interface 1/1/4
interface 1/1/5
interface 1/1/6
...
General Commands
Table 4
lists the commands the user can use at all times, regardless of the type of the prompt
displayed.
Table 4: General Commands
Command
Description
exit
Escape current mode and go to previous mode.
help
Displays help information.
quit
Disconnect and log out.
end
Escape current mode and go to Privileged (Enable) mode.
Using Telnet
Any workstation with a Telnet facility should be able to communicate with the device over a
TCP/IP network. Up to five active Telnet sessions can access the device concurrently. The Telnet
session will be disconnected after a specified time of inactivity. For more information regarding
Telnet refer to chapter “
Switch Setup and Maintenance
”.
Before the user can start a Telnet session, the user must set up the IP parameters described in
chapter “
Switch Setup and Maintenance
”.