copy checkpoint <CHECKPOINT-NAME> <REMOTE-URL>

Syntax

copy checkpoint <CHECKPOINT-NAME> <REMOTE-URL> [vrf <VRF-NAME>]

Description

Copies the checkpoint configuration to a remote location as a file. The configuration is exported in checkpoint format, which includes switch configuration and relevant metadata.

Command context

Manager (#)

Parameters

<CHECKPOINT-NAME>

Specifies that the named checkpoint is copied. The checkpoint name can be alphanumeric. It can also contain underscores (_) and dashes (-). Required.

<REMOTE-URL>

Specifies the remote target for copying the file. Required. The syntax is the following: {tftp | sftp}://<IP-ADDRESS>[:<PORT-NUMBER>][;blocksize=<BLOCKSIZE-VALUE>]/<FILE-NAME>

vrf <VRF-NAME>

Specifies the VRF from which to obtain the interface configuration. If a VRF name is not provided, the default VRF is used. Optional.

Authority

Administrators

Examples

Copying checkpoint configuration to remote file through TFTP:

switch# copy checkpoint ckpt1 tftp://192.168.1.10/ckptmeta vrf default
######################################################################### 100.0%
Success

Copying checkpoint configuration to remote file through SFTP:

switch# copy checkpoint ckpt1 sftp://root@192.168.1.10/ckptmeta vrf default
The authenticity of host '192.168.1.10 (192.168.1.10)' can't be established.
ECDSA key fingerprint is SHA256:FtOm6Uxuxumil7VCwLnhz92H9LkjY+eURbdddOETy50.
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.1.10's password:
sftp> put /tmp/ckptmeta ckptmeta
Uploading /tmp/ckptmeta to /root/ckptmeta
Warning: Permanently added '192.168.1.10' (ECDSA) to the list of known hosts.
Connected to 192.168.1.10.
Success