🏠 home · reset
⟨⟩ sidebar
Aa text size
log in netslice toolkit
🔒

Pro Feature

This tool is part of netslice Pro.
Upgrade to unlock all tools.

BGP, OSPF, SD-WAN, VPN reference
IPv6 cheatsheet & WAN sizing calculator
Vendor CLI comparison (IOS-XE, AOS-CX, JunOS, EOS)
WLC CLI comparison (9800, Aruba, Ruckus, Mist)
Wi-Fi troubleshooting flowchart
SNMP / Syslog / NTP reference
🔑 Log in / Upgrade
Build your network. One slice at a time.
A toolkit for network engineers, built on the STTP (Straight to the Point) approach—fast, focused tools with no fluff.
Browse by subnetting, routing/switching, wireless, and reference.
Your one-stop hub for essential tools and bookmarks.
subnetting
Subnet Calculator
Enter a CIDR block and get network address, broadcast, host range, wildcard mask, usable hosts, and binary breakdown.
subnetting
VLSM Planner
Variable Length Subnet Masking — allocate multiple subnets of different sizes from a single address block, sorted by host requirement.
subnetting
Subnet List
Divide a network into equal-size subnets. Lists all subnets with their network/broadcast addresses and host ranges.
subnetting
Cloud Subnet Calculator
Cloud-aware subnet planning for AWS, Azure, and GCP. Accounts for provider-reserved addresses and shows usable host counts.
subnetting
Overlap Checker
Paste a list of CIDR ranges and instantly detect overlapping or duplicate subnets — essential for route table audits.

route/switch
Route Summarization
Enter a list of subnets and calculate the optimal summary route (supernet) that covers all of them with minimal waste.
🔒 PRO
route/switch
VLAN / Trunk Planner
Build VLAN tables, assign ports, visualize trunk/access port configurations, and parse Aruba AOS-CX running config to detect mismatches.
🔒 PRO
route/switch
PoE Planner
Plan switch PoE budgets. Reference for 802.3af/at/bt standards, per-device power draw for Aruba, Cisco, and Ruckus APs, cameras, and phones.
🔒 PRO
route/switch
Route Preference / AD
Administrative Distance quick reference across Cisco, Aruba, and Juniper. Interactive route conflict resolver — compare two routes, see which wins and why.
🔒 PRO
route/switch
OSPF Planner
Area type reference (stub/NSSA/totally-stub), OSPF cost calculator with reference bandwidth, DR/BDR election rules, and LSA type quick reference.
🔒 PRO
route/switch
BGP Cheatsheet
11-step path selection order with memory aid, well-known communities, FSM states, common techniques (prepending, LOCAL_PREF, MED, route reflectors, RTBH).
🔒 PRO
route/switch
SD-WAN Comparison
Side-by-side comparison of Cisco Viptela, Meraki, Aruba EdgeConnect, Fortinet, VeloCloud, and Versa. NSA vs SA 5G deployment modes and SASE component breakdown.
🔒 PRO
route/switch
WAN Sizing Calculator
Enter branch user count and traffic mix, get recommended per-link circuit size with IPsec overhead, growth buffer, and SD-WAN path split recommendation.
🔒 PRO
route/switch
Path Selection
How SD-WAN picks paths step by step, SLA metric thresholds for voice/video/data, path strategies (active/standby, app-aware, FEC, packet duplication), and BFD reference.
🔒 PRO
route/switch
IPv6 Cheatsheet
Address types (GUA/ULA/link-local/multicast), EUI-64 generation, NDP vs ARP, SLAAC vs DHCPv6, prefix sizing (/48/56/64/127), and well-known multicast addresses.
🔒 PRO
route/switch
VPN Reference
IPsec IKEv2 phases, tunnel vs transport mode, ESP vs AH, DMVPN phases 1/2/3 with NHRP, GRE overhead and gotchas, WireGuard quick reference, and port/protocol table.
🔒 PRO
route/switch
SNMP / Syslog / NTP
SNMPv3 security levels, GET/TRAP/INFORM operations, useful OIDs, syslog severity levels 0–7, facility codes, NTP stratum hierarchy, and NTP best practices.
🔒 PRO
route/switch
Switching Cheatsheet
L2 forwarding, MAC tables, 802.1Q trunking, EtherChannel (LACP/PAgP), STP states and roles, inter-VLAN routing, port security, BPDU guard, storm control, and troubleshooting.
🔒 PRO
route/switch
Routing Cheatsheet
IP routing fundamentals, LPM, CEF/FIB, AD table across Cisco/Aruba/Juniper, static route types, ECMP, OSPF quick reference, redistribution/filtering, PBR, and troubleshooting.
🔒 PRO
route/switch
VoIP Cheatsheet
SIP methods and response codes, call flow, RTP/RTCP/SRTP, codec reference (G.711/G.722/G.729/Opus), DSCP/QoS, voice VLAN design, DHCP provisioning options, and troubleshooting.

wireless
Wi-Fi Channel Visualizer
Visual map of 2.4 GHz, 5 GHz, and 6 GHz channels showing width, overlap, and non-overlapping channel sets.
🔒 PRO
wireless
MCS / RSSI Mapper
Maps RSSI signal levels to MCS index and PHY rates for 802.11n/ac/ax. Shows minimum SNR requirements per MCS.
🔒 PRO
wireless
802.11 Frame Calculator
Calculate frame overhead, payload efficiency, and throughput for 802.11 frames at different MCS rates and frame sizes.
🔒 PRO
wireless
Roam Threshold Advisor
Calculates recommended RSSI roaming thresholds based on environment, AP density, and application type (voice, video, data).
wireless
EIRP Calculator
Calculate Effective Isotropic Radiated Power: Tx power + antenna gain − cable loss. Check against regulatory EIRP limits.
🔒 PRO
wireless
Airtime Utilization
Calculate channel airtime consumed by your client mix. Shows how low-MCS clients starve high-MCS clients and estimates max clients before saturation.
wireless
WPA2 vs WPA3
Side-by-side comparison of WPA2 and WPA3 security modes, authentication methods, encryption, and use-case recommendations.
🔒 PRO
wireless
Power & dB Guide
Reference for dB, dBm, dBi, SNR. Includes dBm-to-mW table, the 3 dB / 10 dB rules, link budget walkthrough, and RF loss values for common building materials.
wireless
802.11 Amendments
Full timeline of 802.11 amendments from original to Wi-Fi 7 (be). Feature comparison table, key non-speed amendments (k/r/v/w), and MLO / 6 GHz notes.
🔒 PRO
wireless
802.11 Frame Cheatsheet
Frame types (management/control/data), MAC header fields, management subtype reference, association process step-by-step, reason codes, and status codes.
🔒 PRO
wireless
EAP / 802.1X Guide
802.1X architecture (supplicant, authenticator, RADIUS), EAP method comparison (PEAP, EAP-TLS, EAP-TTLS, EAP-FAST, EAP-SIM), certificate requirements, and step-by-step auth flow per method.
🔒 PRO
wireless
Wi-Fi Troubleshooting
Layer-by-layer troubleshooting flowchart — RF/signal, association, 802.1X authentication, DHCP, and routing/DNS. Expandable checks with pass/fail criteria and quick triage commands.
🔒 PRO
wireless
WLC CLI Comparison
Wireless controller CLI reference for Cisco 9800 (IOS-XE), Aruba Mobility Controller (AOS8), Ruckus SmartZone, and Juniper Mist. Covers clients, APs, SSIDs, RF, auth/AAA, management, and debug.

🔒 PRO
security
ACL Builder
Build standard and extended ACLs with wildcard mask generation, permit/deny logic, and exportable CLI output for Cisco and Aruba syntax.
🔒 PRO
security
802.1X / NAC Deep Dive
802.1X architecture (supplicant, authenticator, RADIUS), EAP method comparison (PEAP, EAP-TLS, EAP-TTLS, EAP-FAST, EAP-SIM), certificate requirements, and step-by-step auth flow per method.
🔒 PRO
security
Firewall Cheatsheet
Firewall types, zone-based design, NAT types, rule order and implicit deny, common port reference, attack patterns and mitigations, and troubleshooting quick reference.

reference
Ethernet Guide
Cable categories (Cat5e–Cat8), PoE support by cable, Ethernet speeds timeline (10BASE-T → 400GbE), and a quick cable selection guide by scenario.
reference
SFP / Transceiver Guide
Form factor comparison (SFP to QSFP-DD), common module types (SR/LR/ER/DAC/AOC/BiDi) with reach and connector info, plus breakout/fan-out guide.
🔒 PRO
reference
IP Ports & Protocols
IP protocol numbers (TCP/UDP/OSPF/GRE/ESP/VRRP) and common TCP/UDP port reference with network-engineer notes (RADIUS, SNMP, TFTP, Syslog, 802.1X).
🔒 PRO
reference
DSCP / QoS Reference
Full DSCP table with PHB class and drop precedence, WMM access categories (AC_VO/VI/BE/BK) with AIFS/CWmin, and DSCP ↔ 802.1p ↔ WMM mapping.
🔒 PRO
reference
Wireshark Cheatsheet
Display filter cheatsheet, common protocol filters (DHCP, ARP, EAPOL, RADIUS, STP), 802.11 wireless capture & monitor mode tips, built-in statistics tools, and follow stream / export / tshark workflow tips.
🔒 PRO
reference
OS Networking
Networking commands for Linux, macOS, and Windows — tabbed reference covering interface management, routing, DNS, packet capture, port testing, and firewall per OS.
🔒 PRO
reference
4G / 5G Guide
LTE and 5G architecture, radio access technologies (FDD/TDD), frequency bands, NR vs LTE feature comparison, 5G NR sub-6 GHz vs mmWave, network slicing, and carrier aggregation basics.
🔒 PRO
reference
DHCP Cheatsheet
DORA exchange, message types, common options (1/3/6/43/50/51/82/121), lease timers, packet fields, DHCP snooping/DAI/IP Source Guard, and troubleshooting quick reference.
🔒 PRO
reference
VoIP Cheatsheet
SIP methods and response codes, call flow, RTP/RTCP/SRTP, codec reference (G.711/G.722/G.729/Opus), DSCP/QoS, voice VLAN design, DHCP provisioning options, and troubleshooting.
🔒 PRO
reference
Vendor CLI Comparison
Side-by-side CLI reference for Cisco IOS/IOS-XE, Aruba AOS-CX, Juniper JunOS, and Arista EOS. Covers interfaces, switching, routing, OSPF, BGP, show commands, and management. Filter by category or search.
$ calc
10.0.0.0/8 172.16.0.0/12 192.168.1.0/24 10.10.50.0/26 100.64.0.0/10 CGNAT
supernet
$ supernet
subnets needed
parent block
$ block
split into
/ 192.168.0.0/22 → /24 10.0.0.0/20 → /26
cidr blocks to check
routes to summarize
cloud provider
AWS VPC
5 reserved
Azure VNet
5 reserved
GCP VPC
3 reserved
Standard
2 reserved
cidr block
$ cloud
/16 /24 /25 /26 /27 /28
region / country
FCC
frequency band
channel width
channels
spectrum
DFS required
indoor only
overlap zone
summary
overlap analysis
standard
channel width
spatial streams
signal
RSSI dBm noise floor dBm
-45 excellent -60 good -70 fair -75 poor -85 very poor
result
MCS index
data rate
SNR / signal quality
0 dB1020304050 dB
full MCS table
MCS modulation coding min SNR min RSSI rate vs current
parameters
std ?
MCS ?
width ?
streams ?
payload ? bytes
64B 512B 1500B MTU 9000B jumbo
frame type ?
A-MPDU frames ? subframes
what each parameter means
frame breakdown
results
airtime breakdown
Each 802.11 transmission consumes airtime well beyond the data itself. DIFS (Distributed Inter-Frame Space) is the mandatory idle time before any station may transmit — 802.11ac = 34 µs. Backoff is a random additional wait (0–CWmin slots) to reduce collisions. Preamble (PLCP header) is the sync sequence every receiver must decode before the data — legacy rates make this expensive. MAC header is the 802.11 addressing overhead. Data is your actual payload. SIFS (Short IFS = 16 µs) is the gap before the ACK. ACK is the receiver’s acknowledgement frame. The ratio of Data to Total airtime is your frame efficiency — A-MPDU aggregation improves this dramatically by amortising DIFS + preamble + ACK across many subframes.
component duration (μs) % of total
Reading the airtime breakdown DIFS (DCF Interframe Space) — mandatory quiet time before any station may attempt to transmit (~34 µs for 802.11ac). No one can transmit during DIFS.
Backoff — random wait slots added on top of DIFS to avoid collisions when multiple stations are ready. Each failed transmission doubles the contention window (binary exponential backoff).
Preamble — fixed training sequence at the start of every transmission. Lets the receiver synchronize timing, measure channel, and decode the SIGNAL field. 802.11ac HT preamble = 32+ µs depending on configuration.
SIGNAL / Header — PLCP header containing the data rate, length, and other PHY parameters — transmitted at the base rate so all stations can read it.
Data — the actual payload transmission time. This is the only part carrying user data. Notice how small this slice is relative to the total at low MCS or small payloads.
SIFS (Short Interframe Space) — mandatory gap between data frame and its ACK (~16 µs). Shorter than DIFS so the ACK gets priority over other stations.
ACK — the receiver's acknowledgement frame. If this is A-MPDU, a Block ACK bitmap (64-bit) acknowledges multiple subframes at once — this is why A-MPDU efficiency is so much higher than per-frame ACK.

