Monday, 10 April 2023

Finding the Manufacturing Date on Cisco Switches

switch# show version

The serial number is in this format: LLLYYWWSSSS

LLL = location of the supplier
YY = year of manufacture
WW = week of manufacture
SSSS = serial-id

Year codes:
01 = 1997
02 = 1998
03 = 1999
04 = 2000
05 = 2001
06 = 2002
07 = 2003
08 = 2004
09 = 2005
10 = 2006
11 = 2007
12 = 2008


Tuesday, 28 March 2023

Cannot connect to one of many SSIDs on a AP

AP has multiple SSIDs but randomly cannot connect to one SSID. The device is trying to negotiate and authenticate but cannot receive an IP address from the AP.  This can cause due to DHCP pool of available IP addresses being exhausted and there are many conflicts. To resolve the issue:

  • connect to the main switch at the site
  • show run | section dhcp
  • clear all conflicts: clear ip dhcp conflict *
  • ip dhcp pool guest_wireless
  • lease for 8 hours: lease 0 8
  • end
  • wr
  • show interface counters errors 


Sunday, 26 March 2023

Testing the Internet Speed via CLI

  • Speed test: npm install -g speed-test
  • to run: speed-test
  • Fast.com: npm install -g fast-cli
  • to run: fast -u


Sunday, 8 January 2023

HCI - Calculating the Available Storage

 For calculating the available storage given a certain number of disks, nodes, and RF:

((disk-size * #disks * #nodes)/RF) * 0.92

OR 

((#disks * #nodes * disk size)*0.93(Metadata)*0.7(Storage Operating Threshold))/(RF(replication Factor)*0.63(Storage Optimization Gain))


Wednesday, 28 December 2022

How to fix Windows 11 update stuck at 0%, 61%, 99%, 100%

  • Turn off Windows Update and Background Intelligent Transfer Service
  • Open the Start menu search, type “cmd”, and then select the “Run as administrator” option to launch an elevated Command Prompt.
  • Execute the command net stop wuauserv and net stop bits in order.
  • Close Command prompt
  • Delete the update files in the SoftwareDistribution folder
  • Navigate to C:\Windows\SoftwareDistribution and select all the files and folders there.
  • Right-click on the selected items and select Delete. If you fail to delete them, restart your computer and try again.
  • Turn on the services again
  • Launch Command Prompt in Admin mode. 
  • Run the command net start wuauserv and net start bits one by one.
  • Exit Command Prompt.


Saturday, 10 December 2022

Setup TFT Server on Windows

  • Download and install the free TFTP Server from SolarWind
  • Configure the server 
  • Push file to tftp server: tftp -i localhost put d:\123.img
  • Pull file from tftp server: tftp -i localhost get 123.img d:\123.img
  • Default tftp file location on disk: C:\TFTP-Root
  • Visit here for more info

Find the Windows Product Key

PowerShell
powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"


Command Prompt
wmic path softwareLicensingService get OA3xOriginalProductKey


Registry
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform


Analysis Service in Power BI Report Server

 We couldn’t connect to the Analysis Services server. Make sure you’ve entered the connection string correctly... link