Configuring a Cisco Switch Port for an Access Point¶
When connecting an access point to a Cisco switch, the port must be configured as a VLAN trunk. This allows the access point to carry multiple VLANs (for example, different SSIDs mapped to different VLANs) and pass them back to the switch.
Steps to Configure the Port¶
-
Enter configuration mode
-
Select the interface
ReplaceGigabitEthernet1/0/10with the actual port number where the AP is connected: -
Set the port to trunk mode
-
Allow the required VLANs
To allow all VLANs:
Example for VLANs 10, 20, and 30: -
Set the native VLAN
The native VLAN is used for untagged traffic, often the AP’s management VLAN: -
Enable PortFast (optional but recommended for APs)
-
Save the configuration
Summary¶
- Access points require a trunk port to handle multiple VLANs.
- Configure the port with
switchport mode trunk, specify allowed VLANs, and set a native VLAN. - Use
spanning-tree portfast trunkto optimize startup time for the AP.