Difference between revisions of "Loading IOS on a Nexus 7000/5000"
From NesevoWiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | + | * connect to serial console port | |
+ | * connect mgmt 0 port with your network | ||
+ | * power on the Nexus | ||
− | * | + | * ''Abort Power On Auto Provisioning and continue with normal setup?'' → type '''''y''''' |
− | * | + | * ''Do you want to enforce secure password standard?'' → type '''''n''''' |
+ | * Enter password for admin user (admin/admin) | ||
* IP config | * IP config | ||
Line 10: | Line 13: | ||
** <code>no shutdown</code> | ** <code>no shutdown</code> | ||
** <code>exit</code> | ** <code>exit</code> | ||
− | ** Test: <code>ping 192.168.0.81 vrf management</code> | + | ** <code>exit</code> |
+ | ** Test network connectivity: <code>ping 192.168.0.81 vrf management</code> | ||
− | * IOS Files | + | * Copy IOS Files |
** <code>cd bootflash:</code> | ** <code>cd bootflash:</code> | ||
− | ** <code>dir</code> ( | + | ** <code>dir</code> (check there is enough free space on bootflash) |
** <code>copy scp://user@hostip/path/to/file/iosfile.bin bootflash:iosfile.bin vrf management</code> | ** <code>copy scp://user@hostip/path/to/file/iosfile.bin bootflash:iosfile.bin vrf management</code> | ||
** <code>copy scp://user@hostip/path/to/file/kickstartfile.bin bootflash:kickstartfile.bin vrf management</code> | ** <code>copy scp://user@hostip/path/to/file/kickstartfile.bin bootflash:kickstartfile.bin vrf management</code> | ||
− | * IOS | + | * install IOS |
** <code>cd bootflash:</code> | ** <code>cd bootflash:</code> | ||
** <code>install all kickstart bootflash:///kickstartfile.bin system bootflash:///iosfile.bin</code> | ** <code>install all kickstart bootflash:///kickstartfile.bin system bootflash:///iosfile.bin</code> | ||
** Sicherheitsfrage (nach Image-Checks), ob Installation fortgesetzt werden soll, mit <code>yes</code> bzw. <code>y</code> bestätigen. | ** Sicherheitsfrage (nach Image-Checks), ob Installation fortgesetzt werden soll, mit <code>yes</code> bzw. <code>y</code> bestätigen. | ||
− | ** | + | ** In case the Nexus doesn't reboot by itself: |
*** <code>boot kickstart bootflash:///<Image-Name></code> | *** <code>boot kickstart bootflash:///<Image-Name></code> | ||
*** <code>boot system bootflash:///<Image-Name></code> | *** <code>boot system bootflash:///<Image-Name></code> | ||
*** <code>copy running-config startup-config</code> | *** <code>copy running-config startup-config</code> | ||
*** <code>reload</code> | *** <code>reload</code> | ||
− | ** | + | ** optional: save old IOS and kickstart image and the delete the from bootflash |
Revision as of 14:58, 7 March 2014
- connect to serial console port
- connect mgmt 0 port with your network
- power on the Nexus
- Abort Power On Auto Provisioning and continue with normal setup? → type y
- Do you want to enforce secure password standard? → type n
- Enter password for admin user (admin/admin)
- IP config
conf t
interface mgmt 0
ip address 192.168.0.240 255.255.255.0
no shutdown
exit
exit
- Test network connectivity:
ping 192.168.0.81 vrf management
- Copy IOS Files
cd bootflash:
dir
(check there is enough free space on bootflash)copy scp://user@hostip/path/to/file/iosfile.bin bootflash:iosfile.bin vrf management
copy scp://user@hostip/path/to/file/kickstartfile.bin bootflash:kickstartfile.bin vrf management
- install IOS
cd bootflash:
install all kickstart bootflash:///kickstartfile.bin system bootflash:///iosfile.bin
- Sicherheitsfrage (nach Image-Checks), ob Installation fortgesetzt werden soll, mit
yes
bzw.y
bestätigen. - In case the Nexus doesn't reboot by itself:
boot kickstart bootflash:///<Image-Name>
boot system bootflash:///<Image-Name>
copy running-config startup-config
reload
- optional: save old IOS and kickstart image and the delete the from bootflash