copy running-config {startup-config | checkpoint <CHECKPOINT-NAME>}

Syntax

copy running-config {startup-config | checkpoint <CHECKPOINT-NAME>}

Description

Copies the running configuration to the startup configuration or to a new checkpoint. If the startup configuration is already present, the command overwrites the existing startup configuration.

Command context

Manager (#)

Parameters

startup-config

Specifies that the startup configuration receives a copy of the running configuration.

checkpoint <CHECKPOINT-NAME>

Specifies the name of a new checkpoint to receive a copy of the running configuration. The checkpoint name can be alphanumeric. It can also contain underscores (_) and dashes (-).

NOTE:

Do not start the checkpoint name with CPC because it is used for system-generated checkpoints.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Copying the running configuration to the startup configuration:

switch# copy running-config startup-config
Success

Copying the running configuration to a new checkpoint named ckpt1:

switch# copy running-config checkpoint ckpt1
Success