Computer >> Hướng Dẫn Máy Tính >  >> Kết Nối Mạng >> An Ninh Mạng

Cách tìm khóa bảo mật mạng (Network Security Key) cho router Cisco

Network Security Key trên Router Cisco là gì?

Trên các router Cisco dòng gia đình/nhỏ (RV series, Meraki Go, Linksys - Cisco owned), gọi là Passphrase / Pre-Shared Key / WPA2/WPA3 Key. Trên router Cisco Enterprise (ISR, ASR, Catalyst) chạy IOS/IOS-XE: thường cấu hình WPA2-Enterprise (802.1X/RADIUS) hoặc WPA2-Personal trên AP controller (WLC) hoặc AP autonomous - key nằm ở cấu hình WLAN/SSID profile.

Cách tìm Key trên các loại thiết bị Cisco phổ biến

1. Cisco RV Series / Small Business Router (Web UI)

  1. Kết nối LAN → Mở trình duyệt → https://192.168.1.1 (mặc định).
  2. Đăng nhập: admin / admin (hoặc mật khẩu đã đặt).
  3. Vào Wireless > Basic Wireless Settings > Wireless Security.
  4. Chọn SSID (Network Name) cần xem.
  5. Security Mode: WPA2-Personal / WPA3-Personal.
  6. Passphrase / Pre-Shared Key → Đây là Network Security Key.

2. Cisco Meraki Go / Meraki MR (Cloud Managed)

  1. Đăng nhập Meraki Dashboard (app.meraki.com / go.meraki.com).
  2. Chọn Organization > Network > Wireless > Configure > Access control / SSID settings.
  3. Chọn SSID > Security tab.
  4. Security Type: WPA2-Personal / WPA3-Personal.
  5. PSK (Pre-Shared Key) → Click mắt 👁 để hiện key.

3. Cisco Aironet AP Autonomous (CLI / Web UI)

CLI (Console/SSH):

enable
show running-config | section dot11 ssid
! Tìm SSID name
show running-config | include wpa-psk
! Hoặc
show dot11 associations client

Key hiển thị dưới dạng encrypted (7) hoặc clear (0). Nếu encrypted: more system:running-config tìm wpa-psk ascii 7 - cần giải mã (Cisco type 7 weak) hoặc reset key mới.

4. Cisco WLC (Wireless LAN Controller) / Catalyst 9800 (CLI/GUI)

GUI: WLANs > chọn WLAN ID > Security > Layer 2 > WPA2-Personal / WPA3-Personal > PSK / Passphrase.

CLI: show run-config wlan → tìm security wpa psk set-key ascii .

Cách chung: Từ thiết bị đã kết nối (Windows/macOS/Linux/Phone)

Áp dụng cho mọi router Cisco nếu thiết bị đang/đã kết nối Wi-Fi đó.

  • Windows: Win+R → ncpa.cpl → Status > Wireless Properties > Security > Show characters.
  • macOS: Keychain Access > System/Login > Passwords > SSID > Show password.
  • Linux (NetworkManager): nmcli -s -g 802-11-wireless-security.psk connection show \"SSID_NAME\" (cần sudo).
  • Android (Root): /data/misc/wifi/wpa_supplicant.conf (cần root). Android 10+: Settings > Network & Internet > Wi-Fi > Tap SSID > Share > QR code/Password.
  • iPhone/iPad: Settings > Wi-Fi > (i) icon > Password (FaceID/TouchID) - iOS 16+.

Nếu quên hoàn toàn & không vào được quản trị

  1. Kết nối Console Cable (RJ45-to-USB/DB9) → PuTTY/Terminal (9600-8-N-1).
  2. Reset password recovery (Break sequence khi boot) → Reset config hoặc đổi enable secret.
  3. Hoặc Reset factory: Nhấn giữ nút Reset 10-15s (RV series, Meraki Go) / write erase + reload (IOS).
  4. Cấu hình lại từ đầu: SSID mới, WPA3-Personal, Passphrase mạnh ≥12 ký tự.

Best Practice Cisco Wireless Security

  • Luôn dùng WPA3-Personal (SAE) hoặc WPA2-AES (CCMP). Cấm TKIP, WEP, WPA1.
  • Enterprise: Triển khai WPA2/3-Enterprise (802.1X/EAP-TLS/PEAP-MSCHAPv2) với RADIUS (ISE, NPS, FreeRADIUS) + Certificates. Không dùng PSK cho doanh nghiệp.
  • Guest Network: Captive Portal + Isolation (Client Isolation / Private VLAN) + Rate limiting.
  • Management Frame Protection (802.11w / PMF): Bắt buộc WPA3, khuyến nghị WPA2.
  • Đổi PSK định kỳ (90-180 ngày) cho mạng PSK. Tự động hóa qua API/Script nếu nhiều AP.