Reference Guide

42 | Configuration Fundamentals
www.dell.com | support.dell.com
show run | grep ethernet would not return that search result because it only searches for instances
containing a non-capitalized “ethernet.”
Executing the command
show run | grep Ethernet ignore-case would return instances containing both
“Ethernet” and “ethernet.”
grep displays only the lines containing specified text. The following example shows this command
used in combination with the command
show linecard all.
FTOS(conf)#do show linecard all | grep 0
0 not present
except displays text that does not match the specified text. The following example shows this
command used in combination with the command
show linecard all.
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 following example shows the grep command used with the show system command on an
S4810 or S4820T:
FTOS(conf)#do show system brief | grep 10
10 Member not present
FTOS(conf)#do show system brief | except 10
Stack MAC : 00:01:e8:8b:5d:b9
Reload-Type : normal-reload [Next boot : normal-reload]
-- Stack Info --
Unit UnitType Status ReqTyp CurTyp Version Ports
---------------------------------------------------------------
0 Management online S4820 S4820 2D2-1-0-0-70 64
1 Member not present
2 Member not present
3 Member not present
4 Member not present
5 Member 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.