Efficiency % = Data time ÷ Total airtime. At MCS 0 (BPSK 1/2) with 64-byte packets, efficiency can drop below 5% — 95% of the channel is spent on overhead. A-MPDU with 64 subframes at high MCS can push efficiency above 80%.
throughput vs payload size
deployment type
client type
coverage overlap (AP cell edge SNR)
overlap RSSI at edge
-67 dBm
noise floor
-95 dBm
recommended thresholds
roaming timeline
-90 dBm-80-70-60-50 dBm
good coverage
roam candidate zone
sticky / kick zone
no coverage
aruba AOS settings
parameter value location in AOS status
aruba CLI
region
band / channel
frequency band
inputs
TX power (conducted) dBm
antenna gain dBi
cable / connector loss dB
number of TX chains
EIRP result
EIRP
effective isotropic radiated power
EIRP vs regulatory limit
regulatory limits —
band / sub-band max EIRP max mW notes status
PoE budget (W)
port count
quick fill
0 W / 370 W used 370W
0 W
allocated
370 W
remaining
0
ports used
0%
utilization
port #
device type
draw (W)
standard
port map — click to remove   af   at   bt   over budget
standardclassswitch port outputdevice maxpairs usedmin cablecommon use
802.3af (PoE)0–315.4W12.95W2-pairCat3+Basic APs, VoIP phones, cameras
802.3at (PoE+)430W25.5W2-pairCat5e+Wi-Fi 6 APs, PTZ cameras, thin clients
802.3bt Type 3 (PoE++)5–645–60W40–51W4-pairCat5e+ (Cat6a recommended)Wi-Fi 6E/7 tri-radio APs, video phones
802.3bt Type 4 (PoE++)7–871.3–90W62–71.3W4-pairCat6a requiredHigh-end APs, digital displays, pan-tilt cameras
Cisco uPoE / HPE HPoEvendor60W~51W4-pairCat6a recommendedCisco pre-bt solution, Aruba 655/730 series
⚡ Always plan with ~16% line loss between switch port and device. A 25.5W device requires ~30W switch port allocation. Cable length and quality affect actual delivery.
modelWi-Fi genradiosPoE standardswitch port Wdevice Wreduced functionality if underpowered
AP-305Wi-Fi 5 (ac)2.4+5802.3af15.4W12.5WFull functionality on af
AP-315Wi-Fi 5 (ac)2.4+5802.3at30W14.4WRuns on af with IPM
AP-325Wi-Fi 5 (ac)2.4+5802.3at30W20W maxOn af: 2.4GHz drops to 1x1:1. Dual E0/E1 PoE-in — two af sources can be combined.
AP-375Wi-Fi 5 (ac)2.4+5802.3at30W23W maxOutdoor omni. 802.3at required — af insufficient for full operation.
AP-377Wi-Fi 5 (ac)2.4+5802.3at30W23W maxOutdoor directional. Same power profile as AP-375. 802.3at required.
AP-387Wi-Fi 5 (ac)2.4+5802.3at30W22W maxOutdoor IP67. PoE+ required. Cable run <80m recommended.
AP-505Wi-Fi 6 (ax)2.4+5802.3af15.4W12.5WFull functionality on af
AP-515Wi-Fi 6 (ax)2.4+5802.3bt~36W25.5W typ / 30W maxOn at: limited to 2x2 on 5GHz, USB disabled. On af: minimal operation.
AP-518Wi-Fi 6 (ax)2.4+5802.3at / 802.3bt30W (at) / 60W (bt)26.1W (1 port) / 32W (2 port)Hardened outdoor. Dual E0/E1 PoE-in. Combine two 802.3at ports for full power. IPM supported.
AP-535Wi-Fi 6 (ax)2.4+5802.3at30W26.4WOn af: reduced spatial streams, 1Gbps eth only.
AP-555Wi-Fi 6 (ax)2.4+5+5802.3bt45W30W+On at: operates as 4x4 single 5GHz only.
AP-575Wi-Fi 6 (ax)2.4+5802.3at / 802.3bt30W (at) / 60W (bt)26.1W (1 port) / 32W (2 port)Outdoor omni Wi-Fi 6. Dual E0/E1 PoE-in. Single 802.3at = full operation with IPM.
AP-577Wi-Fi 6 (ax)2.4+5802.3at / 802.3bt30W (at) / 60W (bt)26.1W (1 port) / 32W (2 port)Outdoor directional Wi-Fi 6. Same power profile as AP-575. Dual E0/E1 PoE-in.
AP-635Wi-Fi 6E (ax)2.4+5+6802.3at30W23.8WUSB disabled on at. 802.3bt for USB + full power.
AP-655Wi-Fi 6E (ax)2.4+5+6802.3bt45–60W~40WOn 802.3at: 6GHz radio disabled — operates as dual-band only.
AP-675Wi-Fi 6E (ax)2.4+5+6802.3bt60W45.5W maxOutdoor tri-radio omni. 802.3bt required. Cat6a strongly recommended.
AP-677Wi-Fi 6E (ax)2.4+5+6802.3bt60W45.5W maxOutdoor tri-radio directional. Same power profile as AP-675. 802.3bt required. Cat6a required.
AP-730Wi-Fi 7 (be)2.4+5+6802.3bt60W~50WFull 802.3bt required for tri-radio at full capability.
Source: Aruba datasheets and Airheads community PoE quick reference. IPM = Intelligent Power Monitoring — Aruba APs negotiate power via LLDP and reduce functionality gracefully when underpowered.
modelWi-Fi genradiosPoE standardswitch port Wdevice Wreduced functionality if underpowered
C9105AXWi-Fi 6 (ax)2.4+5802.3af15.4W13.8WFull functionality on af
C9115AXWi-Fi 6 (ax)2.4+5802.3at30W21.4WOn af: USB disabled, eth 1Gbps, radios 2x2
C9120AXWi-Fi 6 (ax)2.4+5802.3at30W25.5WOn af: USB disabled, eth 1Gbps, radios 1x1
C9130AXWi-Fi 6 (ax)2.4+5802.3at / uPoE30–60W30.5WOn af: eth 1Gbps, radios 1x1. USB requires uPoE/bt
C9162Wi-Fi 6E (ax)2.4+5+6802.3bt60W~45WOn at: reduced spatial streams on 6GHz
C9164Wi-Fi 6E (ax)2.4+5+6802.3bt60W~50WOn at: 6GHz radio degraded
C9166Wi-Fi 6E (ax)2.4+5+6802.3bt60W~55WFull bt required for beacon protection + GCMP-256
Source: Cisco AP Power Requirements Quick Reference (cisco.com). Note: Most Cisco switches require CDP or LLDP to be enabled to deliver more than 802.3af power — LLDP is disabled by default on many Cisco switches.
modelWi-Fi genradiosmin PoEswitch port W (full)device Wreduced functionality if underpowered
AP24Wi-Fi 6E (ax)2.4+5+6 2x2802.3af15.4W13WFull functionality on af
AP32Wi-Fi 6 (ax)2.4+5 2x2802.3af15.4W~15WOn af: 5GHz 2x2, eth0 1Gbps, eth1 off
AP33Wi-Fi 6 (ax)2.4+5 4x4802.3at30W19.5WOn af: 5GHz reduces to 2x2, eth1 disabled
AP34Wi-Fi 6E (ax)2.4+5+6 2x2802.3at30W20.9WOn af: connects to cloud only to report low power
AP43Wi-Fi 6 (ax)2.4+5 4x4802.3at30W25.5WOn af: 5GHz 2x2, eth1 disabled. Always use at.
AP45Wi-Fi 6E (ax)2.4+5+6 4x4802.3bt45W29.3WOn at: 2x2 on 2.4+6GHz, 4x4 on 5GHz only
AP63Wi-Fi 6 (ax)2.4+5 outdoor802.3at30W25.2WAlways use at. Outdoor — check cable run length.
AP64Wi-Fi 6E (ax)2.4+5+6 outdoor802.3af15.4W13WFull functionality on af
Source: Juniper Mist official PoE requirements documentation (juniper.net). APs use LLDP to negotiate power — ensure LLDP is enabled on the upstream switch. Cisco switches may require manual LLDP enable.
modelWi-Fi genradiosmin PoEswitch port W (full)device Wreduced functionality if underpowered
R350Wi-Fi 6 (ax)2.4+5 2x2802.3af15.4W12.5WFull functionality on af
R550Wi-Fi 6 (ax)2.4+5 2x2+4x4802.3at30W22WOn af: reduced 5GHz spatial streams
R650Wi-Fi 6 (ax)2.4+5 4x4802.3at30W24WOn af: degraded performance
R750Wi-Fi 6 (ax)2.4+5 4x4+4x4802.3at30W26WOn af: IoT radios may be disabled
R850Wi-Fi 6 (ax)2.4+5 2x2+8x8uPoE/PoH60W~35W+On at (Mode 1): 4x4 on 5GHz. On af: minimal
R560Wi-Fi 6E (ax)2.4+5+6 2x2802.3at30W25.5WTri-radio requires 25.5W minimum. Auto-reboot if insufficient for 10+ min.
R760Wi-Fi 6E (ax)2.4+5+6 4x4802.3at30W25.5WTri-radio requires 25.5W minimum. Auto-reboot if insufficient for 10+ min.
R770Wi-Fi 6E (ax)2.4+5+6 4x4802.3bt45–60W~40WOn at: same 25.5W min restriction as R760
T350 outdoorWi-Fi 6 (ax)2.4+5 2x2802.3at30W25WOutdoor rated. Keep cable run <80m. Surge protection recommended.
T750 outdoorWi-Fi 6 (ax)2.4+5 4x4uPoE/bt60W~40WRequires bt or uPoE for full operation. Outdoor rated IP67.
T760 outdoorWi-Fi 6E (ax)2.4+5+6 4x4802.3bt60W~45WTri-radio outdoor. bt required. Use Cat6a for runs over 60m.
Source: Ruckus SmartZone release notes, Ruckus One AP power documentation. R560/R760/R770 will auto-reboot after 10 minutes if PoE supply is insufficient. R850 supports uPoE/PoH via 5Gbps Ethernet interface.
modeltyperesolutionPoE classswitch port Wtypical Wmax Wnotes
M3106-L Mk IIIndoor fixed dome4MPClass 28W4.5W7.5WBasic indoor dome. af fully sufficient.
M4216-LVIndoor varifocal dome4MPClass 310W6W8.5WIR + varifocal. af fully sufficient.
P3255-VIndoor fixed dome2MPClass 28W4.7W8.0WLatest ARTPEC-8 SoC. Deep learning analytics.
P3265-VIndoor varifocal dome2MPClass 310W5.5W9.5WARTPEC-8, Lightfinder 2.0, Forensic WDR.
P3265-LVIndoor IR varifocal2MPClass 313W7.0W11.0WIR illumination increases draw. af sufficient.
P3265-LVEOutdoor IR varifocal2MPClass 315.4W8.5W14.0WOutdoor IP66/67. Heater in cold weather adds ~3W.
M3158-VIndoor panoramic8MPClass 312W6.5W9.0W180° panoramic. af sufficient for most deployments.
Q6135-LEOutdoor PTZ 32x1080pClass 430W18W30WHigh-speed PTZ + OptimizedIR 250m. PoE+ required.
Q6100-EOutdoor 360° PTZ4KClass 430W20W30WMultidirectional outdoor. PoE+ required.
P5676-LEOutdoor PTZ4KClass 430W22W30W4K outdoor PTZ. PoE+ required.
Source: Axis Communications datasheets and Axis power consumption white paper. Typical values are measured with heaters and IR off at room temperature. Maximum includes heaters at full power, IR at 100%, and all motors running. Plan with maximum values for switch budget. Outdoor cameras with heaters draw significantly more in cold climates — add 3–5W buffer per outdoor camera.
modellinesPoE classswitch port Wtypical Wnotes
Cisco 78414-lineClass 15W4.5WBasic af phone. Very low draw.
Cisco 88415-lineClass 28W6.5WMid-range. af sufficient.
Cisco 88515-line + USBClass 312W9.5WUSB charging port adds draw. af sufficient.
Cisco 88615-line + Wi-Fi + BTClass 415.4W13WWi-Fi + Bluetooth + 2 USB. Class 4 required for full feature set.
Cisco 88655-line + video + Wi-FiClass 415.4W15WVideo phone. Class 4 / PoE+ for KEM expansion modules.
Poly VVX 3116-lineClass 15W4.5WEntry level. Very low draw. af more than sufficient.
Poly VVX 41112-lineClass 29W7.5WMid-range color. af sufficient.
Poly VVX 50112-line colorClass 312W10WHigher-end color display. af sufficient.
Poly VVX 60116-line colorClass 312W10WHigh-end. Optional USB camera adds ~2W.
Poly Edge E3006-lineClass 28W6WModern replacement for VVX 311. af sufficient.
Poly Edge E50012-lineClass 312W9WModern replacement for VVX 411/501. af sufficient.
Yealink T46U16-lineClass 16W5.5WVery efficient. af more than sufficient.
Yealink T58W16-line + Wi-FiClass 311W9WWi-Fi + BT. af sufficient.
Source: Cisco IP Phone 8800 series datasheet, Poly/Polycom product datasheets, Yealink datasheets. VoIP phones are generally very PoE-efficient — most run comfortably on 802.3af. Plan 7–12W per phone for budget calculations. Key expansion modules add 2–3W each.
tipdetail
16% line lossIEEE 802.3 allows up to 16% power loss in the cable. A 25.5W device needs ~30.4W allocated at the switch port. Use Cat5e or better — Cat5 degrades efficiency.
LLDP negotiationMost modern APs negotiate power via LLDP. Cisco switches have LLDP disabled by default — enable it or APs may only get 802.3af. Aruba and Juniper APs also fall back gracefully but with reduced features.
Cable length mattersMaximum PoE cable run is 100m (Cat5e+). Longer runs increase resistance and power loss — keep outdoor cable runs under 80m where possible for reliable PoE delivery.
Plan for 80% utilizationNever plan to use 100% of switch PoE budget. A 740W switch should only be loaded to ~592W. Power supplies degrade over time and emergency load spikes happen.
Tri-radio APs need PoE+/btWi-Fi 6E APs with 3 simultaneous radios (2.4+5+6GHz) typically require 802.3at (30W) minimum and often 802.3bt (45-60W) for full performance. Plan accordingly when upgrading infrastructure.
USB + IoT radio adds ~2–5WEnabling USB devices or IoT radios (BLE/Zigbee) adds 2–5W to AP power draw. Factor this in when using APs with IoT capabilities in dense deployments.
Outdoor cable runsKeep outdoor PoE cable runs under 80m (not 100m) to account for increased resistance in outdoor-rated cables and conduit. Always use Cat5e minimum — Cat6a for 802.3bt outdoor deployments. Add surge protection/lightning arrestors at both ends.
Midspan injectors as fallbackIf your switch cannot deliver sufficient PoE, midspan injectors (e.g. Aruba H1 or Cisco AIR-PWRINJ6) can deliver full power to individual APs without replacing switch infrastructure.
settingWPA2WPA3notes
Personal authPSKSAE (Dragonfly)SAE is resistant to offline dictionary attacks — captured handshake cannot be brute-forced
Enterprise auth802.1X + EAP802.1X + EAPSame EAP methods. WPA3-Ent 192-bit mode adds GCMP-256 + ECDH/ECDSA requirements
Forward secrecy✗ none✓ per-session PMKSAE generates a unique PMK each session — past sessions stay protected if PSK is later compromised
Open / unauthenticatedOpen (no encryption)OWE (encrypted, no auth)OWE encrypts traffic without a password. OWE-Transition keeps legacy clients working alongside
Transition / mixed modeSAE-TransitionBoth WPA3-SAE and WPA2-PSK on same SSID. Same passphrase. Requires controller support (see vendor table)
settingWPA2WPA3notes
Unicast cipher (Personal)CCMP-128 (AES)CCMP-128 or GCMP-128GCMP is faster on hardware with AES-GCM acceleration
Unicast cipher (Enterprise)CCMP-128GCMP-256 (192-bit mode)WPA3-Ent 192-bit mandates GCMP-256 — not supported on all AP hardware (see vendor notes)
TKIPallowed (deprecated)removed entirelyWPA3 removes TKIP. TKIP-only clients cannot connect to WPA3 SSIDs
Management frame cipherBIP-CMAC-128 (optional)BIP-CMAC-128 / BIP-GMAC-256Mgmt frame encryption is optional in WPA2, mandatory in WPA3
settingWPA2WPA3notes
PMF requirementoptionalrequiredWPA3 mandates PMF. SAE and OWE will not negotiate without it
Deauth / disassoc attack✗ vulnerable✓ protectedPMF encrypts deauth/disassoc — prevents forced roam and evil twin attacks
Legacy client impactnonemay break pre-2018 clientsSome older drivers reject pmf-required. Use transition mode with pmf-optional for mixed environments
featureAruba AOSCisco IOS-XE (C9800)Juniper MistRuckus SmartZone
WPA3-Personal (SAE) 8.6+ 16.12+ FW 0.8.x+ SZ 5.2+ (Wave2 APs)
SAE Transition (WPA2+WPA3) 8.11+ only 16.12+ FW 0.8.x+ SZ 5.2+
WPA3-Enterprise 8.7+ 16.12+ FW 0.8.x+ SZ 5.2+
WPA3-Enterprise 192-bit 8.7+ 17.1+ (not on 9105/9115/9120) FW 0.14.29091+ Limited AP support
OWE / OWE-Transition 8.11+ only 16.12+ FW 0.8.x+ SZ 5.2+
WPA3 default on new WLANs no no yes (Nov 2025) no
Known bugs / caveats Multicast bug 8.11.0–8.11.1 → min 8.11.2.1 Wave 1 APs not supported. GCMP-256 not on 9105/9110/9115/9120 No major known bugs R310 Wave1 is exception. WPA3+DPSK limited
Fast roaming (802.11r) + WPA3 FT-SAE supported FT-Adaptive not supported with SAE FT-SAE supported WPA3+DPSK limits 802.11r
platformWPA2WPA3-Personal (SAE)WPA3-Enterprise / OWE
Windows 11
Windows 10 (1903+)
Windows 10 (pre-1903)
macOS 10.15+ (Catalina+)
iOS 13+
Android 10+
Android 9 and below
Linux (wpa_supplicant 2.9+)
Chromebook (Chrome OS 79+)
IoT / embedded (most)✗ (rare support)
Legacy / pre-2018 devices
attackWPA2WPA3notes
Offline dictionary / brute-force✗ vulnerable✓ mitigated (SAE)SAE requires live exchange per attempt — offline cracking is not possible
KRACK (CVE-2017-13077)✗ vulnerable (patched)✓ not applicableSAE + PMF design prevents the nonce reuse that KRACK exploited
PMKID offline attack✗ vulnerable✓ mitigatedWPA2 PMKID can be captured without a client. SAE has no equivalent attack vector
Deauth / disassoc flood✗ vulnerable✓ protected (PMF)Unprotected mgmt frames in WPA2 allow forced disconnection attacks
Evil twin / rogue AP✗ partial✓ harderPMF prevents forced roam; SAE prevents credential capture at rogue AP
Dragonblood (SAE side-channel)N/Apatched in WPA3-R2 (2019)Early SAE had timing/cache side-channels. Fixed in Wi-Fi Alliance WPA3 R2 spec revision
Aruba AOS 8.11.2.1+ · WPA3-SAE Transition mode · Mobility Master CLI
! WPA3-SAE Transition — Aruba AOS 8.11.2.1+
! Minimum safe build: 8.11.2.1 (avoids multicast encryption bug)

wlan ssid-profile "Corp-WPA3-Trans"
  essid "Corp-WiFi"
  opmode wpa3-personal-transition
  wpa-passphrase <your-passphrase>
  pmf-optional
!
wlan virtual-ap "Corp-VAP"
  ssid-profile "Corp-WPA3-Trans"
  vlan <your-vlan>
!
ap-group "<your-ap-group>"
  virtual-ap "Corp-VAP"
⚠ AOS 8.10 and below: use opmode wpa2-personal only — transition mode not supported
Cisco Catalyst 9800 · IOS-XE 16.12+ · WPA3-SAE Transition mode
! WPA3-SAE Transition — Cisco IOS-XE 16.12+
! Note: Fast Transition Adaptive not supported with WPA3 SAE

configure terminal
 wlan Corp-WiFi 1 Corp-WiFi
  security wpa wpa3
  security wpa wpa2
  security wpa akm sae
  security wpa akm psk
  security wpa wpa3 ciphers aes
  security pmf optional
  no shutdown
 exit
!
! Apply to policy profile:
wireless profile policy Corp-Policy
  vlan <your-vlan>
  no shutdown
!
wireless tag policy Corp-Tag
  wlan Corp-WiFi policy Corp-Policy
⚠ WPA3 not supported on Wave 1 APs. GCMP-256 not available on C9105/9110/9115/9120.
Juniper Mist · Cloud GUI config (API equivalent shown) · FW 0.8.x+ required
// Juniper Mist — WPA3-SAE Transition via API (PATCH /api/v1/sites/{site_id}/wlans)
// GUI: Site > WLANs > Add WLAN > Security: WPA3/PSK (+WPA-2)

{
  "ssid": "Corp-WiFi",
  "auth": {
    "type": "psk",
    "psk": "<your-passphrase>",
    "multi_psk_only": false
  },
  "wpa3_enabled": true,          // enables SAE
  "wpa2_enabled": true,          // enables transition mode
  "pmf": "optional",
  "vlan_id": <your-vlan>,
  "enabled": true
}

// Note: As of Nov 2025, WPA3 is the DEFAULT security type for new WLANs in Mist.
// WPA3-Enterprise 192-bit requires FW 0.14.29091+ and EAP-TLS only.
✓ No major known WPA3 bugs in Mist. WPA3 is now default for new WLANs.
Ruckus SmartZone 5.2+ · WPA3-SAE Transition · GUI path shown
! Ruckus SmartZone 5.2+ — WPA3/WPA2 Mixed Mode
! GUI: Wireless LANs > Create > Security Options > WPA3/WPA2 Mixed

! SmartZone CLI equivalent:
no aaa wlan <wlan-id>

! Configure via SmartZone GUI:
! Wireless LANs > Add
!   SSID: Corp-WiFi
!   Authentication: WPA3/WPA2 Mixed (SAE + PSK)
!   Passphrase: <your-passphrase>
!   PMF: Optional
!   VLAN: <your-vlan>

! Ruckus One (R1) / Cloud — same options via cloud portal
! Navigate to: Configure > WLANs > Add WLAN > Security: WPA3+WPA2

! Caveats:
! - WPA3 requires 802.11ac Wave2 or newer APs (R310 Wave1 is the one exception)
! - WPA3 + DPSK combined not supported on SZ 6.1.x and below
! - WPA3 + 802.11r: supported in mixed mode; WPA3-Enterprise 192-bit has no fast roaming
⚠ WPA3+DPSK not supported on SZ 6.1.x and below. Most Wave2+ APs supported from SZ 5.2.
scenarioWPA2WPA3recommendation
Corporate — modern clients + 802.1XWPA2-EnterpriseWPA3-EnterpriseAll vendors support from their respective minimums above
Corporate — mixed clients + 802.1XWPA2-EnterpriseWPA3-Ent Transitionpmf-optional. Aruba needs 8.11.2.1+
PSK — modern clients onlyWPA2-PersonalWPA3-SAEPure SAE if all clients are 2019+
PSK — mixed legacy + modernWPA2-PersonalSAE-TransitionAruba: needs 8.11.2.1+. Others: 2020+ builds
Guest / captive portalOpenOWE-TransitionAruba 8.11+. Cisco 16.12+. Mist FW 0.8.x+
IoT / legacy onlyWPA2-Personalnot compatibleStay WPA2-PSK — isolate on dedicated VLAN
6 GHz / Wi-Fi 6E / Wi-Fi 7not permittedWPA3 mandatoryWi-Fi Alliance mandates WPA3 + OWE for 6 GHz operation
categorymax speedbandwidthmax lengthshieldingPoE supportbest for
Cat5 100 Mbps 100 MHz 100m UTP 802.3af only Legacy — avoid for new installs
Cat5e 1 Gbps 100 MHz 100m UTP / STP 802.3af / 802.3at Minimum standard for new deployments. Supports PoE+.
Cat6 1 Gbps (10G up to 55m) 250 MHz 100m (55m at 10G) UTP / STP 802.3af / 802.3at / 802.3bt Good general-purpose cable. 10G limited to short runs.
Cat6a 10 Gbps 500 MHz 100m UTP / STP / SFTP 802.3af / at / bt (Type 3 & 4) Recommended for Wi-Fi 6E/7 APs, 802.3bt deployments, future-proof installs.
Cat7 10 Gbps 600 MHz 100m SFTP (shielded required) bt capable (shielded) Proprietary connectors (GG45/TERA) — avoid unless required. Not a TIA standard.
Cat8 25 / 40 Gbps 2000 MHz 30m S/FTP (shielded required) Not designed for PoE Data center switch-to-switch and server connections only. Very short runs.
⚡ Cat6a is the recommended minimum for 802.3bt (PoE++) deployments. At high power loads, lower-grade cables generate more heat — bundled cable runs amplify this significantly. TIA-568-C.2 recommends derating PoE budgets for bundled cables.
cable802.3af (15.4W)802.3at / PoE+ (30W)802.3bt Type 3 (60W)802.3bt Type 4 (90W)notes
Cat5 ⚠ marginal Higher resistance — voltage drop on long runs. Replace for PoE+.
Cat5e ⚠ possible, not recommended Adequate for PoE+. For bt, use Cat6a to avoid heat buildup in bundles.
Cat6 ⚠ check bundle size Supports bt Type 3. Type 4 at full 90W requires careful bundle derating.
Cat6a Recommended for all PoE++ deployments. Lower resistance = less heat.
Cat7 / Cat8 ⚠ possible ✗ not designed for PoE Cat8 is optimized for short high-speed runs, not PoE delivery.
Bundle derating rule: IEEE 802.3bt recommends reducing per-port PoE budget when cables are bundled. A bundle of 24 Cat5e cables at full 802.3bt load should be derated by ~40%. Use Cat6a to minimize this effect.
standardspeedintroducedmediummax copper distancestatus
10BASE-T 10 Mbps 1990 Cat3+, UTP 100m legacy
100BASE-TX (Fast Ethernet) 100 Mbps 1995 Cat5+, UTP 100m legacy / IoT
1000BASE-T (GbE) 1 Gbps 1999 Cat5e+, 4-pair 100m ubiquitous
2.5GBASE-T 2.5 Gbps 2016 Cat5e+ 100m common — Wi-Fi 6/6E APs
5GBASE-T 5 Gbps 2016 Cat5e+ 100m growing — high-end APs
10GBASE-T 10 Gbps 2006 Cat6a+ (100m), Cat6 (55m) 100m (Cat6a) standard for uplinks / servers
25GBASE-T 25 Gbps 2018 Cat8 30m data center / ToR switches
40GBASE-T 40 Gbps 2016 Cat8 30m data center
100GbE 100 Gbps 2010 Fiber / DAC fiber only (copper DAC ~3m) data center / core
400GbE 400 Gbps 2018 Fiber / DAC fiber only data center spine
2.5G and 5G (NBASE-T / IEEE 802.3bz) were introduced specifically to bridge the gap between 1G and 10G over existing Cat5e/Cat6 cabling — crucial for Wi-Fi 6/6E AP deployments where replacing cabling is costly.
scenariorecommended cablereason
Wi-Fi 6 AP (802.3at)Cat5e minimum, Cat6 preferred1G or 2.5G uplink, PoE+ sufficient
Wi-Fi 6E / 7 AP (802.3bt)Cat6a required2.5G–5G uplink, bt PoE++ heat management
IP camera (indoor)Cat5e100M–1G, low PoE draw, af sufficient
IP camera (outdoor PTZ)Cat5e outdoor-rated, Cat6a preferredPoE+ required, UV/moisture rated jacket
VoIP phoneCat5e100M, very low PoE, af more than sufficient
Switch uplink (1–10G)Cat6a or fiber SFP+10G over Cat6a up to 100m; fiber for longer runs
Server / NIC (10G)Cat6a or fiber DAC10GBASE-T up to 100m, DAC for rack-to-rack
New building install (future-proof)Cat6a everywhereHandles 10G, full 802.3bt PoE++, Wi-Fi 7 ready

