Cisco WS-C3850-48T-E

  1. Start the console session.

    Plug in serial cable to console port of device from PC COM1 port
    Open PuTTY and select "Serial" connection type, leave baud rate (Speed) and other settings as default.
  2. Access the pre-boot switch command line interface.

    Press and hold down the Mode button.
    Cisco WS-C3850-48T-E
    Plug power into device and if a power button exists, turn it on.
    Booting...Initializing RAM +++++++@@@@@@@@...++++++++++++++++++++++++++++++++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @done. Memory Test Pass! Base ethernet MAC Address: b0:7d:47:54:34:80 Interface GE 0 link down***ERROR: PHY link is down
    After 45+ seconds release the Mode button.
    The system has been interrupted prior to initializing some filesystems and loading the operating system software. Console will be reset to 9600 baud rate, need to change terminal setting first. The following commands will initialize the remaining filesystems, and finish loading the operating system software: flash_init boot
    You should be presented with the switch:  prompt.
  3. Bypass startup configuration.

    Type SWITCH_IGNORE_STARTUP_CFG=1 then the reset command, confirming with y:
    switch: SWITCH_IGNORE_STARTUP_CFG=1 switch: reset Are you sure you want to reset the system (y/n)?y System resetting...
  4. Delete configuration files and stop bypassing startup config.

    Further output should bring you to a configuration prompt, type n
    --- System Configuration Dialog --- Enable secret warning ---------------------------------- In order to access the device manager, an enable secret is required If you enter the initial configuration dialog, you will be prompted for the enable secret If you choose not to enter the intial configuration dialog, or if you exit setup without setting the enable secret, please set an enable secret using the following CLI in configuration mode- enable secret 0 <cleartext password> ---------------------------------- % Generating 1024 bit RSA keys, keys will be non-exportable.../no]: n
    Following further output press the Enter key when prompted:
    Press RETURN to get started!
    Type the enable command to access privileged mode, then the erase startup-config command confirming with y
    Switch>enable Switch#erase startup-config Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]y[OK] Erase of nvram: complete
    Type the dir command, then use the del command on all data-bearing files, the Enter key will need to be pressed twice before confirming with y each time:
    Switch#dir Directory of flash:/ 23234 -rwx 2097152 Apr 25 2022 17:32:22 +00:00 nvram_config 23244 -rw- 1249 Sep 23 2015 20:00:36 +00:00 packages.conf 69697 drwx 4096 Sep 23 2015 20:01:03 +00:00 mnt 54211 -rw- 79121160 Sep 23 2015 20:00:31 +00:00 cat3k_caa-base.SPA.03.03.03SE.pkg 54212 -rw- 6484668 Sep 23 2015 20:00:31 +00:00 cat3k_caa-drivers.SPA.03.03.03SE.pkg 54213 -rw- 34522096 Sep 23 2015 20:00:31 +00:00 cat3k_caa-infra.SPA.03.03.03SE.pkg 54214 -rw- 34821452 Sep 23 2015 20:00:31 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ3.pkg 54215 -rw- 25131920 Sep 23 2015 20:00:31 +00:00 cat3k_caa-platform.SPA.03.03.03SE.pkg 54216 -rw- 77312832 Sep 23 2015 20:00:32 +00:00 cat3k_caa-wcm.SPA.10.1.130.0.pkg 23241 -rw- 1276 Apr 25 2022 17:31:56 +00:00 vlan.dat 1621966848 bytes total (1313529856 bytes free) Switch#del nvram_config Delete filename [nvram_config]? Delete flash:/nvram_config? [confirm]y Switch#del vlan.dat Delete filename [vlan.dat]? Delete flash:/vlan.dat? [confirm]y
    Type the conf t command to access config mode, then the no system ignore startupconfig switch all command, followed by pressing Ctrl Z:
    Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#no system ignore startupconfig switch all Applying config on Switch 1...[DONE] Switch(config)# Switch#
    Type the show license all command:
    Switch#show license all Smart Licensing Status ====================== Smart Licensing is ENABLED Registration: Status: UNREGISTERED Export-Controlled Functionality: NOT ALLOWED License Authorization: Status: IN-USE License Conversion: Automatic Conversion Enabled: False Status: Not started Export Authorization Key: Features Authorized: Utility: Status: DISABLED Data Privacy: Sending Hostname: yes Callhome hostname privacy: DISABLED Smart Licensing hostname privacy: DISABLED Version privacy: DISABLED Transport: Type: Callhome License Usage ============== (C3850-48 IP Base): Description: Count: 1 Version: 1.0 Status: IN-USE Export status: NOT RESTRICTED Product Information =================== UDI: PID:WS-C3850-12X48U,SN:FCW2113F14D Agent Version ============= Smart Agent for Licensing: 4.8.16_rel/80 Reservation Info ================ License reservation: DISABLED
  5. Copy all the output from the session into your records.

    Right-click PuTTY's titlebar, from that dropdown menu click on "Copy All to Clipboard"
    Open the file of record certifying the deconfiguration of this device and use CTRL V to paste all the output from PuTTY into that file. Formatting the text with a fixed-width font helps it look more readable.
  6. End the session.

    Close PuTTy.