top of page

Full Cisco WLC Lab configuration start to finish!

Hi Guys,

I had to weigh up a Cisco wireless solution for an environment, i HAD to be forced to play with Cisco stuff LOL

Not having much exposure to Cisco enterprise wireless i requested that Cisco send me some kit to play with, to which they obliged, i googled until my head was spinning and couldn't find a single source of truth for configuring a basic lab, one without the need for external services like DHCP, DNS, NTP, AD and RADIUS. 

 

So i build one out of just the following items;

Lab contains the following;

1 x WS-2960S-PS-L 24 port switch
1 x c1941 router
3 x CAP3502i Lightweight access points
1 x Cisco 2504 WLC
1 x Laptop with Wireless capability

1. Clear configurations on all devices

2. Make Physical Connections -

  • connect router port gi0/0 to switch port Gi1/0/24

  • connect WLC port 1 to switch port Gi1/0/12

  • connect WAPs to switch ports Gi1/0/1, 2 and 3

  • connect laptop to switch port Gi1/0/11


3. Power everything up!

4. Configure router

conf t
hostname WLC_LAB_ROUTER
!
ip domain name localdomain
ip dns server
ip host CISCO-CAPWAP-CONTROLLER.localdomain 10.0.50.50
!
int gi0/0
no ip add
no shut
!
int gi0/0.10
desc SSID_A_DEFAULT_GATE
enc dot 10
ip add 10.0.10.1 255.255.255.0
!
int gi0/0.20
desc SSID_B_DEFAULT_GATE
enc dot 20
ip add 10.0.20.1 255.255.255.0
!
int gi0/0.50
desc MANAGEMENT_DEFAULT_GATE
enc dot 50
ip add 10.0.50.1 255.255.255.0
!
ip dhcp pool SSID_A
network 10.0.10.0 255.255.255.0
default-router 10.0.10.1
dns-server 10.0.10.1
!
ip dhcp pool SSID_B
network 10.0.20.0 255.255.255.0
default-router 10.0.20.1
dns-server 10.0.20.1
!
ip dhcp pool Management
network 10.0.50.0 255.255.255.0
default-router 10.0.50.1
option 43 ip 10.0.50.50
dns-server 10.0.50.1
!
end
!

5. Configure switch

!
conf t
hostname WLC_LAB_SWITCH
!
vlan 10
name SSID_A
vlan 20
name SSID_B
vlan 50
name Management
!
!
interface range GigabitEthernet1/0/1-3
 description AP_Connections
 switchport mode trunk
 switchport trunk native vlan 50
 shutdown
!
int GigabitEthernet1/0/24
 description ROAS
 switchport mode trunk
!
int GigabitEthernet1/0/12
 description Trunk_to_Controller
 switchport mode trunk
!
int GigabitEthernet1/0/11
 description Management_PC
 switchport mode access
 switchport access vlan 50
!


6. Configure WLC

console to WLC and enter the following int the initial configuration process

Enter Administrative User Name (24 characters max): admin
Enter Administrative Password (3 to 24 characters): ********** (don't use ******** LOL)
Re-enter Administrative Password                  : **********
Management Interface IP Address: 10.0.50.50
Management Interface Netmask: 255.255.255.0
Management Interface Default Router: 10.0.50.1
Management Interface VLAN Identifier (0 = untagged): 50
Management Interface Port Num [1 to 4]: 1
Management Interface DHCP Server IP Address: 10.0.50.1
Virtual Gateway IP Address: 1.1.1.1
Mobility/RF Group Name: Test_Mobility/RF_Group
Network Name (SSID): SSID_A
Configure DHCP Bridging Mode [yes][NO]: no
Allow Static IP Addresses [YES][no]: yes
Configure a RADIUS Server now? [YES][no]: no
Enter Country Code list (enter 'help' for a list of countries) [US]: AU
Enable 802.11b Network [YES][no]: yes
Enable 802.11a Network [YES][no]: yes
Enable 802.11g Network [YES][no]: yes
Enable Auto-RF [YES][no]: yes
Configure a NTP server now? [YES][no]: yes
Enter the NTP server's IP address: 10.0.50.1
Enter a polling interval between 3600 and 604800 secs: 3600
Configuration correct? If yes, system will save it and reset. [yes][NO]:yes

So now you have the basic configuration from which to start massaging your lab to a working state, perform the following steps in order;

Confirm laptop has IP from DHCP

access Cisco Wireless GUI on 10.0.50.50

no shutdown AP ports on switch;

int range GigabitEthernet1/0/1-3
no shutdown

Configure controller in GUI;

under WLAN's edit security to PSK, enter a network key, like ciscocisco
!
under Controller tab, interfaces add dynamic interfaces for SSID's as per below;
interface name -SSID_A
Dynamic AP Management -disabled
Port -1
Backup port -2
VLAN ID -10
Address -10.0.10.50
Mask -255.255.255.0
Gateway -10.0.10.1
Primary DHCP -10.0.10.1
!
interface name -SSID_B
Dynamic AP Management -disabled
Port -1
Backup port -2
VLAN ID -20
Address -10.0.20.50
Mask -255.255.255.0
Gateway -10.0.20.1
Primary DHCP -10.0.20.1
!
under WLANs, click on SSID_A, change interface group to "SSID_A"
under WLANs, click "create new"
create new SSID for "SSID_B" with same parameters
!
Confirm both SSIDs are seen from a wireless client

Connect to the wireless!

bottom of page