6-24
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 6 Managing Cisco IOS XR Software Packages
Package Management Procedures
Table 6-6 Commands for Copying Package Files to the Router
Table 6-7 describes the command variables for copying and installing packages from a network server.
Table 6-7 Command Variables for Copying and Installing Packages from a Network Server
Server Type Command and Example
TFTP The following command syntax is used:
copy tftp://hostname_or_ipaddress/directory-path/pie-name target-device
Example:
RP/0/RP0/CPU0:router# copy tftp://10.1.1.1/images/comp-hfr-full.pie disk1:
FTP The following command syntax is used:
copy ftp://username:password@hostname_or_ipaddress/directory-path/pie-name
target-device
Example:
RP/0/RP0/CPU0:router# copy ftp://john:secret@10.1.1.1/images/comp-hfr-full.pie
disk1:
rcp The following command syntax is used:
copy rcp://username@hostname_or_ipaddress/directory-path/pie-name target-device
Example:
RP/0/RP0/CPU0:router# copy rcp://john@10.1.1.1/images/comp-hfr-full.pie disk1:
Variable Description
hostname_or_ipaddress Host name or IP address of the server that stores the source file.
pie-name Name of the PIE file (package) to install. See the “Available Packages” section on
page 6-2 for descriptions of the available PIE files.
username Required for FTP and rcp only and must be a valid username on the FTP or rcp server.
password Required for FTP only. If a password is not provided, the networking device accepts
anonymous FTP.
directory-path The specified directory should be a directory under the home directory of the user. In the
rcp and FTP examples in this section, the file being downloaded is in a subdirectory called
“images” in the home directory of the user “john.”
Note For FTP and rcp services, directory-path is the directory relative to the username
home directory. If you want to specify an absolute path for the directory, you must
add a “/” following the server address.
target-device
• disk0: PIE files are installed on the internal flash memory card disk0: with the install
add command. disk0: is used only for installed and active software.
• disk1: PIE files can be copied to the removable flash memory card in disk1: with the
copy command. disk1: is used to store an archive of installation PIE files. Files can
be copied to disk1:, and then installed on disk0:.