Troubleshooting

Viewing Switch Configuration and Operation

Viewing Switch Configuration and Operation

In some troubleshooting scenarios, you may need to view the switch configuration to diagnose a problem. The complete switch configuration is contained in a file that you can browse from either the web browser interface or the CLI using the commands described in this section.

CLI: Viewing the Startup or Running Configuration File

Using the CLI, you can display either the running or the startup configuration. For more information and examples of how to use these commands, refer to Chapter 6, “Switch Memory and Configuration”.)

Syntax: write terminal

Displays the running configuration.

show config

Displays the startup configuration.

show running-config

Displays the running-config file.

Web: Viewing the Configuration File

To display the running configuration, through the web browser interface:

1.Click on the Diagnostics tab.

2.Click on [Configuration Report]

3.Use the right-side scroll bar to scroll through the configuration listing.

CLI: Viewing a Summary of Switch Operational Data

Syntax: show tech

By default, the show tech command displays a single output of switch operating and running-configuration data from several internal switch sources, including:

C-65