Cisco 3725 Software Configuration Guide - Page 189

Using the tftpdnld Command - rommon recovery

Page 189 highlights

Appendix C Using the ROM Monitor Entering the ROM Monitor Mode Using the tftpdnld Command Note The command tftpdnld is present in the Cisco 2600 series routers only. The tftpdnld command downloads a Cisco IOS software image from a remote server into flash memory using TFTP. tftpdnld-Begins the TFTP copy command. The following variables are required: - IP_ADDRESS-IP address for the router you are using. - IP_SUBNET_MASK-Subnet mask for the router you are using. - DEFAULT_GATEWAY-Default gateway for the router you are using. - TFTP_SERVER-IP address of the server from which you want to download the image file. - TFTP_FILE-Name of the file that you want to download. - The following variables are optional: - TFTP_VERBOSE-Print setting. 0=quiet, 1=progress, 2=verbose. The default is 1. - TFTP_RETRY_COUNT-Retry count for ARP and TFTP. The default is 7. - TFTP_TIMEOUT-Overall timeout of the download operation in seconds. The default is 2400 seconds. - TFTP_CHECKSUM-Performs a checksum test on the image. 0=no, 1=yes. The default is 1. The syntax for specifying the variables is: VARIABLE_NAME=value After you specify the variables, you must reenter the tftpdnld command. For example: rommon 1 > tftpdnld rommon 2 > IP_ADDRESS=172.15.19.11 rommon 3 > IP_SUBNET_MASK=255.255.255.0 rommon 4 > DEFAULT_GATEWAY=172.15.19.1 rommon 5 > TFTP_SERVER=172.15.20.10 rommon 6 > TFTP_FILE=/tftpboot/c2600-i-mz rommon 7 > TFTP_VERBOSE=1 rommon 8 > tftpdnld IP_ADDRESS=172.15.19.11 IP_SUBNET_MASK=255.255.255.0 DEFAULT_GATEWAY=172.15.19.1 TFTP_SERVER=172.15.20.10 TFTP_FILE=/tftpboot/2600-i-mz TFTP_VERBOSE=1 Invoke this command for disaster recovery only. WARNING: all existing data in flash will be lost! Do you wish to continue? y/n: [n]: Enter y to begin downloading the Cisco IOS software image. When the process is complete, the ROM monitor mode prompt appears on your screen. OL-1957-04 Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers C-9

  • 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

C-9
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
OL-1957-04
Appendix C
Using the ROM Monitor
Entering the ROM Monitor Mode
Using the tftpdnld Command
Note
The command
tftpdnld
is present in the Cisco 2600 series routers only.
The
tftpdnld
command downloads a Cisco IOS software image from a remote server into flash memory
using TFTP.
tftpdnld
—Begins the TFTP copy command.
The following variables are required:
IP_ADDRESS—IP address for the router you are using.
IP_SUBNET_MASK—Subnet mask for the router you are using.
DEFAULT_GATEWAY—Default gateway for the router you are using.
TFTP_SERVER—IP address of the server from which you want to download the image file.
TFTP_FILE—Name of the file that you want to download.
The following variables are optional:
TFTP_VERBOSE—Print setting. 0=quiet, 1=progress, 2=verbose. The default is 1.
TFTP_RETRY_COUNT—Retry count for ARP and TFTP. The default is 7.
TFTP_TIMEOUT—Overall timeout of the download operation in seconds. The default is 2400
seconds.
TFTP_CHECKSUM—Performs a checksum test on the image. 0=no, 1=yes. The default is 1.
The syntax for specifying the variables is:
VARIABLE_NAME=value
After you specify the variables, you must reenter the
tftpdnld
command. For example:
rommon 1 >
tftpdnld
rommon 2 > IP_ADDRESS=
172.15.19.11
rommon 3 > IP_SUBNET_MASK=
255.255.255.0
rommon 4 > DEFAULT_GATEWAY=
172.15.19.1
rommon 5 > TFTP_SERVER=
172.15.20.10
rommon 6 > TFTP_FILE=
/tftpboot/c2600-i-mz
rommon 7 > TFTP_VERBOSE=
1
rommon 8 >
tftpdnld
IP_ADDRESS=172.15.19.11
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=172.15.19.1
TFTP_SERVER=172.15.20.10
TFTP_FILE=/tftpboot/2600-i-mz
TFTP_VERBOSE=1
Invoke this command for disaster recovery only.
WARNING: all existing data in flash will be lost!
Do you wish to continue? y/n: [n]:
Enter
y
to begin downloading the Cisco IOS software image. When the process is complete, the ROM
monitor mode prompt appears on your screen.