VLAN / Trunk Planner

vlans
quick add
ports
portmodenative VLANtagged VLANsuntagged VLANs
paste aruba AOS-CX config
Supports: vlan X, interface 1/1/X, vlan trunk allowed, vlan access, vlan trunk native
form factormax speedlaneshot-swaptypical use
SFP1 Gbps1GbE uplinks, access switches
SFP+10 Gbps110G uplinks, server connections, distribution
SFP2825 Gbps125G server NIC uplinks, leaf-spine fabric
SFP5650 Gbps1 (PAM4)50G high-density data center
QSFP+40 Gbps4 × 10G40G uplinks, spine switches, breakout to 4×10G
QSFP28100 Gbps4 × 25G100G spine/core, breakout to 4×25G or 2×50G
QSFP56200 Gbps4 × 50G (PAM4)200G high-density spine
QSFP-DD400 Gbps8 × 50G (PAM4)400G data center core, AI/ML fabric
OSFP400 / 800 Gbps8 × 50/100G800G next-gen data center (competing with QSFP-DD)
CFP / CFP2 / CFP4100–400 GbpsvariesLong-haul DWDM, service provider edge
modulespeedfiber typewavelengthmax reachconnector
SX1GMMF OM1/OM2850nm550mLC duplex
LX / LX101GSMF1310nm10kmLC duplex
ZX1GSMF1550nm80kmLC duplex
SR (10G)10GMMF OM3/OM4850nm300m (OM3) / 400m (OM4)LC duplex
LR (10G)10GSMF1310nm10kmLC duplex
ER (10G)10GSMF1550nm40kmLC duplex
ZR (10G)10GSMF1550nm80kmLC duplex
DAC (passive)10 / 25 / 40 / 100GCopper twinax1–5mSFP+/QSFP integral
AOC (active)10 / 25 / 40 / 100GMMF fiber850nmup to 100mSFP+/QSFP integral
BiDi (WDM)1G / 10GSMF single strandTX 1310 / RX 1490nm10–20kmLC simplex
⚡ DAC cables are the most cost-effective for rack-to-rack within the same row. AOC for longer inter-rack runs. Use SMF for anything over 550m. BiDi halves fiber strand usage — great for patching efficiency.
source portbreakout tocable / modulenotes
QSFP+ (40G)4 × 10G SFP+QSFP+ to 4× LC or 4× SFP+ DACMost common breakout. Supported on most data center switches.
QSFP28 (100G)4 × 25G SFP28QSFP28 to 4× LC or 4× SFP28 DACLeaf-spine breakout for 25G server connections.
QSFP28 (100G)2 × 50G SFP56QSFP28 to 2× SFP56Less common. Check switch support.
QSFP-DD (400G)8 × 50G SFP56QSFP-DD to 8× SFP56 DACHigh-density 400G breakout for AI/ML GPU fabric.
QSFP-DD (400G)4 × 100G QSFP28QSFP-DD breakout cableSpine to 100G leaf switches.
amendmentwi-fi genyearbandsmax PHY ratekey techstatus
802.1119972.4 GHz2 MbpsDSSS / FHSSobsolete
802.11bWi-Fi 119992.4 GHz11 MbpsDSSS, CCKobsolete
802.11aWi-Fi 219995 GHz54 MbpsOFDM, 52 subcarriersobsolete
802.11gWi-Fi 320032.4 GHz54 MbpsOFDM (backward compat b)legacy
802.11nWi-Fi 420092.4 / 5 GHz600 MbpsMIMO (4×4), 40 MHz ch, A-MPDUlegacy / IoT
802.11acWi-Fi 520135 GHz only6.9 GbpsMU-MIMO DL, 160 MHz, 256-QAM, beamformingwidely deployed
802.11axWi-Fi 6 / 6E20212.4 / 5 / 6 GHz9.6 GbpsOFDMA, MU-MIMO UL+DL, BSS Color, TWT, 1024-QAMcurrent standard
802.11beWi-Fi 720242.4 / 5 / 6 GHz46 GbpsMLO, 320 MHz ch, 4K-QAM, 16×16 MU-MIMO, Multi-RUemerging
featureWi-Fi 4 (n)Wi-Fi 5 (ac)Wi-Fi 6/6E (ax)Wi-Fi 7 (be)
Modulation64-QAM256-QAM1024-QAM4096-QAM
Max channel width40 MHz160 MHz160 MHz320 MHz
Max spatial streams48816
MU-MIMO (DL)✓ (4 users)✓ (8 users)✓ (16 users)
MU-MIMO (UL)
OFDMA✓ + Multi-RU
Target Wake Time (TWT)
BSS Coloring
Multi-Link Operation✓ (MLO)
6 GHz band✓ (6E only)
Security minimumWPA2WPA2WPA3 (6E mandatory)WPA3 mandatory
📡 Wi-Fi 6E = 802.11ax extended to 6 GHz. Adds up to 1200 MHz of clean spectrum (channels 1–233) with no legacy device interference. Wi-Fi 7's MLO lets clients bond channels across 2.4/5/6 GHz simultaneously for lower latency and higher throughput.
amendmentyearpurpose
802.11e2005QoS / WMM — voice and video priority queues (EDCA)
802.11i2004Security — basis for WPA2 (CCMP/AES)
802.11r2008Fast BSS Transition (FT) — faster roaming handoffs
802.11k2008Radio Resource Measurement — neighbor reports for assisted roaming
802.11v2011BSS Transition Management — AP can suggest clients roam
802.11w2009Management Frame Protection (MFP) — protects deauth/disassoc frames
802.11u2011Interworking — basis for Hotspot 2.0 / Passpoint
802.11s2011Mesh networking standard
802.11p2010WAVE — vehicular / V2X communications (DSRC)
802.11ai2016Fast Initial Link Setup (FILS) — sub-100ms association
numberprotocoldescriptioncommon use
1ICMPInternet Control Message Protocolping, traceroute, unreachable messages
2IGMPInternet Group Management Protocolmulticast group membership
6TCPTransmission Control Protocolreliable, connection-oriented transport
17UDPUser Datagram Protocollow-latency, connectionless transport
41IPv6IPv6 encapsulationIPv6-in-IPv4 tunnels (6in4)
47GREGeneric Routing EncapsulationVPN tunnels, PPTP, ERSPAN
50ESPEncapsulating Security PayloadIPsec encrypted payload
51AHAuthentication HeaderIPsec integrity / authentication
58ICMPv6ICMP for IPv6NDP, router discovery, ping6
89OSPFOpen Shortest Path Firstlink-state routing protocol
112VRRPVirtual Router Redundancy Protocolgateway redundancy
132SCTPStream Control Transmission Protocoltelecom / signaling (SS7, Diameter)
portprotoservicenotes
20 / 21TCPFTPData / control. Unencrypted — avoid on production
22TCPSSHSecure remote shell, SCP, SFTP
23TCPTelnetunencrypted — legacy only
25TCPSMTPEmail delivery between servers
53TCP/UDPDNSUDP for queries, TCP for zone transfers / large responses
67 / 68UDPDHCPServer:67, Client:68
69UDPTFTPFirmware upgrades, PXE boot, config backups
80TCPHTTPWeb — unencrypted. Redirect to 443 in production.
123UDPNTPTime sync — critical for certificates, logs, Kerberos
161 / 162UDPSNMPPoll:161, Trap:162. Use v3 with auth+priv in production.
389TCP/UDPLDAPDirectory services. Use 636 (LDAPS) in production.
443TCPHTTPSTLS web traffic, REST APIs, WebSockets
445TCPSMBWindows file sharing, Active Directory
514UDPSyslogNetwork device logging. Use 6514 (TLS syslog) for secure.
636TCPLDAPSLDAP over TLS — use instead of 389
1812 / 1813UDPRADIUSAuth:1812, Accounting:1813. Used by 802.1X / WPA2/3-Ent
3389TCPRDPWindows Remote Desktop Protocol
4500UDPIKE NAT-TIPsec NAT traversal (alongside UDP 500)
8080 / 8443TCPAlt HTTP/HTTPSDev/proxy web traffic. Common on Aruba Central, NMS tools.
DSCP namedecimalbinary (6-bit)IP PrecPHB classtraffic typedrop precedence
CS0 / BE00000000DefaultBest effort — unclassified traffic
EF461011105Expedited ForwardingVoIP RTP, real-time video, latency-sensitiveLow (prioritized queue)
CS6481100006Network ControlRouting protocols (OSPF, BGP, EIGRP)
CS7561110007Network ControlReserved — rarely used in practice
AF11100010101AF Class 1Bulk data, low-priority transfersLow
AF12120011001AF Class 1Bulk dataMedium
AF13140011101AF Class 1Bulk dataHigh
AF21180100102AF Class 2Transactional / interactive dataLow
AF22200101002AF Class 2Transactional dataMedium
AF23220101102AF Class 2Transactional dataHigh
AF31260110103AF Class 3Streaming / mission-critical appsLow
AF32280111003AF Class 3Streaming appsMedium
AF33300111103AF Class 3Streaming appsHigh
AF41341000104AF Class 4Video conferencing, interactive videoLow
AF42361001004AF Class 4Video conferencingMedium
AF43381001104AF Class 4Video conferencingHigh
CS180010001ScavengerLow-priority / scavenger class (P2P, backup)
CS2–CS516/24/32/40varies2–5Class SelectorLegacy IP precedence mapping
DSCP = 6 most significant bits of the IP ToS byte (DSCP value × 4 = ToS byte value). AF drop precedence: within the same AF class, higher precedence = dropped first under congestion. EF at DSCP 46 is the standard for VoIP — it gets a dedicated low-latency queue.
WMM ACpriority802.1pDSCPtraffic typeAIFSCWmin
AC_VOHighest6–7EF (46), CS6/7VoIP, voice calls23
AC_VIHigh4–5AF41 (34)Video streaming, conferencing27
AC_BENormal0, 3CS0 (0), AF21Best effort — web, email, data315
AC_BKLow1–2CS1 (8)Background — backup, P2P, print715
AIFS = Arbitration InterFrame Space. Lower AIFS = less wait before transmitting = higher priority. CWmin = minimum contention window — smaller window = fewer backoff slots = faster access. WMM maps wired DSCP/802.1p markings to wireless access categories at the AP.
traffic classDSCPdecimal802.1p (CoS)WMM AC
VoIP / voiceEF465 or 6AC_VO
Call signaling (SIP)CS3243AC_VI
Video conferencingAF41344AC_VI
Streaming videoAF31264AC_VI
Routing protocolsCS6486AC_VO
Transactional / ERPAF21182AC_BE
Best effort / webCS000AC_BE
Scavenger / P2PCS181AC_BK
unitdefinitionreference pointused forexample
dB Decibel — a ratio between two values on a logarithmic scale. Not an absolute value. Relative — compares two power levels Gain, loss, difference between two signals Antenna gain: +6 dB (4× more power than reference)
dBm Decibels relative to 1 milliwatt. An absolute power measurement. 0 dBm = 1 mW Tx power, RSSI, received signal strength AP Tx power: 20 dBm = 100 mW
dBi Decibels relative to an isotropic antenna (theoretical perfect radiator). 0 dBi = isotropic radiator Antenna gain specification Dipole antenna: 2.14 dBi gain over isotropic
dBd Decibels relative to a dipole antenna. Add 2.14 to convert to dBi. 0 dBd = dipole antenna Antenna gain (older spec sheets) 3 dBd = 5.14 dBi
Key insight: dB is always a ratio (gain or loss). dBm is an absolute power level. You can add dB to dBm to get dBm — e.g. 20 dBm Tx + 6 dBi antenna = 26 dBm EIRP. You cannot add dBm to dBm.
dBmmilliwatts (mW)wattstypical meaning
30 dBm1000 mW1 WMaximum allowed EIRP in many regions (FCC outdoor)
27 dBm500 mW0.5 WHigh-power outdoor AP Tx power
23 dBm200 mW0.2 WHigh indoor AP Tx — typically reduced to avoid co-channel
20 dBm100 mW0.1 WCommon indoor AP Tx power on 5 GHz
17 dBm50 mW0.05 WModerate AP Tx power — good for dense deployments
14 dBm25 mW0.025 WReduced power for high-density / co-channel control
10 dBm10 mW0.01 WLow Tx — short range, IoT devices
0 dBm1 mW0.001 WReference point — 0 dBm by definition
−10 dBm0.1 mW100 µWVery low power
−30 dBm0.001 mW1 µWExcellent received signal (very close to AP)
−70 dBm0.0000001 mW100 pWMarginal received signal — near edge of coverage
Formula: dBm = 10 × log₁₀(mW). Reverse: mW = 10^(dBm/10). A useful anchor: 0 dBm = 1 mW, 10 dBm = 10 mW, 20 dBm = 100 mW, 30 dBm = 1000 mW (1 W).
ruleeffect on powerdirectionreal-world example
+3 dB 2× power increase 20 dBm → 23 dBm doubles radiated power (100 mW → 200 mW)
−3 dB ½ power decrease 20 dBm → 17 dBm halves power (100 mW → 50 mW). Lossy cable, splitter.
+10 dB 10× power increase 20 dBm → 30 dBm = 10× more power (100 mW → 1000 mW)
−10 dB ÷10 power decrease 20 dBm → 10 dBm = 10× less power. Each wall adds ~3–15 dB of loss.
+6 dB 4× power increase High-gain directional antenna vs omni. Doubles range in open space.
−6 dB ¼ power decrease Doubling distance in free space loses ~6 dB (inverse square law).
+20 dB 100× power increase High-gain dish vs dipole. −50 dBm vs −70 dBm RSSI = 100× stronger signal.
−20 dB ÷100 power decrease Typical loss through a concrete wall + floor in a multi-story building.
Memory trick: 3 dB = double/half, 10 dB = ×10/÷10. Chain them: +13 dB = +10 dB + +3 dB = ×10 × ×2 = ×20 power. −7 dB = −10 dB + +3 dB = ÷10 × ×2 = ÷5 power.
scenariocalculationresulttakeaway
AP link budget 20 dBm Tx + 3 dBi antenna − 2 dB cable loss = 21 dBm EIRP Just add and subtract — dB math is arithmetic on the log scale
Client receives −65 dBm, noise floor −95 dBm −65 − (−95) = 30 dB = 30 dB SNR Good SNR — supports MCS 9+ (256-QAM)
Doubling Tx power from 100 mW to 200 mW +3 dB = +3 dBm Barely noticeable to a client — human perception threshold ~6 dB
Client moves from −55 dBm to −61 dBm 6 dB drop = ÷4 power = 4× weaker signal May trigger MCS rate drop — watch for throughput impact
Wall penetration loss (drywall) ~3 dB loss = ½ signal power Concrete: 10–15 dB. Brick: 8–12 dB. Glass: 2–3 dB. Metal: 20–30 dB.
Free space path loss (doubling distance) ~6 dB additional loss = ¼ signal power Every time you double the distance, you lose 6 dB (inverse square law)
Co-channel interference threshold Desired signal − interference > 20 dB = 100:1 ratio 802.11 needs ~20 dB SIR to decode reliably at higher MCS rates
dB changepower multipliersignal stronger/weaker
+1 dB×1.2626% more power
+3 dB×2double
+6 dB×44× — doubles usable range in free space
+10 dB×1010×
+13 dB×2020× (10 + 3)
+20 dB×100100×
+30 dB×10001000×
−1 dB×0.7921% less power
−3 dB×0.5half
−6 dB×0.25quarter
−10 dB×0.1tenth
−20 dB×0.01hundredth
unitdefinitionreference pointused forexample
dB Decibel — a ratio between two values on a logarithmic scale. Not an absolute value. Relative — compares two power levels Gain, loss, difference between two signals Antenna gain: +6 dB (4× more power than reference)
dBm Decibels relative to 1 milliwatt. An absolute power measurement. 0 dBm = 1 mW Tx power, RSSI, received signal strength AP Tx power: 20 dBm = 100 mW
dBi Decibels relative to an isotropic antenna (theoretical perfect radiator). 0 dBi = isotropic radiator Antenna gain specification Dipole antenna: 2.14 dBi gain over isotropic
dBd Decibels relative to a dipole antenna. Add 2.14 to convert to dBi. 0 dBd = dipole antenna Antenna gain (older spec sheets) 3 dBd = 5.14 dBi
Key insight: dB is always a ratio (gain or loss). dBm is an absolute power level. You can add dB to dBm to get dBm — e.g. 20 dBm Tx + 6 dBi antenna = 26 dBm EIRP. You cannot add dBm to dBm.
dBmmilliwatts (mW)wattstypical meaning
30 dBm1000 mW1 WMaximum allowed EIRP in many regions (FCC outdoor)
27 dBm500 mW0.5 WHigh-power outdoor AP Tx power
23 dBm200 mW0.2 WHigh indoor AP Tx — typically reduced to avoid co-channel
20 dBm100 mW0.1 WCommon indoor AP Tx power on 5 GHz
17 dBm50 mW0.05 WModerate AP Tx power — good for dense deployments
14 dBm25 mW0.025 WReduced power for high-density / co-channel control
10 dBm10 mW0.01 WLow Tx — short range, IoT devices
0 dBm1 mW0.001 WReference point — 0 dBm by definition
−10 dBm0.1 mW100 µWVery low power
−30 dBm0.001 mW1 µWExcellent received signal (very close to AP)
−70 dBm0.0000001 mW100 pWMarginal received signal — near edge of coverage
Formula: dBm = 10 × log₁₀(mW). Reverse: mW = 10^(dBm/10). A useful anchor: 0 dBm = 1 mW, 10 dBm = 10 mW, 20 dBm = 100 mW, 30 dBm = 1000 mW (1 W).
ruleeffect on powerdirectionreal-world example
+3 dB 2× power increase 20 dBm → 23 dBm doubles radiated power (100 mW → 200 mW)
−3 dB ½ power decrease 20 dBm → 17 dBm halves power (100 mW → 50 mW). Lossy cable, splitter.
+10 dB 10× power increase 20 dBm → 30 dBm = 10× more power (100 mW → 1000 mW)
−10 dB ÷10 power decrease 20 dBm → 10 dBm = 10× less power. Each wall adds ~3–15 dB of loss.
+6 dB 4× power increase High-gain directional antenna vs omni. Doubles range in open space.
−6 dB ¼ power decrease Doubling distance in free space loses ~6 dB (inverse square law).
+20 dB 100× power increase High-gain dish vs dipole. −50 dBm vs −70 dBm RSSI = 100× stronger signal.
−20 dB ÷100 power decrease Typical loss through a concrete wall + floor in a multi-story building.
Memory trick: 3 dB = double/half, 10 dB = ×10/÷10. Chain them: +13 dB = +10 dB + +3 dB = ×10 × ×2 = ×20 power. −7 dB = −10 dB + +3 dB = ÷10 × ×2 = ÷5 power.
scenariocalculationresulttakeaway
AP link budget 20 dBm Tx + 3 dBi antenna − 2 dB cable loss = 21 dBm EIRP Just add and subtract — dB math is arithmetic on the log scale
Client receives −65 dBm, noise floor −95 dBm −65 − (−95) = 30 dB = 30 dB SNR Good SNR — supports MCS 9+ (256-QAM)
Doubling Tx power from 100 mW to 200 mW +3 dB = +3 dBm Barely noticeable to a client — human perception threshold ~6 dB
Client moves from −55 dBm to −61 dBm 6 dB drop = ÷4 power = 4× weaker signal May trigger MCS rate drop — watch for throughput impact
Wall penetration loss (drywall) ~3 dB loss = ½ signal power Concrete: 10–15 dB. Brick: 8–12 dB. Glass: 2–3 dB. Metal: 20–30 dB.
Free space path loss (doubling distance) ~6 dB additional loss = ¼ signal power Every time you double the distance, you lose 6 dB (inverse square law)
Co-channel interference threshold Desired signal − interference > 20 dB = 100:1 ratio 802.11 needs ~20 dB SIR to decode reliably at higher MCS rates
dB changepower multipliersignal stronger/weaker
+1 dB×1.2626% more power
+3 dB×2double
+6 dB×44× — doubles usable range in free space
+10 dB×1010×
+13 dB×2020× (10 + 3)
+20 dB×100100×
+30 dB×10001000×
−1 dB×0.7921% less power
−3 dB×0.5half
−6 dB×0.25quarter
−10 dB×0.1tenth
−20 dB×0.01hundredth
termdefinitionformulakey point
dB Decibel — a ratio between two power levels. Not an absolute unit. dB = 10 × log₁₀(P₂ / P₁) Always relative. "3 dB gain" means 2× the power of a reference — but what reference?
dBm Decibels relative to 1 milliwatt. An absolute power level. dBm = 10 × log₁₀(mW / 1mW) 0 dBm = 1 mW. Every +10 dBm = 10× more power. Every +3 dBm ≈ 2× more power.
dBi Antenna gain relative to an isotropic (perfect omnidirectional) radiator. dBi = gain vs theoretical point An antenna with 6 dBi gain focuses power 4× more than a perfect sphere radiator.
dBd Antenna gain relative to a dipole antenna. dBd = dBi − 2.15 Dipole ≈ 2.15 dBi. Always clarify which reference an antenna spec uses.
RSSI Received Signal Strength Indicator — vendor-specific scale, often maps to dBm. unitless (0–255 or 0–100) Not standardized. Most Wi-Fi tools display RSSI as dBm for clarity. Always verify units.
SNR Signal-to-Noise Ratio — how far signal is above the noise floor. SNR (dB) = RSSI − noise floor Noise floor is typically −95 to −100 dBm. SNR >25 dB is needed for high MCS rates.
💡 The key insight: dB is a ratio (dimensionless), dBm is an absolute level. You add dB gains and subtract dB losses. You cannot add two dBm values together — that would be like adding two temperatures to get a combined temperature.
dBmmilliwattsdescriptiontypical context
30 dBm1000 mW (1W)Maximum legal EIRP in some bandsOutdoor bridge / high-power AP
27 dBm500 mWHigh-power outdoor APPoint-to-multipoint deployments
24 dBm250 mWHigh indoor / outdoor AP TxCommon max for enterprise indoor APs
23 dBm200 mWCommon enterprise AP Tx powerAruba, Cisco, Extreme at full power
20 dBm100 mWTypical indoor AP, medium powerMost enterprise APs at reduced power
17 dBm50 mWModerate power — high densityTypical in high-density deployments
14 dBm25 mWLow power — dense AP placementStadium / conference room deployments
10 dBm10 mWVery low powerIoT devices, BLE beacons
0 dBm1 mWReference pointDefinition of 0 dBm
−10 dBm0.1 mWVery weak transmit / strong receiveNear-AP client RSSI
−30 dBm0.001 mWExcellent RSSIClient 1–2m from AP
−67 dBm0.0000002 mWGood RSSI thresholdMinimum for voice / video
−70 dBm0.0000001 mWAcceptable data RSSITypical roaming trigger point
−80 dBm0.00000001 mWWeak — low MCS onlyEdge of coverage, MCS 0–1
−90 dBm0.000000001 mWNear noise floorUnusable for data
💡 The mW values get tiny fast because the dB scale is logarithmic. A -67 dBm signal is 200 picowatts — your AP is detecting signals 50 billion times weaker than its own transmit power. This is why antenna placement and avoiding interference sources matters so much.
rulepower effectexamplepractical meaning
+3 dB ≈ 2× more power 20 dBm → 23 dBm 100 mW → ~200 mW. Doubling Tx power only adds 3 dB — often not worth the interference increase.
−3 dB ≈ half the power 23 dBm → 20 dBm A 3 dB cable loss cuts your signal in half before it reaches the antenna.
+10 dB 10× more power 20 dBm → 30 dBm 100 mW → 1000 mW. Huge jump. Regulatory EIRP limits exist to prevent this being abused.
−10 dB 1/10th the power −60 dBm → −70 dBm RSSI dropping 10 dB is a massive degradation. Client drops 2–3 MCS tiers.
+6 dB 4× more power Antenna upgrade: 0 → 6 dBi A 6 dBi directional antenna quadruples effective radiated power vs an isotropic source.
−6 dB 1/4 the power Distance doubles (free space) In free space, every time distance doubles, signal drops ~6 dB. Indoors is much worse.
🧮 Quick mental math: memorize +3 dB = ×2 and +10 dB = ×10. Everything else follows. +6 dB = ×4, +7 dB ≈ ×5, +13 dB = ×20, +20 dB = ×100. For negative values, flip it: −20 dB = 1/100th the power.
elementdB valuerunning totalnotes
AP Tx power+20 dBm20 dBm100 mW transmit power
Cable / connector loss−1 dB19 dBmShort pigtail cable
Antenna gain+5 dBi24 dBm EIRPDirectional antenna — EIRP is the number that matters for regulatory limits
Free-space path loss (50m, 5GHz)−88 dB−64 dBmSignal received at the client
Wall penetration loss (×2 walls)−14 dB−78 dBm~7 dB per drywall partition
Client antenna gain+2 dBi−76 dBm RSSITypical laptop internal antenna
📐 EIRP (Effective Isotropic Radiated Power) = Tx Power (dBm) + Antenna Gain (dBi) − Cable Loss (dB). This is the number regulators care about. In the US, max EIRP on 5 GHz UNII-1 is 23 dBm (200 mW). You can use a high-gain antenna as long as you reduce Tx power to stay within the EIRP limit.
material / obstacletypical loss (dB)notes
Free space (distance doubles)−6 dBTheoretical. Real-world is worse due to reflections.
Drywall / partition3–5 dBMost common office obstacle
Wooden door3–5 dBSimilar to drywall
Brick / concrete block wall8–15 dBSignificant loss — one wall can kill coverage
Reinforced concrete15–25 dBParking garages, bunkers — plan extra APs
Metal door / filing cabinet20–30 dBNear-complete block. Creates RF dead zones.
Glass window (standard)2–3 dBLow loss — but reflections cause multipath
Low-E glass (energy efficient)20–30 dBMetallic coating blocks RF almost entirely
Human body3–5 dBCrowds absorb RF — factor in for high-density
Floor / ceiling (concrete)10–15 dBBetween floors in a multi-storey building
LMR-400 coax (per metre)~0.23 dB/m @ 2.4GHzLow-loss cable — use the shortest run possible
LMR-400 coax (per metre)~0.44 dB/m @ 5GHzLoss doubles at 5 GHz vs 2.4 GHz
⚠ Low-E glass is the most commonly overlooked RF blocker in modern buildings. A floor-to-ceiling energy-efficient window can cause 20–30 dB loss — equivalent to a concrete wall. Always ask about glazing spec during site surveys.
airtime utilization calculator
Calculates channel airtime consumed by clients at different MCS rates. Lower MCS (weaker signal) clients consume more airtime, starving higher-rate clients and reducing overall AP capacity.
presets:
ap configuration
Wi-Fi standard
Channel width
Spatial streams (AP)
Overhead factor
client mix
Enter number of clients per signal quality tier. Each tier maps to a typical MCS index.
Excellent (MCS 9–11, >-65 dBm) clients
Good (MCS 5–8, -65 to -70 dBm) clients
Fair (MCS 2–4, -70 to -75 dBm) clients
Poor (MCS 0–1, <-75 dBm) clients
Avg traffic per client Mbps
Add switches with their bridge priority and MAC address. Add links between them with path cost. The tool calculates root bridge election, port roles, and visualizes the spanning tree topology.
switches
name
bridge priority
MAC address
links
from switch
to switch
path cost
featureSTP (802.1D)RSTP (802.1w)MSTP (802.1s)
StandardIEEE 802.1D-1998IEEE 802.1w → merged into 802.1D-2004IEEE 802.1s → merged into 802.1Q
Convergence time30–50 seconds< 1 second< 1 second per instance
Port statesBlocking, Listening, Learning, Forwarding, DisabledDiscarding, Learning, ForwardingDiscarding, Learning, Forwarding (per instance)
Port rolesRoot, Designated, BlockedRoot, Designated, Alternate, BackupRoot, Designated, Alternate, Backup, Master
VLAN supportSingle instance (all VLANs)Single instance (all VLANs)Multiple instances — per VLAN group
BPDU handlingRelays BPDUs from rootEach switch generates BPDUsEach switch generates BPDUs per instance
Topology changeTCN floods entire network, 30s+ to reconvergeRapid transition, port-by-port handshakePer-instance topology change
Cisco proprietary variantsPVST+ (per-VLAN STP)Rapid PVST+
Use todayLegacy onlyDefault on most modern switchesEnterprise multi-VLAN environments
parameterdefault valuerangedescription
Hello time2 seconds1–10sInterval between BPDUs sent by root bridge
Forward delay15 seconds4–30sTime spent in Listening and Learning states each
Max age20 seconds6–40sTime before a BPDU is considered stale
Convergence (STP)30–50 secondsMax age + 2× forward delay = 50s worst case
Convergence (RSTP)< 1 secondProposal/agreement handshake replaces timers
Bridge priority327680–61440 (steps of 4096)Lower = more likely to become root bridge
Bridge IDpriority + MAC8-byte value: 2 bytes priority + 6 bytes MAC. Lower Bridge ID wins root election.
Path cost (10G)2IEEE 802.1D-2004 long path cost
Path cost (1G)4IEEE 802.1D-2004 long path cost
Path cost (100M)19IEEE 802.1D-1998 short path cost (still widely used)
Path cost (10M)100IEEE 802.1D-1998 short path cost
Root bridge election: lowest Bridge Priority wins. Tie → lowest MAC address wins. To influence election: set priority to 0 or 4096 on the desired root. Use spanning-tree vlan X priority 0 on Cisco or spanning-tree priority 0 on Aruba AOS-CX.
roleper switchstatedescription
Root Port (RP)One per non-root switchForwardingPort with the lowest root path cost on a non-root switch. Best path toward root bridge.
Designated Port (DP)One per segmentForwardingForwards frames on a given segment. All root bridge ports are designated. One per link.
Blocked / Alternate (BLK)Remaining portsBlockingDiscards frames to prevent loops. In RSTP called Alternate port — takes over if root port fails.
Backup PortRSTP onlyDiscardingRSTP only. Redundant path to a segment where this switch already has a designated port (hub scenario).
prefix subnet mask wildcard total hosts usable hosts binary mask network host common use
/0 0.0.0.0 255.255.255.255 4295.0M 4295.0M 00000000.00000000.00000000.00000000 entire internet
/1 128.0.0.0 127.255.255.255 2147.5M 2147.5M 10000000.00000000.00000000.00000000
/2 192.0.0.0 63.255.255.255 1073.7M 1073.7M 11000000.00000000.00000000.00000000
/3 224.0.0.0 31.255.255.255 536.9M 536.9M 11100000.00000000.00000000.00000000
/4 240.0.0.0 15.255.255.255 268.4M 268.4M 11110000.00000000.00000000.00000000
/5 248.0.0.0 7.255.255.255 134.2M 134.2M 11111000.00000000.00000000.00000000
/6 252.0.0.0 3.255.255.255 67.1M 67.1M 11111100.00000000.00000000.00000000
/7 254.0.0.0 1.255.255.255 33.6M 33.6M 11111110.00000000.00000000.00000000
/8 255.0.0.0 0.255.255.255 16.8M 16.8M 11111111.00000000.00000000.00000000 class A
/9 255.128.0.0 0.127.255.255 8.4M 8.4M 11111111.10000000.00000000.00000000
/10 255.192.0.0 0.63.255.255 4.2M 4.2M 11111111.11000000.00000000.00000000
/11 255.224.0.0 0.31.255.255 2.1M 2.1M 11111111.11100000.00000000.00000000
/12 255.240.0.0 0.15.255.255 1.0M 1.0M 11111111.11110000.00000000.00000000
/13 255.248.0.0 0.7.255.255 524.3K 524.3K 11111111.11111000.00000000.00000000
/14 255.252.0.0 0.3.255.255 262.1K 262.1K 11111111.11111100.00000000.00000000
/15 255.254.0.0 0.1.255.255 131.1K 131.1K 11111111.11111110.00000000.00000000
/16 255.255.0.0 0.0.255.255 65.5K 65.5K 11111111.11111111.00000000.00000000 class B (65K hosts)
/17 255.255.128.0 0.0.127.255 32.8K 32.8K 11111111.11111111.10000000.00000000
/18 255.255.192.0 0.0.63.255 16.4K 16.4K 11111111.11111111.11000000.00000000
/19 255.255.224.0 0.0.31.255 8.2K 8.2K 11111111.11111111.11100000.00000000
/20 255.255.240.0 0.0.15.255 4.1K 4.1K 11111111.11111111.11110000.00000000 4K hosts
/21 255.255.248.0 0.0.7.255 2.0K 2.0K 11111111.11111111.11111000.00000000 2K hosts
/22 255.255.252.0 0.0.3.255 1.0K 1.0K 11111111.11111111.11111100.00000000 1K hosts
/23 255.255.254.0 0.0.1.255 512 510 11111111.11111111.11111110.00000000 512 hosts (2 x /24)
/24 255.255.255.0 0.0.0.255 256 254 11111111.11111111.11111111.00000000 class C — most common
/25 255.255.255.128 0.0.0.127 128 126 11111111.11111111.11111111.10000000 2 x /25 from /24
/26 255.255.255.192 0.0.0.63 64 62 11111111.11111111.11111111.11000000 4 x /26 from /24
/27 255.255.255.224 0.0.0.31 32 30 11111111.11111111.11111111.11100000 8 x /27 (30 hosts)
/28 255.255.255.240 0.0.0.15 16 14 11111111.11111111.11111111.11110000 16 x /28 (14 hosts)
/29 255.255.255.248 0.0.0.7 8 6 11111111.11111111.11111111.11111000 8 hosts — point-to-point+
/30 255.255.255.252 0.0.0.3 4 2 11111111.11111111.11111111.11111100 4 hosts — p2p links
/31 255.255.255.254 0.0.0.1 2 11111111.11111111.11111111.11111110 2 hosts — RFC3021 p2p
/32 255.255.255.255 0.0.0.0 1 11111111.11111111.11111111.11111111 single host / loopback
💡 Usable hosts = total − 2 (network address + broadcast). /31 is a special case per RFC 3021 — used for point-to-point links with no network/broadcast waste. /32 is a host route (single IP). /24 = 255.255.255.0 is the most common subnet in enterprise networks.
supplicant
Client Device
The end device requesting network access. Runs an EAP supplicant (built into Windows, macOS, iOS, Android). Presents credentials or certificates to the authenticator.

