mac

Commands for Basic Switch Configuration
78
Parameter: <source-url> is the location of the source files or directories to be copied;
<destination-url> is the destination address to which the files or directories to be copied;
forms of <source-url> and <destination-url> vary depending on different locations of
the files or directories. ascii indicates the ASCII standard will be adopted; binary
indicates that the binary system will be adopted in the file transmission default
transmission method.When URL represents a TFTP address, its form should be:
tftp://{<ipaddress>|<ipv6address>|<hostname>}/<filename>, amongst <ipaddress>|
<ipv6address> is the IPv4 or IPv6 address of the TFTP server/client, <hostname> is the
name of the host mapping with the IPv6 address, it does not support the file download
and upload with hosts mapping with IPv4 addresses, <filename> is the name of the
TFTP upload/download file.
Special keyword of the filename
Keywords
Source or destination addresses
running-config
Running configuration files
startup-config
It means the reboot configuration files when using copy
running-config startup-config command
nos.img
System files
boot.rom
System startup files
Command Mode: Admin Mode.
Usage Guide: This command supports command line hints, namely if the user can enter
commands in following forms: copy <filename> tftp:// or copy tftp:// <filename> and
press Enter, following hints will be provided by the system:
tftp server ip/ipv6 address[x.x.x.x]/[x:x::x:x]>
tftp filename>
Requesting for TFTP server address, file name
Example:
(1) Save images in the FLASH to the TFTP server of 10.1.1.1
Switch#copy nos.img tftp://10.1.1.1/nos.img
(2) Obtain system file nos.img from the TFTP server 10.1.1.1
Switch#copy tftp://10.1.1.1/nos.img nos.img
(3) Save images in the FLASH to the TFTP server 2004:1:2:3::6
Switch#copy nos.img tftp:// 2004:1:2:3::6/ nos.img
(4) Obtain system file nos.img from the TFTP server 2004:1:2:3::6
Switch#copy tftp:// 2004:1:2:3::6/nos.img nos.img