Use the following commands to display additional information on switch operation for troubleshooting purposes.
Syntax:
Syntax:
Displays the current command history. This command output is used for reference or when you want to repeat a command.
Syntax:
Syntax:
Displays the software version currently running on the switch and the flash image from which the switch booted (primary or secondary.)
Syntax:
Syntax:
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.
Selected portions of the output are displayed, depending on the parameters chosen.
Syntax:
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.
Examples:
Below are examples of what portions of the running config file display depending on the option chosen.
The show arp command and pattern matching with the include option is an example of the
show arp
command output, and then the output displayed when theinclude
option has the IP address of15.255.128.1
as the regular expression.