copy support-files

Syntax

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

Description

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

Command context

Manager (#)

Parameters

The feature name, for example,aaa.

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