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.
Starting with Dell Networking OS version 7.8.1.0, the
grep
command accepts an
ignore-case
sub-option
that forces the search to case-insensitive. For example, the commands:
•
show run | grep Ethernet
returns a search result with instances containing a capitalized
“Ethernet,” such as
interface TenGigabitEthernet 1/1
.
•
show run | grep ethernet
does not return that search result because it only searches for instances
containing a non-capitalized “ethernet.”
•
show run | grep Ethernet ignore-case
returns instances containing both “Ethernet” and
“ethernet.”
The
grep
command displays only the lines containing specified text. The following example shows this
command used in combination with the
show system brief
command.
Example of the
grep
Keyword
Dell(conf)#do show system brief | grep 0
0 not present
NOTE:
Dell Networking OS accepts a space or no space before and after the pipe. To filter a phrase with
spaces, underscores, or ranges, enclose the phrase with double quotation marks.
The
except
keyword displays text that does not match the specified text. The following example shows this
command used in combination with the
show system brief
command.
Example of the
except
Keyword
Dell#show system brief | except 1
Stack MAC : 4c:76:25:e5:49:40
Reload-Type : normal-reload [Next boot : normal-reload]
The
find
keyword displays the output of the
show
command beginning from the first occurrence of
specified text. The following example shows this command used in combination with the
show system
brief
command.
Example of the
find
Keyword
The
display
command displays additional configuration information.
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 affects the output of the specified command
only.
Configuration Fundamentals
48
Содержание S4048T
Страница 1: ...Dell Configuration Guide for the S4048T ON System 9 10 0 1 ...
Страница 98: ... saveenv 7 Reload the system uBoot mode reset Management 98 ...
Страница 113: ...Total CFM Pkts 10303 CCM Pkts 0 LBM Pkts 0 LTM Pkts 3 LBR Pkts 0 LTR Pkts 0 802 1ag 113 ...
Страница 411: ...mode transit no disable Force10 Resilient Ring Protocol FRRP 411 ...
Страница 590: ...Figure 67 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 590 ...
Страница 591: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 591 ...
Страница 594: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command Link Aggregation Control Protocol LACP 594 ...
Страница 595: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 595 ...
Страница 646: ...Figure 87 Configuring Interfaces for MSDP Multicast Source Discovery Protocol MSDP 646 ...
Страница 647: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 647 ...
Страница 648: ...Figure 89 Configuring PIM in Multiple Routing Domains Multicast Source Discovery Protocol MSDP 648 ...
Страница 653: ...Figure 91 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 653 ...
Страница 654: ...Figure 92 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 654 ...
Страница 955: ...Figure 119 Single and Double Tag First byte TPID Match Service Provider Bridging 955 ...
Страница 1179: ...Figure 147 Create Hypervisor Figure 148 Edit Hypervisor Figure 149 Create Transport Connector Virtual Extensible LAN VXLAN 1179 ...