Dell PowerEdge XL 5133-4 MXL 10/40GbE Switch IO Module FTOS Command Reference - Page 29
Command History, Filtering show Command Outputs
View all Dell PowerEdge XL 5133-4 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 29 highlights
Table 3-2. Short-Cut Keys and their Actions (continued) Key Combination CNTL-R CNTL-U CNTL-W CNTL-X CNTL-Z Esc B Esc F Esc D Action Re-enters the previous command. Deletes the line. Deletes the previous word. Deletes the line. Ends continuous scrolling of command outputs. Moves the cursor back one word. Moves the cursor forward one word. Deletes all characters from the cursor to the end of the word. Command History FTOS maintains a history of previously-entered commands for each mode. For example: • When you are in EXEC mode, the UP and DOWN arrow keys display the previously-entered EXEC mode commands. • When you are in CONFIGURATION mode, the UP or DOWN arrows keys recall the previously-entered CONFIGURATION mode commands. Filtering show Command Outputs Filter the output of a show command to display specific information by adding | [except | find | grep | no-more | save] specified_text after the command. The variable specified_text is the text for which you are filtering and it IS case sensitive unless you use the ignore-case sub-option. The grep command accepts an ignore-case sub-option that forces the search to be 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/0. • show run | grep ethernet would not return that search result because it only searches for instances containing a non-capitalized "ethernet." Executing the show run | grep Ethernet ignore-case command would return instances containing both "Ethernet" and "ethernet." • grep displays only the lines containing specified text. Figure 3-9 shows this command used in combination with the do show stack-unit all stack-ports pfc details | grep 0 command. Configuration Fundamentals | 15