dslreports logo
Search similar:


uniqs
4463
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

[Info] IOS Upgrade on a New 3850.

Morning all,
Just for info I have my hands on a brand new 3850 with IOS-NX. It shipped with an "old" IOS and I'm having trouble getting the USB console to work. TAC said to upgrade the IOS and sent this document.

»www.cisco.com/c/en/us/su ··· -00.html

It went exactly according to plan so I thought I'd share what happens, starting with copying the new IOS to Flash: from a TFTP server, in this case TFTPD64 running on my Windows 7 Pro laptop.

New_3850#copy tftp flash
Address or name of remote host []? 192.168.1.2
Source filename []? cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
Destination filename [cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin]?
Accessing tftp://192.168.1.2/cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin...
Loading cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin from 192.168.1.2 (via Vlan1): !!!!!O!O!!!O!!!!!!!!!!!! etc!!!
[OK - 257651868 bytes]
 
257651868 bytes copied in 1653.370 secs (155834 bytes/sec)
 

I had a look at what that gave me with a sho flash. Item 11 is the new IOS. It took nearly half an hour, as you can see.

New_3850#sho flash
 
-#- --length-- ---------date/time--------- path
  2    2097152 Jul 31 2015 00:16:48 +00:00 nvram_config
  3   74369716 Jun 05 2015 14:52:42 +00:00 cat3k_caa-base.SPA.03.02.03.SE.pkg
  4    5808828 Jun 05 2015 14:52:43 +00:00 cat3k_caa-drivers.SPA.03.02.03.SE.pkg
  5   32496484 Jun 05 2015 14:52:42 +00:00 cat3k_caa-infra.SPA.03.02.03.SE.pkg
  6   30418104 Jun 05 2015 14:52:43 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EX3.pkg
  7   16059104 Jun 05 2015 14:52:43 +00:00 cat3k_caa-platform.SPA.03.02.03.SE.pkg
  8   64586444 Jun 05 2015 14:52:43 +00:00 cat3k_caa-wcm.SPA.10.0.120.0.pkg
  9       1224 Jun 05 2015 14:52:53 +00:00 packages.conf
 10        556 Jul 31 2015 00:16:38 +00:00 vlan.dat
 11  257651868 Jul 31 2015 00:54:50 +00:00 cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
996773888 bytes available (486363136 bytes used)
 

Next was the command to overwrite the old IOS with the new

New_3850#software install file flash:cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
 

Then this happened, along with a request to reload the switch at the end:
Preparing install operation ...
[1]: Starting install operation
[1]: Expanding bundle flash:cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
[1]: Copying package files
[1]: Package files copied
[1]: Finished expanding bundle flash:cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
[1]: Verifying and copying expanded package files to flash:
[1]: Verified and copied expanded package files to flash:
[1]: Starting compatibility checks
[1]: Finished compatibility checks
[1]: Starting application pre-installation processing
[1]: Finished application pre-installation processing
[1]: Old files list:
    Removed cat3k_caa-base.SPA.03.02.03.SE.pkg
    Removed cat3k_caa-drivers.SPA.03.02.03.SE.pkg
    Removed cat3k_caa-infra.SPA.03.02.03.SE.pkg
    Removed cat3k_caa-iosd-universalk9.SPA.150-1.EX3.pkg
    Removed cat3k_caa-platform.SPA.03.02.03.SE.pkg
    Removed cat3k_caa-wcm.SPA.10.0.120.0.pkg
[1]: New files list:
    Added cat3k_caa-base.SPA.03.03.05SE.pkg
    Added cat3k_caa-drivers.SPA.03.03.05SE.pkg
    Added cat3k_caa-infra.SPA.03.03.05SE.pkg
    Added cat3k_caa-iosd-universalk9.SPA.150-1.EZ5.pkg
    Added cat3k_caa-platform.SPA.03.03.05SE.pkg
    Added cat3k_caa-wcm.SPA.10.1.150.0.pkg
[1]: Creating pending provisioning file
[1]: Finished installing software.  New software will load on reboot.
[1]: Committing provisioning file
 
[1]: Do you want to proceed with reload? [yes/no]: yes
 
System configuration has been modified. Save? [yes/no]: yes
 
Building configuration...
Compressed configuration from 4666 bytes to 2154 bytes[OK]
[1]: Reloading
 

