Wireless LAN Configuration (CCNA 200-301)
Network Topology & Switch Configuration
In a Split-MAC deployment, the Wireless LAN Controller (WLC) handles management and control planes, while Access Points (APs) handle the real-time data forwarding.
- Power over Ethernet (PoE): APs receive both data and power through a single Ethernet cable.
- Switch Ports to APs: Configured as Access Ports in the Management VLAN. The APs encapsulate wireless traffic into CAPWAP (Control and Provisioning of Wireless Access Points) tunnels to send to the WLC.
- Switch Ports to WLC: Configured as a Trunk Port bundled in a LAG (Link Aggregation Group).
- LAG Constraint: WLCs only support Static LAG. They do not support negotiation protocols like PAgP or LACP.
VLAN & IP Addressing Scheme
| VLAN ID | Name | Subnet | Switch SVI (Default GW) | WLC IP Address | Purpose |
|---|---|---|---|---|---|
| 10 | Management | 192.168.1.0/24 | 192.168.1.1 | 192.168.1.100 | Device management, AP-to-WLC CAPWAP |
| 100 | Internal | 10.0.0.0/24 | 10.0.0.1 | 10.0.0.100 | Mapped to Internal WLAN (SSID) |
| 200 | Guest | 10.1.0.0/24 | 10.1.0.1 | 10.1.0.100 | Mapped to Guest WLAN (SSID) |
Switch Configuration Commands
! Create VLANs
Switch(config)# vlan 10
Switch(config-vlan)# name Management
Switch(config)# vlan 100
Switch(config-vlan)# name Internal
Switch(config)# vlan 200
Switch(config-vlan)# name Guest
! Configure Access Ports for APs and Management PC
Switch(config)# interface range fastethernet 0/6 - 8
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10
Switch(config-if)# spanning-tree portfast
! Configure Static LAG (EtherChannel) to WLC
Switch(config)# interface range fastethernet 0/1 - 2
Switch(config-if)# switchport mode trunk
Switch(config-if)# channel-group 1 mode on
Switch(config-if)# no shutdown
! Configure Port-Channel Interface
Switch(config)# interface port-channel 1
Switch(config-if)# switchport trunk allowed vlan 10,100,200
! Configure SVIs for Default Gateways
Switch(config)# interface vlan 10
Switch(config-if)# ip address 192.168.1.1 255.255.255.0
Switch(config)# interface vlan 100
Switch(config-if)# ip address 10.0.0.1 255.255.255.0
Switch(config)# interface vlan 200
Switch(config-if)# ip address 10.1.0.1 255.255.255.0
! Configure DHCP Pools
Switch(config)# ip dhcp pool VLAN10_POOL
Switch(dhcp-config)# network 192.168.1.0 255.255.255.0
Switch(dhcp-config)# default-router 192.168.1.1
Switch(dhcp-config)# option 43 ip 192.168.1.100
! Note: Option 43 tells APs the WLC's IP if they are in a different subnet.
Switch(config)# ip dhcp pool VLAN100_POOL
Switch(dhcp-config)# network 10.0.0.0 255.255.255.0
Switch(dhcp-config)# default-router 10.0.0.1
Switch(config)# ip dhcp pool VLAN200_POOL
Switch(dhcp-config)# network 10.1.0.0 255.255.255.0
Switch(dhcp-config)# default-router 10.1.0.1
! Enable NTP Server on Switch
Switch(config)# ntp master
Things to note:
- DHCP Option 43 is critical when APs and WLCs are in different subnets. If they are in the same subnet, APs use Layer 2 broadcasts for CAPWAP discovery.
- APs connect to Access ports, not Trunk ports. The CAPWAP tunnel handles the VLAN tagging internally.
Split-MAC Traffic Flow
graph TD
Client((Wireless Client)) -- Wi-Fi SSID --> AP[Access Point]
AP -- CAPWAP Tunnel --> WLC[Wireless LAN Controller]
WLC -- Dynamic Interface VLAN 100 --> SW[Switch Trunk/Port-Channel]
SW -- Routed via SVI --> GW[Default Gateway 10.0.0.1]
WLC Physical Ports vs. Logical Interfaces
A common misconception is using “port” and “interface” interchangeably. On a WLC, they mean distinctly different things.
| Feature | WLC Ports (Physical) | WLC Interfaces (Logical) |
|---|---|---|
| Definition | Physical hardware connectors where cables plug in. | Virtual/Logical interfaces inside the WLC OS (similar to SVIs). |
| Service Port | Dedicated out-of-band management port (supports only 1 VLAN). | Bound to the physical service port for out-of-band management. |
| Distribution System | Standard network ports for data traffic. Can form a LAG. | N/A (Physical ports mapped to logical interfaces). |
| Console Port | RJ45 or USB port for direct CLI access. | N/A |
| Redundancy Port | Connects to another WLC to form a High Availability (HA) pair. | Redundancy Mgmt Interface: Used to manage the standby WLC in an HA pair. |
| N/A | N/A | Management Interface: Used for in-band management (SSH, HTTPS, RADIUS, CAPWAP endpoints). |
| N/A | N/A | Virtual Interface: Used for client communications (DHCP relay, Web Auth). Must be an unused IP. |
| N/A | N/A | Dynamic Interfaces: Used to map a specific WLAN (SSID) to a specific wired VLAN. |
WLC Initial Setup (CLI Wizard)
When a WLC boots for the first time, it launches a CLI configuration wizard.
- Autoinstall: Skipped (used to download config from TFTP).
- LAG Setup: Must select
yesto enable Link Aggregation if connecting via a Port-Channel. - Management Interface IP: Assigns the in-band management IP (e.g., 192.168.1.100).
- Virtual Gateway IP: Used for client communications (DHCP relay).
- Regulatory Domain (Country Code): CRITICAL. The WLC’s country code must match the AP’s hardware regulatory domain (e.g.,
-Efor Europe,-Afor US/Canada). If they mismatch, the AP will fail to join the WLC. - Auto-RF: Allows WLC to automatically assign channels and transmit power.
Configuring WLC Interfaces & WLANs (GUI)
Once the CLI setup is complete, access the GUI via HTTPS using the Management IP.
1. Create Dynamic Interfaces
Dynamic interfaces map a WLAN to a specific VLAN on the wired network.
- Navigate to Controller > Interfaces > New.
- Internal Interface: Map to VLAN 100, assign IP
10.0.0.100/24. - Guest Interface: Map to VLAN 200, assign IP
10.1.0.100/24.
2. Configure WLANs (SSIDs)
Navigate to WLANs > Create New.
- Profile Name: Internal identifier in the WLC.
- SSID: The actual broadcasted wireless network name.
- ID: Unique numeric identifier (e.g., 1 for Internal, 2 for Guest).
- Interface Mapping: Change from Management Interface to the correct Dynamic Interface (e.g., Internal).
3. Security Policies
Navigate to the Security tab of the WLAN.
- Layer 2 Security: Select WPA + WPA2.
- Authentication Key Management: Change from 802.1X to PSK (Pre-Shared Key).
- ASCII format: Requires a minimum of 8 characters.
- HEX format: Hexadecimal password.
- Layer 3 Security: Optional. Includes Web Authentication (requires username/password via captive portal) or Web Passthrough (requires clicking “Accept” on a splash page). Common for Guest networks.
WLC QoS & Management Features
WLAN QoS Levels
Configured in the QoS tab of the WLAN settings. Determines the priority of wireless traffic.
| QoS Level | Priority | Recommended Usage |
|---|---|---|
| Platinum | Highest | Voice (e.g., Wi-Fi IP phones) |
| Gold | High | Video streaming |
| Silver | Medium (Default) | Best effort data (Standard web browsing) |
| Bronze | Lowest | Background traffic (e.g., backups) |
Management & CPU ACLs
- Management via Wireless: Disabled by default. If enabled, wireless clients can manage the WLC GUI/CLI. Best practice is to leave it disabled.
- CPU Access Control Lists (ACLs):
- Used to filter and restrict management traffic destined directly for the WLC’s CPU (e.g., SSH, HTTPS, SNMP).
- Does NOT affect transit traffic passing through the WLC from wireless clients to the wired network.
- Applied under Security > Access Control Lists > CPU Access Control Lists.
Summary of Commands
! --- SWITCH CONFIGURATION ---
! VLAN Creation
Switch(config)# vlan [10-200]
Switch(config-vlan)# name [Name]
! AP Access Ports
Switch(config)# interface range fa0/7 - 8
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10
! Static LAG to WLC (No PAgP/LACP!)
Switch(config)# interface range fa0/1 - 2
Switch(config-if)# switchport mode trunk
Switch(config-if)# channel-group 1 mode on
Switch(config)# interface port-channel 1
Switch(config-if)# switchport trunk allowed vlan 10,100,200
! DHCP Option 43 for AP Discovery
Switch(config)# ip dhcp pool VLAN10_POOL
Switch(dhcp-config)# option 43 ip [WLC_Management_IP]
! --- WLC GUI CONFIGURATION PATHS ---
! Create Dynamic Interface: Controller > Interfaces > New
! Create WLAN: WLANs > Create New
! Change Security: WLANs > [WLAN_ID] > Security > Layer 2 > WPA2 + PSK
! Change QoS: WLANs > [WLAN_ID] > QoS > [Platinum/Gold/Silver/Bronze]
! Apply CPU ACL: Security > Access Control Lists > CPU Access Control Lists