Filtering Show Command Outputs - Dell Force10 C150 Configuration Manual

Ftos configuration guide ftos 8.4.2.7 e-series terascale, c-series, s-series (s50/s25)
Hide thumbs Also See for Force10 C150:
Table of Contents

Advertisement

Filtering show Command Outputs

Filter the output of a
no-more | save
]
filtering and it IS case sensitive unless the
Starting with FTOS 7.8.1.0, the
case-insensitive. For example, the commands:
show run | grep Ethernet
such as interface GigabitEthernet 0/0.
show run | grep ethernet
containing a non-capitalized "ethernet."
Executing the command
"Ethernet" and "ethernet."
grep
displays only the lines containing specified text.
combination with the command
Figure 2-9. Filtering Command Outputs with the
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 on a phrase with spaces,
underscores, or ranges, enclose the phrase with double quotation marks.
except
displays text that does not match the specified text.
combination with the command
Figure 2-10. Filtering Command Outputs with the
FTOS#show linecard all | except 0
--
Line cards
Slot
Status
---------------------------------------------------------------------------
2
not present
3
not present
4
not present
5
not present
6
not present
show
command to display specific information by adding
after the command. The variable
specified_text
grep
command accepts an
returns a search result with instances containing a capitalized "Ethernet,"
would not return that search result because it only searches for instances
show run | grep Ethernet ignore-case
show linecard all
show linecard all
--
NxtBoot
ReqTyp
specified_text
ignore-case
sub-option is implemented.
ignore-case
would return instances containing both
Figure 2-9
.
Command
grep
Figure 2-10
.
Command
except
CurTyp
Version
|
except
find
[
|
is the text for which you are
sub-option that forces the search to
shows this command used in
shows this command used in
Ports
Configuration Fundamentals | 43
grep |
|

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents