Filtering Show Command Outputs - Dell Force10 S4810P Configuration Manual

High-density, 1ru 48-port 10gbe switch
Hide thumbs Also See for Force10 S4810P:
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."
displays only the lines containing specified text.
grep
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.
displays text that does not match the specified text.
except
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
command to display specific information by adding
show
after the command. The variable
specified_text
command accepts an
grep
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
sub-option is implemented.
ignore-case
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 | 39
|
grep |

Advertisement

Table of Contents
loading

Table of Contents