IPv6 Management Features

TFTP File Transfers Over IPv6

Using TFTP to Copy Files over IPv6

Use the TFTP copy commands described in this section to:

Download specified files from a TFTP server to a switch on which TFTP client functionality is enabled.

Upload specified files from a switch, on which TFTP server functionality is enabled, to a TFTP server.

Syntax: copy tftp < target > < ipv6-addr > < filename >

Copies (downloads) a data file from a TFTP server at the specified IPv6 address to a target file on a switch that is enabled with TFTP server functionality.

<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 or anycast address, use this IPv6 format:

<ipv6-addr >

For example: 2001:db8::123

<target > is one of the following values:

autorun-cert-file:Copies an autorun trusted certificate to the switch.

autorun-key-file:Copies an autorun key file to the switch.

command-file:Copies a file stored on a remote host and executes the ACL command script on the switch. Depending on the ACL commands stored in the file, one of the following actions is performed in the running-config file on the switch:

A new ACL is created.

An existing ACL is replaced.

match, permit, or deny statements are added to an existing ACL.

For more information on ACLs, refer to “Creating an ACL Offline” in the Access Control Lists (ACLs) chapter in the Access Security Guide.

config < filename >: Copies the contents of a file on a remote host to a configuration file on the switch.

5-17