14-6
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter14 Configuring VLANs
Configuring VLANs
Step 2 - Creating an SSID and assigning it to a VLAN
Beginning in privileged EXEC mode, follow these steps to assign an SSID to a VLAN.
Step 3 - Assigning encryption settings to a VLAN on a given radio interface
Beginning in privileged EXEC mode, follow these steps to assign encryption settings to a VLAN on a
given radio interface.
The following example shows how to:
Enable a VLAN on the radio and ethernet ports as the native VLAN
Command Purpose
Step1 dot11 ssid ssid-string Create an SSID and enter SSID configuration mode for the new
SSID. The SSID can consist of up to 32 alphanumeric
characters. SSIDs are case sensitive.
The SSID can consist of up to 32 alphanumeric, case-sensitive,
characters.
Note You use the ssid command’s authentication options to
configure an authentication type for each SSID. See
Chapter 11, “Configuring Authentication Types,” for
instructions on configuring authentication types.
Step2 vlan vlan-id (Optional) Assign the SSID to a VLAN on your network. Client
devices that associate using the SSID are grouped into this
VLAN. Enter a VLAN ID from 1 to 4095.
You can assign only one VLAN to an SSID, but you can assign
two SSIDs to a VLAN, as long as each SSID is sent to a
different radio interface. However, you cannot assign two
SSIDs to the same VLAN on the same interface.
Tip If your network uses VLAN names, you can also assign
names to the VLANs on your access point. See the
“Assigning Names to VLANs” section on page14-7 for
instructions.
Step3 exit Return to interface configuration mode for the radio interface.
Command Purpose
Step1 interface dot11radio 0 | 1 Enter interface configuration mode for the radio interface.
The 2.4-GHz radio and the 2.4-GHz 802.11n radio is 0.
The 5-GHz radio and the 5-GHz 802.11n radio is 1.
Step2 ssid ssid-string Assigns the SSID to the interface.
Step3 encryption vlan vlan-id {mode |
key}
Configures the encryption method for the VLAN associated to
this interface. For more details see Chapter 10, “Configuring
WLAN Authentication and Encryption,”which describes in
detail the possible methods and keys.