HP (Hewlett-Packard) 2520 Switch User Manual


 
Troubleshooting
Viewing Switch Configuration and Operation
Viewing Switch Configuration and
Operation
In some troubleshooting scenarios, you may need to view the switch config-
uration to diagnose a problem. The complete switch configuration is con-
tained 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.
C-58