Reference Guide

18 | CLI Basics
www.dell.com | support.dell.com
except— display only text that does not match the pattern (or regular expression)
find — search for the first occurrence of a pattern
grep — display text that matches a pattern
no-more — do not paginate the display output
save - copy output to a file for future use
The grep command option has an ignore-case sub-option that makes the search case-insensitive.
For example, the commands:
show run | grep Ethernet would return a search result with instances containing a capitalized
“Ethernet,” such as interface GigabitEthernet 0/0.
show run | grep ethernet would not return the search result, above, 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.”
Displaying All Output
To display the output all at once (not one screen at a time), use the no-more after the pipe. This is
similar to the terminal length screen-length command except that the no-more option affects the
output of just the specified command.For example:
FTOS#show running-config|no-more
Filtering Command Output Multiple Times
You can filter a single command output multiple times. Place the save option as the last filter. For
example:
FTOS# command | grep regular-expression | except regular-expression | grep
other-regular-expression | find regular-expression | no-more | save
Command Modes
To navigate to various CLI modes, you need to use specific commands to launch each mode.
Navigation to these modes is discussed in the following sections.
Note: FTOS accepts a space before or after the pipe, no space before or after the pipe, or any
combination. For example:
FTOS#command | grep gigabit |except regular-expression | find
regular-expression
Note: Some of the following modes are not available on C-Series or S-Series.