Difference between revisions of "Loading IOS on a Nexus 7000/5000"
From NesevoWiki
Jump to navigationJump to searchLine 11: | Line 11: | ||
** <code>conf t</code> | ** <code>conf t</code> | ||
** <code>interface mgmt 0 </code> | ** <code>interface mgmt 0 </code> | ||
− | ** <code>ip address 192.168. | + | ** <code>ip address 192.168.1.240 255.255.255.0</code> |
** <code>no shutdown</code> | ** <code>no shutdown</code> | ||
** <code>exit</code> | ** <code>exit</code> | ||
** <code>exit</code> | ** <code>exit</code> | ||
− | ** Test network connectivity: <code>ping 192.168. | + | ** Test network connectivity: <code>ping 192.168.1.11 vrf management</code> |
* Copy IOS Files | * Copy IOS Files | ||
** <code>cd bootflash:</code> | ** <code>cd bootflash:</code> | ||
** <code>dir</code> (check there is enough free space on bootflash) | ** <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> | + | ** Copy files with one-line command |
− | ** <code>copy scp://user@hostip/path/to/file/kickstartfile.bin bootflash:kickstartfile.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> | ||
+ | ** Copy files in interactive mode | ||
+ | *** <code>copy scp: bootflash:</code> | ||
+ | *** <code>Enter file name: /path/to/file/iosfile.bin</code> | ||
+ | *** <code>Enter host name: 192.168.1.11</code> | ||
+ | *** <code>Enter user name: lab</code> | ||
+ | *** When asked to confirm ssh fingerprint, cinfirm by typing '''''yes''''' | ||
+ | *** <code>Enter Password: <your password></code> | ||
* install IOS | * install IOS |
Revision as of 14:51, 8 April 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 (and wait for the next question to come up)
- Do you want to enforce secure password standard? → type n
- Enter password for admin user (admin/admin)
- Would you like to enter the basic configuration dialog? → type n
- IP config
conf t
interface mgmt 0
ip address 192.168.1.240 255.255.255.0
no shutdown
exit
exit
- Test network connectivity:
ping 192.168.1.11 vrf management
- Copy IOS Files
cd bootflash:
dir
(check there is enough free space on bootflash)- Copy files with one-line command
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
- Copy files in interactive mode
copy scp: bootflash:
Enter file name: /path/to/file/iosfile.bin
Enter host name: 192.168.1.11
Enter user name: lab
- When asked to confirm ssh fingerprint, cinfirm by typing yes
Enter Password: <your password>
- install IOS
cd bootflash:
install all kickstart bootflash:///kickstartfile.bin system bootflash:///iosfile.bin
- When asked if Installation shall continue, confirm by entering
yes
- 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