Chapter 4: Utility Commands 141
Transmit Packet Errors......................... 0
Collision Frames............................... 0
Number of link down events..................... 1
Time Since Counters Last Cleared............... 281 day 4 hr 9 min
0 sec
(CN1610) #show interface 0/1 | exclude “Packets”
Transmit Packet Errors......................... 0
Collision Frames............................... 0
Number of link down events..................... 1
Time Since Counters Last Cleared............... 20 day 21 hr 30 min
9 sec
show
xxx
|begin
“
string
”
The command xxx is executed and the output is filtered to show all lines
beginning with and following the first line containing the “string” match. All
prior lines are suppressed.
The following shows an example of the CLI command.
(CN1610) #show port all | begin “1/1”
1/1 Enable Down Disable N/A N/A
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
(CN1610) #
show
xxx
|section
“
string
”
The command xxx is executed and the output is filtered to show only lines
included within the section(s) identified by lines containing the “string” match
and ending with the first line containing the default end-of-section identifier (i.e.
“exit”).
The following shows an example of the CLI command.
(CN1610) #show running-config | section “interface 0/1”
interface 0/1
no spanning-tree port mode
exit