After that it all looked surprisingly familiar:

New_3850#
*Jul 31 01:01:03.827: %STACKMGR-1-RELOAD_REQUEST: 1 stack-mgr:  Received reload request for switch 1, reason User requested reload
*Jul 31 01:01:03.827: %STACKMGR-1-RELOAD: 1 stack-mgr:  Reloading due to reason User requested reload
*Jul 31 01:01:04.338: Reset/Reload requested by [stack-manager]. 1 sysmgr: son User requested reload
<Fri Jul 31 01:01:04 2015> Message from sysmgr: Reset Reason:Reset/Reload requested by [stack-manager]. [User requested reload]
Unmounting ng3k filesystems...
Unmounted /dev/sda3...
Warning! - some ng3k filesystems may not have unmounted cleanly...
Please stand by while rebooting the system...
Restarting system.
 
Booting...Initializing RAM +++++++@@@@@@@@...++++++++++++++++++++++++++++++++
Base ethernet MAC Address: 00:00:00:00:00:00
 
Interface GE 0 link down***ERROR: PHY link is down
Initializing Flash...
 
flashfs[7]: 0 files, 1 directories
flashfs[7]: 0 orphaned files, 0 orphaned directories
flashfs[7]: Total bytes: 6784000
flashfs[7]: Bytes used: 1024
flashfs[7]: Bytes available: 6782976
flashfs[7]: flashfs fsck took 1 seconds....done Initializing Flash.
Getting rest of image
Reading full image into memory....done
Reading full base package into memory...: done = 79122052
Bundle Image
--------------------------------------
Kernel Address    : 0x6042d350
Kernel Size       : 0x402ecf/4206287
Initramfs Address : 0x60830220
Initramfs Size    : 0xdb9c62/14392418
Compression Format: .mzip
 
Bootable image at @ ram:0x6042d350
Bootable image segment 0 address range [0x81100000, 0x82110000] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@boot_system: 377
Loading Linux kernel with entry point 0x81653a10 ...
Bootloader: Done loading app on core_mask: 0xf
 
### Launching Linux Kernel (flags = 0x5)
 
All packages are Digitally Signed
Starting System Services
 
              Restricted Rights Legend
 
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
 
           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706
 
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.05SE RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Thu 30-Oct-14 13:12 by prod_rel_team
 
