# How to Create SSID/WLAN Profile and Policy Profile on Cisco C9800 Wireless Controller via CLI

To create a new SSID/WLAN profile and policy profile on the Cisco C9800 Wireless Controller via the Command Line Interface (CLI), follow the steps outlined below:

### Step 1: Access the Cisco C9800 Wireless Controller CLI
Connect to the Cisco C9800 Wireless Controller using SSH or a console cable and log in with the appropriate credentials.

### Step 2: Create a new WLAN Profile
Use the following commands to create a new WLAN profile with the desired settings:
```bash
config wlan create <WLAN ID> <WLAN Name> <SSID>
config wlan ssid-profile <WLAN ID> security wpa wpa2 ciphers aes
config wlan security wpa akm 802.1x
config wlan security wpa wpa2 ciphers aes
config wlan security wpa wpa2 enable
config wlan security wpa wpa2 802.1x <RADIUS Server ID>
config wlan enable <WLAN ID>
```
Replace `<WLAN ID>`, `<WLAN Name>`, `<SSID>`, and `<RADIUS Server ID>` with the appropriate values for your network.

### Step 3: Create a new Policy Profile
Use the following commands to create a new Policy Profile with the desired settings:
```bash
config policy profile create <Policy Profile Name>
config policy profile ssid <Policy Profile Name> add <WLAN ID>
config policy profile user <Policy Profile Name> add <User Role ID>
```
Replace `<Policy Profile Name>`, `<WLAN ID>`, and `<User Role ID>` with the relevant values for your network configuration.

### Step 4: Apply the Policy Profile to an Interface
Apply the created Policy Profile to a specific interface using the following command:
```bash
config interface policy-profile <Interface Name> <Policy Profile Name>
```
Replace `<Interface Name>` with the name of the interface to which the Policy Profile should be applied.

### Step 5: Verify the Configuration
Verify the configuration by checking the WLAN and Policy Profile settings using the following commands:
```bash
show wlan summary
show policy profile <Policy Profile Name>
```
This will display the configured WLAN and Policy Profile settings for verification.

By following these steps and using the provided CLI commands, you can create a new SSID/WLAN profile and policy profile on the Cisco C9800 Wireless Controller efficiently and effectively.
