【www.myl5520.com--网络散文】
华为AC-AP配置
篇一:华为ap组网方案
WLAN的基本业务组网图
配置思路 采用如下的思路配置大型网络WLAN基本业务:
1. 配置SwitchA和SwitchB,实现二层网络互通;配置SwitchB、Router和AC,实现三层网络互通。
2. 在Router上配置基于全局的DHCP服务器为AP和STA分配IP地址。
3. 配置WLAN基本业务,保证用户能够通过WLAN网络接入Internet。
说明:
本配置中的SwitchA采用的是华为盒式交换机,SwitchB采用的是框式交换机。 操作步骤
1. 配置网络互通
2.
# 配置SwitchA。将接口GE0/0/1加入VLAN100(管理VLAN),允许VLAN101(业务VLAN)的报文通过;将接口GE0/0/2加 入VLAN100(管理VLAN),允许VLAN102(业务VLAN)的报文通过;将接口GE0/0/3允许VLAN100、VLAN101和 VLAN102的报文通过。
3.
说明:
4.
建议在SwitchA连接AP的接口GE0/0/1和GE0/0/2上配置端口隔离,如果不配置端口隔离,可能会在VLAN内存在不必要的广播报文,或者导致不同AP间的WLAN用户二层互通的问题。
5.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan batch 100 101 102
[SwitchA] interface gigabitethernet 0/0/1
[SwitchA-GigabitEthernet0/0/1] port link-type trunk
[SwitchA-GigabitEthernet0/0/1] port trunk pvid vlan 100
[SwitchA-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101
[SwitchA-GigabitEthernet0/0/1] port-isolate enable
[SwitchA-GigabitEthernet0/0/1] quit
[SwitchA] interface gigabitethernet 0/0/2
[SwitchA-GigabitEthernet0/0/2] port link-type trunk
[SwitchA-GigabitEthernet0/0/2] port trunk pvid vlan 100
[SwitchA-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 102
[SwitchA-GigabitEthernet0/0/2] port-isolate enable
[SwitchA-GigabitEthernet0/0/2] quit
[SwitchA] interface gigabitethernet 0/0/3
[SwitchA-GigabitEthernet0/0/3] port link-type trunk
[SwitchA-GigabitEthernet0/0/3] port trunk allow-pass vlan 100 to 102
[SwitchA-GigabitEthernet0/0/3] quit
6.
# 配置SwitchB。配置接口GE1/0/1允许VLAN100、VLAN101和VLAN102的报文通过,GE1/0/2允许VLAN200的报文通过,GE1/0/3允许VLAN201的报文通过。
7.
<Quidway> system-view
[Quidway] sysname SwitchB
[SwitchB] vlan batch 100 101 102 200 201
[SwitchB] interface gigabitethernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] port link-type trunk
[SwitchB-GigabitEthernet1/0/1] port trunk allow-pass vlan 100 to 102
[SwitchB-GigabitEthernet1/0/1] quit
[SwitchB] interface gigabitethernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] port link-type trunk
[SwitchB-GigabitEthernet1/0/2] port trunk allow-pass vlan 200
[SwitchB-GigabitEthernet1/0/2] quit
[SwitchB] interface gigabitethernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] port link-type trunk
[SwitchB-GigabitEthernet1/0/3] port trunk allow-pass vlan 201
[SwitchB-GigabitEthernet1/0/3] quit
[SwitchB] interface vlanif 100
[SwitchB-Vlanif100] ip address 192.168.10.1 24
[SwitchB-Vlanif100] quit
[SwitchB] interface vlanif 101
[SwitchB-Vlanif101] ip address 192.168.11.1 24
[SwitchB-Vlanif101] quit
[SwitchB] interface vlanif 102
[SwitchB-Vlanif102] ip address 192.168.12.1 24
[SwitchB-Vlanif102] quit
[SwitchB] interface vlanif 200
[SwitchB-Vlanif200] ip address 172.16.100.10 24
[SwitchB-Vlanif200] quit
[SwitchB] interface vlanif 201
[SwitchB-Vlanif201] ip address 172.16.101.10 24
[SwitchB-Vlanif201] quit
8.
# 配置AC连接SwitchB的接口Gigabitethernet0/0/1允许VLAN200的报文通过。
9.
<AC6605> system-view
[AC6605] sysname AC
[AC] vlan batch 101 102 200
[AC] interface vlanif 200
[AC-Vlanif200] ip address 172.16.100.2 24
[AC-Vlanif200] quit
[AC] interface gigabitethernet 0/0/1
[AC-GigabitEthernet0/0/1] port link-type trunk
[AC-GigabitEthernet0/0/1] port trunk allow-pass vlan 200
[AC-GigabitEthernet0/0/1] quit
10.
# 配置Router允许VLAN201的报文通过。
11.
<Huawei> system-view
[Huawei] sysname Router
[Router] vlan batch 201
[Router] interface vlanif 201
[Router-Vlanif201] ip address 172.16.101.1 24
[Router-Vlanif201] quit
[Router] interface gigabitethernet 2/0/0
[Router-GigabitEthernet2/0/0] port link-type trunk
[Router-GigabitEthernet2/0/0] port trunk allow-pass vlan 201
[Router-GigabitEthernet2/0/0] quit
12.
# 配置Router到SwitchB的路由。
13.
[Router] ip route-static 192.168.10.0 24 172.16.101.10
[Router] ip route-static 192.168.11.0 24 172.16.101.10
[Router] ip route-static 192.168.12.0 24 172.16.101.10 14.
# 配置SwitchB的缺省路由,下一跳为Router的VLANIF201。 15.
[SwitchB] ip route-static 0.0.0.0 0.0.0.0 172.16.101.1 16.
# 配置AC到AP的路由,下一跳为SwitchB的VLANIF200。 17.
[AC] ip route-static 192.168.10.0 24 172.16.100.10 18.
19.
20. 配置DHCP服务,为AP和STA分配IP地址
21.
# 配置SwitchB作为DHCP中继。
22.
华为AP5010配置胖ap三层路由模式
篇二:华为ap组网方案
华为AP5010 配置胖AP三层路由模式
使用vlan1 接口模式access
新建虚拟接口vlan2为用户使用;并开启dhcp
保持默认射频
新建服务器集,填写ssid;流量模版是控制流量的,即是限速,保持默认,安全模版是设置无线密码的,建议使用wpa2 pskccmppass-parchase;bss接口为用户上网空气接口,选择用户vlan2;
添加acl;新建acl;华为ap组网方案。
新建外网访问,nat;使用easy ip;绑定acl;
添加ap到上层设备的路由
测试ap是否能ping通网关
华为AC-AP
篇三:华为ap组网方案
WLAN基本业务组网图
配置思路 采用如下的思路配置大型网络WLAN基本业务:
1. 配置SwitchA和SwitchB,实现二层网络互通;配置SwitchB、Router和AC,实现三层网络互通。
2. 在Router上配置基于全局的DHCP服务器为AP和STA分配IP地址。
3. 配置WLAN基本业务,保证用户能够通过WLAN网络接入Internet。
说明:
本配置中的SwitchA采用的是华为盒式交换机,SwitchB采用的是框式交换机。 操作步骤
1. 配置网络互通
2.
# 配置SwitchA。将接口GE0/0/1加入VLAN100(管理VLAN),允许VLAN101(业务VLAN)的报文通过;将接口GE0/0/2加 入VLAN100(管理VLAN),允许VLAN102(业务VLAN)的报文通过;将接口GE0/0/3允许VLAN100、VLAN101和 VLAN102的报文通过。
3.
说明:
4.
建议在SwitchA连接AP的接口GE0/0/1和GE0/0/2上配置端口隔离,如果不配置端口隔离,可能会在VLAN内存在不必要的广播报文,或者导致不同AP间的WLAN用户二层互通的问题。
5.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan batch 100 101 102
[SwitchA] interface gigabitethernet 0/0/1
[SwitchA-GigabitEthernet0/0/1] port link-type trunk
[SwitchA-GigabitEthernet0/0/1] port trunk pvid vlan 100
[SwitchA-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101
[SwitchA-GigabitEthernet0/0/1] port-isolate enable
[SwitchA-GigabitEthernet0/0/1] quit
[SwitchA] interface gigabitethernet 0/0/2
[SwitchA-GigabitEthernet0/0/2] port link-type trunk
[SwitchA-GigabitEthernet0/0/2] port trunk pvid vlan 100
[SwitchA-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 102
[SwitchA-GigabitEthernet0/0/2] port-isolate enable
[SwitchA-GigabitEthernet0/0/2] quit
[SwitchA] interface gigabitethernet 0/0/3
[SwitchA-GigabitEthernet0/0/3] port link-type trunk
[SwitchA-GigabitEthernet0/0/3] port trunk allow-pass vlan 100 to 102
[SwitchA-GigabitEthernet0/0/3] quit
6.
# 配置SwitchB。配置接口GE1/0/1允许VLAN100、VLAN101和VLAN102的报文通过,GE1/0/2允许VLAN200的报文通过,GE1/0/3允许VLAN201的报文通过。
7.
<Quidway> system-view
[Quidway] sysname SwitchB
[SwitchB] vlan batch 100 101 102 200 201
[SwitchB] interface gigabitethernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] port link-type trunk
[SwitchB-GigabitEthernet1/0/1] port trunk allow-pass vlan 100 to 102
[SwitchB-GigabitEthernet1/0/1] quit
[SwitchB] interface gigabitethernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] port link-type trunk
[SwitchB-GigabitEthernet1/0/2] port trunk allow-pass vlan 200
[SwitchB-GigabitEthernet1/0/2] quit
[SwitchB] interface gigabitethernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] port link-type trunk
[SwitchB-GigabitEthernet1/0/3] port trunk allow-pass vlan 201
[SwitchB-GigabitEthernet1/0/3] quit
[SwitchB] interface vlanif 100
[SwitchB-Vlanif100] ip address 192.168.10.1 24
[SwitchB-Vlanif100] quit
[SwitchB] interface vlanif 101
[SwitchB-Vlanif101] ip address 192.168.11.1 24
[SwitchB-Vlanif101] quit
[SwitchB] interface vlanif 102
[SwitchB-Vlanif102] ip address 192.168.12.1 24
[SwitchB-Vlanif102] quit
[SwitchB] interface vlanif 200
[SwitchB-Vlanif200] ip address 172.16.100.10 24
[SwitchB-Vlanif200] quit
[SwitchB] interface vlanif 201
[SwitchB-Vlanif201] ip address 172.16.101.10 24
[SwitchB-Vlanif201] quit
8.
# 配置AC连接SwitchB的接口Gigabitethernet0/0/1允许VLAN200的报文通过。
9.
<AC6605> system-view
[AC6605] sysname AC
[AC] vlan batch 101 102 200
[AC] interface vlanif 200
[AC-Vlanif200] ip address 172.16.100.2 24
[AC-Vlanif200] quit
[AC] interface gigabitethernet 0/0/1华为ap组网方案。
[AC-GigabitEthernet0/0/1] port link-type trunk
[AC-GigabitEthernet0/0/1] port trunk allow-pass vlan 200
[AC-GigabitEthernet0/0/1] quit
10.
# 配置Router允许VLAN201的报文通过。
11.
<Huawei> system-view
[Huawei] sysname Router
[Router] vlan batch 201
[Router] interface vlanif 201
[Router-Vlanif201] ip address 172.16.101.1 24
[Router-Vlanif201] quit
[Router] interface gigabitethernet 2/0/0
[Router-GigabitEthernet2/0/0] port link-type trunk
[Router-GigabitEthernet2/0/0] port trunk allow-pass vlan 201
[Router-GigabitEthernet2/0/0] quit
12.
# 配置Router到SwitchB的路由。
13.
[Router] ip route-static 192.168.10.0 24 172.16.101.10
[Router] ip route-static 192.168.11.0 24 172.16.101.10
[Router] ip route-static 192.168.12.0 24 172.16.101.10 14.
# 配置SwitchB的缺省路由,下一跳为Router的VLANIF201。 15.
[SwitchB] ip route-static 0.0.0.0 0.0.0.0 172.16.101.1 16.
# 配置AC到AP的路由,下一跳为SwitchB的VLANIF200。 17.
[AC] ip route-static 192.168.10.0 24 172.16.100.10 18.
19.
20. 配置DHCP服务,为AP和STA分配IP地址
21.
# 配置SwitchB作为DHCP中继。
22.
无线AP配置
篇四:华为ap组网方案
1 特性简介
AP和AC间的连接最常用的情况就是进行IPv4二层网络连接,这种连接配置和使用方便、易于维护,是用户最常用的组网方案。
二层网络的连接无需路由设备,一般仅需要在AP和AC间使用带PoE供电的二层交换机。
2 使用指南
2.1使用场合
用于无线局域网络组网,此时的AP和AC间不需要路由,只需要用IPv4进行二层网络连接来组网。
2.2配置指南
在PoE交换机上配置PoE功能,对AP进行供电。 在AC上配置AP,配置在连接成功后下发到AP上。 在AC上配置IPv4 DHCP Server,AP和无线Client都可使用自动获取地址的
方法得到IP地址。
3 配置举例
3.1组网需求
本配置举例中的AC使用的是WX5002无线控制器,AP使用的是WA2100无线局域网接入点。
华为ap组网方案。
无线用户Client、有线用户PC之间需要通过二层互通。 无线用户Client可以通过AP接入到AC,AP要求使用PoE供电方式。 有线用户PC通过二层网络直接连接到AC。 有线和无线用户都需要经过DHCP client的方式自动获取IP地址。
AC+Fit AP二层IPv4网络连接组网图
3.2使用版本
3.2.1 AC使用版本
<AC>display version
H3C Comware Platform Software
Comware Software, Version 5.00, Release 1103
Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved. Compiled Jul 23 2007 17:39:12, RELEASE SOFTWARE
H3C WX5002-128 uptime is 0 week, 0 day, 0 hour, 11 minutes
CPU type: BCM MIPS 1250 700MHz
1024M bytes DDR SDRAM Memory
32M bytes Flash Memory
Pcb Version: A
Logic Version: 1.0
Basic BootROM Version: 1.13
Extend BootROM Version: 1.14
[SLOT 1]CON (Hardware)A, (Driver)1.0, (Cpld)1.0
[SLOT 1]GE1/0/1 (Hardware)A, (Driver)1.0, (Cpld)1.0
[SLOT 1]GE1/0/2 (Hardware)A, (Driver)1.0, (Cpld)1.0
[SLOT 1]M-E1/0/1 (Hardware)A, (Driver)1.0, (Cpld)1.0
3.2.2 交换机使用版本
<3600_POE>display version
H3C Comware Platform Software.
Comware software, Version 3.10, Test 1545
Copyright(c) 2004-2007 Hangzhou H3C Technologies Co., Ltd. All rights reserved. S3600-52P-EI uptime is 0 week, 0 day, 0 hour, 23 minutes
S3600-52P-EI with 1 Processor
64M bytes DRAM
16384K bytes Flash Memory
Config Register points to FLASH
Hardware Version is REV.C
CPLD Version is CPLD 001
Bootrom Version is 510
[Subslot 0] 48 FE Hardware Version is REV.c
[Subslot 1] 4 GE Hardware Version is REV.c
3.3配置步骤
3.3.1 配置AC
主要配置步骤
配置AC的地址
<AC>system-view
[AC]interface vlan 1
[AC-Vlan-interface1]ip address 1.1.1.250 24
[AC-Vlan-interface1]quit
配置用户地址池
[AC]dhcp enable
[AC]dhcp server ip-pool test
[AC-dhcp-pool-test]network 1.1.1.0 24
[AC-dhcp-pool-test]gateway-list 1.1.1.250
[AC-dhcp-pool-test]quit
配置无线服务集
[AC]interface wlan-ess 1
[AC-WLAN-ESS1]quit
[AC]wlan service-template 1 clear
[AC-wlan-st-1]ssid test_ap1
[AC-wlan-st-1]authentication-method open-system
[AC-wlan-st-1]bind WLAN-ESS 1
[AC-wlan-st-1]service-template enable
[AC-wlan-st-1]quit
[AC]wlan radio-policy 1
[AC-wlan-rp-1]quit
配置AP1
[AC]wlan ap test_ap1 model wa2100
[AC-wlan-ap-test_ap1]serial-id hhx1
[AC-wlan-ap-test_ap1]radio 1 type 11g
[AC-wlan-ap-test_ap1-radio-1]service-template 1
[AC-wlan-ap-test_ap1-radio-1]radio-policy 1
[AC-wlan-ap-test_ap1-radio-1]radio enable
[AC-wlan-ap-test_ap1-radio-1]quit
[AC-wlan-ap-test_ap1]quit
配置信息
[AC]display current-configuration #
version 5.00, ESS 1102
#
sysname AC
#
domain default enable system
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable # dhcp server ip-pool test network 1.1.1.0 mask 255.255.255.0 gateway-list 1.1.1.250
#
wlan radio-policy 1 # wlan service-template 1 clear ssid test_AP1 bind WLAN-ESS 1 authentication-method open-system service-template enable
#
wlan rrm
11a mandatory-rate 6 12 24
11a supported-rate 9 18 36 48 54 11b mandatory-rate 1 2
11b supported-rate 5.5 11
11g mandatory-rate 1 2 5.5 11
11g supported-rate 6 9 12 18 24 36 48 54 #
interface NULL0 #
interface Vlan-interface1
ip address 1.1.1.250 255.255.255.0 #
interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/2
#
interface M-Ethernet1/0/1
#
interface WLAN-ESS1 # wlan ap test_ap1 model WA2100 serial-id hhx1 radio 1 type 11g channel 1 radio-policy 1 service-template 1
radio enable #
dhcp enable
#
user-interface aux 0
user-interface vty 0 4
#
return
3.3.2 配置交换机
主要配置步骤
使能POE功能
<3600_POE>system-view
[3600_POE]interface Ethernet 1/0/1
[3600_POE-Ethernet1/0/1]poe enable 配置信息
[3600_POE]display current-configuration #
sysname 3600_POE
#
radius scheme system
#
domain system
#
vlan 1
#
interface Aux1/0/0