Tags

In this post we will see how to learn CLI commands to configure a WLAN.  I have created a WLAN called “Test-15” with wlan-id 15. Here are the default settings once you create a WLAN.

WLAN-CLI-01

WLAN-CLI-02

WLAN-CLI-05

WLAN-CLI-06

Here are the CLI commands generated by this basic WLAN creation. Once you take a back up of the WLC configuration you can derive this.

config wlan create 15 Test-15 Test-15
config wlan interface 15 management
config wlan broadcast-ssid enable 15
config wlan security wpa enable 15

config wlan wmm allow 15

config wlan session-timeout 15 1800
config wlan exclusionlist 15 60
config wlan mfp client enable 15

As you can see all the CLI commands start with “config wlan” & as long as you master the “config wlan” CLI commands you should be able to configure any WLAN specific features via CLI. Here is the full list

(WLC2) >config wlan ?

7920-support   Configures support for phones.
IPv6Support    Configures IPv6 support on a WLAN.
aaa-override   Configures user policy override via AAA on a WLAN.
acl            Specify a per-WLAN ACL
apgroup        Manage AP Groups VLAN feature.
band-select    Allow|Disallow Band Select on a WLAN.
broadcast-ssid Configures SSID Broadcast on a WLAN.
call-snoop     Configures Call Snooping.
ccx            Configure Cisco Client Extension options.
channel-scan   Configures off channel scanning deferral parameters. 
chd            Enable/Disable CHD per WLAN
create         Creates a WLAN.
custom-web     Configures the Web Authentication Page per Profile.
delete         Deletes a WLAN.
dhcp_server    Configures the WLAN's DHCP Server.
diag-channel   Configures Diagnostics Channel Capability on a WLAN.
disable        Disables a WLAN.
dtim           Configures the DTIM Period for a WLAN
enable         Enables a WLAN.
exclusionlist  Configures Exclusion-list timeout.
h-reap         Configures H-REAP options for wlan.
interface      Configures the WLAN's interface.
ldap           Configures the WLAN's LDAP servers.
load-balance   Allow|Disallow Load Balance on a WLAN.
local-auth     Configures Local EAP Authentication.
mac-filtering  Configures MAC filtering on a WLAN.
max-associated-clients Configures maximum no. of client connections on wlan/guest-lan/remote-lan. 
media-stream   Configures Media Stream.
mfp            Configures Management Frame Protection.
mobility       Configures the Inter-Switch Mobility Manager
multicast      Configures the WLAN's multicast parameters.
nac            Configures NAC on wlan/guest-lan/remote-lan.
peer-blocking  Configure peer-to-peer blocking on a WLAN.
qos            Configures Quality of Service policy.
radio          Configures the Radio Policy.
radius_server  Configures the WLAN's RADIUS Servers.
roamed-voice-client Configure Voice Client Re-Anchor policy
security       Configures the security policy for a WLAN.
session-timeout Configures client timeout.
sip-cac        Configure SIP CAC Failure policy.
static-ip      Configures static IP client tunneling support on a WLAN.
uapsd          Configures UAPSD.
webauth-exclude Enable/Disable WebAuth Exclusion
wmm            Configures WMM (WME).

There are 44 commands… How do you remember this… Let’s break it down to the section corresponds to GUI.

WLAN-CLI-01

Here is the corresponding CLI for this section.

(WLC2) >config wlan ?

create         Creates a WLAN.
broadcast-ssid Configures SSID Broadcast on a WLAN.
interface      Configures the WLAN's interface.
disable        Disables a WLAN.
enable         Enables a WLAN.
delete         Deletes a WLAN.
radio          Configures the Radio Policy.
multicast      Configures the WLAN's multicast parameters.

Here is the security section related configs

WLAN-CLI-02WLAN-CLI-03WLAN-CLI-04

security       Configures the security policy for a WLAN.

webauth-exclude Enable/Disable WebAuth Exclusion
custom-web     Configures the Web Authentication Page per Profile.

radius_server  Configures the WLAN's RADIUS Servers.
ldap           Configures the WLAN's LDAP servers.
local-auth     Configures Local EAP Authentication.
mac-filtering  Configures MAC filtering on a WLAN.

Here is the QoS related configurationsWLAN-CLI-05

(WLC2) > config wlan ?

qos            Configures Quality of Service policy.
wmm            Configures WMM (WME).
7920-support   Configures support for phones.
media-stream   Configures Media Stream.
uapsd          Configures UAPSD.

Next Advanced Configuration Settings of a WLAN

WLAN-CLI-06

Here is the CLI commands relevant to this section

(WLC2) > config wlan ?

aaa-override   Configures user policy override via AAA on a WLAN.
chd            Enable/Disable CHD per WLAN
session-timeout Configures client timeout.
ccx            Configure Cisco Client Extension options.
diag-channel   Configures Diagnostics Channel Capability on a WLAN.
IPv6Support    Configures IPv6 support on a WLAN.
acl            Specify a per-WLAN ACL
peer-blocking  Configure peer-to-peer blocking on a WLAN.
exclusionlist  Configures Exclusion-list timeout.
max-associated-clients Configures maximum no. of client connections on wlan/guest-lan/remote-lan.
channel-scan   Configures off channel scanning deferral parameters.
h-reap         Configures H-REAP options for wlan.
dhcp_server    Configures the WLAN's DHCP Server.
static-ip      Configures static IP client tunneling support on a WLAN.
mfp            Configures Management Frame Protection.
dtim           Configures the DTIM Period for a WLAN
nac            Configures NAC on wlan/guest-lan/remote-lan.
load-balance   Allow|Disallow Load Balance on a WLAN.
band-select    Allow|Disallow Band Select on a WLAN.
call-snoop     Configures Call Snooping.
sip-cac        Configure SIP CAC Failure policy.
roamed-voice-client Configure Voice Client Re-Anchor policy

There are two other places we will configure WLAN features. If you want to configure “Auto Anchor” or “AP Group” you have to use the following CLI commands

mobility       Configures the Inter-Switch Mobility Manage
apgroup        Manage AP Groups VLAN feature.

In next post we will drill in to more detail on each section.

Related Posts

1. Configuring WLAN via CLI – Part 2
2. Configuring WLAN via CLI – Part 3
3. Configuring WLAN via CLI – Part 4
4. Configuring WLAN via CLI – Part 5
5. Configuring WLAN via CLI – Part 6