cfg-backup

Syntax

cfg-backup {running-config | startup-config} config <FILE-NAME>

Description

Backs up the selected configuration to the flash file mentioned. When the firmware is downgraded to lower versions, the details of only three configuration files appear in the show config files command.

Command context

config

Parameters

running-config
Copies the running configuration to switch flash file.
startup-config

Copies the startup configuration to switch flash file.

flash

Name of the configuration file in flash.

Usage

copy {startup-config | running-config} {sftp | tftp} <server address> <FILE-NAME>

The existing copy command copies the startup and running configuration to the TFTP or SFTP server.

Examples

switch(config)# cfg-backup
 running-config       Backup the running configuration to the flash file
                      mentioned.
 startup-config       Backup the startup configuration to the flash file
                      mentioned.

switch(config)# cfg-backup {running-config | startup-config}
 config                Backup the named configuration file.

switch(config)# cfg-backup {running-config | startup-config} config
 ASCII-STR             Enter an ASCII string.