copy diag-dump feature <FEATURE>


copy diag-dump feature <FEATURE> {<REMOTE-URL> [vrf <VRF-NAME>] | <STORAGE-URL>}


Copies the specified diagnostic information using TFTP, SFTP, or USB.

Command context

Manager (#)



The name of a feature, for example aaa. Required.


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


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.


Specifies the USB to copy command output. Required.

Syntax: {usb}:/<FILE>


Administrators or local user group members with execution rights for this command.


Copying the output from the aaa feature to a remote URL with a specified VRF:

switch# copy diag-dump feature aaa tftp:// vrf mgmt