Category: Tech Blogs
-
linux cmd to check power consumption
check mw per second sudo -i (initial=$(cat /sys/class/powercap/intel-rapl:0/energy_uj); sleep 1; final=$(cat /sys/class/powercap/intel-rapl:0/energy_uj); power_mw=$(( (final – initial) / 1000 )); echo “Power consumption: $power_mw mW”) Not sure if it’s accurate thou.
-
10g homelab router options
banana pi bpi-r4 performance discussion Mikrotik ccr2004-1g-12s-2xs expensive $$$ N100(4c), N305(8c) –10Gbps so so; C3758(R) easily pass 10G performance tes A2SDi-H-TP4F supermicro MB Intel 3958, dual 10 sfp+ & dual 10G base-T very $$$, for reference only A2SDi-H-TP4F
-
install esxi on BOSGAME mini pc with RL8125 NIC
Many mini PCs with Realtek NICs are not natively supported by ESXi. Here’s the steps to install: 1. Install customized ESXI 6.7 ISO (ESXi-6.7.0-20220104001-standard-RL8125NIC.iso). The installation will finish but it won’t support VLAN. 2. Enable SSH on ESXi. Then scp the vib filenet-r8125-9.011.00-10.vib to the /tmp folder. 3. issue cmd “esxcli software vib install -f…
-
An interesting alternative way of subinterface
I was originally searching for a method to change the mac address for the subinterfaces on CSR1000v, and ran into this post. Apparently although the default behavior of subinterface inheriting the physical interface’s mac address can not be changed, with this method the goal can be achieved. The method uses “service instance # ethernet”, along…
-
install PVE on USB sdcard
It was said that PVE does not support installation on a removable media due to frequent RW, which will wear the media out quickly. Therefore, during the installation process, the media, e.g. a sd-card, is not even listed in the dropdown list. I found a workaround for it. In fact, it can be installed directly…
-
Cisco EEM on NXOS
cli match to trigger a syslog msg: (tested on N9K 9.3(10)) event manager applet 1event cli match “show clock” <—-must enter full command instead of shortened onesaction 1.0 syslog priority critical msg SHOW CLOCK FIRED Then for this to be triggered, you need to allow eem command to run by bypassing terminal: terminal event-manager bypass…
-
mail search function not working in MacOS
Run as follows in a terminal: sudo -i mdutil -Ea mdutil -ai off mdutil -ai on
-
Cisco Nexus switch maintenance mode
It’s called Graceful Insertion and Removal (GIR), to put the switch in maintenance mode to isolate the switch from traffic path. So it can be troubleshooted or upgrade without affecting production traffic
-
CBC SWIM failure on C2960X stack switch
According to SR 693554630, 1. Image distribution for stack 2960 does not work with both HTTPS and SCP 2. Both tar and bin file format does not work. As discussed, It is a known issue with no workaround at this moment. Please perform the upgrade manually. According to 694151108 Action plan: – We need…