STP bị tắt hoặc PortFast được cấu hình sai vị trí có thể gây ra Layer 2 Loop
Đây là hai lỗi cấu hình Layer 2 rất quan trọng. STP bị tắt hoặc PortFast được cấu hình sai vị trí có thể gây ra Layer 2 Loop, Broadcast Storm, MAC Address Flapping và làm toàn bộ hệ thống mạng bị gián đoạn. Đặc biệt, nếu hệ thống có nhiều switch Cisco…
Khi hai đầu Switch cấu hình Trunk nhưng Native VLAN khác nhau
Khi hai đầu Switch cấu hình Trunk nhưng Native VLAN khác nhau, đây là tình trạng Native VLAN Mismatch. Tình trạng này thường gặp trên Cisco, Ruckus ICX và các thiết bị Layer 2. 1. Ví dụ cấu hình Giả sử có hai switch kết nối với nhau qua cổng Trunk: SW1…
Explain script : 0 7 * * * grep “Failed password” /var/log/auth.log | awk ‘{print $(NF-3)}’ | sort | uniq -c | sort -rn > /tmp/ssh_fail.txt
This is a Linux Crontab + Bash command pipeline used for SSH security monitoring. It runs every day at 7:00 AM, searches SSH authentication logs for failed login attempts, extracts the suspected source IP addresses, counts failed attempts per IP, sorts…
Check disk space with bash script
Bash monitoring script that checks the disk usage of the root filesystem (/). If disk usage exceeds 80%, it sends an email alert to the system administrator. Let’s break it down line by line. 1. Complete script 2. Explain each command Line 1:…
How to remote connect ssh from windows to ubuntu
To remotely connect from Windows to an Ubuntu server using SSH, you need to install and enable the OpenSSH Server on Ubuntu, then connect using PowerShell or Windows Terminal. Here is a step-by-step guide. 1. Configure SSH Server on Ubuntu First, log in…
Cách cài đặt Ubuntu chi tiết, đầy đủ
Cài đặt hệ điều hành trên máy ảo ngày càng trở nên phổ biến, thích hợp với người dùng muốn trải nghiệm các hệ điều hành khác nhau trên cùng một máy tính. Bài viết hôm nay sẽ giới thiệu với các bạn cách cài đặt Ubuntu trên VMware chi tiết, đầy đủ nhất.…
AWS services
AWS overview
Windows Event ID 4732
A member was added to a security-enabled local group Record when a member is added to a security-enabled local group on windows service
Windows Event ID 4728
A member was added to a Security-Enabled Global Group
Windows Event ID 1102
The Audit Log Was Cleared