( 1 )通过组网计划,把握小型网络的组建、无线 AC 控制器的设置,对网络使用无线 装备范围、无线认证和信道举行分析。 ( 2 )综合运用路由、 NAT 和无线 AC 控制器。 ( 3 )通过使用无线 AC 控制器对网络中的无线 AP 举行管理,设置无线规则和认证策 略,设置 DHCP 地点池,对无线 AP 和通过 AP 毗连的装备举行动态地点分配。 2.3.2 案例分析
( 1 ) SW1 互换机设置 <Huawei>system-view [Huawei]sysname SW1 [SW1]vlan batch 100 101 [SW1]interface GigabitEthernet 0/0/1 [SW1-GigabitEthernet0/0/1]port link-type trunk [SW1-GigabitEthernet0/0/1]port trunk pvid vlan 101 [SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 101 [SW1-GigabitEthernet0/0/1]quit [SW1]interface GigabitEthernet 0/0/2 [SW1-GigabitEthernet0/0/2]port link-type trunk [SW1-GigabitEthernet0/0/2]port trunk pvid vlan 101 [SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 101 [SW1-GigabitEthernet0/0/2]quit [SW1]interface GigabitEthernet 0/0/3 [SW1-GigabitEthernet0/0/3]port link-type trunk 21 [SW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 100 101 [SW1-GigabitEthernet0/0/3]quit [SW1]dhcp enable [SW1]interface Vlanif 100 [SW1-Vlanif100]ip address 10.10.100.1 22 [SW1-Vlanif100]dhcp select interface [SW1-Vlanif100]dhcp server dns-list 114.114.114.114 223.5.5.5 [SW1-Vlanif100]quit ( 2 ) AC1 互换机设置 注意:中间有两处必要加入 MAC 地点(在 AP1 和 AP2 中通过 dis arp 查询)。 [AC1]vlan batch 100 101 [AC1]dhcp enable [AC1]interface GigabitEthernet 0/0/1 [AC1-GigabitEthernet0/0/1]port link-type trunk [AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 101 [AC1-GigabitEthernet0/0/1]quit [AC1]interface Vlanif 101 [AC1-Vlanif101]ip address 172.16.101.1 24 [AC1-Vlanif101]dhcp select interface [AC1-Vlanif101]quit [AC1]wlan [AC1-wlan-view]ap-group name ap-group1 [AC1-wlan-ap-group-ap-group1]regulatory-domain-profile default Warning: Modifying the country code will clear channel, power and antenna gain c onfigurations of the radio and reset the AP. Continue?[Y/N]:y [AC1-wlan-ap-group-ap-group1]quit [AC1-wlan-view]quit [AC1]capwap source interface Vlanif 101 [AC1]wlan [AC1-wlan-view]ap auth-mode mac-auth 22 [AC1-wlan-view]ap-id 0 ap-mac 00e0-fc26-7b80 [AC1-wlan-ap-0]ap-name area_1 [AC1-wlan-ap-0]ap-group ap-group1 Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to c ontinue? [Y/N]:y. done. [AC1-wlan-ap-0]quit [AC1-wlan-view]ap-id 1 ap-mac 00e0-fc7e-52e0 [AC1-wlan-ap-1]ap-name area_2 [AC1-wlan-ap-1]ap-group ap-group1 Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to c ontinue? [Y/N]:y Info: This operation may take a few seconds. Please wait for a moment.. done. [AC1-wlan-ap-1]quit [AC1-wlan-view]display ap all Info: This operation may take a few seconds. Please wait for a moment.done. Total AP information: nor : normal [2] -------------------------------------------------------------------------------- --------------- ID MAC Name Group IP Type State STA Up time -------------------------------------------------------------------------------- --------------- 0 00e0-fc26-7b80 area_1 ap-group1 172.16.101.117 AP2050DN nor 0 3M :7S 1 00e0-fc7e-52e0 area_2 ap-group1 172.16.101.179 AP2050DN nor 0 23 2M :16S -------------------------------------------------------------------------------- --------------- Total: 2 [AC1-wlan-view]security-profile name Internet [AC1-wlan-sec-prof-Internet]security wpa-wpa2 psk pass-phrase a1234567 aes [AC1-wlan-sec-prof-Internet]quit [AC1-wlan-view]ssid-profile name Internet [AC1-wlan-ssid-prof-Internet]ssid Internet [AC1-wlan-ssid-prof-Internet]quit [AC1-wlan-view]vap-profile name Internet [AC1-wlan-vap-prof-Internet]forward-mode direct-forward [AC1-wlan-vap-prof-Internet]service-vlan vlan-id 100 [AC1-wlan-vap-prof-Internet]security-profile Internet [AC1-wlan-vap-prof-Internet]ssid-profile Internet [AC1-wlan-vap-prof-Internet]quit [AC1-wlan-view]ap-group name ap-group1 [AC1-wlan-ap-group-ap-group1]vap-profile Internet wlan 1 radio 0 [AC1-wlan-ap-group-ap-group1]vap-profile Internet wlan 1 radio 1 [AC1-wlan-ap-group-ap-group1]quit ( 3 )检察无线网络信号