copy support-files

Syntax

copy support-files [feature <FEATURE_NAME> | previous-boot | module <MEMBER/SLOT> | standby | 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.

<MEMBER/SLOT>

Specifies the slot ID. Optional.

Syntax: Slot number for line (1/1-1/4, 1/7-1/10) MM(1/5 or 1/6)

{<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

Examples

Copying the files to a remote URL:

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

Copying the files of a feature lldp 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 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 files to a USB:

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

Copying the files from a module to a remote URL with a specified VRF:

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

Copying the files from a standby module to a remote URL with a specified VRF:

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

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