copy diag-dump feature
<FEATURE>
Syntax
copy diag-dump feature <FEATURE> {<REMOTE-URL> [vrf <VRF-NAME>] | <STORAGE-URL>}
Description
Copies the specified diagnostic information using TFTP, SFTP, or USB.
Command context
Manager (#
)
Parameters
<FEATURE>
The name of a feature, for example
aaa
orvrrp
. Required.{<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 remote destination URL. Required. The syntax of the URL is the following:
Syntax:
{tftp:// | sftp://<USER>@}{<IP> | <HOST>}[:<PORT>][;blocksize=<VAL>]/<FILE>
vrf <VRF-NAME>
Specifies the VRF name. If no VRF name is provided, the VRF named default is used. Optional.
<STORAGE-URL>
Specifies the USB to copy command output. Required.
Syntax:
{usb}:/<FILE>
Authority
Administrators
Examples
Copying the output from the aaa feature to a remote URL with a specified VRF:
switch# copy diag-dump feature aaa tftp://10.100.0.12/diagdump.txt vrf mgmt
Copying the output from the vrrp feature to a USB drive:
switch# copy diag-dump feature vrrp usb:/diagdump.txt