How to upgrade Nexus 7K NX-OS Emulator Titanium VMware image to 6.1.1 - NETSEC

Latest

Learning, Sharing, Creating

Cybersecurity Memo

Thursday, March 14, 2013

How to upgrade Nexus 7K NX-OS Emulator Titanium VMware image to 6.1.1


1. Setup Network Environment for Upgrade

1.1 Configure Mgmt0 IP address under Management VRF


vrf context management
  ip route 0.0.0.0/0 10.94.30.1

interface mgmt0
  ip address 10.94.30.45/24

1.2 Setup FTP server on your vmware host which is using 10.94.30.50/24. 



1.3 Copy files using ftp.

N7K-2(config)# copy ftp://[email protected]/titanium-d1.6.1.1.gbin bootflash: vrf management 

Password: 
***** Transfer of file Completed Successfully *****    
N7K-2(config)# now saving to 
N7K-2(config)# copy ftp://[email protected]/titanium-d1-kickstart.6.1.1.gbin bootflash: vrf management 
Password: 
***** Transfer of file Completed Successfully *****    
Copy complete, now saving to disk (please wait)...
N7K-2(config)# dir bootflash:
      16384    Jan 06 19:54:26 2011  lost+found/
      23203    Mar 19 09:35:19 2013  mts.log
   28511744    Dec 22 21:21:57 2010  titanium-d1-kickstart.5.1.2.gbin
   27604992    Mar 19 11:53:16 2013  titanium-d1-kickstart.6.1.1.gbin
   60024194    Dec 22 21:22:00 2010  titanium-d1.5.1.2.gbin
   63184888    Mar 19 11:52:22 2013  titanium-d1.6.1.1.gbin
       4096    Jan 06 19:55:10 2011  vdc_2/
       4096    Jan 06 19:55:10 2011  vdc_3/
       4096    Jan 06 19:55:10 2011  vdc_4/
        784    Mar 19 09:35:46 2013  vlan.dat

Usage for bootflash://sup-local
  294207488 bytes used
 1300668416 bytes free
 1594875904 bytes total
N7K-2(config)# 


2. Boot with new binaries


N7K-2(config)# boot kickstart bootflash:/titanium-d1-kickstart.6.1.1.gbin
Note: system and kickstart bootvars are pointing to incompatible images
N7K-2(config)# boot system bootflash:/titanium-d1.6.1.1.gbin
N7K-2(config)# copy run start
[########################################] 100%
Copy complete, now saving to disk (please wait)...
N7K-2(config)# 

3. Booting screen


N7K-2(config)# reload
This command will reboot the system. (y/n)?  [n] y
2013 Mar 19 12:04:36 N7K-2 %$ VDC-1 %$ %PLATFORM-2-PFM_SYSTEM_RESET: Manual system restart from Command Line Interface
SysRq : Resetting

Auto booting bootflash:/titanium-d1-kickstart.6.1.1.gbin bootflash:/titanium-d1
.6.1.1.gbin...
Booting kickstart image: bootflash:/titanium-d1-kickstart.6.1.1.gbin....
...............................................................................
.....Image verification OK

INIT: version 2.86 booting
SCSI disk detected.
Enter system maintenance mode? (y/n) [n]: 
Checking all filesystems....r.r done.
Trying to mount cdrom...
hostname: invalid option -- '-'
Try `hostname --help' for more information.
Renaming eth interfaces
  renaming interfaces: eth0 to eth7
Loading system software
Uncompressing system image: bootflash:/titanium-d1.6.1.1.gbin Tue Mar 19 12:05:11 EST 2013
blogger: nothing to do.

..done Tue Mar 19 12:05:14 EST 2013
Load plugins that defined in image conf: /isan/plugin_img/img.conf
Loading plugin 0: core_plugin...
num srgs 1
0: swid-core-titanium, swid-core-titanium
num srgs 1
0: swid-sup1e-ks, swid-sup1e-ks
INIT: Entering runlevel: 3
Mounting other filesystems:  [  OK  ]
Starting NFS statd: [  OK  ]


2013 Mar 19 12:05:53 N7K-2 %$ VDC-1 %$ %COPP-2-COPP_NO_POLICY: Control-plane is unprotected.
2013 Mar 19 12:05:54 N7K-2 %$ VDC-1 %$ %MODULE-2-MOD_UNKNOWN: Module type [0] in slot 1 is not supported

2013 Mar 19 12:05:55 N7K-2 %$ VDC-1 %$ %VDC_MGR-2-VDC_ONLINE: vdc 1 has come online 

.
*****************
 Username: admin
 Password: cisco
*****************
.N7K-2 login: 2013 Mar 19 12:05:56 N7K-2 %$ VDC-1 %$ %PLATFORM-2-CHASSIS_CLKMODOK: Chassis clock module A ok
2013 Mar 19 12:05:56 N7K-2 %$ VDC-1 %$ %PLATFORM-2-CHASSIS_CLKSRC: Current chassis clock source is clock-A


*****************
 Username: admin
 Password: cisco
*****************
N7K-2 login: admin
Password: 
Last login: Tue Mar 19 12:06:04 on ttyS0
Cisco NX-OS Software
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
NX-OS/Titanium software ("NX-OS/Titanium Software") and related
documentation, files or other reference materials ("Documentation")
are the proprietary property and confidential information of Cisco
Systems, Inc. ("Cisco") and are protected, without limitation,
pursuant to United States and International copyright and trademark
laws in the applicable jurisdiction which provide civil and criminal
penalties for copying or distribution without Cisco's authorization.
The use of NX-OS/Titanium Software and Documentation is strictly
limited to Cisco's internal use.

Any use or disclosure, in whole or in part, of the NX-OS/Titanium
Software or Documentation to any third party for any purposes is
expressly prohibited except as otherwise authorized by Cisco in writing.
The copyrights to certain works contained herein are owned by other
third parties and are used and distributed under license. Some parts
of this software may be covered under the GNU Public License or the
GNU Lesser General Public License. A copy of each such license is
available at
http://www.gnu.org/licenses/gpl.html and
http://www.gnu.org/licenses/lgpl.html
N7K-2# sh ver
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_serie
s_home.html
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.

Software
  loader:    version N/A
  kickstart: version 6.1(1) [gdb]
  system:    version 6.1(1) [gdb]
  kickstart image file is: bootflash:/titanium-d1-kickstart.6.1.1.gbin
  kickstart compile time:  12/25/2020 12:00:00 [06/24/2012 00:54:16]
  system image file is:    bootflash:/titanium-d1.6.1.1.gbin
  system compile time:     7/1/2012 0:00:00 [06/24/2012 01:26:13]


Hardware
  cisco Nexus 7000 Unknown Chassis ("Unknown Module")
--More--2013 Mar 19 12:06:07 N7K-2 %$ VDC-1 %$ %PLATFORM-2-MOD_DETECT: Module 2 detected (Serial number ) Module-Type Titanium Ethernet Module Model 
2013 Mar 19 12:06:07 N7K-2 %$ VDC-1 %$ %PLATFORM-2-MOD_PWRUP: Module 2 powered up (Serial number )
  Intel(R) Xeon(R) CPU         with 2066240 kB of memory.
  Processor Board ID T50569F000C

  Device name: N7K-2
  bootflash:          0 kB
Kernel uptime is 0 day(s), 0 hour(s), 1 minute(s), 27 second(s)


plugin
  Core Plugin, Ethernet Plugin
N7K-2# 

No comments:

Post a Comment