copy support-files

Syntax

copy support-files [feature  | previous-boot | module  | standby | all] {[vrf ] |}

Description

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

Command context

Manager (#)

Parameters

The feature name, for example,aaa.

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/5or1/6)

{[vrf|]}

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

Specifies the URL to copy the command output.

Syntax:{tftp:// | sftp://@}{|}[:][;blocksize=]/

vrf

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

Specifies the USB to copy command output.

Syntax:{usb}:/

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 thelldpfeature to a remote URL with a specified VRF:

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

之前复制的支持文件启动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 theconfigfeature to a USB:

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