Switch Memory and Configuration

Switch Memory and Configuration

Using the CLI To Implement Configuration Changes

Storing and Retrieving Configuration Files. You can store or retrieve a backup copy of the startup-config file on another device. For more informa- tion, see appendix A, "Transferring an Operating System or Startup-Config File"

Using the CLI To ImplementConfiguration Changes

The CLI offers these capabilities:

Access to the full set of switch configuration features (For a complete listing, see the Command Line Interface Dictionary.)

The option of testing configuration changes before making them perma- nent

How To Use the CLI To View the Current Configuration Files. Use show commands to view the configuration for individual features, such as port status or Spanning Tree Protocol. However, to view either the entire startup- config file or the entire running-config file, use the following commands:

show startup-config: Displays the current startup-config file.

write terminal: Displays the current running-config file.

N o t e

The show startup-configand write terminal commands display the configuration

 

settings that differ from the switch’s factory-default configuration.

 

 

How To Use the CLI To Reconfigure Switch Features. Use this procedure to permanently change the switch configuration (that is, to enter a change in the startup-config file).

1.Use the appropriate CLI commands to reconfigure the desired switch parameters. This updates the selected parameters in the running-config file.

2.Use the appropriate show commands to verify that you have correctly made the desired changes.

3.Observe the switch’s performance with the new parameter settings to verify the effect of your changes.

4.When you are satisfied that you have the correct parameter settings, use the write memory command to copy the changes to the startup-config file.

C-4