Examples: Windows native supplicant, Cisco AnyConnect NAM, SecureW2, Jamf Connect
authenticator
AP or Switch
The network access device that enforces 802.1X. It does NOT validate credentials itself — it acts as a relay between supplicant and RADIUS. Controls port access via PAE (Port Access Entity).

Examples: Aruba AP/switch, Cisco WLC/switch, Ruckus AP, Juniper EX
authentication server
RADIUS Server
Validates credentials, certificates, or SIM. Returns Access-Accept or Access-Reject. Can return VLAN, ACL, and role assignments via RADIUS attributes (VSAs).

Examples: Aruba ClearPass, Cisco ISE, Microsoft NPS, FreeRADIUS, Jumpcloud
802.1X AUTHENTICATION FLOW
Supplicant ──────────────────────────────── Authenticator (AP/Switch) ────────────────── RADIUS Server
──── EAPOL-Start ────────────────────────────►
◄─── EAP-Request/Identity ────────
──── EAP-Response/Identity ─────────────────► ─── RADIUS Access-Request ──────────────────────►
◄─── RADIUS Access-Challenge ─
◄─── EAP-Request (method) ────────
... EAP method exchange (TLS tunnel / challenge-response) ...
──── EAP-Response ───────────────────────────► ─── RADIUS Access-Request ──────────────────────►
──── RADIUS Access-Accept ────►
◄─── EAP-Success ───────────────── (+ optional: VLAN, ACL, role via VSAs)
◄─── 802.1X port opens / network access granted ────────────────────
The authenticator uses RADIUS (UDP 1812 for auth, 1813 for accounting) to communicate with the RADIUS server. It never sees the actual credentials — it only relays EAP messages. This separation is what makes 802.1X secure even on untrusted network equipment.
method inner auth outer tunnel client cert req? server cert req? identity protection complexity common use
PEAP
Protected EAP
MSCHAPv2 (usually) TLS tunnel ✗ not required ✓ required ✓ outer identity anonymous Low Most common enterprise Wi-Fi. Username/password via AD/LDAP. Windows native.
EAP-TLS
TLS mutual auth
Certificate (no inner) TLS mutual auth ✓ required (client PKI) ✓ required ✓ strongest protection High Highest security. Requires PKI for every device. Passwordless. MDM/SCEP typically used.
EAP-TTLS
Tunneled TLS
PAP, CHAP, MSCHAPv2, or others TLS tunnel ✗ not required ✓ required ✓ outer identity anonymous Medium More flexible inner auth than PEAP. Common on Linux/Android. Less Windows-native support.
EAP-FAST
Flexible Auth via Secure Tunneling
MSCHAPv2, GTC, or TLS PAC (Protected Access Credential) ✗ not required ✓ optional (PAC provisioning) ✓ PAC-based tunnel Medium Cisco proprietary alternative to PEAP. Used where cert infrastructure isn't available. Less common.
EAP-SIM
SIM card auth
SIM GSM challenge-response None (SIM provides security) ✗ uses SIM instead ✗ not required ⚠ limited (IMSI exposed) Low (for carrier) Carrier Wi-Fi offload. Hotspot 2.0 / Passpoint. Seamless auth using SIM credentials.
EAP-AKA
Auth & Key Agreement
USIM AKA challenge-response (3G/4G) None ✗ uses USIM ✗ not required ✓ improved vs EAP-SIM Low (for carrier) Evolved SIM auth for UMTS/LTE. More secure than EAP-SIM. Used in carrier Wi-Fi offload.
PEAP-MSCHAPv2 is the most deployed enterprise EAP method due to its low client-side complexity (no client cert needed). EAP-TLS is the gold standard for security but requires a full PKI with certificate enrollment for every device — typically via SCEP/ACME through an MDM like Jamf, Intune, or ClearPass Onboard.
EAP method RADIUS server cert client cert CA cert (on client) deployment complexity notes
PEAP-MSCHAPv2 ✓ required ✗ not needed ⚠ should validate Low — creds only Clients MUST validate server cert to prevent MITM. Many deployments skip this — a critical security gap.
EAP-TLS ✓ required ✓ required (per device) ✓ required High — full PKI needed Every device needs a unique cert. Use MDM + SCEP/ACME for automated enrollment. Revocation via OCSP/CRL.
EAP-TTLS ✓ required ✗ not needed ⚠ should validate Medium Same cert risks as PEAP if server cert not validated. Better inner auth flexibility.
EAP-FAST ⚠ optional ✗ not needed ⚠ depends on provisioning Medium Anonymous PAC provisioning (phase 0) can be vulnerable. Use authenticated PAC provisioning where possible.
EAP-SIM / EAP-AKA ✗ not used ✗ not used ✗ not used Low (carrier managed) Auth is handled by SIM / USIM cryptography. No certificates involved — carrier PKI handles security.
⚠ PEAP without server cert validation is one of the most common Wi-Fi security misconfigurations. Without it, any rogue AP with a self-signed cert can perform a man-in-the-middle attack and capture MSCHAPv2 hashes (which can be cracked offline). Always configure trusted CA and server name validation on supplicants.
methodphase 1 (outer)phase 2 (inner)what's protectedcredential type
PEAP TLS tunnel established using server cert. Outer identity = anonymous@domain MSCHAPv2 challenge-response with AD username/password inside the tunnel Inner identity + credentials hidden Username + password (AD/LDAP)
EAP-TLS Mutual TLS handshake — both client and server present certificates No phase 2 — certificate IS the credential Full mutual auth, no password ever sent X.509 client certificate (device or user)
EAP-TTLS TLS tunnel using server cert. Anonymous outer identity. Any inner method: PAP, CHAP, MSCHAPv2, or even another EAP Inner identity + credentials hidden Username + password (flexible inner methods)
EAP-FAST Phase 0: PAC (Protected Access Credential) provisioning. Phase 1: PAC establishes tunnel MSCHAPv2, GTC (token), or EAP-TLS inside tunnel Depends on PAC provisioning security PAC file + inner credentials
EAP-SIM No tunnel. RADIUS sends GSM triplets (RAND, SRES, Kc) from HLR/HSS No phase 2 — SIM card performs RAND challenge-response IMSI can be exposed in early exchanges SIM card (GSM A3/A8 algorithm)
PEAP and EAP-TTLS both use a TLS tunnel to protect inner credentials — the key difference is PEAP is primarily designed for MSCHAPv2 while EAP-TTLS supports any inner method including PAP (plaintext over the encrypted tunnel). EAP-TLS has no inner phase — the mutual certificate exchange is the entire authentication.
authentication
Who are you?
Verifies the identity of a user or device before granting any access. The supplicant presents credentials — password, certificate, SIM, or token — and the authentication server validates them.

