Difference between revisions of "Loading IOS on a Nexus 7000/5000"

From NesevoWiki
Jump to navigationJump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
Serial Console Port und Mgmt Ethernet Port verkabeln
+
* connect to serial console port
 +
* connect mgmt 0 port with your network
 +
* power on the Nexus
  
* Autoconfig/Setup abbrechen
+
* ''Abort Power On Auto Provisioning and continue with normal setup?'' → type '''''y''''' (and '''wait''' for the next question to come up)
* Admin PWD vergeben (admin/admin)
+
* ''Do you want to enforce secure password standard?'' → type '''''n'''''
 +
* ''Would you like to enter the basic configuration dialog?'' → type '''''n'''''
 +
* Enter password for admin user (admin/admin)
  
 
* IP config
 
* IP config
 
** <code>conf t</code>
 
** <code>conf t</code>
 
** <code>interface mgmt 0 </code>
 
** <code>interface mgmt 0 </code>
** <code>ip address 192.168.0.240 255.255.255.0</code>
+
** <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>
** Test: <code>ping 192.168.0.81 vrf management</code>
+
** <code>exit</code>
 +
** Test network connectivity: <code>ping 192.168.1.11 vrf management</code>
  
* IOS Files kopieren
+
* Copy IOS Files
 
** <code>cd bootflash:</code>
 
** <code>cd bootflash:</code>
** <code>dir</code> (genug Speicherplatz vorhanden?)
+
** <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>
+
** Either: 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>
 +
** Or: Copy files in interactive mode
 +
*** <code>copy scp: bootflash:</code>
 +
*** <code>Enter file name: /path/to/file/iosfile.bin</code>
 +
*** When asked for <code>vrf</code>, enter <code>management</code>
 +
*** <code>Enter host name: 192.168.1.11</code>
 +
*** <code>Enter user name: lab</code>
 +
*** When asked to confirm host's authenticity (ssh fingerprint), do so by typing '''''yes'''''
 +
*** <code>Enter Password: <your password></code>
 +
*** repeat above procedure for kickstart file
  
* IOS Installieren
+
* Install IOS
 
** <code>cd bootflash:</code>
 
** <code>cd bootflash:</code>
 +
** <code>dir</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.
+
** When asked if Installation shall continue, confirm by entering <code>yes</code>
** Falls nötig (weil Switch nicht von allein rebootet):
+
** In case the Nexus doesn't reboot by itself: <code>reload</code>
*** <code>boot kickstart bootflash:///<Image-Name></code>
+
** Type <code>show version</code> to verify the running image version
*** <code>boot system bootflash:///<Image-Name></code>
+
** optional: save old IOS and kickstart image and then delete the files from bootflash
*** <code>copy running-config startup-config</code>
 
*** <code>reload</code>
 
*** Optional: altes IOS und Kickstart Image sichern und dann vom bootflash löschen.
 

Latest revision as of 15:19, 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
  • Would you like to enter the basic configuration dialog? → type n
  • Enter password for admin user (admin/admin)
  • 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)
    • Either: 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
    • Or: Copy files in interactive mode
      • copy scp: bootflash:
      • Enter file name: /path/to/file/iosfile.bin
      • When asked for vrf, enter management
      • Enter host name: 192.168.1.11
      • Enter user name: lab
      • When asked to confirm host's authenticity (ssh fingerprint), do so by typing yes
      • Enter Password: <your password>
      • repeat above procedure for kickstart file
  • Install IOS
    • cd bootflash:
    • dir
    • 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: reload
    • Type show version to verify the running image version
    • optional: save old IOS and kickstart image and then delete the files from bootflash