Saving the configuration

Save the configuration to a file to retain the configuration settings.

About this task

File Transfer Protocol (FTP) and Trivial File Transfer Protocol (TFTP) support both IPv4 and IPv6 addresses, with no difference in functionality or configuration.

Note

Note

If you use File Transfer Protocol (FTP) or Trivial File Transfer Protocol (TFTP), ensure that you enable the FTP or TFTP server.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Save the running configuration:

    save config [backup WORD<1–99>] [file WORD<1–99>] [verbose]

Example

Switch:1> enable

Save the file to the default location:

Switch:1# save config

Variable Definitions

Use the data in the following table to use the save config command.

Variable

Value

backup WORD<1–99>

Saves the specified file name and identifies the file as a backup file.

WORD

uses one of the following formats:
  • a.b.c.d:<file>

  • /intflash/<file>

The file name, including the directory structure, can include up to 99 characters.

file WORD<1–99>

Specifies the file name in one of the following formats:

  • a.b.c.d:<file>

  • /intflash/<file>

The file name, including the directory structure, can include up to 99 characters.

verbose

Saves the default and current configuration. If you omit this parameter, the command saves only parameters you change.