Methods: Password (MSCHAPv2), Certificate (EAP-TLS), SIM (EAP-SIM), Token (OTP/GTC)

Protocols: RADIUS (UDP 1812), TACACS+ (TCP 49), Diameter (SCTP/TCP 3868)
authorization
What can you do?
Determines what network resources and permissions a successfully authenticated identity receives. Applied after auth succeeds, before network access is granted.

Outputs: VLAN assignment, ACL/dACL, downloadable policy, QoS profile, role/group, session timeout, bandwidth limit

Mechanisms: RADIUS attributes (VSAs), ClearPass roles, ISE authorization profiles, CoA (Change of Authorization)
accounting
What did you do?
Records session activity — when a user connected, disconnected, how much data was transferred, which device/port was used. Used for auditing, billing, and troubleshooting.

Records: Session start/stop, bytes in/out, session duration, NAS IP, calling-station-ID (MAC), framed-IP

Protocol: RADIUS Accounting (UDP 1813), TACACS+ accounting (TCP 49)
featureRADIUSTACACS+Diameter
TransportUDP 1812 (auth) / 1813 (acct)TCP 49 (reliable)TCP / SCTP 3868
EncryptionPassword only (MD5)Full packet body encryptedTLS / DTLS
AAA separationAuth + Authz combinedAuth / Authz / Acct fully separateFully modular
Protocol originOpen standard (RFC 2865/2866)Cisco proprietary (extended)IETF RFC 6733 (RADIUS successor)
Primary useNetwork access (802.1X, VPN, Wi-Fi)Device administration (CLI, SSH, enable)Mobile/carrier (LTE, IMS, Hotspot 2.0)
Command authorization✗ not supported✓ per-command authorization✗ not applicable
Attribute extensibilityVSAs (vendor-specific attributes)Flexible — any attributeAVPs (attribute-value pairs) — fully extensible
Change of Authorization✓ RFC 5176 (CoA / Disconnect)✗ not standard✓ native re-auth
FailoverClient retries to backup serverClient retries to backup serverNative peer failover
Common serversClearPass, ISE, NPS, FreeRADIUSClearPass, ISE, ACS (legacy), TACACS ProDiameter base on carrier gear
RADIUS vs TACACS+: Use RADIUS for network access control (802.1X, VPN, Wi-Fi auth). Use TACACS+ for device administration — it encrypts the entire packet and supports per-command authorization, making it significantly better for auditing SSH/CLI access to switches and routers. Many enterprises run both: RADIUS for user/device NAC, TACACS+ for admin access.
attributetype #directionvalue / exampleuse
User-Name1Request[email protected]Identity sent to RADIUS. For 802.1X, outer identity is often anonymous@domain.
Framed-IP-Address8Accept192.168.10.50Assign specific IP to user (used with some VPN/PPP scenarios).
Framed-MTU12Accept1400Set MTU for the session.
Session-Timeout27Accept28800 (seconds)Force re-authentication after N seconds. Common: 8h = 28800.
Idle-Timeout28Accept600Disconnect idle sessions after N seconds.
Calling-Station-Id31RequestAA-BB-CC-DD-EE-FFClient MAC address. Used by ClearPass/ISE for device profiling and policy lookup.
NAS-IP-Address4Request10.0.0.1IP of the AP or switch sending the RADIUS request.
NAS-Port-Type61Request19 = Wireless-802.11Access method. 15 = Ethernet, 19 = Wireless.
Tunnel-Type64Accept13 = VLANUsed with VLAN assignment. Must be set to 13 (VLAN) for dynamic VLAN.
Tunnel-Medium-Type65Accept6 = 802Always 6 (IEEE 802) for VLAN assignment.
Tunnel-Private-Group-Id81Accept"100" (VLAN ID)The VLAN ID to assign. All three Tunnel-* attributes must be present for dynamic VLAN to work.
Reply-Message18Reject/Challenge"Invalid credentials"Human-readable message returned on failure. Useful in RADIUS logs.
Dynamic VLAN assignment requires three RADIUS attributes returned in Access-Accept: Tunnel-Type = VLAN(13), Tunnel-Medium-Type = IEEE-802(6), and Tunnel-Private-Group-Id = "VLAN_ID". Missing any one of these will cause the AP/switch to ignore the VLAN assignment and fall back to the default VLAN.
CoA typeRADIUS codedirectionwhat it doescommon use case
CoA-Request43RADIUS server → NASChanges session attributes mid-session without disconnectPush new VLAN/ACL/role after posture check completes
CoA-ACK44NAS → RADIUS serverCoA accepted and appliedConfirms the NAS applied the new policy
CoA-NAK45NAS → RADIUS serverCoA rejectedSession not found, attribute unsupported, or NAS error
Disconnect-Request (PoD)40RADIUS server → NASForcibly disconnects a session (Packet of Death)Quarantine a compromised device, force re-auth after password change
Disconnect-ACK41NAS → RADIUS serverSession disconnected successfullyDevice will need to re-authenticate to regain access
Disconnect-NAK42NAS → RADIUS serverDisconnect failedSession not found or NAS doesn't support PoD
CoA is initiated by the RADIUS server (ClearPass/ISE) toward the NAS (AP/switch) on UDP port 3799. The NAS must have CoA enabled and the RADIUS server IP whitelisted. CoA is used in posture-based NAC workflows — device connects to a quarantine VLAN, passes health check, CoA pushes the production VLAN without disconnecting the session.
filterdescriptionexample
IP / ADDRESS
ip.addr == x.x.x.xAny packet to or from IPip.addr == 192.168.1.10
ip.src == x.x.x.xSource IP onlyip.src == 10.0.0.1
ip.dst == x.x.x.xDestination IP onlyip.dst == 8.8.8.8
ip.addr == x.x.x.x/24Entire subnetip.addr == 192.168.1.0/24
eth.addr == xx:xx:xx:xx:xx:xxMAC address (src or dst)eth.addr == aa:bb:cc:dd:ee:ff
eth.src == xx:xx:xx:xx:xx:xxSource MACeth.src == 00:11:22:33:44:55
TCP / UDP / PORTS
tcp.port == 443TCP src or dst porttcp.port == 443
tcp.dstport == 80TCP destination port onlytcp.dstport == 80
udp.port == 53UDP portudp.port == 53
tcp.flags.syn == 1TCP SYN packets onlytcp.flags.syn==1 && tcp.flags.ack==0
tcp.flags.reset == 1TCP RST — connection resetstcp.flags.reset == 1
tcp.analysis.retransmissionTCP retransmissionstcp.analysis.retransmission
tcp.analysis.zero_windowZero window — receiver buffer fulltcp.analysis.zero_window
APPLICATION PROTOCOLS
dnsAll DNS trafficdns.qry.name contains "google"
dns.flags.response == 0DNS queries onlydns.flags.response == 0
httpAll HTTP traffichttp.request.method == "GET"
tlsTLS/SSL traffictls.handshake.type == 1
icmpPing / ICMPicmp.type == 8 (echo request)
OPERATORS & COMBINING
&& or andBoth conditions must matchip.src==10.0.0.1 && tcp.port==443
|| or orEither condition matchesdns || dhcp
! or notExclude matches!arp && !icmp
containsField contains stringhttp.host contains "example"
matchesRegex matchdns.qry.name matches "\.local$"
in {}Match any value in settcp.port in {80 443 8080}
💡 Display filters use field names (ip.addr, tcp.port) — not BPF syntax. Use Ctrl+Space in the filter bar for autocomplete. Right-click any field in a packet → Apply as Filter to build filters interactively.
protocoldisplay filterwhat to look fornotes
DHCP dhcp or bootp Discover → Offer → Request → ACK sequence. NAK = address conflict. Filter by MAC: dhcp.hw.mac_addr == xx:xx:xx:xx:xx:xx
ARP arp Gratuitous ARP, duplicate IP (ARP probes with no reply), ARP storms. arp.duplicate-address-detected flags IP conflicts automatically
ICMP icmp Echo req/reply (ping), unreachable, TTL exceeded, redirect messages. Type 3 = unreachable, Type 11 = TTL exceeded (traceroute), Type 5 = redirect
ICMPv6 icmpv6 NDP (neighbor discovery), router advertisements, DAD (duplicate address detection). icmpv6.type == 135 = Neighbor Solicitation, 136 = Neighbor Advertisement
DNS dns Failed lookups (NXDOMAIN), slow response times, unexpected resolvers. dns.flags.rcode != 0 = DNS errors. dns.time > 0.5 = slow DNS
STP / RSTP stp BPDUs, topology change notifications (TCN), root bridge changes. TCN floods cause MAC table flushes — look for stp.flags.tc == 1
EAPOL eapol 802.1X auth frames — EAPOL-Start, EAP-Request/Response, EAP-Success/Failure. eap shows inner EAP. Look for EAP-Failure to debug auth issues.
RADIUS radius Access-Request, Access-Accept, Access-Reject, Access-Challenge, Accounting. radius.code == 3 = Access-Reject. Capture on RADIUS server or authenticator uplink.
LLDP / CDP lldp / cdp Neighbor discovery, VLAN IDs advertised, port descriptions, system capabilities. Useful for verifying what VLAN an AP or phone is advertising via LLDP-MED
OSPF ospf Hello packets, LSAs, neighbor state changes, DR/BDR election. ospf.msg == 1 = Hello. Watch for neighbor drops and LSA flooding storms.
VRRP vrrp Virtual router advertisements, master/backup transitions. Multiple masters on same VRIDs = split-brain. Check advertisement intervals match.
topicdetail
Monitor mode (Linux) sudo ip link set wlan0 down && sudo iw wlan0 set monitor none && sudo ip link set wlan0 up
Or: sudo airmon-ng start wlan0 → creates wlan0mon
Monitor mode (macOS) Hold Option → click Wi-Fi icon → Open Wireless Diagnostics → Window menu → Sniffer. Or use tcpdump -I -i en0
Lock to channel sudo iwconfig wlan0mon channel 6 (2.4GHz) or sudo iw dev wlan0mon set channel 36 HT40+ (5GHz)
Filter by BSSID wlan.bssid == aa:bb:cc:dd:ee:ff
Filter by SSID wlan.ssid == "MyNetwork" or wlan.ssid contains "Corp"
Management frames only wlan.fc.type == 0 — beacons, probes, auth, assoc, deauth, disassoc
Beacon frames wlan.fc.type_subtype == 8
Probe requests wlan.fc.type_subtype == 4 — shows clients probing for networks
Authentication frames wlan.fc.type_subtype == 11
Deauth / Disassoc frames wlan.fc.type_subtype == 12 || wlan.fc.type_subtype == 10 — rogue deauth attacks or roaming events
4-way handshake (WPA) eapol && wlan.bssid == xx:xx:xx:xx:xx:xx — capture all 4 EAPOL frames to crack offline (educational)
Signal strength (RSSI) wlan_radio.signal_dbm — filter weak clients: wlan_radio.signal_dbm < -75
Data frames only wlan.fc.type == 2
Retry frames wlan.fc.retry == 1 — high retries = RF interference or poor signal
📡 On Wi-Fi 6 (HE) captures, use wlan_radio.phy == he to isolate 802.11ax frames. For encrypted captures you need the PSK or PMK to decrypt — add via Edit → Preferences → Protocols → IEEE 802.11 → Decryption keys.
toolmenu pathwhat it showsbest for
Protocol HierarchyStatistics → Protocol HierarchyBreakdown of all protocols in capture by packet count and bytes %Quickly identify unexpected protocols or traffic composition
ConversationsStatistics → ConversationsAll TCP/UDP/IP conversations with bytes transferred, durationFind top talkers, high-volume flows, unexpected connections
EndpointsStatistics → EndpointsAll unique IPs/MACs with tx/rx bytesIdentify noisy devices, rogue hosts, broadcast sources
IO GraphStatistics → IO GraphThroughput over time graph. Can overlay multiple filters.Visualize traffic bursts, retransmission spikes, utilization over time
TCP Stream GraphStatistics → TCP Stream GraphsTime-sequence, round trip time, window scaling, throughput graphsTCP performance analysis, identify slow-start, window issues
DNSStatistics → DNSDNS query types, response codes, response timesIdentify DNS failures, slow lookups, unusual query types
HTTPStatistics → HTTPHTTP request/response counters, load distributionWeb traffic analysis, response code distribution
WLAN TrafficWireless → WLAN TrafficPer-SSID/BSSID stats, retry rates, data rates in 802.11 capturesWi-Fi performance analysis, retry rate per AP/client
Expert InformationAnalyze → Expert InformationAuto-detected issues: retransmissions, resets, out-of-order, malformedFast triage — start here on any capture to spot anomalies
Capture File PropertiesStatistics → Capture File PropertiesDuration, packet count, avg packet rate, avg packet sizeHigh-level summary before deep analysis
actionhow touse case
Follow TCP Stream Right-click packet → Follow → TCP Stream. Or: Analyze → Follow → TCP Stream Reconstruct full conversation (HTTP requests, SMTP, Telnet). Shows client bytes in red, server in blue.
Follow UDP Stream Right-click → Follow → UDP Stream DNS, TFTP, SNMP conversations. Less common than TCP but useful for TFTP debugging.
Export HTTP Objects File → Export Objects → HTTP Save files downloaded over HTTP (images, scripts, configs). Essential for malware analysis.
Export SMB Objects File → Export Objects → SMB Extract files transferred over SMB file shares.
IO Graph — overlay filters Statistics → IO Graph → click + to add lines → set display filter per line Compare retransmissions vs total traffic: line 1 = all, line 2 = tcp.analysis.retransmission
Mark / Ignore packets Ctrl+M to mark, Ctrl+D to ignore Highlight key packets for reference or remove noise from analysis.
Time reference Ctrl+T on a packet — sets it as time zero Measure relative timing from a specific event (e.g., DHCP Discover as T=0).
Coloring rules View → Coloring Rules Add custom colors for protocols or filters. Default rules already color TCP errors red.
tshark (CLI) tshark -i eth0 -Y "dns" -T fields -e dns.qry.name Command-line Wireshark. Pipe output to grep/awk. Ideal for remote captures via SSH.
Remote capture (rpcapd) File → Capture Options → Manage Interfaces → Remote Capture on a remote host and view locally. Or use ssh user@host tcpdump -w - | wireshark -k -i -
Decrypt TLS (with key log) Edit → Preferences → Protocols → TLS → Pre-Master-Secret log file Set SSLKEYLOGFILE=~/tls.log env var in Chrome/Firefox, then load the file in Wireshark to decrypt HTTPS.
🔧 Keyboard shortcuts: Ctrl+F find, Ctrl+G go to packet, Ctrl+E collapse all details, Space scroll, Ctrl+Shift+X expert info. Use Analyze → Expert Information as your first stop on any unknown capture — it surfaces retransmissions, resets, and malformed packets automatically.
commanddescriptionexample
ip addr showShow all interfaces and IPsip addr show eth0
ip addr addAdd IP to interfaceip addr add 192.168.1.10/24 dev eth0
ip link set eth0 up/downBring interface up or downip link set eth0 up
ip link set mtuChange MTUip link set eth0 mtu 9000
ip -s link showInterface stats (tx/rx bytes, errors)ip -s link show eth0
ethtool eth0Link speed, duplex, autoneg statusethtool eth0 | grep Speed
ethtool -S eth0NIC driver statisticsethtool -S eth0 | grep drop
commanddescriptionexample
ip route showShow routing tableip route show table main
ip route addAdd static routeip route add 10.0.0.0/8 via 192.168.1.1
ip route getWhich route used for destinationip route get 8.8.8.8
ip neigh showARP / NDP neighbor tableip neigh show dev eth0
ip neigh flushClear ARP cacheip neigh flush dev eth0
mtr -nLive traceroute + packet loss per hopmtr -n --report 8.8.8.8
commanddescriptionexample
digDNS lookup with full detaildig google.com A / dig @8.8.8.8 google.com
dig +shortQuick answer onlydig +short google.com MX
dig -xReverse DNS (PTR)dig -x 8.8.8.8
resolvectl statussystemd-resolved DNS statusresolvectl query google.com
commanddescriptionexample
tcpdump -i eth0Capture on interfacetcpdump -i eth0 host 10.0.0.1 -nn
tcpdump -w file.pcapWrite to pcap for Wiresharktcpdump -i eth0 -w /tmp/cap.pcap
ss -tulnpShow listening sockets + processss -tulnp | grep :443
nc -zv host portTest TCP port reachabilitync -zv 10.0.0.1 443
iperf3 -s / -cBandwidth testiperf3 -c 10.0.0.1 -t 30
nmap -p-Port scan all portsnmap -p- -T4 10.0.0.1
commanddescriptionexample
iptables -L -n -vList rules with countersiptables -L INPUT -n -v --line-numbers
iptables -A INPUTAppend inbound ruleiptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -t nat -LShow NAT rulesiptables -t nat -L POSTROUTING -n -v
nft list rulesetModern nftables rulesnft list ruleset
ufw status verboseUFW firewall status (Ubuntu)ufw allow 443/tcp
commanddescriptionexample
iw devShow wireless interfaces and modeiw dev wlan0 info
iw wlan0 scanScan for nearby networkssudo iw wlan0 scan | grep -E "SSID|signal|freq"
iw wlan0 linkCurrent connection info (SSID, signal, bitrate)iw wlan0 link
iw wlan0 station dumpConnected client stats (AP mode)iw wlan0 station dump
iw wlan0 set channelSet channel (monitor mode)sudo iw wlan0mon set channel 36 HT40+
iwconfigLegacy wireless config (older systems)iwconfig wlan0
nmcli dev wifiList and connect to Wi-Fi networksnmcli dev wifi connect "SSID" password "pass"
nmcli dev wifi listScan results with signal strengthnmcli -f SSID,BSSID,CHAN,SIGNAL dev wifi list
airmon-ng start wlan0Enable monitor mode (aircrack-ng)sudo airmon-ng start wlan0
airodump-ng wlan0monScan all channels in monitor modesudo airodump-ng wlan0mon --band a
low band <1 GHz
Coverage: 10-50 km radius, excellent building penetration
Speed: 10-80 Mbps
Bands: 600, 700, 850 MHz
Use: Rural coverage, indoor, IoT
mid band 1-6 GHz
Coverage: 1-5 km, good penetration
Speed: 50-600 Mbps
Bands: 1900, 2100, 2500, 3.5 GHz C-Band
Use: Urban capacity, primary 5G
mmWave >24 GHz
Coverage: <200m LoS only, blocked by walls
Speed: 1-4 Gbps
Bands: 28, 39 GHz
Use: Stadiums, venues, fixed wireless
carrierlow band (coverage)mid band (capacity)5G NR primary5G mmWave
AT&T B5 (850 MHz)
B12 (700 MHz)
B14 (FirstNet 758 MHz)
B2 (1900 MHz)
B30 (2300 MHz)
B66 (AWS 1700/2100)
n77 (3.45 GHz C-Band)
n14 (FirstNet 5G)
n5 (850 MHz)
n257 (28 GHz)
Verizon B13 (700 MHz upper C)
B5 (850 MHz)
B4/B66 (AWS)
B2 (1900 MHz)
n77 (3.7 GHz C-Band)
n5 (850 MHz)
n257 (28 GHz)
n260 (39 GHz)
n261 (28 GHz)
T-Mobile B71 (600 MHz)
B12 (700 MHz)
B41 (2500 MHz)
B66 (AWS)
B2 (1900 MHz)
n41 (2.5 GHz — "Ultra Capacity")
n71 (600 MHz)
n66 (AWS)
n258/n260
bandfrequencycarrier(s)duplextypical BWpurpose
B21900 MHz PCSAT&T, T-MobileFDD5-20 MHzUrban capacity
B4 / B66AWS-1/3 (1700/2100 MHz)T-Mobile, AT&T, VerizonFDD5-20 MHzCapacity + coverage
B5850 MHzAT&T, VerizonFDD5-10 MHzCoverage / rural
B12 / B17700 MHz lowerT-Mobile, AT&TFDD5-10 MHzCoverage / rural / indoor
B13700 MHz upper CVerizonFDD10 MHzVerizon primary coverage
B14758/788 MHz FirstNetAT&T (FirstNet)FDD10 MHzPublic safety priority
B251900 MHz PCS (extended)T-Mobile (ex-Sprint)FDD5-10 MHzUrban capacity
B302300 MHz WCSAT&TFDD10 MHzUrban capacity
B412500 MHz TDDT-Mobile (ex-Sprint)TDD20 MHzHigh-capacity urban / 5G anchor
B48 / CBRS3.5 GHz (3550-3700 MHz)Private LTE/5G enterpriseTDD10-100 MHzEnterprise private LTE/5G
B71600 MHzT-MobileFDD5-20 MHzRural / wide-area coverage
NR bandfrequencycarrier(s)max BWmodenotes
n5850 MHzAT&T, Verizon10 MHzFDD5G coverage layer — re-farmed LTE spectrum
n14758 MHz FirstNetAT&T10 MHzFDDFirstNet 5G for public safety
n412.5 GHz (2496-2690 MHz)T-Mobile100 MHzTDDT-Mobile primary capacity "Ultra Capacity 5G" — best mid-band 5G in US
n66AWS (1700/2100 MHz)T-Mobile, AT&T25 MHzFDD5G capacity — widespread coverage
n71600 MHzT-Mobile20 MHzFDD5G rural coverage — nationwide extended reach
n773.45 GHz (AT&T) / 3.7 GHz (Verizon)AT&T, Verizon100 MHzTDDC-Band — primary 5G NR capacity for AT&T and Verizon
n25728 GHz mmWaveAT&T, T-Mobile, Verizon400 MHzTDDmmWave — stadiums, airports, street-level hotspots. LoS only.
n26039 GHz mmWaveVerizon400 MHzTDDVerizon mmWave — ultra-dense urban venues
n26128 GHz mmWave (upper)Verizon400 MHzTDDVerizon secondary mmWave band
technologytypical downloadtypical uploadlatencyreal-world notes
4G LTE (single band)20-50 Mbps5-15 Mbps20-50msBaseline LTE. Typical in rural or lightly loaded suburban areas.
4G LTE-A (carrier agg)50-200 Mbps15-50 Mbps15-40msMulti-band aggregation. Most modern smartphones in urban areas.
5G NSA (low band n71/n5)30-100 Mbps10-30 Mbps15-40msExtended coverage. Similar to LTE speeds but better latency headroom.
5G NSA mid-band (n41)100-500 Mbps30-100 Mbps10-25msT-Mobile Ultra Capacity 5G. Best real-world 5G experience in US suburbs/cities.
5G C-Band (n77 AT&T/Verizon)150-600 Mbps30-100 Mbps10-20msRapidly expanding. Outstanding in coverage zones. Speeds vary by congestion.
5G SA sub-6 (T-Mobile)200-800 Mbps50-150 Mbps5-15msStandalone core — lower latency than NSA. T-Mobile leads SA deployment in US.
5G mmWave (n257/n260)1-4 Gbps500 Mbps+<5msExtraordinary speeds but near LoS only. Stadiums, airports, Verizon fixed wireless.
5G Fixed Wireless (FWA)100-500 Mbps20-75 Mbps10-30msT-Mobile Home Internet / Verizon 5G Home. Highly location dependent.
Speeds are heavily dependent on distance from tower, time of day, number of connected users, and device capabilities. C-Band (n77) is now the defining 5G experience for AT&T and Verizon — areas without C-Band coverage will see speeds closer to LTE. T-Mobile's n41 (2.5 GHz) network from the Sprint merger is their key competitive advantage for 5G capacity.
modeanchorcorelatencyUS statusnotes
NSA Option 3xLTE anchor4G EPC15-40msMajority of US 5G5G NR data + LTE signaling. Fast to deploy. Limited 5G-specific features.
SA Option 25G NR only5G core5-15msT-Mobile (leader), Verizon/AT&T rolling outFull 5G features: slicing, URLLC. Lower latency. Requires 5G core investment.
typebitspurposecommon subtypes
Management00Control STA-AP relationships — discovery, auth, association. Never carry user data.Beacon, Probe Req/Resp, Auth, Deauth, Assoc Req/Resp, Reassoc, Disassoc, Action
Control01Assist delivery of frames — medium access, ACKs. Sent without encryption.RTS, CTS, ACK, Block ACK (BA), BAR, PS-Poll, CF-End
Data10Carry user payload (IP packets). May be encrypted.Data, Null, QoS Data, QoS Null
fieldsizedescription
Frame Control2 BProtocol ver (2b), Type (2b), Subtype (4b), To/From DS, Retry, Power Mgmt, Protected Frame flags
Duration / ID2 BNAV: time in microseconds medium is reserved. PS-Poll uses as AID.
Address 16 BReceiver address (RA) -- immediate next hop
Address 26 BTransmitter address (TA) -- station that placed frame on air
Address 36 BDA or SA depending on To DS / From DS bits
Sequence Control2 BFragment number (4b) + Sequence number (12b) -- detect duplicates and reassemble
Address 46 BOnly present in WDS/mesh (To DS=1 AND From DS=1) -- original SA in 4-address mode
QoS Control2 BQoS data frames only: TID, ACK policy, A-MSDU flag, TXOP limit
Frame Body0-7951 BIEs for management, encrypted MSDU for data
FCS4 BCRC-32 over entire frame -- receiver discards on error
To DS / From DS bits: 0/0 IBSS   0/1 AP-to-STA (DA=A1, BSSID=A2, SA=A3)   1/0 STA-to-AP (BSSID=A1, SA=A2, DA=A3)   1/1 WDS 4-addr
subtypenamedirectionkey fields / notes
0000Association RequestSTA to APCapability info, listen interval, SSID, supported rates, RSN IE, HT/VHT/HE caps
0001Association ResponseAP to STAStatus code, AID (1-2007), supported rates, HT/VHT/HE info
0010Reassociation RequestSTA to APSame as Assoc Req + current AP BSSID -- used during roaming
0011Reassociation ResponseAP to STANew AP responds, may trigger context transfer from old AP
0100Probe RequestSTA to broadcastActive scan -- wildcard or specific SSID, supported rates and capabilities
0101Probe ResponseAP to STASSID, BSSID, beacon interval, capabilities, rates, RSN IE, country IE
1000BeaconAP to broadcastEvery 102.4 ms (default). SSID, BSSID, timestamp, TIM, rates, RSN IE, HT/VHT/HE info
1010DisassociationAP or STAReason code. STA returns to authenticated-not-associated state.
1011AuthenticationSTA and APOpen: 2 frames (seq 1+2). SAE (WPA3): commit+confirm. Auth algorithm, seq, status code.
1100DeauthenticationAP or STAReason code. STA returns to unauthenticated-unassociated state.
1101ActionAP or STABlock ACK setup, 802.11k measurement, 802.11v BSS transition, 802.11w SA Query
subtypenamepurpose
1011RTSRequest To Send -- reserves medium. Receiver replies CTS. Mitigates hidden node.
1100CTSClear To Send -- grants permission, sets NAV on all overhearing stations.
1101ACKAcknowledges unicast frame receipt. Sent after each frame unless Block ACK in use.
1000Block ACK Request (BAR)Requests Block ACK for a range of frames -- used with A-MPDU aggregation.
1001Block ACK (BA)Acks multiple frames via bitmap -- essential for throughput with aggregation.
1010PS-PollSleeping station wakes, asks AP to deliver buffered frames (legacy power save).
1
Probe Request (STA to broadcast) / Beacon (passive scan)
Client broadcasts Probe Requests advertising its supported rates and capabilities. All APs with a matching supported rate reply with Probe Responses (SSID, rates, encryption, capabilities). Passive scan: client listens for Beacons instead.
2
Authentication (open) -- Auth seq 1 then Auth seq 2
Client sends Open System Auth (algorithm=0, seq=0x0001). AP replies seq=0x0002, status=success. Always succeeds -- this is a legacy formality from WEP. Real security (WPA2/WPA3) happens AFTER association. State after: authenticated, not associated. A client can pre-auth to multiple APs for faster roaming.
3
Association Request then Association Response
Client sends Assoc Request: SSID, capability info, supported rates, RSN IE, HT/VHT/HE caps. AP validates, allocates AID (1-2007), replies with Assoc Response (status=0 success). State after: authenticated and associated.
4
EAPOL 4-Way Handshake (WPA2/WPA3-PSK)
AP sends EAPOL Msg 1 (ANonce). Client computes PTK from PMK + ANonce + SNonce, replies Msg 2 (SNonce + MIC). AP verifies MIC, sends Msg 3 (GTK encrypted). Client installs keys, sends Msg 4. Encryption now active. For 802.1X: EAP exchange with RADIUS completes before this step.
5
Data Transfer
Encrypted data flows. DHCP begins. For 802.1X networks, data is blocked by the AP until EAP Success is received from RADIUS, even though 802.11 association is already complete.
Three 802.11 connection states: (1) Unauthenticated + Unassociated --Deauth-- (2) Authenticated + Unassociated --Disassoc-- (3) Authenticated + Associated. Deauth returns to state 1; Disassoc returns to state 2.
codemeaningtypical cause
1UnspecifiedCheck AP logs for detail
2Previous auth no longer validSession timeout, AP reboot
3STA leaving BSS (disassoc)Client-initiated roam or disconnect
4Inactivity timeoutClient left without deauthing
5AP capacity exceededMax client limit reached
6Class 2 frame from non-authed STAClient sent data before auth complete
7Class 3 frame from non-assoc STAClient sent data before assoc complete
8STA leaving BSS (deauth)Client roaming or shutting down
154-Way Handshake timeoutWrong PSK, client too slow, or rogue AP deauth attack
16Group Key Handshake timeoutGTK renewal failure
17IE in (Re)Assoc differs from auth IESecurity capability mismatch between frames
23802.1X auth failedRADIUS rejected credentials
Reason code 15 in Wireshark almost always means wrong PSK. Reason code 7 = client tried to send data before completing association -- look for missing Auth or Assoc frames earlier in the capture.
codemeaningnotes
0SuccessAssociation or auth succeeded
1Unspecified failureGeneric rejection
10Cannot support all requested capabilitiesClient asked for capability AP cannot provide
12Assoc denied -- no common ratesNo overlapping supported rates
13Auth algorithm not supportedClient tried SAE on WPA2-only AP
17Assoc denied -- AP too busyMax client limit reached
23Cipher suite rejected by policyClient tried TKIP on WPA3 AP
attributedetail
ProtocolUDP — client port 68, server port 67
IPv6 equivalentDHCPv6 — client port 546, server port 547
RFCRFC 2131 (DHCPv4), RFC 8415 (DHCPv6)
Relay agentForwards broadcasts across subnets — runs on L3 switch or router. Adds Option 82 (circuit/remote ID).
LeaseTime-limited IP assignment. Client renews at T1 (50% of lease), rebinds at T2 (87.5%) if no response.
D
Discover — client to 255.255.255.255 (broadcast)
Client has no IP. Broadcasts DHCPDISCOVER from 0.0.0.0:68 to 255.255.255.255:67. Contains: client MAC (chaddr), hostname (Option 12), requested parameters list (Option 55), optionally a requested IP (Option 50) from a previous lease.
O
Offer — server to 255.255.255.255 (broadcast)
Server reserves an IP and broadcasts DHCPOFFER. Contains: offered IP (yiaddr), lease time (Option 51), server ID (Option 54), subnet mask (Option 1), gateway (Option 3), DNS servers (Option 6). Multiple servers may reply — client picks the first offer.
R
Request — client to 255.255.255.255 (broadcast)
Client broadcasts DHCPREQUEST accepting a specific offer (Option 54 = chosen server ID, Option 50 = requested IP). Still a broadcast so all other servers know their offers were declined and can release the reserved addresses.
A
Acknowledge — server to client (broadcast or unicast)
Server confirms the lease with DHCPACK. Client now owns the IP for the lease duration. If the server finds a problem (IP conflict detected), it sends DHCPNAK instead, forcing the client to restart DORA. Client performs ARP probe before using the IP.
All four DORA messages are broadcast at L2 (destination MAC ff:ff:ff:ff:ff:ff) because the client has no IP yet. After receiving ACK, the client does a gratuitous ARP to check for IP conflicts. If a conflict is found, it sends DHCPDECLINE and restarts.
valuemessagedirectionpurpose
1DHCPDISCOVERClient to broadcastInitial request for an IP address
2DHCPOFFERServer to broadcastServer proposes an IP and lease parameters
3DHCPREQUESTClient to broadcastAccept an offer, or renew/rebind an existing lease
4DHCPDECLINEClient to serverClient found IP conflict via ARP probe — rejecting offered IP
5DHCPACKServer to clientLease confirmed — client may use the IP
6DHCPNAKServer to clientLease rejected — client must restart DORA (wrong network, expired lease)
7DHCPRELEASEClient to serverClient is done — release the IP back to the pool
8DHCPINFORMClient to serverClient already has an IP (static) but wants config options (DNS, NTP, etc.)
optionnametypedescription
1Subnet MaskIPv4 addre.g. 255.255.255.0
3Router (Default Gateway)IPv4 addr listFirst entry used as default route
6Domain Name ServerIPv4 addr listUp to 8 DNS servers, tried in order
12HostnameStringClient's hostname sent in Discover/Request
15Domain NameStringDNS search domain suffix (e.g. corp.example.com)
28Broadcast AddressIPv4 addrSubnet broadcast address
33Static RouteRoute listClassful static routes (legacy — use Option 121 instead)
42NTP ServersIPv4 addr listNetwork Time Protocol server addresses
43Vendor-Specific InfoBinaryUsed by APs (Cisco, Aruba, Ruckus) for controller discovery, Cisco IP phones for TFTP server
50Requested IP AddressIPv4 addrClient requests a specific IP (from previous lease)
51Lease Timeuint32 (seconds)Total lease duration
53DHCP Message Typeuint8Discover/Offer/Request/ACK etc. (see table above)
54Server IdentifierIPv4 addrIP of the DHCP server — used by client to select an offer
55Parameter Request ListOption listClient lists the options it wants the server to return
58Renewal Time (T1)uint32 (seconds)When to unicast DHCPREQUEST to server (default 50% of lease)
59Rebinding Time (T2)uint32 (seconds)When to broadcast DHCPREQUEST to any server (default 87.5% of lease)
60Vendor Class IdentifierStringClient describes itself — e.g. "MSFT 5.0" (Windows), "udhcp" (Linux). Used for class-based pools.
61Client IdentifierBinaryUsually type 01 + MAC. Overrides chaddr for pool selection.
66TFTP Server NameStringUsed by IP phones and APs for config file retrieval
67Bootfile NameStringPXE boot filename, or AP/phone config filename
82Relay Agent InformationSub-optionsAdded by relay agent: Circuit ID (sub-opt 1) = port/VLAN, Remote ID (sub-opt 2) = relay MAC. Used for tracking and policy.
119Domain Search ListDomain listMultiple DNS search suffixes (RFC 3397)
121Classless Static RouteRoute listClassless routes with prefix length — supersedes Option 33. Must include default route if used.
150TFTP Server AddressIPv4 addr listCisco-proprietary — used by Cisco IP phones and APs for TFTP
255EndMarks end of options field
timerdefaultactionnotes
T1 (renewal)50% of leaseClient unicasts DHCPREQUEST to original serverOption 58. If server responds with DHCPACK, lease is renewed. Clock restarts.
T2 (rebinding)87.5% of leaseClient broadcasts DHCPREQUEST to any serverOption 59. Original server unreachable — any server may extend the lease.
Expiry100% of leaseClient must stop using IP, restart DORAIf no ACK received by expiry, client loses IP and returns to INIT state.
Common lease time recommendations: 8h for wired corporate, 4h for Wi-Fi (high turnover), 24h for servers/printers. Very short leases (under 1h) increase DHCP server load significantly and can cause IP exhaustion on busy wireless networks.
fieldsizedescription
op1 B1 = BOOTREQUEST (client), 2 = BOOTREPLY (server)
htype1 BHardware type: 1 = Ethernet
hlen1 BHardware address length: 6 for Ethernet MAC
hops1 BIncremented by each relay agent (max 16)
xid4 BTransaction ID — random value chosen by client to match replies to requests
secs2 BSeconds since client started current attempt (for server priority)
flags2 BBit 0 = broadcast flag. If set, server must broadcast reply (client can't receive unicast yet).
ciaddr4 BClient IP — only filled if client has a valid IP (renewal/rebind)
yiaddr4 B"Your" IP — the IP being offered or assigned to client
siaddr4 BNext server IP for TFTP/PXE bootstrap
giaddr4 BGateway/relay agent IP — server uses this to select the right pool and send reply back
chaddr16 BClient hardware (MAC) address — first 6 bytes used
sname64 BOptional server hostname
file128 BBoot filename for PXE
optionsvariableMagic cookie (0x63825363) + TLV-encoded options
featurewhat it doesnotes
DHCP Snooping Switch inspects DHCP traffic — only trusted ports may send DHCPOFFER/DHCPACK. Untrusted ports (access ports) can only send client messages. Prevents rogue DHCP servers. Builds binding table (MAC, IP, port, VLAN) used by DAI and IP Source Guard.
DAI (Dynamic ARP Inspection) Validates ARP packets against DHCP snooping binding table. Drops ARP replies where MAC/IP don't match a known binding. Prevents ARP spoofing/poisoning. Requires DHCP snooping to be enabled first.
IP Source Guard Blocks IP traffic from a port unless the source IP matches the DHCP snooping binding for that port. Prevents IP spoofing. Can combine with MAC filtering. Overrides ACLs on data plane.
Rogue DHCP server Unauthorized server handing out wrong gateway/DNS — all traffic goes through attacker (MITM) or clients get wrong routes. Detected via DHCP snooping or packet capture. Look for unexpected DHCPOFFER sources in Wireshark.
DHCP starvation Attacker sends thousands of DHCPDISCOVER with spoofed MACs, exhausting the pool. Mitigated by port security (limit MACs per port) + DHCP snooping rate limiting.
symptomlikely causecheck
APIPA address (169.254.x.x)No DHCP response receivedIs DHCP server reachable? Is relay agent configured on SVI? Is pool exhausted?
DHCPNAK receivedClient on wrong subnet or lease expiredClient moved VLANs. Check giaddr vs pool scope. Force DORA restart.
Pool exhaustedAll IPs leased, no room for new clientsCheck lease time — reduce if clients are transient (Wi-Fi). Check for stale leases. Expand scope.
Client gets wrong gateway/DNSRogue DHCP server, wrong pool configCapture DHCPOFFER — check server ID (Option 54). Enable DHCP snooping.
Slow DHCP (3-5 seconds)Server slow, relay round-trip, or client retryingCheck secs field in Discover. Capture on server side to see if packets arrive. Check relay agent config.
DHCPDECLINE loopIP conflict — offered IP already in useARP conflict on segment. Find device using the IP. Check for static IP assignments in pool range.
Option 82 dropsServer not configured to accept relayed requestsEnable "trust" for Option 82 on DHCP server, or configure relay to strip it.
Wireshark filter for all DHCP: dhcp or bootp. Filter by specific message type: dhcp.option.dhcp == 1 (Discover), dhcp.option.dhcp == 6 (NAK). Filter by client MAC: dhcp.hw.mac_addr == xx:xx:xx:xx:xx:xx.
sourceCisco IOSAruba AOS-CXJuniper JunOSnotes
Connected000Always preferred — directly attached interface
Static115Manually configured — very high priority
Static (default route)1150.0.0.0/0
EIGRP (summary)5Cisco-proprietary
eBGP2020170External BGP (different AS)
EIGRP (internal)90Cisco-proprietary
IGRP100Legacy Cisco — deprecated
OSPF11011010Most common IGP — Juniper prefers OSPF strongly
IS-IS11511515Common in large SP/DC networks
RIP120120100Legacy — max 15 hops, slow convergence
EIGRP (external)170Redistributed into EIGRP from another protocol
iBGP200200170Internal BGP (same AS) — lowest priority of routing protocols
Unknown / unreachable255255255Never installed in routing table
Lower AD wins. If two routes to the same destination exist from different protocols, the one with the lower AD is installed. AD only breaks ties between protocols — within a single protocol, metric decides.

Enter two competing routes to the same prefix and see which one wins.

Route A
Route B
Select protocols above to compare.
stepcriterionnotes
1Longest prefix match10.1.1.0/24 beats 10.0.0.0/8 for destination 10.1.1.5 — always checked first regardless of AD or metric
2Administrative DistanceLower AD wins between routes from different protocols to same prefix
3MetricWithin the same protocol, lower metric wins (OSPF cost, BGP path attributes, RIP hop count)
4ECMP (tie)If prefix, AD, and metric are all equal — load balance across paths (default 4 paths on Cisco)
attributedetail
ProtocolPath-vector routing protocol. RFC 4271. Uses TCP port 179.
iBGPBetween routers in the same AS. AD = 200. Requires full mesh or route reflectors. Does NOT increment AS_PATH.
eBGPBetween routers in different ASes. AD = 20. TTL = 1 by default (multihop requires ebgp-multihop). Increments AS_PATH.
ASN16-bit (1–65535) or 32-bit (1–4294967295). Private range: 64512–65534 (16-bit), 4200000000–4294967294 (32-bit).
NLRINetwork Layer Reachability Information — the prefix being advertised (IP + prefix length).
stepattributepreferscopenotes
1WeightHigherLocal (Cisco only)Cisco-proprietary. Set per-neighbor. Not advertised. Default 0 (32768 for locally originated).
2LOCAL_PREFHigheriBGP (same AS)Influences outbound path from your AS. Shared with all iBGP peers. Default 100.
3Locally originatedLocal winsLocalnetwork/redistribute command preferred over learned routes.
4AS_PATH lengthShortereBGPNumber of ASes in the path. Commonly manipulated via AS_PATH prepending to influence inbound traffic.
5ORIGINIGP > EGP > IncompleteAnyi = network statement, e = EGP (legacy), ? = redistributed.
6MEDLowereBGP (same neighbor AS)Multi-Exit Discriminator. Hints to neighbor AS which entry point to use. Only compared between routes from same AS.
7eBGP over iBGPeBGP winsAnyExternally learned routes preferred over internally learned.
8IGP metric to next-hopLoweriBGPShortest interior path to the BGP next-hop address.
9Oldest eBGP routeOldest winseBGPPrefers the more stable path (reduces churn).
10Router IDLowestAnyTiebreaker — lowest BGP Router ID wins.
11Neighbor IPLowestAnyFinal tiebreaker — lowest neighbor IP address.
Memory aid: W-L-L-A-O-M-E-I-O-R-N — Weight, Local-pref, Locally-originated, AS-path, Origin, Med, External, IGP-metric, Oldest, Router-id, Neighbor-ip. Or: "We Love Oranges AS Oranges Mean Pure Refreshment" (Weight, Local-pref, Originated, AS-path, Origin, MED, Paths-eBGP, Router-id)
communityvalueeffect
NO_EXPORT0xFFFFFF01Do not advertise to eBGP peers — stays within the confederation or AS.
NO_ADVERTISE0xFFFFFF02Do not advertise to ANY BGP peer (iBGP or eBGP). Local use only.
LOCAL_AS0xFFFFFF03Do not send outside the local AS, even to confederation peers.
BLACKHOLE0xFFFF029ARFC 7999. Signals upstream to drop traffic to this prefix (used for DDoS mitigation / RTBH).
statemeaning
IdleInitial state. BGP waiting to start. May be held here after error (idle hold timer).
ConnectWaiting for TCP connection to complete. If connect timer expires, moves to Active.
ActiveTCP failed — trying again. Often seen when neighbor is unreachable or misconfigured.
OpenSentTCP connected, OPEN message sent. Waiting for OPEN from peer.
OpenConfirmOPEN received and validated. Exchanging KEEPALIVEs to confirm.
EstablishedSession up. UPDATEs flowing. This is the only state where routes are exchanged.
Stuck in Active = TCP can't complete (check reachability, ACLs, source IP). Stuck in OpenSent/OpenConfirm = OPEN mismatch (AS number wrong, hold time incompatible, auth mismatch).
techniquehowuse case
AS_PATH prependAppend your own ASN multiple times to the AS_PATH on outbound updatesMake a path look longer to influence inbound traffic from a specific peer to prefer your other link
LOCAL_PREFSet higher value on preferred exit point in route-mapInfluence outbound traffic — all iBGP peers prefer the exit with highest LOCAL_PREF
MEDSet lower MED on preferred entry point advertised to upstream ASHint to upstream which link they should use to reach your network (only works within same upstream AS)
Route reflectorDesignate an RR to redistribute iBGP routes — eliminates full mesh requirementScales iBGP in large AS — without RR need n(n-1)/2 sessions
ConfederationSplit AS into sub-ASes, use private ASNs internallyAlternative to RR for scaling iBGP — common in large ISPs
RTBHAdvertise attacked prefix with BLACKHOLE community to upstreamRemotely triggered black hole — upstream drops traffic before it hits your network
Soft reconfigurationbgp soft-reconfig inbound — store received routes before policyAllows clear ip bgp soft without dropping session — needed for policy changes
conceptdetail
What it isSoftware-defined overlay that abstracts physical WAN links (MPLS, broadband, LTE) into a unified fabric with centralized policy control.
Key benefitApplication-aware path selection — route voice over low-latency MPLS, bulk data over cheap broadband, failover automatically on degradation.
UnderlayThe physical WAN transport (MPLS, internet, LTE/5G). SD-WAN builds IPsec tunnels over the underlay.
OverlayVirtual topology of IPsec tunnels — hub-spoke, full mesh, or hybrid. Managed by the controller.
vEdge / Edge deviceCPE at branch — terminates tunnels, enforces policy, measures SLA metrics per path.
Controller / OrchestratorCentralised management plane — distributes policy, topology, and certificates to all edge devices.
platformvendorcontrollerunderlay supportstandout features
Cisco Catalyst SD-WAN (Viptela) Cisco vManage (cloud/on-prem) MPLS, Internet, LTE, DOCSIS Deep IOS-XE integration, mature enterprise feature set, OMP routing protocol, strong security policy (ZBFW, IDS/IPS, SIG)
Cisco Meraki SD-WAN Cisco Meraki Dashboard (cloud-only) Internet, LTE, MPLS Zero-touch provisioning, simple UI, auto VPN (hub-spoke), tightly integrated with Meraki switching/wireless — best for SMB/distributed retail
Aruba EdgeConnect HPE Aruba Orchestrator (cloud/on-prem) MPLS, Internet, LTE, DOCSIS BusinessIntent Overlays, first-packet iQ (no flow learning delay), strong WAN optimisation heritage (Silver Peak), SASE integration
Fortinet Secure SD-WAN Fortinet FortiManager / FortiCloud MPLS, Internet, LTE NGFW + SD-WAN in single FortiGate device — eliminates separate security appliance, lowest TCO for security-first deployments
VMware VeloCloud (VCG) Broadcom VCO (cloud/on-prem) MPLS, Internet, LTE Strong carrier/MSP ecosystem, dynamic multipath optimisation (DMPO), widely deployed in telco-managed SD-WAN services
Versa Networks Versa Versa Director MPLS, Internet, LTE SASE-native, multi-tenancy, strong for MSPs, integrated SSE (SWG, CASB, ZTNA)
NSA (Non-Standalone)SA (Standalone)
Control planeAnchored on 4G LTE EPCNative 5G Core (5GC)
Data plane5G NR radio, LTE anchorFull 5G NR + 5GC
Latency~10–20 ms~1–5 ms (with edge compute)
Network slicingNot supportedSupported — critical for SD-WAN SLA guarantees
SD-WAN relevanceGood LTE fallback / augmentationEnables 5G as primary WAN with SLA-backed slices
componentfunctionreplaces
SD-WANUnderlay abstraction, path selection, WAN optimisationMPLS + legacy WAN routers
SWG (Secure Web Gateway)URL filtering, SSL inspection, malware scanning for internet trafficOn-prem web proxy
CASBCloud Access Security Broker — visibility and control over SaaS appsDLP appliances
ZTNAZero Trust Network Access — identity-based access, replaces VPNRemote access VPN
FWaaSFirewall-as-a-Service — cloud-delivered NGFW inspectionBranch perimeter firewall
stepmechanismdetail
1SLA probe / BFDEach edge device continuously measures per-path metrics using BFD or ICMP/HTTP probes. Measurement interval typically 100–500 ms. Metrics: latency, jitter, packet loss.
2Application identificationDPI classifies flows — matches by port, protocol, DPI signature, or IP prefix. First packet may use default path; subsequent packets use classified path (some vendors: first-packet iQ avoids this delay).
3SLA policy matchApplication class mapped to SLA policy (e.g. Voice SLA: latency <150ms, loss <1%, jitter <30ms). Controller pushes policies to all edges.
4Path scoringAll available paths scored against the SLA policy. Paths that meet SLA thresholds are eligible. Among eligible paths, preference order applied (e.g. MPLS first, then broadband, then LTE).
5Forwarding decisionBest path selected. If path degrades mid-flow (SLA violation detected), traffic rerouted to next-best path — typically sub-second failover.
metricwhat it measuresvoice thresholdvideo thresholddata threshold
Latency (RTT)Round-trip time in ms< 150 ms< 200 ms< 500 ms
JitterVariation in packet delay (ms)< 30 ms< 50 msNot critical
Packet loss% of packets dropped< 1%< 2%< 5%
MOS scoreMean Opinion Score (1–5) for voice quality> 3.6
ITU-T G.114 recommends one-way delay <150ms for voice. At >400ms one-way, conversations become unnatural. Jitter buffers can absorb 20–50ms of jitter but add latency in exchange.
strategyhow it worksbest for
Active/StandbyAll traffic on primary path; secondary only used on failure. Simple but underutilises backup bandwidth.Sites with limited broadband, MPLS-primary designs
Active/Active (load balance)Traffic distributed across multiple paths per policy. Maximises utilisation but complicates troubleshooting.Dual broadband sites, high-throughput branches
App-aware (tiered)Voice/video on MPLS (low latency, guaranteed), bulk on broadband, LTE as last resort. Each app class has its own SLA.Mixed-criticality enterprise branches — most common production design
Packet duplicationSend same packet on multiple paths simultaneously, receiver keeps first copy. Eliminates loss at cost of 2× bandwidth.Ultra-critical real-time apps (trading, 911 dispatch) over lossy paths
FEC (Forward Error Correction)Add redundant packets so receiver can reconstruct lost packets without retransmission.Voice/video over high-loss consumer broadband or LTE
parametertypical valuenotes
Hello interval100–300 msHow often BFD probes are sent. Lower = faster detection, higher CPU/bandwidth.
Detection multiplier3–5Missed hellos before declaring path down. Detection time = interval × multiplier.
Detection time (example)300 ms × 3 = 900 msSub-second failover. Aggressive: 100ms × 3 = 300ms detection.
Async modeMost commonBoth sides send probes independently. Session down when multiplier × interval expires without receipt.
Echo modeOptionalLoopback probes test forwarding plane only — lower CPU on remote end.

Enter your branch traffic profile to calculate required WAN capacity, with SD-WAN path recommendations.

branch profile
Mbps/user
Mbps/user
Mbps/user
Mbps/user
Mbps total
SD-WAN factors
Raw demand
After concurrency
After IPsec overhead
With growth buffer
Recommended per-link circuit
Total provisioned (with redundancy)
SD-WAN path recommendation
typetypical speedlatencySLAbest for
MPLS (L3VPN)10–10,000 Mbps5–30 msYes — carrier SLAVoice, video, ERP — mission-critical, predictable performance
Business Broadband (cable/fibre)100–10,000 Mbps10–50 msBest-effortInternet, cloud apps — low cost, high bandwidth
DIA (Dedicated Internet Access)100–10,000 Mbps5–20 msYes — symmetricalHybrid WAN primary — guaranteed symmetrical, SLA-backed internet
4G LTE10–150 Mbps20–60 msBest-effortFailover, temporary sites, pop-up branches
5G (sub-6 GHz)100–1,000 Mbps10–30 msImprovingPrimary WAN for branches without fibre, replacing LTE failover
SD-WAN over internetAggregatedVariesApp-level SLAReplacing MPLS for non-latency-sensitive apps — 60–80% cost reduction
circuit typespeedslatencySLAtopologycostbest for
DIA
Dedicated Internet Access
10M–100G < 5ms local 99.99% typical Point-to-point to carrier POP $$–$$$ Primary internet for enterprise, SD-WAN underlay, cloud connectivity. Symmetrical bandwidth.
MPLS
Multiprotocol Label Switching
2M–10G < 10ms site-to-site 99.99%+ with guarantees Any-to-any private WAN $$$–$$$$ Private site-to-site WAN, voice/video with QoS guarantees. Legacy but still common in regulated industries.
SD-WAN
Software-Defined WAN
Any (overlay) Depends on underlay Managed SLA varies Overlay on DIA/broadband/LTE $–$$ Multi-site WAN over internet. Application-aware routing, failover, centralised management. Replaces MPLS for many.
Broadband / Cable
DOCSIS / HFC
100M–2.5G down / asymmetric 5–30ms typical Best-effort, no SLA Shared last mile $ SD-WAN secondary/backup, small branches, home office. Asymmetric — low upload limits.
Dark Fiber
Unlit fiber lease
1G–400G+ (you provide optics) < 1ms local Physical only — you manage Point-to-point or ring $$$$ Campus/metro inter-site links. You supply the equipment (DWDM, transponders). Maximum control, maximum capex.
DWDM / WDM
Dense Wavelength Division Multiplexing
100G–400G per lambda, 80+ lambdas Speed of light Carrier-grade 99.999% Long-haul fiber rings $$$$+ Data center interconnect, metro rings, carrier backbone. Multiple 100G wavelengths on single fiber pair.
4G/LTE
Mobile broadband
10–150 Mbps typical 20–60ms typical Best-effort, no SLA Point-to-multipoint (tower) $ OOB management, SD-WAN failover, temporary sites, pop-up events. Data caps apply.
5G
Sub-6 / mmWave
100M–4G (sub-6), up to 10G (mmWave) < 10ms (sub-6) Carrier-dependent Point-to-multipoint $–$$ Fixed wireless access, SD-WAN primary in areas without fiber, private 5G campus networks.
VPLS / EVPN
L2 VPN over carrier
10M–10G < 10ms metro Carrier SLA Any-to-any L2 $$$ Layer 2 extension between sites. Data centre interconnect at L2. Transparent to routing.
DIA vs MPLS: DIA gives you raw internet bandwidth at lower cost; MPLS gives you guaranteed QoS and private routing but at premium pricing. SD-WAN over DIA is now the default choice for most enterprises, with MPLS retained only where strict latency/loss SLAs are contractually required.
user & app inputs
concurrent users
general browsing / email Mbps/user
video calls (HD) Mbps/user
VoIP calls Mbps/user
cloud apps (SaaS/ERP) Mbps/user
backup / file transfer Mbps total
concurrency factor
overhead / growth buffer
sizing results
raw demand
after concurrency
recommended circuit
with redundancy (×2)
area typeLSA types allowedexternal routesdefault routeuse case
Backbone (Area 0)1,2,3,4,5Yes (Type 5)OptionalRequired hub — all other areas must connect to Area 0 directly or via virtual link
Normal area1,2,3,4,5Yes (Type 5)OptionalStandard non-backbone area — full LSA database
Stub1,2,3No — blockedInjected by ABRLeaf areas with no ASBR — reduces LSA database size significantly
Totally Stub1,2NoInjected by ABRMost aggressive size reduction — only intra-area routes + default. Cisco-proprietary.
NSSA1,2,3,7Type 7 (internal)OptionalStub area that also has an ASBR redistributing external routes (e.g. connected to internet)
Totally NSSA1,2,7Type 7 (internal)Injected by ABRNSSA with default route injection — Cisco-proprietary

OSPF cost = reference bandwidth / interface bandwidth. Default reference = 100 Mbps (Cisco). Adjust reference to differentiate modern link speeds.

interface typebandwidthcost @ selected ref BW
* Cost floors at 1 — IOS cannot represent fractional costs. Set auto-cost reference-bandwidth 10000 (or higher) to differentiate GE from 10GE. Always set the same reference bandwidth on ALL OSPF routers in the domain.
stepcriterionnotes
1OSPF priorityHighest priority wins (0–255). Default 1. Priority 0 = never elected DR/BDR. Set on interface: ip ospf priority X
2Router IDTiebreaker — highest Router ID wins. Router ID = highest loopback IP, else highest interface IP, or manually configured.
DR/BDR election only occurs on multi-access networks (Ethernet broadcast segments). Point-to-point links skip election entirely. DR reduces LSA flooding — instead of n(n-1)/2 adjacencies, all routers form adjacency only with DR and BDR. Election is non-preemptive — changing priority does not force re-election without clearing the OSPF process.
LSA typenamegenerated byscopecarries
1Router LSAEvery routerSingle areaLinks and states of the originating router
2Network LSADRSingle areaList of routers on a broadcast segment
3Summary LSAABROther areasInter-area routes — blocked in stub/totally-stub areas
4ASBR Summary LSAABROther areasLocation of ASBR — blocked in stub areas
5External LSAASBREntire OSPF domainExternal routes (E1/E2) — blocked in all stub types
7NSSA External LSAASBR in NSSANSSA area onlyExternal routes within NSSA — converted to Type 5 by ABR
componentdetail
Length128 bits — written as 8 groups of 4 hex digits separated by colons. Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Compression rulesLeading zeros in each group may be omitted. One contiguous sequence of all-zero groups may be replaced with :: (only once per address).
Prefix notationCIDR-style: 2001:db8::/32. Prefix length replaces subnet mask.
Interface IDTypically the lower 64 bits. Can be EUI-64 derived, random (RFC 4941 privacy), or manually assigned.
typeprefixscopenotes
Global Unicast (GUA)2000::/3Internet-routableEquivalent to public IPv4. IANA allocates from 2001::/32 upward. Your ISP gives you a /48 or /56.
Link-Localfe80::/10Single linkAuto-configured on every IPv6 interface. Never routed. Used for NDP, DHCPv6, routing protocol adjacencies. Required even if no GUA assigned.
Unique Local (ULA)fc00::/7OrganizationRoughly equivalent to RFC 1918. Not routable on internet. fd00::/8 is locally assigned (randomly generated 40-bit prefix). Use for internal services.
Loopback::1/128HostEquivalent to 127.0.0.1. Single address.
Unspecified::/128Source address used before interface has an address (DHCPv6 solicit, DAD). Never destination.
Multicastff00::/8VariesNo IPv6 broadcast — multicast replaces it. See table below for well-known groups.
AnycastFrom unicast spaceNearest nodeSame address assigned to multiple nodes — routed to closest. Used for DNS root servers, CDN, load balancing.
Documentation2001:db8::/32Examples onlyReserved for documentation and examples (RFC 3849). Never routed.
addressgroupnotes
ff02::1All nodes (link-local)Equivalent to 224.0.0.1. Reaches all IPv6 nodes on the link.
ff02::2All routers (link-local)Used by hosts to find routers for SLAAC (RS messages).
ff02::5OSPFv3 all routersOSPFv3 hello messages.
ff02::6OSPFv3 DR/BDROSPFv3 designated router.
ff02::9RIPngRIPng routing updates.
ff02::aEIGRPEIGRP hellos and updates.
ff02::1:2All DHCPv6 relay/serversDHCPv6 client sends Solicit to this address.
ff02::1:ffxx:xxxxSolicited-node multicastDerived from last 24 bits of unicast address. Used for NDP neighbor solicitation (replaces ARP).
stepdetail
1Take the 48-bit MAC address: 00:1A:2B:3C:4D:5E
2Split in half and insert FF:FE in the middle: 00:1A:2B:FF:FE:3C:4D:5E
3Flip bit 7 of the first byte (Universal/Local bit): 0002
4Result: 021a:2bff:fe3c:4d5e — append to /64 prefix for full address.
Privacy concern: EUI-64 embeds your MAC address in the IPv6 address, making you trackable across networks. RFC 4941 (privacy extensions) generates random Interface IDs instead and is default on most modern OS.
message typeICMPv6 typepurposeIPv4 equivalent
Router Solicitation (RS)133Host asks routers to send RA immediately
Router Advertisement (RA)134Router announces prefix, default gateway, M/O flagsDHCP offer (partial)
Neighbor Solicitation (NS)135Resolve IPv6 address to MAC (like ARP request), also used for DADARP request
Neighbor Advertisement (NA)136Reply with MAC addressARP reply
Redirect137Router tells host of better next-hopICMP Redirect
methodM flagO flaghow it worksbest for
SLAAC00Host combines /64 prefix from RA with self-generated Interface ID (EUI-64 or random). No server needed.Simple networks, IoT, home
SLAAC + Stateless DHCPv601SLAAC for address, DHCPv6 for other options (DNS, NTP). Server assigns no address.Enterprise where DNS control needed
Stateful DHCPv611DHCPv6 server assigns full address + options. Like DHCPv4. Requires relay on routed segments.Enterprise requiring address control
StaticManually configured. Always needed for router interfaces and servers.Servers, routers, infrastructure
DAD (Duplicate Address Detection) runs automatically before any unicast address is used — sends NS to the solicited-node multicast address; if NA received, address is a duplicate and not assigned.
prefixallocationnotes
/32ISP allocationTypical block assigned to an ISP from RIR
/48Site / customerTypical allocation to an end-site. Allows 65,536 subnets of /64.
/56Residential / small siteCommon ISP allocation for home/SOHO — 256 subnets of /64.
/64Single subnetStandard subnet size. Required for SLAAC and EUI-64. 18.4 quintillion host addresses.
/127Point-to-point linksRFC 6164. Use instead of /64 on router-to-router links to prevent subnet-router anycast issues.
/128Host / loopbackSingle address — used for loopbacks, anycast, and host routes.
typelayercommon usekey protocols
IPsec (tunnel mode)L3Site-to-site, remote accessIKEv1/v2, ESP, AH
IPsec (transport mode)L3Host-to-host encryptionESP, AH
GREL3Tunnel multicast/routing protocolsGRE (IP proto 47)
GRE over IPsecL3Site-to-site with routing protocol supportGRE + ESP
DMVPNL3Hub-spoke with dynamic spoke-to-spokemGRE, NHRP, IPsec
FlexVPNL3Modern Cisco VPN frameworkIKEv2, VTI
SSL/TLS VPNL4-L7Remote access, clientlessTLS, DTLS
WireGuardL3Modern simple VPNUDP, Curve25519, ChaCha20
L2TP/IPsecL2 in L3Legacy remote access (Windows built-in)L2TP + IPsec ESP
MPLS L3VPNL2.5Service provider enterprise VPNMPLS, MP-BGP, VRF
phasenamewhat happensoutput
Phase 1IKE_SA_INITExchange DH public keys, nonces, SA proposals (encryption, integrity, PRF, DH group). Establishes a secure authenticated channel.IKE SA — encrypted management channel
Phase 2IKE_AUTHAuthenticate peers (pre-shared key or certificates), negotiate first Child SA (IPsec tunnel parameters).Child SA — the actual data tunnel (ESP/AH)
RekeyCREATE_CHILD_SARenew Child SAs before lifetime expires without dropping traffic. Can also add new tunnels.New Child SA, old removed
IKEv2 is faster (2 exchanges vs IKEv1's 6–9), supports MOBIKE (mobility), EAP authentication, and asymmetric authentication. Always prefer IKEv2 for new deployments.
Tunnel modeTransport mode
What's encryptedEntire original IP packet (header + payload) encapsulated in new IP packetOnly the IP payload (TCP/UDP data); original IP header preserved
New IP headerAdded — outer header uses tunnel endpoints (gateway IPs)None — original header used
Use caseSite-to-site VPN, remote access (gateway encrypts on behalf of hosts)Host-to-host encryption (both endpoints run IPsec stack)
OverheadHigher — extra IP header + ESP header (~50–60 bytes)Lower — no extra IP header (~30–40 bytes)
ESP (Encapsulating Security Payload)AH (Authentication Header)
IP protocol5051
EncryptionYes — AES-GCM, AES-CBC, ChaCha20-Poly1305No
AuthenticationYes (of payload)Yes (of entire packet including IP header)
NAT traversalYes — ESP-in-UDP (port 4500) for NAT-TNo — AH covers IP header, broken by NAT
Used in practiceAlways — ESP is the standardRare — AH is mostly legacy
componentrolenotes
HubCentral siteRuns mGRE and NHRP server. All spokes register their NBMA (real) address here on boot.
SpokeBranch siteRegisters with hub. Can dynamically build direct spoke-to-spoke tunnels without hub forwarding.
mGREMultipoint GRESingle GRE interface on hub that terminates tunnels from all spokes. Eliminates hub config scaling problem.
NHRPNext Hop Resolution ProtocolSpoke queries hub for another spoke's real IP. Hub responds so spokes can build direct tunnel. Like ARP for DMVPN.
Phase 1Hub-and-spoke onlyAll traffic flows through hub. Simple. No direct spoke-to-spoke.
Phase 2Spoke-to-spoke (same subnet)Spokes learn each other's IPs via NHRP and build direct tunnels. Hub in same subnet as spokes.
Phase 3Spoke-to-spoke (hierarchical)Uses NHRP redirect/shortcut. Spokes can be in different subnets. Most scalable.
attributedetail
IP protocol47
Overhead24 bytes (20 outer IP + 4 GRE header). MTU considerations: reduce inner MTU to 1476 (1500 − 24) or enable PMTUD.
Supports multicastYes — can carry OSPF, EIGRP, PIM hellos. IPsec alone cannot carry multicast.
EncryptionNone — GRE is an encapsulation protocol only. Combine with IPsec for security.
KeepalivesSupported (Cisco). Send GRE keepalives to detect far-end tunnel failure even if routing still up.
Recursive routingCommon misconfiguration — tunnel destination reachable only via the tunnel itself. Fix: use a static route for the tunnel destination via the physical interface.
attributedetail
TransportUDP — port 51820 default (configurable)
CryptoCurve25519 (key exchange), ChaCha20-Poly1305 (encryption + auth), BLAKE2s (hash), SipHash24 (hashtable)
AuthenticationPublic/private key pairs — no certificates, no PKI, no CA needed
Handshake1-RTT — much faster than IKEv2's 2-RTT. Initiator sends first packet, responder replies, tunnel up.
RoamingBuilt-in — IP address changes handled transparently. Endpoint updates on valid packet receipt.
StealthNo response to unauthenticated packets — appears as closed port to scanners.
vs IPsecFar simpler config, smaller attack surface (~4K LoC vs ~400K), faster, but fewer enterprise features (no IKEv2 EAP, no RADIUS integration).
protocol/portpurposenotes
UDP 500IKE (Internet Key Exchange)Phase 1 and Phase 2 negotiation. Used when no NAT detected.
UDP 4500IKE NAT-Traversal + ESP-in-UDPUsed when NAT detected between peers. ESP packets wrapped in UDP for NAT compatibility.
IP proto 50ESPThe actual encrypted data. Used directly when no NAT. Becomes UDP 4500 with NAT-T.
IP proto 51AHAuthentication only. Rarely used. Incompatible with NAT.
IP proto 47GREGRE tunnel encapsulation. Often combined with IPsec.
SNMPv1SNMPv2cSNMPv3
AuthenticationCommunity string (cleartext)Community string (cleartext)Username + MD5/SHA hash
EncryptionNoneNoneDES / AES-128/256
Bulk operationsNoYes — GetBulkYes — GetBulk
64-bit countersNoYes (Counter64)Yes
Use todayLegacy onlyCommon (monitoring)Required for security
Use SNMPv3 with authPriv security level for any device accessible beyond your management VLAN. Community strings in v1/v2c are transmitted in cleartext and visible in packet captures.
levelauthenticationencryptionuse case
noAuthNoPrivUsername onlyNoneAvoid — no real security
authNoPrivMD5 or SHANoneVerifies source but data is cleartext
authPrivMD5 or SHADES or AESRecommended — full security
operationdirectionportpurpose
GETManager → AgentUDP 161Retrieve a specific OID value
GET-NEXTManager → AgentUDP 161Walk the MIB tree — get next OID in sequence
GET-BULKManager → AgentUDP 161v2c/v3 — retrieve multiple OIDs in one request. Efficient for tables.
SETManager → AgentUDP 161Write a value to the agent. Requires read-write community / access.
TRAPAgent → ManagerUDP 162Unsolicited alert from agent (link down, threshold exceeded). No acknowledgement.
INFORMAgent → ManagerUDP 162Like TRAP but manager acknowledges. Reliable delivery. v2c/v3 only.
OIDnamedescription
1.3.6.1.2.1.1.1.0sysDescrDevice description string (OS version, model)
1.3.6.1.2.1.1.3.0sysUpTimeTime since last reboot (in hundredths of a second)
1.3.6.1.2.1.1.5.0sysNameConfigured hostname
1.3.6.1.2.1.2.2.1.8ifOperStatusInterface operational status (1=up, 2=down)
1.3.6.1.2.1.2.2.1.10ifInOctetsInbound octets on interface (32-bit, wraps on high-speed links)
1.3.6.1.2.1.2.2.1.16ifOutOctetsOutbound octets on interface
1.3.6.1.2.1.31.1.1.1.6ifHCInOctets64-bit inbound octet counter — use this for interfaces above 100 Mbps
1.3.6.1.2.1.4.21ipRouteTableIP routing table
1.3.6.1.4.1.9Cisco enterprise MIBCisco-specific OIDs (CPU, memory, temperature)
levelnamemeaningexamples
0EmergencySystem unusableKernel panic, total hardware failure
1AlertImmediate action requiredDatabase corruption, all redundancy lost
2CriticalCritical conditionsDual PSU failure, hardware error
3ErrorError conditionsInterface error, BGP session down, config apply fail
4WarningWarning conditionsHigh CPU, link flap, interface error rate
5NoticeNormal but significantConfig change, user login, interface up/down
6InformationalInformational messagesSTP topology change, OSPF adjacency up
7DebugDebug-level messagesPer-packet detail — never send to syslog server in production
Cisco IOS default logging: severity 6 (informational) to console and buffer. Recommended syslog server level: 5 (notice) or 6 (informational) to capture events without flooding. logging trap <level> on Cisco sets the threshold sent to the syslog server.
facilitycodetypical source
kern0Kernel messages
user1User-level messages
mail2Mail system
daemon3System daemons
auth4Security/authentication (login, sudo)
syslog5Syslog daemon itself
local0–local716–23Custom use — network devices commonly use local6 or local7
conceptdetail
PortUDP 123
Stratum 0Reference clock (atomic, GPS, radio). Not directly accessible on network.
Stratum 1Directly connected to stratum 0. Public NTP servers (time.cloudflare.com, pool.ntp.org). Most accurate on internet.
Stratum 2Syncs from stratum 1. Your internal NTP server should be stratum 2.
Stratum 3–15Each level adds ~1ms jitter. Avoid deep chains.
Stratum 16Unsynchronized — device does not have a valid time source.
NTPv4Current version. Supports IPv6, improved security, up to nanosecond precision.
PTP (IEEE 1588)Precision Time Protocol — sub-microsecond accuracy for financial, telecom, 5G. Hardware timestamping required.
Why NTP matters for networks: syslog timestamps across devices must match to correlate events during incidents. Certificate validation requires accurate time. Kerberos authentication fails if clocks are skewed >5 minutes. OSPF/BGP can be affected by timestamp issues in some implementations.
practicedetail
Minimum sourcesConfigure at least 3 NTP servers so NTP can use majority voting to detect a bad time source. 4+ preferred.
Internal hierarchyPoint all network devices to 2–3 internal NTP servers (your core routers or dedicated appliances). Internal servers sync to 2+ public stratum 1/2 sources.
AuthenticationUse NTP MD5 authentication between internal servers and clients to prevent rogue NTP server attacks.
Restrict accessNTP ACL — only allow queries from your management network. Prevents NTP amplification DDoS abuse.
Cisco quick configntp server <IP> prefer / ntp source <interface> / show ntp status / show ntp associations

Work through each layer in order. Click a layer to expand its checks. Most Wi-Fi issues resolve at L1 or L2 — don't skip to DHCP before verifying association.

1
Physical / RF — Can the client see the AP?
L1 RF
Client RSSI at AP — use AP CLI or controller dashboard. Minimum for reliable data: −70 dBm. Below −75 dBm: expect degraded performance. Below −80 dBm: likely disconnects.
SNR — Signal-to-Noise Ratio. Below 20 dB is marginal, below 10 dB will cause heavy retransmissions. Check noise floor too: a −70 dBm signal with −65 dBm noise floor (5 dB SNR) is worse than −80 dBm with −95 dBm noise (15 dB SNR).
Channel utilization — above 70% causes contention delays. Check on controller or AP CLI. If high, check for non-Wi-Fi interference (microwave, Bluetooth, radar, baby monitors on 2.4 GHz).
Client is on wrong band — if client capable of 5 GHz but stuck on 2.4 GHz, check band steering config. 2.4 GHz is more congested and limited to HT40 max (300 Mbps theoretical).
AP seeing the client — run show wireless client detail mac <MAC> (Cisco) or equivalent. If AP doesn't see client at all, the client can't hear the AP's beacon — move closer or check AP operational status.
✓ Pass if: client RSSI ≥ −70 dBm, SNR ≥ 20 dB, channel utilization < 70%, client on appropriate band.
✗ Fail symptoms: client can't see SSID, sees SSID but can't connect, very slow speeds, high retry rate.
2
Association — Is the client joining the BSSID?
L2 802.11
Association state — check client state on controller: should be "Associated" before authentication begins. States: Idle → Authenticating → Associated → (8021X) → DHCP → Connected.
SSID mismatch — confirm the client is connecting to the right SSID and BSSID. A client may associate to the correct SSID name on a neighboring AP in a different VLAN.
Deauthentication / disassociation storms — look for reason codes in association logs. Common: Reason 1 (unspecified), Reason 2 (prev auth no longer valid), Reason 3 (left BSS), Reason 4/5 (AP deauth/disassoc). Frequent deauths = signal issue or client driver bug.
Client exclusion / blacklist — many controllers auto-exclude clients after repeated failed auths. Check exclusion list. Common trigger: wrong PSK entered 3–5 times.
Max client limit — APs have a max concurrent client limit (typically 100–200 per radio). Check current client count on the AP radio.
✓ Pass if: client state = Associated, no deauth loops, not excluded, AP below client limit.
✗ Fail symptoms: client associates then immediately disconnects, stuck in "authenticating" state, not visible on controller.
3
Authentication — Is 802.1X / PSK passing?
L2 Auth
PSK networks — if client associates but doesn't get IP, check the PSK. A wrong PSK causes a 4-way handshake failure — client associates at L2 but EAPOL MIC check fails, AP deauths client. On Wireshark: look for EAPOL frame 2 followed by deauth.
802.1X — RADIUS reachability — AP/WLC must reach the RADIUS server. Check show aaa servers (Cisco). Confirm UDP 1812 is open between WLC and RADIUS. A RADIUS timeout causes client auth failure with no useful error to the client.
RADIUS reject vs timeout — reject means credentials wrong or policy failure (check NPS/ISE logs). Timeout means RADIUS unreachable or shared secret mismatch (packet sent but no reply, or RADIUS gets packet but MAC mismatch on shared secret).
Certificate errors (EAP-TLS / PEAP) — client not trusting server cert: ensure root CA is installed on client. Server not trusting client cert (EAP-TLS): check cert expiry, CRL reachability, RADIUS auth store. Most common EAP-TLS failure: expired cert or CRL server unreachable.
VLAN assignment — RADIUS can return a VLAN attribute (Tunnel-Type=VLAN, Tunnel-Medium-Type=802, Tunnel-Private-Group-ID=VLAN-ID). If VLAN doesn't exist on AP/WLC trunk, client may be dropped or placed in default VLAN.
✓ Pass if: RADIUS Access-Accept received, VLAN assigned, client moves to DHCP state.
✗ Fail symptoms: "Authentication failed" on client, repeated deauths after association, stuck at "Getting network address" (skipped to DHCP but then re-auth loop).
4
DHCP — Is the client getting an IP?
L3 DHCP
Client IP address — does the client have a valid IP (not 169.254.x.x APIPA, not 0.0.0.0)? APIPA = DHCP failed. Check client DHCP logs.
DHCP relay — the AP/WLC converts client DHCP broadcasts to unicast DHCP relay (giaddr = WLC SVI IP or AP management IP). Check the relay agent config on the SVI: ip helper-address <DHCP server IP>. If missing, DHCP broadcasts never reach the server.
Correct VLAN / pool — DHCP server pool must match the client VLAN subnet. A client in VLAN 20 (10.20.0.0/24) won't get an IP if only a VLAN 10 pool exists. Check DHCP server binding table and scope.
Pool exhaustion — check remaining DHCP leases. On Cisco: show ip dhcp binding / show ip dhcp pool. Common in high-density venues — shorten lease times or expand scope.
DHCP snooping — if enabled on the switch/WLC VLAN, check that the DHCP server port is trusted. If the WLC uplink is not trusted, DHCP offers will be dropped.
✓ Pass if: client has valid IP in correct subnet with gateway and DNS populated.
✗ Fail symptoms: 169.254.x.x address, "Limited connectivity", stuck at "Getting IP address".
5
Routing / DNS — Can the client reach its destination?
L3 Routing
Default gateway reachable?ping <default gateway> from client. If this fails: check the SVI is up, ACL not blocking ICMP, client ARP table has gateway MAC (run arp -a).
DNS resolutionnslookup google.com <DNS IP>. If DNS fails but gateway pings: check firewall rules allowing UDP/TCP 53 to the DNS server. Also verify DHCP Option 6 (DNS) is populated correctly.
Internet reachable but internal resources not? — likely a routing or firewall issue between the wireless VLAN and internal subnets. Check inter-VLAN routing on the core switch/router and firewall policies.
Client isolation / peer blocking — many SSIDs enable AP client isolation (blocks client-to-client traffic on same SSID). If clients can't reach each other or local printers, check client isolation setting. Normal for guest networks, problematic for corporate.
Captive portal loop — if client gets IP and gateway pings but HTTP redirects to captive portal indefinitely: check portal reachability, DNS pre-auth whitelist, and whether the client already has a valid session. HTTPS-only sites will show cert error instead of portal — ensure HTTP redirect is in place.
✓ Pass if: gateway pings, DNS resolves, target resources reachable. Issue is resolved.
✗ If all 5 layers pass but user still complains: check application-layer issues, proxy config, or client firewall/VPN software.
platformcommandpurpose
Cisco WLC (IOS-XE)show wireless client detail mac <MAC>Full client state, AP, RSSI, VLAN, auth method
Cisco WLCshow wireless client summaryAll connected clients — count, SSID, AP
Cisco AP (local)show dot11 associationsClients associated to this AP
Aruba Controllershow user-table mac <MAC>Client table — IP, VLAN, role, AP
Aruba Controllershow ap associationAP association table
Wireshark (client side)wlan.fc.type_subtype == 12Filter deauthentication frames — shows reason code
WiresharkeapolShow 4-way handshake — useful for PSK failure diagnosis
Windows clientnetsh wlan show interfacesCurrent SSID, BSSID, signal, channel, Rx/Tx rate
macOS client⌥-click Wi-Fi menuShows RSSI, noise, channel, PHY mode, rate
task 🟦 Cisco IOS / IOS-XE 🟩 Aruba AOS-CX 🟧 Juniper JunOS 🟥 Arista EOS
task 🟦 Cisco 9800 (IOS-XE) 🟩 Aruba MC (AOS8) 🟧 Ruckus SmartZone 🟣 Juniper Mist
© 2026 netslice.net · v2.2.0 built for network engineers and the curious