复制show-techlocal-file
Syntax
复制show-techlocal-file { [vrf ] | }
Description
Copies show tech output stored in a local file.
Command context
Manager (#
)
Parameters
-
{
[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}:/
-
Authority
Administrators or local user group members with execution rights for this command.
Usage
Before entering the复制show-techlocal-file
command, run theshow tech
command with thelocal-file
parameter for the specified feature.
Examples
输出复制到远程URL:
switch#复制show-techlocal-file tftp://10.100.0.12/file.txt
Copying the output to a remote URL with a VRF:
switch#复制show-techlocal-file tftp://10.100.0.12/file.txt vrf mgmt
Copying the output to a USB:
switch#复制show-techlocal-file usb:/file