2022年配置VLAN与SSID关联 .pdf
《2022年配置VLAN与SSID关联 .pdf》由会员分享,可在线阅读,更多相关《2022年配置VLAN与SSID关联 .pdf(11页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、VLANs on Aironet Access Points ConfigurationExampleDocument ID: 69773IntroductionPrerequisites Requirements Components Used Conventions Network DiagramConfigure Configure the Native VLAN on the AP Configure VLANs for Guest Users and Admin Users on the AP Configure the Catalyst Switch Configure the R
2、outerVerifyTroubleshoot Troubleshooting Procedure Troubleshooting CommandsNetPro Discussion Forums - Featured ConversationsRelated InformationIntroductionThis document provides a configuration example that shows how to configure VLANs on Cisco AironetAccess Points (APs) with use of the command-line
3、interface (CLI).PrerequisitesRequirementsEnsure that you meet these requirements before you attempt this configuration:Knowledge of the basic configuration of Aironet APs? Knowledge of the configuration of the Aironet 802.11a/b/g Client Adapter with the Aironet DesktopUtility? Basic knowledge of the
4、 configuration of Cisco Catalyst switches and Cisco routers? Components UsedThe information in this document is based on these software and hardware versions:Aironet 1240AG Series AP that runs Cisco IOS? Software Release 12.4(3g)JA1? Aironet 802.11a/b/g Client Adapter? Aironet Desktop Utility that r
5、uns firmware version 2.5? Catalyst 2950 switch that runs Cisco IOS Software Release 12.1(19)EA1? 2800 ISR Router that runs Cisco IOS Software Release 12.4(11)T? The information in this document was created from the devices in a specific lab environment. All of the名师资料总结 - - -精品资料欢迎下载 - - - - - - - -
6、 - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 11 页 - - - - - - - - - devices used in this document started with a cleared (default) configuration. If your network is live, make surethat you understand the potential impact of any command.ConventionsRefer to the Cisco Technical Tips Conventions fo
7、r more information on document conventions.Network DiagramThis document uses this network setup.An Aironet 1200 Series AP has three VLANs VLAN 2, VLAN 20, and VLAN 30. The setup in thisdocument uses VLAN 2 as the native VLAN, VLAN 20 for the administrative (admin) department, andVLAN 30 for guest us
8、ers. Wireless users who belong to the admin department must connect to the AP andshould be able to connect to the admin department users on the wired network (on VLAN 20). The wirelessguest users must be able to connect to a web server that is on the wired segment on VLAN 30. A Catalyst2950 switch c
9、onnects the AP to the wired network. A 2800 ISR router connects to the same switch and acts asa DHCP server for wireless clients that belong to VLAN 20 and VLAN 30. The router needs to assign IPaddresses to clients from their respective subnet. You must configure the AP, Catalyst switch, and the rou
10、terfor an implementation of this setup.Below is the list of IP addresses used for the devices in the document. All the IP addresses use /24 subnetmask名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 11 页 - - - - - - - - - AP Bridge-Group Virtual Interface (BVI) I
11、P address (VLAN 2)?72.16.1.20? Wireless client (SSID Admin) that connects to VLAN 20 gets an IP address from the DHCP server ofthe router from the subnet 172.16.2.0? Wireless client (SSID Guest) that connects to VLAN 30 gets an IP address from the DHCP server ofthe router from the subnet 172.16.3.0?
12、 Admin user on the wired network on VLAN 20?72.16.2.60 (Static IP)? Web server on VLAN 30?72.16.3.60 (Static IP)? Sub-interface of the router in VLAN 2?72.16.1.1? Sub-interface of the router in VLAN 20?72.16.2.1? Sub-interface of the router in VLAN 30?72.16.3.1? ConfigureIn this section, you are pre
13、sented with the information to configure the features described in this document.Note: Use the Command Lookup Tool ( registered customers only) to find more information on the commandsused in this document.In order to configure the AP to connect to a specific VLAN, you must configure the service set
14、 identifier(SSID) to recognize the VLAN. Either a VLAN ID or a name identifies a VLAN. Therefore, if you configurethe SSID on an AP to recognize a specific VLAN ID or name, you can establish a connection to the VLAN.After establishment of the connection, the wireless clients that connect to the AP w
15、ith use of the specific SSIDare assigned to that VLAN. Because you can configure up to 16 SSIDs on an AP, you can create 16 VLANson an AP. In order to configure VLANs on APs and establish connectivity, you must complete these steps:Configure the native VLAN on the AP.1. Configure VLANs for the guest
16、 users and the admin users on the AP.2. Configure the Catalyst switch.3. Configure the router4. Configure the Native VLAN on the APThe VLAN, to which the Access Point itself and other infrastructure devices such as the switch, to which theaccess point connects, is called native VLAN. Native VLAN of
17、the Access Point is usually different fromother VLANs configured on the Access Point. It is BVI interface , which is used for the management of theAccess Point that is assigned an IP address in the native VLAN subnet. The traffic, for example, managementtraffic, sent to and by the Access Point itsel
18、f assumes the native VLAN, and it is untagged. All untaggedtraffic that is received on an IEEE 802.1Q (dot1q) trunk port is forwarded with the native VLAN that isconfigured for the port. If a packet has a VLAN ID that is the same as the native VLAN ID of the sendingport, the switch sends the packet
19、without a tag. Otherwise, the switch sends the packet with a tag.In order to configure a native VLAN on an AP, issue these commands in global configuration mode on theAP:AccessPoint#interface fastethernet 0.2AccessPoint#encapsulation dot1q 2 native!- Configure the encapsulation as dot1q and assign V
20、LAN 2 as the native VLAN !- on the Fast Ethernet interface.AccessPoint#exitAccessPoint#interface dot11radio 0.2AccessPoint#encapsulation dot1q 2 native!- Configure the encapsulation as dot1q and assign VLAN 2 as the native VLAN !- on the radio interface.名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - -
21、 - - - - - 名师精心整理 - - - - - - - 第 3 页,共 11 页 - - - - - - - - - AccessPoint#endConfigure VLANs for Guest Users and Admin Users on the APHere, you need to configure two VLANs, one for the guest users and the other for the admin department users.You also need to associate the SSID to the specific VLANs
22、. This example configures:VLAN 20 for the admin department and uses the SSID Admin? VLAN 30 for guest users and uses the SSID Guest? In order to configure these VLANs, enter these commands in global configuration mode:AccessPoint#configure terminal!- Enter global configuration mode.AccessPoint(confi
23、g)#interface dot11radio 0!- Enter radio interface configuration mode.AccessPoint(config-if)#ssid Admin!- Configure the SSID Admin.AccessPoint(config-if-ssid)#vlan 20!- Assign VLAN 20 to the SSID.AccessPoint(config-if-ssid)#authentication open!- Configure open authentication for the SSID.AccessPoint(
24、config-if-ssid)#endAccessPoint(config) interface fastethernet 0.20!- Enter subinterface mode on the Fast Ethernet interface.AccessPoint(config-subif) encapsulation dot1Q 20!- Set the encapsulation as dot1q for VLAN 20.AccessPoint(config-subif) bridge-group 20!- Assign the subinterface to bridge grou
25、p 20.AccessPoint(config-subif) exitAccessPoint(config) interface dot11radio 0.20!- Enter subinterface mode on the radio interface.AccessPoint(config-subif) encapsulation dot1Q 20!- Set the encapsulation as dot1q for VLAN 20.AccessPoint(config-subif) bridge-group 20!- Assign the subinterface to bridg
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年配置VLAN与SSID关联 2022 配置 VLAN SSID 关联
限制150内