Using TFTP to copy a new IOS Image
Copying a new IOS version to a cisco device can done in a variety of ways, the below shows one such method
- Connect the port Fa0/2 of the device to your computer with an ethernet cable
- Change your computer IPv4 settings
- 192.168.1.1/24 instead of automatically detect
- Turn off any firewall or policy settings on your computer that may prevent your computer being a TFTP server
- Run SolarWinds TFTP Server (or any TFTP server application of your choice)
- Start the TFTP Service
- On the device use the below configuration
enconf tvlan 2exitint vlan 2ip address 192.168.1.2 255.255.255.0no shutexitint fa0/2switchport access vlan 2endwr me
- Do a test ping between the computer and the cisco device to test connectivity
- Perform a TFTP copy command on the device
copy tftp flash192.168.1.1c2960-lanbasek9-mz.122-58.SE2.binc2960-lanbasek9-mz.122-58.SE2.bin
- Do a show flash if you want to verify the file was copied
- To boot from the new flash you would use the below configuration commands
conf tboot-start-markerboot system flash:c2960-lanbasek9-mz.122-58.SE2.binboot-end-markerendwr memreload
Comments
Post a Comment