copy flash tftp

Copies contents on the device flash memory to a TFTP server.
Syntax
copy flash tftp { ipv4-address | ipv6-address } file-name { file | primary | secondary }
Parameters
ipv4-address
Specifies the IPv4 address of the TFTP server.
ipv6-address
Specifies the IPv6 address of the TFTP server.
file-name
Specifies the name of the file that must be copied from the flash memory to the TFTP server.
file
Copies a file from flash memory to the TFTP server.
primary
Copies the primary code image to the TFTP server.
secondary
Copies the secondary code image to the TFTP server.
Modes

Privileged EXEC mode

Examples

The following example copies the primary code image from the device flash to the TFTP server.

device# copy flash tftp 192.168.10.1 kxz10100.bin primary