Dell PowerEdge FX2 Dell PowerEdge FN I/O Aggregator Command Line Reference Gui - Page 28
Command Modes, Displaying All Output, Filtering the Command Output Multiple Times, EXEC Mode
View all Dell PowerEdge FX2 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 28 highlights
NOTE: The Dell Networking OS accepts a space before or after the pipe, no space before or after the pipe, or any combination. For example: Dell#command | grep TenGig|except regularexpression | find regular-expression. except find grep no-more save displays only the text that does not match the pattern (or regular expression) searches for the first occurrence of a pattern displays text that matches a pattern. does not paginate the display output copies the 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 returns a search result with instances containing a capitalized "Ethernet," such as interface TenGigabitEthernet 0/1. • show run | grep ethernet does not return the search result above because it only searches for instances containing a non-capitalized "ethernet". • show run | grep Ethernet ignore-case returns 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 option after the pipe. This operation 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: Dell#show running-config|no-more Filtering the Command Output Multiple Times You can filter a single command output multiple times. To filter a command output multiple times, place the save option as the last filter. For example: Dell# command | grep regular-expression | except regular-expression | grep other-regular-expression | find regular-expression | no-more | save Command Modes To navigate and launch various CLI modes, use specific commands. Navigation to these modes is described in the following sections. EXEC Mode When you initially log in to the switch, by default, you are logged in to EXEC mode. This mode allows you to view settings and enter EXEC Privilege mode, which is used to configure the device. When you are in EXEC mode, the > prompt is displayed following the host name prompt, which is "Dell" by default. You can change the host name prompt using the hostname command. 28