cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
513
Views
3
Helpful
8
Replies
Enthusiast

Migrate CGR 1240 from CG-OS to IOS

I'm looking for the process to migrate from a CGR 1240 running on CG-OS to IOS (IOx).  There is a FAQ on the site that give a link to the process, but the link is dead.  Any pointers would be appreciated.

Everyone's tags (4)
8 REPLIES 8
Highlighted
Cisco Employee

Re: Migrate CGR 1240 from CG-OS to IOS

Hi,

The process is as follow:

Before to start the upgrade process, I recommend loaded the CGR1000 with a recent CG-OS release, CGOS 4.3

I know we support older image but I have always performed this task first. If your CGR 1000 contains a WPAN module, you may check the loaded firmware version. If loaded with the Itron RF LAN firmware, you would need to upgrade to Cisco IPv6 RF Mesh firmware, otherwise the module will not work on IOS (no Itron RF LAN support).

I also recommend logging the Console output during the migration to capture any error

 

1/ Create the following directories under bootflash: on CGR1K

router_nxos#mkdir migration

router_nxos#mkdir migration/ios

router_nxos#mkdir migration/hypervisor

router_nxos#mkdir migration/ios_config

2/ Copy the IOS files into respective folders, using either SCP or FTP, for example:

router_nxos#copy scp://10.1.1.135/tftpboot/cgr1000-universalk9-mz.SSA.154-2.CG bootflash:migration/ios

router_nxos#copy scp://10.1.1.135/tftpboot/cgr1000-hv.srp.SPA.1.1.0 bootflash:migration/hypervisor

router_nxos#copy scp://10.1.1.135/tftpboot/cgr1000-uk9-migration.5.2.1.CG4.3.8.SSA.gbin.cg4312 bootflash:

[*Note: Migration image goes in bootflash:]

 

3/ Keep a copy of the migration image, for example:

router_nxos#copy bootflash:cgr1000-uk9-migration.5.2.1.CG4.3.8.SSA.gbin.cg4312 migration_copy

4/ Run the migration program on CGR

router_nxos#load migration_copy

Time for upgrade, including BIOS upgrade and config update, should take ~20minutes inclusive of BIOS upgrade.

6/ After CGR1K reloads running IOS, then you will need to install the bundle image

a) copy the bundle image using FTP on flash:

b) install the bundle image, i.e. 15.4.(3)M1 downloaded from cisco.com

router_ios# bundle install flash:cgr1000-universalk9-bundle.SPA.154-3.M1.bin

7/ then you can configure your CGR1K IOS

. ssh key - regenerate key for SSH usage, see note available from Devnet on using SSH

. license - accept the license under conf term # - note it will take effect at the next reboot

license accept end user agreement

license boot module cgr1000 technology-package securityk9

...

Enthusiast

Re: Migrate CGR 1240 from CG-OS to IOS

Hi Patrick,

Thank you for the detailed notes.  Is the CG-OS migration image a special version of the CG-OS that allows transition to IOS?  And where do I get this file from, it does not seem to be readily available from CIsco's software download site for the 1240?

I guess in general, are the images you talk about in point #2 above all available for download?  I know I can extract the first two from the universal image, but cgr1000-uk9-migration.5.2.1.CG4.3.8.SSA.gbin.cg4312 seems to be the missing key.

Cisco Employee

Re: Migrate CGR 1240 from CG-OS to IOS

Hi Patrick

Is there a migration file for CG-OS 4.4?  I am having problems down grading to 4.3 and the current migration file is not working with CG-OS 4.4.

Thanks Greg

Software

  BIOS:      version 12 Production

  BIOS:      date    06/27/2012

  CPLD:      version 20

  loader:    version N/A

  kickstart: version 5.2(1)CG4(4)

  system:    version 5.2(1)CG4(4)

  kickstart image file is: bootflash:///cgr1000-uk9-kickstart.5.2.1.CG4.4.SPA.bin

cgr-1120# load bootflash:mig-copy

Loading plugin version 5.2(1)CG4(4)

###############################################################

  Warning: debug-plugin is for engineering internal use only!

  For security reason, plugin image has been deleted.

###############################################################

Successfully loaded migration plugin!!!

Migration setup failed

Thanks Greg Kopels

Beginner

Re: Migrate CGR 1240 from CG-OS to IOS

Hi

I managed in the end.  Apparently I had both the IOS and bundle in the boot flash:migration/ios directory.  The moment I erased the bundle file from the directory it worked.

Thanks Greg

Cisco Employee

Re: Migrate CGR 1240 from CG-OS to IOS

Hi Brett,

I just posted one here:

https://communities.cisco.com/docs/DOC-56563

Enthusiast

Re: Migrate CGR 1240 from CG-OS to IOS

Thanks Lin and Patrick for the help so far.  I've followed the steps Patrick posted exactly, but when I get to step 4, things don't go as expected.  Here is the output on the device:

GDT# load migration-copy

Loading plugin version 5.2(1)CG4(4)

###############################################################

  Warning: debug-plugin is for engineering internal use only!

  For security reason, plugin image has been deleted.

###############################################################

Successfully loaded migration plugin!!!

Start NXOS/NXT migration

Verifying hypervisor image...

Hypervisor signature verification was successful

Verifying IOS image...

Unzip IOS image...

GDT#

Note, after unzipping the IOS image, it just goes back to the command prompt.  I've manually rebooted and it comes back up into the CG-OS image.

The file system after loading the migration image looks as follows:

   29167616    Jan 06 14:32:55 2015  cgr1000-uk9-kickstart.5.2.1.CG4.3.SPA.bin

      45445    Jan 26 20:31:48 2015  cgr1000-uk9-migration.5.2.1.CG4.3.8.SSA.gbin

  143332283    Jan 06 14:36:28 2015  cgr1000-uk9.5.2.1.CG4.3.SPA.bin

      16384    Jan 06 14:31:23 2015  lost+found/

  165703680    Jan 26 21:19:20 2015  mig_ios_img

       4096    Jan 26 15:51:58 2015  migration/

        964    Jan 22 19:09:06 2015  mts.log

There is nothing interesting in the mts.log file.  The mig_ios_img is new, assuming this is from unzipping the IOS image.

Here is the current software on the CGR 1240:

Software

  BIOS:      version 12 Production

  BIOS:      date    06/27/2012

  CPLD:      version 20

  loader:    version N/A

  kickstart: version 5.2(1)CG4(3)

  system:    version 5.2(1)CG4(3)

  kickstart image file is: bootflash:///cgr1000-uk9-kickstart.5.2.1.CG4.3.SPA.bin

  kickstart compile time:  1/9/2014 12:00:00 [01/09/2014 20:30:55]

  system image file is:    bootflash:///cgr1000-uk9.5.2.1.CG4.3.SPA.bin

  system compile time:     1/9/2014 12:00:00 [01/09/2014 20:47:25]

I noticed there is a missing Step 5 in Patrick's original task list, is there another step I should be doing?

Thanks again for all the help.

Cisco Employee

Re: Migrate CGR 1240 from CG-OS to IOS

Hi Brett,

Could you please check what is in “migration/ios” directory? It needs to be the ios image instead of bundle image.

Best regards

Linda

Enthusiast

Re: Migrate CGR 1240 from CG-OS to IOS

Lin, you are exactly correct.  While I extracted both the hypervisor image and the IOS image from the bundle, apparently when FTP'ing the files to the CGR I sent over the wrong file.  I've followed the process to completion and have successfully changed over to IOS 15.4(3)M1.

Cheers!

Content for Community-Ad
August's Community Spotlight Awards