Administrator Guide
• show run | grep Ethernet ignore-case returns instances containing both “Ethernet” and “ethernet.”
The grep command displays only the lines containing specied text. The following shows this command used in combination with
the
do show stack-unit all stack-ports pfc details | grep 0 command.
Dell(conf)#do show stack-unit all stack-ports all pfc details | grep 0
stack unit 0 stack-port all
0 Pause Tx pkts, 0 Pause Rx pkts
0 Pause Tx pkts, 0 Pause Rx pkts
0 Pause Tx pkts, 0 Pause Rx pkts
0 Pause Tx pkts, 0 Pause Rx pkts
0 Pause Tx pkts, 0 Pause Rx pkts
0 Pause Tx pkts, 0 Pause Rx pkts
NOTE: The Dell Networking OS accepts a space or no space before and after the pipe. To lter a phrase with spaces,
underscores, or ranges, enclose the phrase with double quotation marks.
The except keyword displays text that does not match the specied text. The following example shows this command used in
combination with the
do show stack-unit all stack-ports all pfc details | except 0 command.
Example of the except Keyword
Example of the find Keyword
Dell(conf)#do show stack-unit all stack-ports all pfc details | except 0
Admin mode is On
Admin is enabled
Local is enabled
Link Delay 45556 pause quantum
stack unit 1 stack-port all
Admin mode is On
Admin is enabled
The find keyword displays the output of the show command beginning from the rst occurrence of specied text.
Dell(conf)#do show stack-unit all stack-ports all pfc details | find 0
stack unit 0 stack-port all
Admin mode is On
Admin is enabled
Local is enabled
Link Delay 45556 pause quantum
0 Pause Tx pkts, 0 Pause Rx pkts
stack unit 1 stack-port all
The no-more command displays the output all at once rather than one screen at a time. This is similar to the terminal length
command except that the no-more option aects the output of the specied command only.
The save command copies the output to a le for future reference.
NOTE: You can lter a single command output multiple times. The save option must be the last option entered. For
example:
Dell# command | grep regular-expression | except regular-expression | grep other-
regular-expression | find regular-expression | save.
Multiple Users in Conguration Mode
Dell Networking OS noties all users when there are multiple users logged in to CONFIGURATION mode.
A warning message indicates the username, type of connection (console or VTY), and in the case of a VTY connection, the IP
address of the terminal on which the connection was established. For example:
Conguration Fundamentals
39