监控安装 ERP

系统集成论坛

 找回密码
 注册通行证

QQ登录

只需一步,快速开始

路由器交换机防火墙系统集成商城 优质产品采购平台
查看: 4482|回复: 0
打印 上一主题 下一主题

华为无线配置文档

[复制链接]

81

主题

82

帖子

175

积分

实习生

跳转到指定楼层
1
发表于 2015-11-18 15:01:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
华为金牌代理
file:///C:/Users/Administrator/AppData/Roaming/Tencent/Users/954507945/QQ/WinTemp/RichOle/UV(XL48RR7B%254IO@]HMX91G.png步骤1 配置接入交换机
# 由接入交换机给AP管理报文添加VLAN 100的tag。AC和AP之间网络属于三层组网,
需要配置接入交换机到汇聚交换机之间VLAN 100互通。直接转发模式下需要配置AP到
AC之间业务VLAN 101内互通和业务VLAN 102内互通
<Quidway> system-view
[Quidway] vlan batch 100 to 102
[Quidway] interface ethernet 0/0/1
[Quidway-Ethernet0/0/1] port link-type trunk
[Quidway-Ethernet0/0/1] port trunk pvid vlan 100
[Quidway-Ethernet0/0/1] port trunk allow-pass vlan 101 100
[Quidway-Ethernet0/0/1] port-isolate enable
[Quidway-Ethernet0/0/1] quit
[Quidway] interface ethernet 0/0/2
[Quidway-Ethernet0/0/2] port link-type trunk
[Quidway-Ethernet0/0/2] port trunk pvid vlan 100
[Quidway-Ethernet0/0/2] port trunk allow-pass vlan 102 100
[Quidway-Ethernet0/0/2] port-isolate enable
[Quidway-Ethernet0/0/2] quit
[Quidway] interface gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1] port link-type trunk
[Quidway-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 to 102
[Quidway-GigabitEthernet0/0/1] quit
步骤2 配置汇聚交换机
# 使能汇聚交换机的DHCP Relay功能,实现VLAN 200和VLAN 100的互通。配置汇聚交
换机到AC之间VLAN 200互通。在汇聚交换机上配置业务VLAN 101和业务VLAN 102的
IP地址池
说明
此处以S5700为例,不同的设备配置命令可能稍有区别。
根据实际组网情况在汇聚交换机上行口配置业务VLAN透传,和上行网络设备互通。
<Quidway> system-view
[Quidway] vlan batch 100 to 102 200
[Quidway] dhcp enable
[Quidway] interface Vlanif 100
[Quidway-Vlanif100] ip address 192.168.10.1 24
[Quidway-Vlanif100] dhcp select relay
[Quidway-Vlanif100] dhcp relay server-ip 172.16.10.1
[Quidway-Vlanif100] quit
[Quidway] interface vlanif 200
[Quidway-Vlanif200] ip address 172.16.10.254 24
[Quidway-Vlanif200] quit
[Quidway] interface Vlanif 101
[Quidway-Vlanif101] ip address 192.168.11.1 24
[Quidway-Vlanif101] dhcp select interface
[Quidway-Vlanif101] quit
[Quidway] interface Vlanif 102
[Quidway-Vlanif102] ip address 192.168.12.1 24
[Quidway-Vlanif102] dhcp select interface
[Quidway-Vlanif102] quit
[Quidway] interface gigabitethernet 0/0/1
典型配置案例集4 典型配置举例
文档版本 02 (2014-11-30) 华为专有和保密信息
版权所有 &copy; 华为技术有限公司
70
[Quidway-GigabitEthernet0/0/1] port link-type trunk
[Quidway-GigabitEthernet0/0/1] port trunk allow-pass vlan 101 102 100
[Quidway-GigabitEthernet0/0/1] quit
[Quidway] interface gigabitethernet 0/0/2
[Quidway-GigabitEthernet0/0/2] port link-type trunk
[Quidway-GigabitEthernet0/0/2] port trunk allow-pass vlan 101 102 200
[Quidway-GigabitEthernet0/0/2] quit
[Quidway] interface gigabitethernet 0/0/3
[Quidway-GigabitEthernet0/0/3] port link-type trunk
[Quidway-GigabitEthernet0/0/3] port trunk allow-pass vlan 101 102
[Quidway-GigabitEthernet0/0/3] quit
步骤3 配置AC
1. 配置AC,使AP与AC之间能够传输管理报文和业务报文
# 配置AC,将接口GE0/0/1加入VLAN101、VLAN102、VLAN200
<AC6605> system-view
[AC6605] sysname AC
[AC] vlan batch 101 102 200
[AC] interface gigabitethernet 0/0/1
[AC-GigabitEthernet0/0/1] port link-type trunk
[AC-GigabitEthernet0/0/1] port trunk allow-pass vlan 101 102 200
[AC-GigabitEthernet0/0/1] quit
2. 配置AC的接口,使能DHCP服务器,AC作为AP的DHCP服务器
[AC] dhcp enable
[AC] interface Vlanif 200
[AC-Vlanif200] ip address 172.16.10.1 24
[AC-Vlanif200] dhcp select global
[AC-Vlanif200] quit
3. 配置AC的全局参数
# 配置AC的国家码、AC ID、运营商标识和AC的源接口
[AC] wlan ac-global country-code cn
Warning: Modify the country code may delete configuration on those AP which us
e the global country code and reset them, are you sure to continue?[Y/N]:y
[AC] wlan ac-global ac id 1 carrier id other
[AC] wlan
[AC-wlan-view] wlan ac source interface vlanif 200
# 配置AP地址池
[AC] ip pool huawei-ap
[AC-ip-pool-huawei-ap] gateway-list 192.168.10.1
[AC-ip-pool-huawei-ap] network 192.168.10.0 mask 24
[AC-ip-pool-huawei-ap] option 43 sub-option 3 ascii 172.16.10.1
[AC-ip-pool-huawei-ap] quit
[AC] ip route-static 192.168.10.0 24 172.16.10.254
4. 配置AP并上线
# 配置AP的认证方式为MAC认证
[AC-wlan-view] ap-auth-mode mac-auth
# 查询AP的设备类型
[AC-wlan-view] display ap-type all
All AP types information:
------------------------------------------------------------------------------
ID Type
------------------------------------------------------------------------------
17 AP6010SN-GN
19 AP6010DN-AGN
21 AP6310SN-GN
23 AP6510DN-AGN
25 AP6610DN-AGN
27 AP7110SN-GN
28 AP7110DN-AGN
典型配置案例集4 典型配置举例
文档版本 02 (2014-11-30) 华为专有和保密信息
版权所有 &copy; 华为技术有限公司
71
29 AP5010SN-GN
30 AP5010DN-AGN
31 AP3010DN-AGN
33 AP6510DN-AGN-US
34 AP6610DN-AGN-US
35 AP5030DN
36 AP5130DN
37 AP7030DE
38 AP2010DN
39 AP8130DN
40 AP8030DN
42 AP9330DN
------------------------------------------------------------------------------
Total number: 19
# 根据查询到的AP设备类型ID(AP6010DN-AGN type-id为19),离线添加AP
[AC-wlan-view] ap id 1 type-id 19 mac 60de-4476-e360
[AC-wlan-ap-1] quit
[AC-wlan-view] ap id 2 type-id 19 mac dcd2-fc04-b500
[AC-wlan-ap-2] quit
# 将AP加入指定域
[AC-wlan-view] ap-region id 101
[AC-wlan-ap-region-101] quit
[AC-wlan-view] ap-region id 102
[AC-wlan-ap-region-102] quit
[AC-wlan-view] ap id 1
[AC-wlan-ap-1] region-id 101
[AC-wlan-ap-1] quit
[AC-wlan-view] ap id 2
[AC-wlan-ap-2] region-id 102
[AC-wlan-ap-2] quit
# 查看AP的上线状态
[AC-wlan-view] display ap all
All AP information:
Normal[2],Fault[0],Commit-failed[0],Commiting[0],Config[0]
Config-failed[0],Download[0],Standby[0],Type-not-match[0]
------------------------------------------------------------------------------
AP AP AP Profile AP AP
/Region
ID Type MAC ID State Sysname
------------------------------------------------------------------------------
1 AP6010DN-AGN 60de-4476-e360 0/101 normal ap-1
2 AP6010DN-AGN dcd2-fc04-b500 0/102 normal ap-2
------------------------------------------------------------------------------
Total number: 2,printed: 2
[AC-wlan-view] quit
5. 配置WLAN-ESS虚接口
[AC] interface wlan-ess 0
[AC-Wlan-Ess0] port hybrid pvid vlan 101
[AC-Wlan-Ess0] port hybrid untagged vlan 101
[AC-Wlan-Ess0] quit
[AC] interface wlan-ess 1
[AC-Wlan-Ess1] port hybrid pvid vlan 102
[AC-Wlan-Ess1] port hybrid untagged vlan 102
[AC-Wlan-Ess1] quit
6. 配置WLAN业务参数
# 配置WMM模板和射频模板,参数采用默认配置,将WMM模板绑定到射频模板
[AC] wlan
[AC-wlan-view] wmm-profile name huawei-ap1
[AC-wlan-wmm-prof-huawei-ap1] quit
[AC-wlan-view] wmm-profile name huawei-ap2
[AC-wlan-wmm-prof-huawei-ap2] quit
典型配置案例集4 典型配置举例
文档版本 02 (2014-11-30) 华为专有和保密信息
版权所有 &copy; 华为技术有限公司
72
[AC-wlan-view] radio-profile name huawei-ap1
[AC-wlan-radio-prof-huawei-ap1] wmm-profile name huawei-ap1
[AC-wlan-radio-prof-huawei-ap1] quit
[AC-wlan-view] radio-profile name huawei-ap2
[AC-wlan-radio-prof-huawei-ap2] wmm-profile name huawei-ap2
[AC-wlan-radio-prof-huawei-ap2] quit
# 配置安全模板,参数采用默认配置,即开放认证、不加密
[AC-wlan-view] security-profile name huawei-ap
[AC-wlan-sec-prof-huawei-ap] quit
# 配置流量模板,参数采用默认配置
[AC-wlan-view] traffic-profile name huawei-ap
[AC-wlan-traffic-prof-huawei-ap] quit
# 配置AP1和AP2的服务集,设置数据转发模式为直接转发。默认转发模式为直接
转发
[AC-wlan-view] service-set name huawei-1
[AC-wlan-service-set-huawei-1] ssid huawei-1
[AC-wlan-service-set-huawei-1] wlan-ess 0
[AC-wlan-service-set-huawei-1] service-vlan 101
[AC-wlan-service-set-huawei-1] security-profile name huawei-ap
[AC-wlan-service-set-huawei-1] traffic-profile name huawei-ap
[AC-wlan-service-set-huawei-1] forward-mode direct-forward
[AC-wlan-service-set-huawei-1] quit
[AC-wlan-view] service-set name huawei-2
[AC-wlan-service-set-huawei-2] ssid huawei-2
[AC-wlan-service-set-huawei-2] wlan-ess 1
[AC-wlan-service-set-huawei-2] service-vlan 102
[AC-wlan-service-set-huawei-2] security-profile name huawei-ap
[AC-wlan-service-set-huawei-2] traffic-profile name huawei-ap
[AC-wlan-service-set-huawei-2] forward-mode direct-forward
[AC-wlan-service-set-huawei-2] quit
7. 配置AP对应的VAP并下发配置
[AC-wlan-view] ap 1 radio 0
[AC-wlan-radio-1/0] radio-profile name huawei-ap1
[AC-wlan-radio-1/0] service-set name huawei-1
[AC-wlan-radio-1/0] quit
[AC-wlan-view] commit ap 1
Warning: Committing configuration may cause service interruption,continue?[Y/N
] y
[AC-wlan-view] ap 2 radio 0
[AC-wlan-radio-2/0] radio-profile name huawei-ap2
[AC-wlan-radio-2/0] service-set name huawei-2
[AC-wlan-radio-2/0] quit
[AC-wlan-view] commit ap 2
Warning: Committing configuration may cause service interruption,continue?[Y/N
] y

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册通行证

x
您需要登录后才可以回帖 登录 | 注册通行证

本版积分规则

联系我们| 手机版|系统集成论坛 ( 京ICP备11008917号 )

GMT+8, 2024-9-22 21:30 , Processed in 0.085636 second(s), 24 queries .

系统集成论坛

BBS.XTJC.COM

快速回复 返回顶部 返回列表