Difference between revisions of "Loading IOS on an ASR 1001 Router"
From NesevoWiki
Jump to navigationJump to search (Created page with "* Cabling ** Connect to the serial console ** Connect the MGMT interface to your LAN * Configuration via Serial Console ** Quit the config dialogue ** Configure Interface <cod...") |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
** Check if it works: <code>ping vrf Mgmt-intf 192.168.1.11</code> | ** Check if it works: <code>ping vrf Mgmt-intf 192.168.1.11</code> | ||
** Copy the new IOS file via TFTP (SCP doesn't work) to bootflash: <code>copy tftp: bootflash:</code> | ** Copy the new IOS file via TFTP (SCP doesn't work) to bootflash: <code>copy tftp: bootflash:</code> | ||
+ | ** Alternatively, you can put the asr image on a FAT32 formatted USB thumb drive and plug it into ''USB0'' of the ASR router. Then, you can copy it to ''bootflash'' like this: <code>copy usb0:[filename] bootflash:</code> | ||
** Unset the BOOT variable (in conf mode): <code>no boot system</code> | ** Unset the BOOT variable (in conf mode): <code>no boot system</code> | ||
** Set the BOOT variable to the new image (in conf mode): <code>boot system flash bootflash:asr1001-universalk9.03.08.01.S.153-1.S1.bin</code> | ** Set the BOOT variable to the new image (in conf mode): <code>boot system flash bootflash:asr1001-universalk9.03.08.01.S.153-1.S1.bin</code> | ||
− | ** <code>write memory</code> | + | ** <code>write memory</code> |
+ | ** Check the BOOT variable with the <code>show bootvar</code> command, it must now look like this: | ||
+ | *** <code>BOOT variable = bootflash:asr1001-universalk9.03.08.01.S.153-1.S1.bin,1;</code> | ||
+ | ** <code>reload</code> the router and check it boots the right image. |
Latest revision as of 12:12, 7 August 2020
- Cabling
- Connect to the serial console
- Connect the MGMT interface to your LAN
- Configuration via Serial Console
- Quit the config dialogue
- Configure Interface
GigabitEthernet 0
(that's the MGMT Interface, actually) to a static address in your LAN and un-shut it. - Check if it works:
ping vrf Mgmt-intf 192.168.1.11
- Copy the new IOS file via TFTP (SCP doesn't work) to bootflash:
copy tftp: bootflash:
- Alternatively, you can put the asr image on a FAT32 formatted USB thumb drive and plug it into USB0 of the ASR router. Then, you can copy it to bootflash like this:
copy usb0:[filename] bootflash:
- Unset the BOOT variable (in conf mode):
no boot system
- Set the BOOT variable to the new image (in conf mode):
boot system flash bootflash:asr1001-universalk9.03.08.01.S.153-1.S1.bin
write memory
- Check the BOOT variable with the
show bootvar
command, it must now look like this:BOOT variable = bootflash:asr1001-universalk9.03.08.01.S.153-1.S1.bin,1;
reload
the router and check it boots the right image.