Troubleshooting

Viewing Switch Configuration and Operation

CLI: Useful Commands for Troubleshooting Sessions

Use the following commands in a troubleshooting session to more accurately display the information you need to diagnose a problem. For more information on other these CLI practices, refer to chapter Chapter 4, “Using the Command Line Interface (CLI)”.

Syntax: alias

Creates a shortcut alias name for commonly used commands and command options.

For more information, see ““Using a Command Alias” ” in the “Using the Command Line Interface (CLI)” chapter.

kill

Terminates a currently running, remote troubleshooting session. Use the show ip ssh command to list the current management sessions.

For more information, see “Denying Interface Access by

Terminating Remote Management Sessions” in the “Interface

Access and System Information” chapter.

[no] page

Toggles the paging mode for show commands between continuous listing and per-page listing.

repeat

Repeatedly executes one or more commands so that you can see the results of multiple commands displayed over a period of time. To halt the command execution, press any key on the keyboard.

For more information, see “Repeating a Command” in the “Using the Command Line Interface (CLI)” chapter.

setup

Displays the Switch Setup screen from the menu interface.

C-66