copy running-config {startup-config | checkpoint}

Syntax

copy running-config {startup-config | checkpoint}

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.

检查点

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:

不要启动检查点的名字CPCbecause 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-configSuccess

Copying the running configuration to a new checkpoint namedckpt1:

switch#copy running-config checkpoint ckpt1Success