Prepare USB disk:
USB drive needs to be formatted as FAT (a.k.a FAT16).
CMD on Windows PC:
diskpart
list disk
select disk <INDEX OF USB DISK>
clean
create part primary size=4000
active
Then format it to FAT in Windows explorer or Disk Management.
only first 4G are formatted and usable for the device.
Install vs. Bundle Mode
Install Mode
out-of-the-box
recommended, more features and fewer resources
Switch# software expand file flash: cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin to flash:
Once this completes, you will have all the needed files in flash. You can then change the boot statement to boot to packages.conf
Switch#Config t
Switch(config)# no boot system
Switch(config): boot system switch all flash:packages.conf (do not modify this file, unless necessary)
Switch#write memory
The provisioning file contains a list of software packages to boot, mount, and run. The ISO file system in each installed package is mounted to the root file system directly from flash.
NOTE **Auto-upgrade is disabled, by default. (once in install mode - execute the following command in global config: software auto-upgrade enable )
NOTE **Auto-upgrade includes an auto-copy process and an auto-extract process.
Bundle Mode
Switch#Config t
Switch(config)# no boot system
Switch(config): boot system switch all flash: cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin
Switch#write memory
The provisioning file contained in a bundle is used to decide which packages to boot, mount, and run. Packages are extracted from the bundle and copied to RAM.
NOTE **Auto install and smart install functionality is not supported in bundle boot mode.
Switch(config)# no boot system
Switch(config): boot system switch all flash: cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin
Switch#write memory
The provisioning file contained in a bundle is used to decide which packages to boot, mount, and run. Packages are extracted from the bundle and copied to RAM.
NOTE **Auto install and smart install functionality is not supported in bundle boot mode.
Recovery from USB
The 3850 has a USB port on the front that can be used for both console access and also the ability to utilize a flash drive for image backup and recovery.
If you happen to be stuck at the switch: prompt with a corrupt image or .conf file, you can easily boot to a file stored on the USB drive.
1. Verify that the flashdrive is recognized and the .bin file exists
switch: dir usbflash0:
Directory of usbflash0:/
74 -rw- 223734376 cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin
2. Boot to the USB image
switch: boot usbflash0:cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin
https://community.cisco.com/t5/networking-knowledge-base/recovering-from-a-3850-boot-failure/ta-p/3136638
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/16-6/release_notes/ol-16-6-3850.html#pgfId-1110759
Maintain the Catalyst 3850 Series Switch
https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3850-series-switches/117552-technote-cat3850-00.html
--- change switch number---
switch 4 renumber 1
reload slot 4
no switch 4 provisioned
reload slot 4
Although the show version output always shows the software image running on the switch, the model name shown at the end of this display is the factory configuration and does not change if you upgrade the software license.
WS-C3850-48P-L LAN Base feature set
WS-C3850-48P-S IP Base feature set
WS-C3850-48P-E IP Services feature set
Manage port
int g0/0
vrf forwarding Mgmt-vrf
ip address 192.168.1.2 255.255.255.0
=========================
How to upgrade your Cisco 3650/3850 Catalyst switches
https://medium.com/@genkiganko/how-to-upgrade-your-cisco-3650-3850-catalyst-switches-dec09610d767
Upgrade from Install mode to Install mode
software install file flash:
Upgrade from Bundle mode to Install mode
software expand file flash:
Comments
Post a Comment