5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
142
1/2
Enable
Down
Disable
N/A
N/A
1/3
Enable
Down
Disable
N/A
N/A
1/4
Enable
Down
Disable
N/A
N/A
1/5
Enable
Down
Disable
N/A
N/A
1/6
Enable
Down
Disable
N/A
N/A
(Routing)#
5-10
show xxx | section “string”
With this filtering command, the command
xxx
is executed, but the output is filtered so that only those
lines included within the section(s) identified by lines containing a match for the
"string"
and ending with
the first line that contains the default end-of-s
ection identifier (i.e. “exit") are shown.
Example
The following provides an example of the CLI command.
(Routing)#show running-config | section “interface 0/1”
interface 0/1
no spanning-tree port mode
exit
5-11
show xxx | section “string” “string2”
With this filtering command, the command
xxx
is executed, but the output is filtered so that only lines
included within the section(s) identified by lines containing a match for the “string” and ending with the
first line containing a match for the
“string2”
are shown. If multiple sections that match the specified
string criteria are included in the base output, then all such sections are displayed.
5-12
show xxx | section “string” include “string2”
With this filtering command, the command
xxx
is executed, but the output is filtered so that only lines
included within the section(s) identified by lines containing a match for the
“string”
and a match for the
“string2”
and
ending with the first line containing the default end-of-section identifier (i.e. “exit”) are
shown. This filter command can also include “exclude” and user-defined end-of-section identifier
parameters.
System Information and Statistics Commands
In this section, the commands used to view information about system components, features, and
configurations are described.
5-13
show arp switch