Reference Guide

show run | grep ethernet does not return that search result because it only searches for instances
containing a non-capitalized “ethernet.”
show run | grep Ethernet ignore-case returns instances containing both “Ethernet” and
“ethernet.”
The grep command displays only the lines containing specified text. The following example shows this command used
in combination with the show linecard all command.
FTOS(conf)#do show linecard all | grep 0
0 not present
NOTE: FTOS accepts a space or no space before and after the pipe. To filter a phrase with spaces, underscores, or
ranges, enclose the phrase with double quotation marks.
The except keyword displays text that does not match the specified text. The following example shows this command
used in combination with the show linecard all command.
Example of the except Keyword
FTOS#show linecard all | except 0
-- Line cards --
Slot Status NxtBoot ReqTyp CurTyp Version Ports
-----------------------------------------------------
2 not present
3 not present
4 not present
5 not present
6 not present
The find keyword displays the output of the show command beginning from the first occurrence of specified text. The
following example shows this command used in combination with the show linecard all command.
Example of the find Keyword
FTOS(conf)#do show linecard all | find 0
0 not present
1 not present
2 online online E48TB E48TB 1-1-463 48
3 not present
4 not present
5 online online E48VB E48VB 1-1-463 48
6 not present
7 not present
The display command displays additional configuration information.
The no-more command displays the output all at once rather than one screen at a time. This is similar to the
terminal length command except that the no-more option affects the output of the specified command only.
The save command copies the output to a file for future reference.
NOTE: You can filter a single command output multiple times. The save option must be the last option entered. For
example: FTOS# command | grep regular-expression | except regular-expression |
grep other-regular-expression | find regular-expression | save
.
Multiple Users in Configuration Mode
FTOS notifies all users when there are multiple users logged in to CONFIGURATION mode.
A warning message indicates the username, type of connection (console or VTY), and in the case of a VTY connection,
the IP address of the terminal on which the connection was established. For example:
40