Cisco CISCO1401 Software Guide - Page 227

Copying Image Files by Using RCP, Preparing to Download or Upload an Image File by Using RCP

Page 227 highlights

Chapter 17 Managing Firmware and Configurations Working with Software Images Step 6 Step 7 Command Purpose end Return to privileged EXEC mode. archive upload-sw ftp:[[//[username[:password]@]location]/directory]/ image-name.tar Upload the currently running bridge image to the FTP server. • For //username:password, specify the username and password. These must be associated with an account on the FTP server. For more information, see the "Preparing to Download or Upload an Image File by Using FTP" section on page 17-23. • For @location, specify the IP address of the FTP server. • For /directory/image-name.tar, specify the directory (optional) and the name of the software image to be uploaded. Directory and image names are case sensitive. The image-name.tar is the name of the software image to be stored on the server. The archive upload-sw command builds an image file on the server by uploading these files in order: info, the IOS image, the HTML files, and info.ver. After these files are uploaded, the upload algorithm creates the tar file format. Copying Image Files by Using RCP You can download an bridge image from an RCP server or upload the image from the bridge to an RCP server. You download an bridge image file from a server to upgrade the bridge software. You can overwrite the current image with the new one or keep the current image after a download. You upload an bridge image file to a server for backup purposes. You can use this uploaded image for future downloads to the same bridge or another of the same type. This section includes this information: • Preparing to Download or Upload an Image File by Using RCP, page 17-27 • Downloading an Image File by Using RCP, page 17-29 • Uploading an Image File by Using RCP, page 17-31 Preparing to Download or Upload an Image File by Using RCP RCP provides another method of downloading and uploading image files between remote hosts and the bridge. Unlike TFTP, which uses User Datagram Protocol (UDP), a connectionless protocol, RCP uses TCP, which is connection-oriented. To use RCP to copy files, the server from or to which you will be copying files must support RCP. The RCP copy commands rely on the rsh server (or daemon) on the remote system. To copy files by using RCP, you do not need to create a server for file distribution as you do with TFTP. You only need to have access to a server that supports the remote shell (rsh). (Most UNIX systems support rsh.) Because you are copying a file from one place to another, you must have read permission on the source file and write permission on the destination file. If the destination file does not exist, RCP creates it for you. OL-4059-01 Cisco Aironet 1400 Series Wireless Bridges Software Configuration Guide 17-27

  • 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
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286

17-27
Cisco Aironet 1400 Series Wireless Bridges Software Configuration Guide
OL-4059-01
Chapter 17
Managing Firmware and Configurations
Working with Software Images
The
archive upload-sw
command builds an image file on the server by uploading these files in order:
info, the IOS image, the HTML files, and info.ver. After these files are uploaded, the upload algorithm
creates the tar file format.
Copying Image Files by Using RCP
You can download an bridge image from an RCP server or upload the image from the bridge to an RCP
server.
You download an bridge image file from a server to upgrade the bridge software. You can overwrite the
current image with the new one or keep the current image after a download.
You upload an bridge image file to a server for backup purposes. You can use this uploaded image for
future downloads to the same bridge or another of the same type.
This section includes this information:
Preparing to Download or Upload an Image File by Using RCP, page 17-27
Downloading an Image File by Using RCP, page 17-29
Uploading an Image File by Using RCP, page 17-31
Preparing to Download or Upload an Image File by Using RCP
RCP provides another method of downloading and uploading image files between remote hosts and the
bridge. Unlike TFTP, which uses User Datagram Protocol (UDP), a connectionless protocol, RCP uses
TCP, which is connection-oriented.
To use RCP to copy files, the server from or to which you will be copying files must support RCP. The
RCP copy commands rely on the rsh server (or daemon) on the remote system. To copy files by using
RCP, you do not need to create a server for file distribution as you do with TFTP. You only need to have
access to a server that supports the remote shell (rsh). (Most UNIX systems support rsh.) Because you
are copying a file from one place to another, you must have read permission on the source file and write
permission on the destination file. If the destination file does not exist, RCP creates it for you.
Step 6
end
Return to privileged EXEC mode.
Step 7
archive upload-sw
ftp:
[[
//
[
username
[
:
password
]
@
]
location
]
/
directory
]
/
image-name
.tar
Upload the currently running bridge image to the FTP server.
For
//
username
:
password
, specify the username and
password. These must be associated with an account on
the FTP server. For more information, see the
“Preparing
to Download or Upload an Image File by Using FTP”
section on page 17-23
.
For
@
location
, specify the IP address of the FTP server.
For
/
directory
/
image-name
.tar
, specify the directory
(optional) and the name of the software image to be
uploaded. Directory and image names are case sensitive.
The
image-name
.tar
is the name of the software image
to be stored on the server.
Command
Purpose