Displays the crash information saved for each management module on the switch.
show history
Displays the current command history. This command output is used for reference or when you want to repeat a
command (See Displaying the information you need to diagnose problems on page 379).
show system-information
Displays globally configured parameters and information on switch operation.
show version
Displays the software version currently running on the switch and the flash image from which the switch booted
(primary or secondary). For more information, see "Displaying Management Information" in the "Redundancy
(Switch 8212zl)" .
show interfaces
Displays information on the activity on all switch ports (see "Viewing Port Status and Configuring Port
Parameters" in the "Port Status and Configuration" ).
show interfaces-display
Displays the same information as the show interfaces command and dynamically updates the output every
three seconds. Press Ctrl + C to stop the dynamic updates of system information. Use the Arrow keys to view
information that is off the screen.
Searching for text using pattern matching with show command
Selected portions of the output are displayed, depending on the parameters chosen.
Syntax:
show {< command option > | < include | exclude | begin >} <regular expression>
Uses matching pattern searches to display selected portions of the output from a show command. There is no
limit to the number of characters that can be matched. Only regular expressions are permitted; symbols such as
the asterisk cannot be substituted to perform more general matching.
include
Only the lines that contain the matching pattern are displayed in the output.
exclude
Only the lines that contain the matching pattern are not displayed in the output.
begin
The display of the output begins with the line that contains the matching pattern.
NOTE: Pattern matching is case-sensitive.
Following are examples of what portions of the running config file display depending on the option chosen.
Pattern matching with include option
switch(config)# show run | include ipv6
1
ipv6 enable
ipv6 enable
Chapter 16 Troubleshooting 377