Configures TFTP server settings and manages automatic device upgrade processes. This procedure enables administrators to perform manual or scheduled firmware updates via the command line interface.
Procedure
| 1. | Use the configure tftp server ip-address command to configure the TFTP server IP address. Example:
ip-address : IP address of the TFTP server. |
|
| 2. | Enable or disable automatic TFTP device upgrades.
|
|
| 3. | Use the configure tftp upgrade check period period command to configure the check period for TFTP device upgrades. Example:
|
|
| 4. | Use the configure tftp upgrade check now command to check for the manifest file immediately. Example:
|
|
| 5. | Use the show tftp config command to verify the TFTP configuration. Example:
|
The device upgrade procedure fails to start under the following conditions:
-
If the MD5 checksum reported in the manifest file does not match the MD5 checksum calculated on the device image file ( image_name ).
-
If the device image version reported in the manifest file matches the current device version running on the device.
Example of show TFTP configuration:
Device# show tftp config
Automatic TFTP Upgrade settings:
Status: enabled
Server: A.B.C.D
Check period (hours): 3
Example of automatic TFTP upgrade:
Device# configure tftp server A.B.C.D
Device#configure tftp upgrade check period 3
Device#write
Device#configure tftp upgrade automatic enable
Device#write
Device#reload