copy source tftp

Syntax

copy source tftp ipv6-addr filename [pc|unix ][ oobm ]

Description

Copies (uploads) a source data file on a switch that is enabled with TFTP server functionality to a file on the TFTP server at the specified IPv6 address, where source is one of the following values:

Options

command-output cli-command

Copies the output of a CLI command to the specified file on a remote host.

config filename

Copies the specified configuration file to a remote file on a TFTP server.

crash-data [slot-id|master]

Copies the contents of the crash data file to the specified file path on a remote host. The crash data is software-specific and used to determine the cause of a system crash. You can copy crash information from an individual uplink module or from the master crash file on the switch.

crash-log [slot-id|master]

Copies the contents of the crash log to the specified file path on a remote host. The crash log contains processor-specific operational data that is used to determine the cause of a system crash. You can copy the contents of the crash log from an individual uplink module or from the master crash log on the switch.

event-log

Copies the contents of the Event Log on the switch to the specified file path on a remote host.

flash [primary|secondary]

Copies the software file used as the primary or secondary flash image on the switch to a file on a remote host.

startup-config

Copies the startup configuration file in flash memory to a remote file on a TFTP server.

running-config

Copies the running configuration file to a remote file on a TFTP server.

ipv6-addr

If this is a link-local address, use this IPv6 address format:

fe80::device-id %vlan vid

For example:

fe80::123%vlan10

If this is a global unicast address, use this IPv6 format:

ipv6-addr

For example:

2001:db8::123

oobm

Switches that have a separate OOBM port specify that the transfer will be through the OOBM interface. (Default is transfer through the data interface.)