Dell Force10 S55T FTOS Command Line Reference Guide for the S55 System FTOS 8. - Page 18
Displaying All Output, Filtering Command Output Multiple Times, Command Modes
View all Dell Force10 S55T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 18 highlights
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 Note: FTOS accepts a space before or after the pipe, no space before or after the pipe, or any combination. For example: Force10#command | grep gigabit |except regular-expression | find regular-expression 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: Force10#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: Force10# 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: Some of the following modes are not available on C-Series or S-Series. 18 | CLI Basics