Filtering Show Command Outputs - Dell Force10 Z9000 Configuration Manual

Ftos configuration guide for z9000 system
Hide thumbs Also See for Force10 Z9000:
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 grep 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 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 except Command
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
.
Figure 2-10
.
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 | 37
grep |
|

Advertisement

Table of Contents
loading

Table of Contents