14-7
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter14 Configuring VLANs
Configuring VLANs
Assign an SSID to a VLAN
Assign an AES-CCMP encryption method to a VLAN
Assign an SSID to a radio interface
ap# configure terminal
ap(config)# interface dot11Radio 0.31
ap(config-subif)# encapsulation dot1Q 31 native
ap(config-subif)# exit
ap(config)# interface gigabitEthernet 0.31
ap(config-subif)# encapsulation dot1Q 31 native
ap(config-subif)# exit
ap(config)# dot11 ssid batman
ap(config-ssid)# vlan 31
ap(config-ssid)# exit
ap(config)# interface dot11Radio 0
ap(config-if)# encryption vlan 31 mode ciphers aes-ccm
ap(config-if)# ssid batman
ap(config-if)# end
Assigning Names to VLANs
You can assign a name to a VLAN in addition to its numerical ID. VLAN names can contain up to 32
ASCII characters. The access point stores each VLAN name and ID pair in a table.

Guidelines for Using VLAN Names

Keep these guidelines in mind when using VLAN names:
The mapping of a VLAN name to a VLAN ID is local to each access point, so across your network,
you can assign the same VLAN name to a different VLAN ID.
Note If clients on your wireless LAN require seamless roaming, We recommend that you assign the
same VLAN name to the same VLAN ID across all access points, or that you use only VLAN
IDs without names.
Every VLAN configured on your access point must have an ID, but VLAN names are optional.
VLAN names can contain up to 32 ASCII characters. However, a VLAN name cannot be a number
between 1 and 4095. For example, vlan4095 is a valid VLAN name, but 4095 is not. The access point
reserves the numbers 1 through 4095 for VLAN IDs.

Creating a VLAN Name

Beginning in privileged EXEC mode, follow these steps to assign a name to a VLAN:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 dot11 vlan-name name vlan vlan-id Assign a VLAN name to a VLAN ID. The name can contain up
to 32 ASCII characters.