copy show-tech local-file

Syntax

copy show-tech local-file {<REMOTE-URL> [vrf <VRF-NAME>] | <STORAGE-URL>}

Description

Copies show tech output stored in a local file.

Command context

Manager (#)

Parameters

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

Authority

Administrators

Usage

Before entering the copy show-tech local-file command, run the show tech command with the local-file parameter for the specified feature.

Examples

Copying the output to a remote URL:

switch# copy show-tech local-file tftp://10.100.0.12/file.txt

Copying the output to a remote URL with a VRF:

switch# copy show-tech local-file tftp://10.100.0.12/file.txt vrf mgmt

Copying the output to a USB:

switch# copy show-tech local-file usb:/file