Difference between revisions of "Boot Cisco Devices via tftp"
From NesevoWiki
Jump to navigationJump to search (Created page with "== Cisco 4900 series switches == * Connect to the serial console * Type CTRL-C at the right time to exit the infinite boot loop and get to the ''rommon'' prompt * At the ''rom...") |
|||
Line 13: | Line 13: | ||
** Check connectivity (ping TFTP server): <code>ping 192.168.1.11</code> ... The message <code>Host 192.168.1.11 is alive</code> should appear | ** Check connectivity (ping TFTP server): <code>ping 192.168.1.11</code> ... The message <code>Host 192.168.1.11 is alive</code> should appear | ||
** Boot the image via TFTP: <code>boot tftp://192.168.1.11/cat4500e-entservicesk9-mz.122-54.SG1.bin</code> | ** Boot the image via TFTP: <code>boot tftp://192.168.1.11/cat4500e-entservicesk9-mz.122-54.SG1.bin</code> | ||
− | * '''The image is not on the bootflash yet''', so when you're at the | + | * '''The image is not on the bootflash yet''', so when you're at the switch's prompt, don't forget to |
** Connect port 1 to the network | ** Connect port 1 to the network | ||
** configure VLAN 1 | ** configure VLAN 1 |
Latest revision as of 15:23, 3 April 2015
Cisco 4900 series switches
- Connect to the serial console
- Type CTRL-C at the right time to exit the infinite boot loop and get to the rommon prompt
- At the rommon prompt
- Type
unset boot
to reset the boot variable - Connect the switch's Mgmt port to the network using a crossover cable and wait for the message
- Type
Established physical link 100MB Full Duplex Network layer connectivity may take a few seconds
- Configure the Mgmt interface
set interface fa1 192.168.1.244 255.255.255.0
set ip route default 192.168.1.1
- Type
set
to verify IP configuration - Check connectivity (ping TFTP server):
ping 192.168.1.11
... The messageHost 192.168.1.11 is alive
should appear - Boot the image via TFTP:
boot tftp://192.168.1.11/cat4500e-entservicesk9-mz.122-54.SG1.bin
- Configure the Mgmt interface
- The image is not on the bootflash yet, so when you're at the switch's prompt, don't forget to
- Connect port 1 to the network
- configure VLAN 1
- copy the IOS image from TFTP to bootflash
- set the boot variable:
Switch#conf t Switch(config)#no boot system Switch(config)#boot system flash bootflash:cat4500e-entservicesk9-mz.122-54.SG1.bin Switch(config)#exit Switch#write memory Switch#sho bootvar BOOT variable = bootflash:cat4500e-entservicesk9-mz.122-54.SG1.bin,1;
- reload the switch