Chapter 9 Upgrading the Cisco IOS XE Software

Prerequisites for the Software Upgrade Process

 

Command or Action

Purpose

Step 3

 

 

dir bootflash:

Displays the layout and contents of a bootflash memory file

 

 

system. bootflash: is aliased onto flash:.

 

Example:

Learn the name of the system image file.

 

Router# dir bootflash:

 

Step 4

 

 

copy bootflash: {ftp: rcp: tftp:}

Copies a file from bootflash memory to a server.

 

 

Copy the system image file to a server. This file can

 

Example:

serve as a backup copy.

 

Router# copy bootflash: ftp:

Enter the bootflash memory partition number if

 

 

prompted.

 

 

Enter the filename and destination URL when

 

 

prompted.

 

 

 

The following example shows the startup configuration being copied to a TFTP server:

Router# copy nvram:startup-config tftp:

Remote host[]? 192.0.2.1

Name of configuration file to write [rtr2-confg]? rtr2-config-b4upgradeWrite file rtr2-confg-b4upgrade on host 192.0.0.1?[confirm] <cr> ![OK]

The following example uses the dir bootflash: command in privileged EXEC mode to learn the name

of the system image file and the copy bootflash: tftp: command in privileged EXEC mode to copy the system image to a TFTP server. The router uses the default username and password.

Router#

Router# dir bootflash:

Directory of bootflash:/

1

-rw-

48311224

Mar 2 1901 11:32:50 +00:00

csr1000v-universalk9-mz.SSA.XFR_20090407

2

-rw-

983

Feb 14 2021 12:41:52 +00:00 running-config

260173824 bytes total (211668992 bytes free)

Router# copy bootflash: tftp: Source filename [running-config]?

Address or name of remote host []? 192.0.2.1 Destination filename [router-confg]? running-config 983 bytes copied in 0.048 secs (20479 bytes/sec)

Router#

Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide

 

OL-27477-07

9-3

 

 

 

Page 109
Image 109
Cisco Systems CSR 1000V manual Dir bootflash, Copy bootflash ftp rcp tftp