Cisco 7206VXR Installation Guide - Page 118

Reformatting a Flash Memory Card

Page 118 highlights

Reformatting a Flash Memory Card Chapter 5 Maintaining the Cisco 7206 Note The scenario assumes that the new image will fit on the Flash memory card in slot 0, alongside the old image. If there is not enough available space, use the delete command to delete files from the Flash memory card to make sufficient room for the new image; however, do not delete the old.image file. Then use the squeeze command to remove these deleted files from the Flash memory card. If, after you have deleted files and used the squeeze command, the two files cannot coexist on the Flash memory card in slot 0, remove this card (place it in an antistatic bag and store it in a safe place), and then insert the new Flash memory card (with the file new.image) in slot 0. Proceed to Step 5 and use the command boot system flash slot0:new.image to designate the file new.image as the default boot image. Step 1 Step 2 Step 3 Step 4 Boot the Cisco 7206. By default, the file boot.image is used. Enable the router as follows: Router> en Password: Router# Insert the new Flash memory card in slot 1. Use the following command to copy the file new.image in slot 1 to the Flash memory card in slot 0, only if there is enough memory space for the two images to coexist. If there is not enough memory space, proceed to Step 5. Router# copy slot1:new.image slot0:new.image Note You can also enter the preceding command as copy slot1:new.image slot0:. Step 5 Use the following series of commands to designate the file new.image (which is on the Flash memory card in slot 0) as the default boot image: Router# config t Router(config)# no boot system Router(config)# boot system flash slot0:new.image Router(config)# ^z Router# copy running-config startup-config Router# reload When the system reloads, it will boot the file new.image from the Flash memory card in slot 0. This completes the procedure for copying bootable images between Flash memory cards. Reformatting a Flash Memory Card Depending on the circumstances, you might need to use a Flash memory card from another system to copy images or backup configuration files; however, you cannot boot from a Flash memory card that was formatted on another type of system. You must reformat the card before you can use it as a boot source. (Use only Intel Series 2+ Flash memory cards.) 5-12 Cisco 7206 Installation and Configuration Guide OL-5102-02

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150

5-12
Cisco 7206 Installation and Configuration Guide
OL-5102-02
Chapter 5
Maintaining the Cisco 7206
Reformatting a Flash Memory Card
Note
The scenario assumes that the new image will fit on the Flash memory card in slot 0, alongside the old
image. If there is not enough available space, use the
delete
command to delete files from the Flash
memory card to make sufficient room for the new image; however, do
not
delete the
old.image
file. Then
use the
squeeze
command to remove these deleted files from the Flash memory card. If, after you have
deleted files and used the
squeeze
command, the two files cannot coexist on the Flash memory card in
slot 0, remove this card (place it in an antistatic bag and store it in a safe place), and then insert the new
Flash memory card (with the file new.image) in slot 0. Proceed to Step 5 and use the command
boot
system flash slot0:new.image
to designate the file new.image as the default boot image.
Step 1
Boot the Cisco 7206. By default, the file
boot.image
is used.
Step 2
Enable the router as follows:
Router>
en
Password:
Router#
Step 3
Insert the new Flash memory card in slot 1.
Step 4
Use the following command to copy the file new.image in slot 1 to the Flash memory card in slot 0,
only
if
there is enough memory space for the two images to coexist. If there is not enough memory space,
proceed to Step 5.
Router#
copy slot1:new.image slot0:new.image
Note
You can also enter the preceding command as
copy slot1:new.image slot0:
.
Step 5
Use the following series of commands to designate the file new.image (which is on the Flash memory
card in slot 0) as the default boot image:
Router#
config t
Router(config)#
no boot system
Router(config)#
boot system flash slot0:new.image
Router(config)#
^z
Router#
copy running-config startup-config
Router#
reload
When the system reloads, it will boot the file
new.image
from the Flash memory card in slot 0.
This completes the procedure for copying bootable images between Flash memory cards.
Reformatting a Flash Memory Card
Depending on the circumstances, you might need to use a Flash memory card from another system to
copy images or backup configuration files; however, you cannot boot from a Flash memory card that was
formatted on another type of system. You must reformat the card before you can use it as a boot source.
(Use only Intel Series 2+ Flash memory cards.)