![Cisco ASR 14000 Series Скачать руководство пользователя страница 353](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667353.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Software Package Management Commands on Cisco IOS XR Software
install add
SMR-351
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
Note the following regarding tar files:
•
The
file
filename must include the complete location of the tar file.
•
The tar file can contain only PIE files and directories containing PIE files. For example:
–
The tar file pies.tar containing the files x.tar and y.pie fails because x.tar is not a PIE file.
–
The tar file pies.tar containing the file x.pie and the directory dir_a, where dir_a contains a PIE
file y.pie succeeds.
–
The tar file pies.tar containing the file x.pie and the directory dir_a, where dir_a contains a tar
file y.tar fails because y.tar is not a PIE file.
–
The tar file pies.tar containing the PIE files x.pie, y.pie, ...*.pie succeeds.
•
The
source
keyword is not supported with the
tar
keyword.
Following is a valid example of using the
tar
keyword:
RP/0/RP0/CPU0:router(admin)#
install add tar tftp://223.255.254.254/install/files/pies.tar
You can add and activate tar files at the same time. In other words, the
install add
command is supported
using the
tar
and the
activate
keywords simultaneously.
Adding Multiple Packages
To add multiple PIE files, use the
source
keyword to specify the directory path location of the PIE files.
Then list all the PIE filenames, as necessary. This alleviates the need to repeat the directory location for
each PIE file. Following is an example of the
install add
command using the
source
keyword:
RP/0/RP0/CPU0:router(admin)#
install add source tftp://192.168.201.1/images/myimages/
comp-asr14k-mini.pie asr14k-mgbl-p.pie asr14k-mpls-p.pie asr14k-mcast-p.pie
The following example also illustrates a valid use of the
install add
command with the
source
keyword:
RP/0/RP0/CPU0:router(admin)#
install add source tftp://192.168.254.254/images/user/
asr14k-mcast-p.pie pies/asr14k-mpls-p.pie ftp://1.2.3.4/other_location/asr14k-mgbl-p.pie
In the above example, three PIE files are added from the following locations:
•
tftp://192.168.254.254/images/user/asr14k-mcast-p.pie
•
tftp://192.168.254.254/images/user/pies/asr14k-mpls-p.pie
•
ftp://1.2.3.4/other_location/asr14k-mgbl-p.pie
Parallel Reload
Installation operations are activated according to the method encoded in the package being activated.
Generally, this method has the least impact for routing and forwarding purposes, but it may not be the
fastest method from start to finish and can require user interaction by default. To perform the installation
procedure as quickly as possible, you can specify the
parallel-reload
keyword. This forces the
installation to perform a parallel reload, so that all cards on the router reload simultaneously, and then
come up with the new software. This impacts routing and forwarding, but it ensures that the installation
is performed without other issues.
Task ID
Task ID
Operations
pkg-mgmt
execute