I know how to do this by WCS or Web to WLC but not by CLI.
Config Guide doesn't seem to have it.
How do I use CLI to associate the
- AP Group (which I already created)
- the SSID
- the interface
Here are the CLI steps;
Note: Issue this command in order to enable the AP Group VLANs feature from the CLI:
config location enable/disable
Note: Issue this command in order to define the location string (AP group name) using the CLI:
config location add
Note: Issue this command in order to map the interface to the AP groups through the CLI:
config location interface-mapping add
Starting from Wireless LAN Controller Version 22.214.171.124, the commands to configure AP groups with the CLI have changed. In Version 126.96.36.199, these are the commands used to configure a new AP group with the CLI:
In order to enable an AP group, use this:
config wlan apgroup add
In order to delete an existing group, use this:
config wlan apgroup delete
In order to add a description to the AP group, use this:
config wlan apgroup description
In order to create a new AP group/WLAN/interface mapping, use this:
config wlan apgroup interface-mapping add
Note: Issue this command from the controller CLI in order to assign an AP group to an LAP:
config ap group-name
For WLCs that run version 188.8.131.52 or later, use this command to verify the AP Group VLAN configuration.
show wlan apgroups
From this good doc;
Hope this helps!