copy support-files

Syntax

copy support-files [feature <FEATURE-NAME> | previous-boot | all] 
     {<REMOTE-URL> [vrf <VRF-NAME>] | <STORAGE-URL>}

Description

Copies a set of support files using TFTP, SFTP, or USB.

Command context

Manager (#)

Parameters

<FEATURE-NAME>

The feature name, for example, aaa.

{<REMOTE-URL> [vrf <VRF-NAME> | <STORAGE-URL>]}

Select either the remote URL or the storage URL for the destination of the copied command output. Required.

<REMOTE-URL>

Specifies the URL to copy the command output.

Syntax: {tftp:// | sftp://<USER>@}{<IP> | <HOST>}[:<PORT>][;blocksize=<VAL>]/<FILE>

vrf <VRF-NAME>

Specifies the VRF name. The default VRF name is default. Optional.

<STORAGE-URL>

Specifies the USB to copy command output.

Syntax: {usb}:/<FILE>

Usage

If feature name is not provided, the command collects generic system-specific support information. If a feature name is provided, the command collects feature-specific support information.

Authority

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

Examples

Copying the support files to a remote URL:

switch# copy support-files tftp://10.100.0.12/file.tar.gz 

Copying the support files of the lldp feature to a remote URL with a specified VRF:

switch# copy support-files feature lldp tftp://10.100.0.12/file.tar.gz vrf mgmt

Copying the support files from the previous boot to a remote URL with a specified VRF:

switch# copy support-files previous-boot sftp://root@10.0.14.206/file.tar.gz vrf mgmt

Copying the support files to a USB:

switch# copy support-files usb:/file.tar.gz

Copying all the support files to a remote URL:

switch# copy support-files all sftp://root@10.0.14.216/file.tar.gz vrf mgmt

Copying the support files of the config feature to a USB:

switch# copy support-files feature config usb:/file.tar.gz