Cisco IOS-XE software, Copyright (c) 2005-2014 by cisco Systems, Inc.
All rights reserved.  Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0.  The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.
(http://www.gnu.org/licenses/gpl-2.0.html) For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.
 
FIPS: Flash Key Check : Begin
FIPS: Flash Key Check : End, Not Found,FIPS Mode Not Enabled
 
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
 
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
 
If you require further assistance please contact us by sending email to
export@cisco.com.
 
cisco WS-C3850-48T (MIPS) processor with 4194304K bytes of physical memory.
Processor board ID xxxxxxxxxx
2048K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
257008K bytes of Crash Files at crashinfo:.
1550272K bytes of Flash at flash:.
0K bytes of Dummy USB Flash at usbflash0:.
0K bytes of  at webui:.
 
Base Ethernet MAC Address          : 00:00:00:00:00:00
Motherboard Assembly Number        : xxxxxxxxx
Motherboard Serial Number          : xxxxxxxxx
Model Revision Number              : xx
Motherboard Revision Number        : xx
Model Number                       : WS-C3850-48T
System Serial Number               : xxxxxxxxx
 
Press RETURN to get started!
 
*Jul 31 01:07:35.373: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Jul 31 01:07:36.464: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
*Jul 31 01:07:36.464: %LINK-3-UPDOWN: Interface LIIN0, changed state to up
*Jul 31 01:07:36.465: %NGWC_PLATFORM_FEP-6-FRU_PS_OIR: Switch 1: FRU power supply A inserted
*Jul 31 01:07:37.464: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down
*Jul 31 01:07:37.464: %LINEPROTO-5-UPDOWN: Line protocol on Interface LIIN0, changed state to up
*Jul 31 01:07:38.801: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Jul 31 01:07:54.546: %NGWC_USB_CONSOLE-6-INACTIVITY_ENABLE: Switch 1: Console media-type USB configured for inactivity timeout of 2 minutes
*Jul 31 01:07:54.583: %NGWC_USB_CONSOLE-6-CONFIG_DISABLE: Switch 1: Console media-type forced to RJ45
*Jul 31 01:07:55.093: %SYS-5-CONFIG_I: Configured from memory by console
*Jul 31 01:07:55.187: %STACKMGR-6-ACTIVE_READY: 1 stack-mgr:  Active switch 1 is ready. System has been configured
 
*Jul 31 01:07:55.387: %SYS-5-RESTART: System restarted --
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.05SE RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Thu 30-Oct-14 13:12 by prod_rel_team
*Jul 31 01:07:55.412: %AUTHMGR_SPI-6-START: Auth Manager SPI server started
*Jul 31 01:07:55.434: %SSH-5-ENABLED: SSH 2.0 has been enabled
*Jul 31 01:07:59.334: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1/1, changed state to down
*Jul 31 01:07:59.334: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1/2, changed state to down
*Jul 31 01:07:59.334: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1/3, changed state to down
*Jul 31 01:07:59.335: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1/4, changed state to down
*Jul 31 01:07:59.335: %LINEPROTO-5-UPDOWN: Line protocol on Interface TenGigabitEthernet1/1/1, changed state to down
*Jul 31 01:07:59.335: %LINEPROTO-5-UPDOWN: Line protocol on Interface TenGigabitEthernet1/1/2, changed state to down
*Jul 31 01:07:59.335: %LINEPROTO-5-UPDOWN: Line protocol on Interface TenGigabitEthernet1/1/3, changed state to down
*Jul 31 01:07:59.335: %LINEPROTO-5-UPDOWN: Line protocol on Interface TenGigabitEthernet1/1/4, changed state to down
*Jul 31 01:08:03.946: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/48, changed state to up
*Jul 31 01:08:04.940: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/48, changed state to up
*Jul 31 01:08:04.940: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
New_3850>
New_3850>en
Password:
New_3850#
 

I know it has a lot of features and capabilities but I doubt I will ever use them. I had to buy this to use a non IT system from another vendor who only has the 3850 switch on their list of approved switches. What I do know is that the commands so far are exactly the same as monolithic IOS. I really hope I have a chance to play with the software some more in future but for now IOS-NX seems to be familiar enough that I could deploy it to site and it'll work as expected.

LondonDave
Premium Member
join:2011-09-05
London, ON

LondonDave

Premium Member

If you look at the output of your last screenshot you will see this line:

Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.05SE RELEASE SOFTWARE (fc1)

It booted with the new IOS-XE and your all set.
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

Yes. It was a very straightforward process. I was surprised it went so well first time!
Whereabouts in London are you, London Dave?
aryoba
MVM
join:2002-08-22

aryoba

MVM

said by markysharkey:

Whereabouts in London are you, London Dave?

It's at London ON, Canada I would guess
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

D'oh...
HELLFIRE
MVM
join:2009-11-25

HELLFIRE to markysharkey

MVM

to markysharkey
said by markysharkey:

It took nearly half an hour, as you can see.

Were you locally consoled into that 3850 while you were upgrading... or was this over some dinkly dialup line?

Kinda curious about that...

Regards
tired_runner
Premium Member
join:2000-08-25
CT
·Frontier Communi..

tired_runner to markysharkey

Premium Member

to markysharkey
Yep. I had to do the same with a few 3650's we have.

Took me a while to realize the BIN file installs the packages, it's not just to boot from it.

Code upgrade did take forever and a day.
cramer
Premium Member
join:2007-04-10
Raleigh, NC

cramer

Premium Member

Well, you *can* boot from it.
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey to HELLFIRE

Premium Member

to HELLFIRE
TFTP was over gigE from my PC to the switch. Both had static IP's and I wasn't doing anything else at the time that would take resources away from either. I was watching progress over console.
HELLFIRE
MVM
join:2009-11-25

HELLFIRE to markysharkey

MVM

to markysharkey
257MB file over GigE took 30mins to transfer.... am I missing something here?

Regards
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

Same thing I was. Speed. But I have no idea what or why. I suspect the issue is the TFTD64 software and/or the switch doing things as the traffic arrives but I have no evidence for that, it's just a WAG. .
tired_runner
Premium Member
join:2000-08-25
CT

tired_runner to HELLFIRE

Premium Member

to HELLFIRE
I did it via FTP. I don't remember it taking that long.

LondonDave
Premium Member
join:2011-09-05
London, ON

LondonDave to markysharkey

Premium Member

to markysharkey
Im in London ON. I was over in the UK last summer and had a blast in London. I'd like to go back!
cramer
Premium Member
join:2007-04-10
Raleigh, NC
Westell 6100
Cisco PIX 501

cramer to HELLFIRE

Premium Member

to HELLFIRE
A chunk of your life?

TFTP is a very slow, inefficient protocol -- small packets, asked for one at a time, etc. Plus, the internal flash is dog-slow, too. If the switch is remotely "local" (and has a usb port), do the upgrade in person from USB.
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

said by cramer:

do the upgrade in person from USB.

That's the problem. The USB console doesn't work. TAC told me the software version it shipped with was "very buggy", hence the upgrade.
However, USB console still doesn't work.
I am going to start a new thread for this issue though...
HELLFIRE
MVM
join:2009-11-25

HELLFIRE to markysharkey

MVM

to markysharkey
Hmm, makes sense from that perspective cramer ... truth to tell, I don't use TFTP much
these days but I'd figured it wasn't THAT slow...

Regards

TomS_
Git-r-done
MVM
join:2002-07-19
London, UK

TomS_ to LondonDave

MVM

to LondonDave
said by LondonDave:

I'd like to go back!

Let us know if you do, Marky and I are both in London UK, we could have a Cisco meet up.

Come to think of it, I think we were supposed to meet up at some stage ourselves. :P
HELLFIRE
MVM
join:2009-11-25

HELLFIRE

MVM

...sign me up for that as well. Did london back in 2013(?) , LOVED IT!

Regards

TomS_
Git-r-done
MVM
join:2002-07-19
London, UK

TomS_ to cramer

MVM

to cramer
Ive mostly given up on TFTP for much these reasons.

These days I prefer:

USB storage (thumb drive) if the box has a USB port
SCP if the software supports SSH
Some other method like HTTP or FTP
TFTP as a last resort

Tried recovering a 2960 via xmodem the other day, until a colleage told me there is a way to TFTP. I didnt see him do it, but he managed to fix it much quicker than I could...
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey to TomS_

Premium Member

to TomS_
said by TomS_:

Come to think of it, I think we were supposed to meet up at some stage ourselves. :P

I'm waiting until I'm really in the sh*t at which point beer can be exchanged for tech support!
cramer
Premium Member
join:2007-04-10
Raleigh, NC

cramer to markysharkey

Premium Member

to markysharkey
"from usb" as in "usbdisk0:" -- it doesn't have to be in flash or extracted (into flash) to be processed.

TomS_
Git-r-done
MVM
join:2002-07-19
London, UK

TomS_ to markysharkey

MVM

to markysharkey
said by markysharkey:

I'm waiting until I'm really in the sh*t at which point beer can be exchanged for tech support!

I dont do beer. Will have to be bourbon.

Seems that is the drink of choice around here, for a few.
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

You're back in the UK now dear boy. Single Malt would be the way to go!
HELLFIRE
MVM
join:2009-11-25

HELLFIRE

MVM

I'm a true Canuckistanian... B52 shooters and ice wine is my drink of choice

Regards

DarkLogix
Texan and Proud
Premium Member
join:2008-10-23
Baytown, TX

DarkLogix to TomS_

Premium Member

to TomS_
said by TomS_:

Tried recovering a 2960 via xmodem the other day, until a colleage told me there is a way to TFTP. I didnt see him do it, but he managed to fix it much quicker than I could...

2650? which one? G, X, C, some other letter that tossed on the end?

tubbynet
reminds me of the danse russe
MVM
join:2008-01-16
Gilbert, AZ

tubbynet to HELLFIRE

MVM

to HELLFIRE
said by HELLFIRE:

I'm a true Canuckistanian... B52 shooters and ice wine is my drink of choice

no canadian mist?
i figured you as a real roughneck whiskey drinker, hf.

q.
HELLFIRE
MVM
join:2009-11-25

HELLFIRE

MVM

Tried whiskey once or twice tubbynet , I'll drink it occasionally and only in a mixer, but
generally not my cup of tea.

Regards