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 on 8400 or 6400 switches. 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 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 the files from a module to a remote URL with a specified VRF on an 8400 or 6400 switch:

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 on an 8400 or 6400 switch:

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

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

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