108 | | The firmware should have an extension of '.gz'. The easiest way to upgrade is to copy the firmware onto an SD card with a bootable file (e.g. something with extension '.img'^2^) along with the proper license; The switch will boot using the image file stored on the card, and will keep the SD card mounted and accessible under /mnt. |
109 | | |
110 | | Now run `ppupgrade` as admin, specifying the full path to the new firmware: |
111 | | {{{ |
112 | | ppupgrade /mnt/nec.gz |
113 | | }}} |
114 | | And let the switch do the work. The whole process should take a minute or two. The switch will reboot unless given the `no-reload` flag with `ppupgrade`. The bootloader will search for .img files to load to memory upon startup. If you want the switch to boot into the new firmware when it reboots after the upgrade, you can either: |
| 114 | The firmware should have an extension of '.gz'. The easiest way to upgrade is to run `ppupdate` after copying the firmware onto the SD card using tftp: |
| 115 | {{{ |
| 116 | sw-sb-02# tftp 10.50.0.42 |
| 117 | tftp> get nec.gz /mnt/nec.gz |
| 118 | getting from 10.50.0.42:nec.gz to /mnt/nec.gz [octet] |
| 119 | Received 20973752 bytes in 100.7 seconds [1666237 bits/sec] |
| 120 | tftp> quit |
| 121 | }}} |
| 122 | This will take a good 1.5 minutes. After this step, /mnt should contain nec.gz: |
| 123 | {{{ |
| 124 | sw-sb-02# ls -al |
| 125 | total 45153 |
| 126 | drwxrwxrwx 1 root wheel 16384 Jan 1 1980 . |
| 127 | drwxr-xr-x 26 root wheel 512 Aug 5 18:19 .. |
| 128 | -rwxrwxrwx 1 root wheel 25214752 Jun 9 2010 k.img |
| 129 | -rwxrwxrwx 1 root wheel 66 Jul 7 2010 license.dat |
| 130 | -rwxrwxrwx 1 root wheel 20973752 Aug 5 18:30 nec.gz |
| 131 | }}} |
| 132 | Now run `ppupdate` as admin, specifying the full path to the new firmware: |
| 133 | {{{ |
| 134 | sw-sb-02# ppupdate /mnt/nec.gz |
| 135 | |
| 136 | Software update start |
| 137 | |
| 138 | Broadcast Message from operator@sw-sb-02 |
| 139 | (??) at 18:31 UTC... |
| 140 | |
| 141 | *********************************************** |
| 142 | ** UPDATE IS STARTED. ** |
| 143 | *********************************************** |
| 144 | |
| 145 | Current version is 11.1.C |
| 146 | New version is 11.1.C.Ae |
| 147 | Automatic reboot process will be run after installation process. |
| 148 | Do you wish to continue? (y/n) |
| 149 | }}} |
| 150 | And let the switch do the work. The whole process should take a minute or two, showing you this once complete: |
| 151 | {{{ |
| 152 | 100% |***********************************************************************************| 20482 KB 1.23 MB/s 00:00 ETA |
| 153 | |
| 154 | Update done. |
| 155 | |
| 156 | Broadcast Message from operator@sw-sb-02 |
| 157 | (??) at 18:32 UTC... |
| 158 | |
| 159 | *********************************************** |
| 160 | ** UPDATE IS FINISHED SUCCESSFULLY. ** |
| 161 | *********************************************** |
| 162 | |
| 163 | |
| 164 | }}} |
| 165 | The switch will reboot unless given the `no-reload` flag with `ppupgrade`. The bootloader will search for .img files to load to memory upon startup. If you want the switch to boot into the new firmware when it reboots after the upgrade, you can either: |