监控安装 ERP

系统集成论坛

 找回密码
 注册通行证

QQ登录

只需一步,快速开始

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

配置利用WDS 技术部署WLAN 业务示例

[复制链接]

81

主题

82

帖子

175

积分

实习生

跳转到指定楼层
1
发表于 2015-12-2 10:19:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
华为金牌代理
[AC] wlan ac-global country-code cn
# 配置AC ID和运营商标识。
[AC] wlan ac-global ac id 1 carrier id ctc
# 配置AC的源接口。
[AC] wlan
[AC-wlan-view] wlan ac source interface vlanif 100
步骤4 在AC上管理AP
# 离线添加AP。
说明
本例中以AP6010DN-AGN为例。
[AC-wlan-view] ap id 1 ap-type AP6010DN-AGN mac 0046-4b59-1ee0
[AC-wlan-ap-1] quit
[AC-wlan-view] ap id 2 ap-type AP6010DN-AGN mac 0046-4b59-1d20
[AC-wlan-ap-2] quit
[AC-wlan-view] ap id 3 ap-type AP6010DN-AGN mac 0046-4b59-1d40
[AC-wlan-ap-3] quit
# 配置AP域,AP域的ID分别为101、102、103。
[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-region id 103
[AC-wlan-ap-region-103] quit
# 配置AP1加入AP域101,AP2加入AP域102,AP3加入AP域103。
[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
[AC-wlan-view] ap id 3
典型配置案例集4 典型配置举例
文档版本 02 (2014-11-30) 华为专有和保密信息
版权所有 © 华为技术有限公司
94
[AC-wlan-ap-3] region-id 103
[AC-wlan-ap-3] quit
步骤5 配置WDS网桥参数
# 创建名为“wp01”的WMM模板,参数采用默认配置。
[AC-wlan-view] wmm-profile name wp01
[AC-wlan-wmm-prof-wp01] quit
# 创建WDS网桥用射频模板rp02,GI模式为短间隔,信道为固定模式,DTIM周期参数
为1,其余采用默认配置,并绑定WMM模板“wp01”。
[AC-wlan-view] radio-profile name rp02
[AC-wlan-radio-prof-rp02] wmm-profile name wp01
[AC-wlan-radio-prof-rp02] 80211n guard-interval-mode short
[AC-wlan-radio-prof-rp02] channel-mode fixed
[AC-wlan-radio-prof-rp02] dtim-interval 1
[AC-wlan-radio-prof-rp02] quit
# 创建名称为bw01和bw02的网桥白名单。
[AC-wlan-view] bridge-whitelist name bw01
[AC-wlan-br-whitelist-bw01] peer ap mac 0046-4b59-1d20
[AC-wlan-br-whitelist-bw01] quit
[AC-wlan-view] bridge-whitelist name bw02
[AC-wlan-br-whitelist-bw02] peer ap mac 0046-4b59-1d40
[AC-wlan-br-whitelist-bw02] quit
# 在AP1的射频1口上绑定射频模板“rp02”,配置网桥工作模式为root,并绑定网桥白
名单bw01。
[AC-wlan-view] ap 1 radio 1
[AC-wlan-radio-1/1] radio-profile name rp02
[AC-wlan-radio-1/1] bridge enable mode root
[AC-wlan-radio-1/1] bridge-whitelist name bw01
[AC-wlan-radio-1/1] bridge whitelist enable
[AC-wlan-radio-1/1] quit
# 在AP2的射频1口上绑定射频模板“rp02”,配置网桥工作模式为middle,并绑定网桥
白名单bw02。
[AC-wlan-view] ap 2 radio 1
[AC-wlan-radio-2/1] radio-profile name rp02
[AC-wlan-radio-2/1] bridge enable mode middle
[AC-wlan-radio-2/1] bridge-whitelist name bw02
[AC-wlan-radio-2/1] bridge whitelist enable
[AC-wlan-radio-2/1] quit
# 在AP3的射频1口上绑定射频模板“rp02”,配置网桥工作模式为leaf。
[AC-wlan-view] ap 3 radio 1
[AC-wlan-radio-3/1] radio-profile name rp02
[AC-wlan-radio-3/1] bridge enable mode leaf
[AC-wlan-radio-3/1] quit
# 离线添加AP并在AP射频中绑定完射频模板和配置网桥模式后,请给各个AP上电。如
果AP已上电,则请重启配置为Root模式的AP使配置生效。通过在AC上执行命令display
ap all和display bridge-link all查询AP状态是否正常和虚连接是否建立成功,来查询AP
的虚连接建立情况。 当查询到AP完成如下的虚连接链路,并且查询AP的状态全部为
normal,则AP的管理网桥建立成功。
说明
对于初次布放的AP,如果该AP支持WDS功能,在使能各AP射频网桥功能后,AP上电后会自动建
立起管理型无线虚链路通道。
典型配置案例集4 典型配置举例
文档版本 02 (2014-11-30) 华为专有和保密信息
版权所有 © 华为技术有限公司
95
[AC-wlan-view] display ap all
All AP information:
Normal[3],Fault[0],Commit-failed[0],Committing[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 0046-4b59-1ee0 0/101 normal ap-1
2 AP6010DN-AGN 0046-4b59-1d20 0/102 normal ap-2
3 AP6010DN-AGN 0046-4b59-1d40 0/103 normal ap-3
------------------------------------------------------------------------------
Total number: 3,printed: 3
[AC-wlan-view] display bridge-link all
----------------------------------------------------------------------
AP ID Radio ID Bridge-link ID WLAN ID Peer MAC
----------------------------------------------------------------------
1 1 0 15 0046-4b59-1d3f
2 1 0 16 0046-4b59-1efe
2 1 1 15 0046-4b59-1d5f
3 1 0 16 0046-4b59-1d3e
----------------------------------------------------------------------
Total: 4
步骤6 配置WLAN业务射频模板和WLAN-ESS接口
# 创建用户业务用射频模板rp01,采用其默认配置并绑定WMM模板“wp01”。
[AC-wlan-view] radio-profile name rp01
[AC-wlan-radio-prof-rp01] wmm-profile name wp01
[AC-wlan-radio-prof-rp01] quit
[AC-wlan-view] quit
# 创建WLAN-ESS接口
[AC] interface wlan-ess 1
[AC-Wlan-Ess1] port hybrid pvid vlan 101
[AC-Wlan-Ess1] port hybrid untagged vlan 101
[AC-Wlan-Ess1] quit
[AC] interface wlan-ess 2
[AC-Wlan-Ess2] port hybrid pvid vlan 102
[AC-Wlan-Ess2] port hybrid untagged vlan 102
[AC-Wlan-Ess2] quit
[AC] interface wlan-ess 3
[AC-Wlan-Ess3] port hybrid pvid vlan 103
[AC-Wlan-Ess3] port hybrid untagged vlan 103
[AC-Wlan-Ess3] quit
步骤7 配置网桥模板与服务集
# 创建名称为sp01的安全模板,并配置其安全与认证策略为“WPA2–PSK”、认证密钥
为“huawei123”、加密方式为“CCMP”。
说明
目前,WDS中建立无线桥接的AP只支持安全策略WPA2认证+PSK认证+CCMP加密方式。
[AC] wlan
[AC-wlan-view] security-profile name sp01
[AC-wlan-sec-prof-sp01] security-policy wpa2
[AC-wlan-sec-prof-sp01] wpa2 authentication-method psk pass-phrase cipher huawei123 encryptionmethod
ccmp
[AC-wlan-sec-prof-sp01] quit
# 创建名称为bp01、网桥标识为ChinaNet01的网桥模板,并绑定安全模板“sp01”。
[AC-wlan-view] bridge-profile name bp01
[AC-wlan-bridge-prof-bp01] bridge-name ChinaNet01
典型配置案例集4 典型配置举例
文档版本 02 (2014-11-30) 华为专有和保密信息
版权所有 © 华为技术有限公司
96
[AC-wlan-bridge-prof-bp01] vlan tagged 101 to 106
[AC-wlan-bridge-prof-bp01] security-profile name sp01
[AC-wlan-bridge-prof-bp01] quit
# 创建名称为tp01的流量模板,采用其默认配置。
[AC-wlan-view] traffic-profile name tp01
[AC-wlan-traffic-prof-tp01] quit
# 创建并配置名称为ss01、SSID为ChinaSer01的服务集。
[AC-wlan-view] service-set name ss01
[AC-wlan-service-set-ss01] traffic-profile name tp01
[AC-wlan-service-set-ss01] security-profile name sp01
[AC-wlan-service-set-ss01] ssid ChinaSer01
[AC-wlan-service-set-ss01] service-vlan 101
[AC-wlan-service-set-ss01] wlan-ess 1
[AC-wlan-service-set-ss01] forward-mode direct-forward
[AC-wlan-service-set-ss01] quit
# 创建并配置名称为ss02、SSID为ChinaSer02的服务集。
[AC-wlan-view] service-set name ss02
[AC-wlan-service-set-ss02] traffic-profile name tp01
[AC-wlan-service-set-ss02] security-profile name sp01
[AC-wlan-service-set-ss02] ssid ChinaSer02
[AC-wlan-service-set-ss02] service-vlan 102
[AC-wlan-service-set-ss02] wlan-ess 2
[AC-wlan-service-set-ss02] forward-mode direct-forward
[AC-wlan-service-set-ss02] quit
# 创建并配置名称为ss03、SSID为ChinaSer03的服务集。
[AC-wlan-view] service-set name ss03
[AC-wlan-service-set-ss03] traffic-profile name tp01
[AC-wlan-service-set-ss03] security-profile name sp01
[AC-wlan-service-set-ss03] ssid ChinaSer03
[AC-wlan-service-set-ss03] service-vlan 103
[AC-wlan-service-set-ss03] wlan-ess 3
[AC-wlan-service-set-ss03] forward-mode direct-forward
[AC-wlan-service-set-ss03] quit
# 在AP1的射频1口上创建网桥型VAP,并绑定网桥模板。在AP1的射频0口上创建业务
型VAP。并绑定射频模板和服务集模板。
[AC-wlan-view] ap 1 radio 0
[AC-wlan-radio-1/0] radio-profile name rp01
[AC-wlan-radio-1/0] service-set name ss01
[AC-wlan-radio-1/0] quit
[AC-wlan-view] ap 1 radio 1
[AC-wlan-radio-1/1] bridge-profile name bp01
[AC-wlan-radio-1/1] channel 40mhz-plus 157
[AC-wlan-radio-1/1] quit
# 在AP2的射频1口上创建网桥型VAP,并绑定网桥模板。在AP2的射频0口上创建业务
型VAP。并绑定射频模板和服务集模板。
[AC-wlan-view] ap 2 radio 0
[AC-wlan-radio-2/0] radio-profile name rp01
[AC-wlan-radio-2/0] service-set name ss02
[AC-wlan-radio-2/0] quit
[AC-wlan-view] ap 2 radio 1
[AC-wlan-radio-2/1] bridge-profile name bp01
[AC-wlan-radio-2/1] channel 40mhz-plus 157
[AC-wlan-radio-2/1] quit
# 在AP3的射频1口上创建网
您需要登录后才可以回帖 登录 | 注册通行证

本版积分规则

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

GMT+8, 2024-11-12 01:13 , Processed in 0.109613 second(s), 24 queries .

系统集成论坛

BBS.XTJC.COM

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