当前位置:   article > 正文

华为配置WDS背靠背业务示例

华为配置WDS背靠背业务示例
 

配置WDS背靠背业务示例

组网图形

图1 配置WDS背靠背组网示意图
  • 业务需求
  • 组网需求
  • 数据规划
  • 配置思路
  • 配置注意事项
  • 操作步骤
  • 配置文件
业务需求

在某些企业网络中,有线网络部署受施工条件的限制,需要连接的网络之间有障碍物或传输距离较远,AP无法全部采用有线连接接入到AC。为了解决这个问题采用背靠背方式WDS技术将AP通过有线方式级联组成中继网桥,保证了长距离网络传输中的无线链路带宽。

组网需求
  • AC组网方式:旁挂二层组网。
  • DHCP部署方式:
    • AC作为DHCP服务器为AP分配IP地址。
    • 汇聚交换机Switch_A作为DHCP服务器为PC分配IP地址。
  • 无线回传方式:WDS背靠背方式。
  • 回传射频:5G频段。
数据规划
表1 AP数据规划表

AP名称

类型

MAC

AP_1

AP8130DN

dcd2-fcf6-76a0

AP_2

AP8130DN

60de-4474-9640

AP_3

AP8130DN

dcd2-fc04-b500

AP_4

AP8130DN

60de-4476-e360

表2 AC数据规划表

配置项

数据

AP管理VLAN

VLAN100

有线PC业务VLAN

VLAN101

DHCP服务器

AC作为AP的DHCP服务器,Switch_A作为PC的DHCP服务器

AP地址池

10.23.100.2~10.23.100.254/24

PC地址池

10.23.101.3~10.23.101.254/24

AC的源接口IP地址

VLANIF100:10.23.100.1/24

WDS模板

  • wds-net1:AP_1使用的WDS模板,网桥模式为root,引用WDS白名单“wds-list1”,只允许AP_2接入
  • wds-net2:AP_3使用的WDS模板,网桥模式为root,引用WDS白名单“wds-list2”,只允许AP_4接入
  • wds-net3:AP_2、AP_4使用的WDS模板,不需要引用WDS白名单。

WDS角色

  • AP_1:root
  • AP_2:leaf
  • AP_3:root
  • AP_4:leaf

WDS网桥标识

wds-net

WDS白名单

  • wds-list1:添加AP_2的MAC,并绑定在AP_1上
  • wds-list2:添加AP_4的MAC,并绑定在AP_3上

WDS使用的射频

射频1(AP_1、AP_2)
  • 带宽:40MHz-plus
  • 信道:157
  • 射频覆盖距离参数:4(单位:100m)
射频1(AP_3、AP_4)
  • 带宽:40MHz-plus
  • 信道:149
  • 射频覆盖距离参数:4(单位:100m)

安全模板

  • 名称:wds-sec
  • 安全策略:WPA2+PSK+AES
  • 密码类型:PASS-PHRASE
  • 密码:a1234567

AP组

  • wds-root1:AP_1
  • wds-root2:AP_3
  • wds-leaf1:AP_2
  • wds-leaf2:AP_4,AP_4有线口下行连接了PC,需要为其配置有线口模板参数,所以AP_2和AP_4分成了两个AP组
配置思路
  1. 配置区域A和区域B之间的WDS链路,使AP_1和AP_2可以在AC上线。
  2. 配置Switch_C,使AP_2和AP_3之间的有线网络互通。
  3. 配置区域B和区域C之间的WDS链路,使AP_4可以在AC上线。
  4. 配置AP_4的有线口,使AP_4上的有线用户可以访问网络。
配置注意事项
  • 纯组播报文由于协议要求在无线空口没有ACK机制保障,且无线空口链路不稳定,为了纯组播报文能够稳定发送,通常会以低速报文形式发送。如果网络侧有大量异常组播流量涌入,则会造成无线空口拥堵。为了减小大量低速组播报文对无线网络造成的冲击,建议配置组播报文抑制功能。配置前请确认是否有组播业务,如果有,请谨慎配置限速值。
    • 业务数据转发方式采用直接转发时,建议在直连AP的交换机接口上配置组播报文抑制。
    • 业务数据转发方式采用隧道转发时,建议在AC的流量模板下配置组播报文抑制。
  • 建议在与AP直连的设备接口上配置端口隔离,如果不配置端口隔离,尤其是业务数据转发方式采用直接转发时,可能会在VLAN内形成大量不必要的广播报文,导致网络阻塞,影响用户体验。

  • 隧道转发模式下,管理VLAN和业务VLAN不能配置为同一VLAN,且AP和AC之间只能放通管理VLAN,不能放通业务VLAN。

  • V200R021C00版本开始,配置CAPWAP源接口或源地址时,会检查和安全相关的配置是否已存在,包括DTLS加密的PSK、AC间DTLS加密的PSK、登录AP的用户名和密码、全局离线管理VAP的登录密码,均已存在才能成功配置,否则会提示用户先完成相关的配置。
  • V200R021C00版本开始,AC默认开启CAPWAP控制隧道的DTLS加密功能。开启该功能,添加AP时AP会上线失败,此时需要先开启CAPWAP DTLS不认证方式(capwap dtls no-auth enable)让AP上线,以便AP获取安全凭证,AP上线后应及时关闭该功能(undo capwap dtls no-auth enable),避免未授权AP上线。
操作步骤
  1. 配置周边设备

    # 配置接入交换机Switch_B的GE0/0/1和GE0/0/2接口加入VLAN100和VLAN101,GE0/0/1的缺省VLAN为VLAN100。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1141689396190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1956857707190921">sysname Switch_B</strong>
    3. [Switch_B] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b402801205190921">vlan batch 100 to 101</strong>
    4. [Switch_B] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b611115067190921">interface gigabitEthernet 0/0/1</strong>
    5. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b212116232190921">port link-type trunk</strong>
    6. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1767714945190921">port trunk pvid vlan 100</strong>
    7. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1214832445190921">port trunk allow-pass vlan 100 to 101</strong>
    8. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b36947418190921">port-isolate enable</strong>
    9. [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1464937259190921">quit</strong>
    10. [Switch_B] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1250273224190921">interface gigabitEthernet 0/0/2</strong>
    11. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b541902358190921">port link-type trunk</strong>
    12. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1749851799190921">port trunk allow-pass vlan 100 to 101</strong>
    13. [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b809501523190921">quit</strong></span></span>

    # 配置汇聚交换机Switch_A的GE0/0/1接口加入VLAN100和VLAN101,GE0/0/2接口加入VLAN100,GE0/0/3接口加入VLAN101。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b511548958190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b489891529190921">sysname Switch_A</strong>
    3. [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1311387655190921">vlan batch 100 to 101</strong>
    4. [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1243101138190921">interface gigabitEthernet 0/0/1</strong>
    5. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1931666829190921">port link-type trunk</strong>
    6. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1503245325190921">port trunk allow-pass vlan 100 to 101</strong>
    7. [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b289486029190921">quit</strong>
    8. [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b458500069190921">interface gigabitEthernet 0/0/2</strong>
    9. [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b779944513190921">port link-type trunk</strong>
    10. [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b85068874190921">port trunk allow-pass vlan 100</strong>
    11. [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2034823831190921">quit</strong>
    12. [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b929617411190921">interface gigabitEthernet 0/0/3</strong>
    13. [Switch_A-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b766152642190921">port link-type trunk</strong>
    14. [Switch_A-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1952032455190921">port trunk allow-pass vlan 101</strong>
    15. [Switch_A-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b204948751190921">quit</strong></span></span>

    # 配置接入交换机Switch_C的接口GE0/0/1和GE0/0/2接口加入VLAN101。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1872685572190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2255061190921">sysname Switch_C</strong>
    3. [Switch_C] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b200734861190921">vlan batch 101</strong>
    4. [Switch_C] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b690802990190921">interface gigabitEthernet 0/0/1</strong>
    5. [Switch_C-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1787226765190921">port link-type trunk</strong>
    6. [Switch_C-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1295817260190921">port trunk allow-pass vlan 101</strong>
    7. [Switch_C-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b532973534190921">quit</strong>
    8. [Switch_C] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1888702196190921">interface gigabitEthernet 0/0/2</strong>
    9. [Switch_C-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b728097451190921">port link-type trunk</strong>
    10. [Switch_C-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b112179000190921">port trunk allow-pass vlan 101</strong>
    11. [Switch_C-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b941707297190921">quit</strong></span></span>
    # 配置Router的接口GE1/0/0加入VLAN101,创建接口VLANIF101并配置IP地址为10.23.101.2/24。
    1. <span style="color:#333333"><span style="background-color:#dddddd"><Huawei> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b118005268190921">system-view</strong>
    2. [Huawei] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b1176501588190921">sysname Router</strong>
    3. [Router] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b995805857190921">vlan batch 101</strong>
    4. [Router] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b906637926190921">interface gigabitethernet 1/0/0</strong>
    5. [Router-GigabitEthernet1/0/0] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b406876624190921">port link-type trunk</strong>
    6. [Router-GigabitEthernet1/0/0] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b1226529678190921">port trunk allow-pass vlan 101</strong>
    7. [Router-GigabitEthernet1/0/0] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b1131638750190921">quit</strong>
    8. [Router] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b648829236190921">interface vlanif 101</strong>
    9. [Router-Vlanif101] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b1969966747190921">ip address 10.23.101.2 24</strong>
    10. [Router-Vlanif101] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b1246477905190921">quit</strong></span></span>
  2. 配置AC与其它网络设备互通

    如果AC直接连接AP,需要在AC直连AP的接口上配置缺省VLAN为管理VLAN100。

    # 配置AC的接口GE0/0/1加入VLAN100。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b731946079190921">system-view</strong>
    2. [HUAWEI] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b952407640190921">sysname AC</strong>
    3. [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1467184913190921">vlan batch 100 to 101</strong>
    4. [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1947889633190921">interface gigabitEthernet 0/0/1</strong>
    5. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1596289078190921">port link-type trunk</strong>
    6. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b211747313190921">port trunk allow-pass vlan 100</strong>
    7. [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1424420637190921">quit</strong></span></span>
  3. 配置DHCP服务器为PC和AP分配IP地址

    # 配置Switch_A作为DHCP服务器,通过接口地址池为PC分配IP地址。
    1. <span style="color:#333333"><span style="background-color:#dddddd">[Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1738378169190921">dhcp enable</strong>
    2. [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1039504325190921">interface vlanif 101</strong>
    3. [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b890680725190921">ip address 10.23.101.1 24</strong>
    4. [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b400571813190921">dhcp select interface</strong>
    5. [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1769770478190921">quit</strong></span></span>

    # 在AC上使能DHCP功能,并通过接口地址池为AP分配IP地址。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1986932748190921">dhcp enable</strong>
    2. [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b499081131190921">interface vlanif 100</strong>
    3. [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1698050937190921">ip address 10.23.100.1 24</strong>
    4. [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b763351126190921">dhcp select interface</strong>
    5. [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1093437267190921">quit</strong></span></span>
  4. 配置AP组、国家码和AC的源接口

    # 创建WDS背靠背root AP的AP组“wds-root1”、“wds-root2”,和leaf AP的AP组“wds-leaf1”、“wds-leaf2”。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1003889497190921">wlan</strong>
    2. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1780038119190921">ap-group name wds-root1</strong>
    3. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b915764115190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b363406762190921">ap-group name wds-root2</strong>
    5. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1049826925190921">quit</strong>
    6. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1962039808190921">ap-group name wds-leaf1</strong>
    7. [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b608427497190921">quit</strong>
    8. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1939183343190921">ap-group name wds-leaf2</strong>
    9. [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1466208701190921">quit</strong></span></span>

    # 创建域管理模板,在域管理模板下配置AC的国家码并在AP组下引用域管理模板。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1350520769190921">regulatory-domain-profile name domain1</strong>
    2. [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b360537477190921">country-code cn</strong>
    3. [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1298891525190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b524035522190921">ap-group name wds-root1</strong>
    5. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b950159343190921">regulatory-domain-profile domain1</strong>
    6. Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b17491131153716">y</strong>
    7. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b582981094190921">quit</strong>
    8. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b784868663190921">ap-group name wds-root2</strong>
    9. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2119351513190921">regulatory-domain-profile domain1</strong>
    10. Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b17491131153716_1">y</strong>
    11. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1473841740190921">quit</strong>
    12. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1754898706190921">ap-group name wds-leaf1</strong>
    13. [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b358150644190921">regulatory-domain-profile domain1</strong>
    14. Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b17491131153716_2">y</strong>
    15. [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b389272857190921">quit</strong>
    16. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1149475187190921">ap-group name wds-leaf2</strong>
    17. [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b60840508190921">regulatory-domain-profile domain1</strong>
    18. Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b17491131153716_3">y</strong>
    19. [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b794382077190921">quit</strong>
    20. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b510123346190921">quit</strong></span></span>

    # 配置AC的源接口。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1825811008190921">capwap source interface vlanif 100</strong></span></span>
    # 将AP_1加入到AP组“wds-root1”,AP_3加入到AP组“wds-root2”,AP_2加入到AP组“wds-leaf1”,AP_4加入到AP组“wds-leaf2”。
    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b127650893190921">wlan</strong>
    2. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b287223171190921">ap auth-mode mac-auth</strong>
    3. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1428794151190921">ap-id 1 ap-mac dcd2-fcf6-76a0</strong>
    4. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1753922815190921">ap-name AP_1</strong>
    5. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1574738284190921">ap-group wds-root1</strong>
    6. Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1651706244190906">y</strong>
    7. [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b459260765190921">quit</strong>
    8. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b664350779190921">ap-id 2 ap-mac 60de-4474-9640</strong>
    9. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b895106219190921">ap-name AP_2</strong>
    10. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b13471106190921">ap-group wds-leaf1</strong>
    11. Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1651706244190906_1">y</strong>
    12. [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1993952519190921">quit</strong>
    13. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1203864542190921">ap-id 3 ap-mac dcd2-fc04-b500</strong>
    14. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b294390181190921">ap-name AP_3</strong>
    15. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1214529024190921">ap-group wds-root2</strong>
    16. Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1651706244190906_2">y</strong>
    17. [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1875565336190921">quit</strong>
    18. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b13133478190921">ap-id 4 ap-mac 60de-4476-e360</strong>
    19. [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1880618819190921">ap-name AP_4</strong>
    20. [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1409904351190921">ap-group wds-leaf2</strong>
    21. Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1651706244190906_3">y</strong>
    22. [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b209739068190921">quit</strong></span></span>
  5. 配置WDS业务参数

    # 配置WDS节点使用的主要射频参数。本例中使用的是AP8130DN的射频1,“coverage distance”参数为射频覆盖距离,缺省情况下是3,单位是100m。本例中使用参数为4,用户可以根据实际情况配置该参数。
    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b528163193190921">ap-group name wds-root1</strong>
    2. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1327837496190921">radio 1</strong>
    3. [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2121125742190921">channel 40mhz-plus 157</strong>
    4. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1384307436190906">y</strong>
    5. [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1651796313190921">coverage distance 4</strong>
    6. [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b611888854190921">quit</strong>
    7. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1447875664190921">quit</strong>
    8. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1277898093190921">ap-group name wds-root2</strong>
    9. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b630680589190921">radio 1</strong>
    10. [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1403376974190921">channel 40mhz-plus 149</strong>
    11. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1384307436190906_1">y</strong>
    12. [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1043311189190921">coverage distance 4</strong>
    13. [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b244873708190921">quit</strong>
    14. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b65353265190921">quit</strong>
    15. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1840012067190921">ap-group name wds-leaf1</strong>
    16. [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1563978121190921">radio 1</strong>
    17. [AC-wlan-group-radio-wds-leaf1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b51942609190921">channel 40mhz-plus 157</strong>
    18. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1384307436190906_2">y</strong>
    19. [AC-wlan-group-radio-wds-leaf1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b646200330190921">coverage distance 4</strong>
    20. [AC-wlan-group-radio-wds-leaf1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1185812114190921">quit</strong>
    21. [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b991586554190921">quit</strong>
    22. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1330221623190921">ap-group name wds-leaf2</strong>
    23. [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b80992393190921">radio 1</strong>
    24. [AC-wlan-group-radio-wds-leaf2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b446916588190921">channel 40mhz-plus 149</strong>
    25. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1384307436190906_3">y</strong>
    26. [AC-wlan-group-radio-wds-leaf2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2023858635190921">coverage distance 4</strong>
    27. [AC-wlan-group-radio-wds-leaf2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2096749670190921">quit</strong>
    28. [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2067338687190921">quit</strong></span></span>

    # 配置WDS链路使用的安全模板“wds-sec”,“wds-sec”的安全策略为WPA2+PSK+AES。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1233596875190921">security-profile name wds-sec</strong>
    2. [AC-wlan-sec-prof-wds-sec] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b414810367190921">security wpa2 psk pass-phrase a1234567 aes</strong>
    3. [AC-wlan-sec-prof-wds-sec] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b14763904190921">quit</strong></span></span>

    # 配置WDS白名单。配置AP_1绑定的WDS白名单“wds-list1”,仅允许AP_2接入。配置AP_3绑定的WDS白名单“wds-list2”,仅允许AP_4接入。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1282755844190921">wds-whitelist-profile name wds-list1</strong>
    2. [AC-wlan-wds-whitelist-wds-list1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b606010231190921">peer-ap mac 60de-4474-9640</strong>
    3. [AC-wlan-wds-whitelist-wds-list1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1317224618190921">quit</strong>
    4. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1905074757190921">wds-whitelist-profile name wds-list2</strong>
    5. [AC-wlan-wds-whitelist-wds-list2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b752799505190921">peer-ap mac 60de-4476-e360</strong>
    6. [AC-wlan-wds-whitelist-wds-list2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1297291586190921">quit</strong></span></span>

    # 配置WDS模板“wds-net1”。网桥标识为“wds-net”,网桥模式为“root”,引用安全模板“wds-sec”,以tagged形式允许业务VLAN101通过。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1428161881190921">wds-profile name wds-net1</strong>
    2. [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b514686767190921">wds-name wds-net</strong>
    3. [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b877365171190921">wds-mode root</strong>
    4. [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1537932059190921">security-profile wds-sec</strong>
    5. [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2050344051190921">vlan tagged 101</strong>
    6. [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b572357304190921">quit</strong></span></span>

    # 配置WDS模板“wds-net2”。网桥标识为“wds-net”,网桥模式为“root”,引用安全模板“wds-sec”,以tagged形式允许业务VLAN101通过。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b381129404190921">wds-profile name wds-net2</strong>
    2. [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b230684810190921">wds-name wds-net</strong>
    3. [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b398465640190921">wds-mode root</strong>
    4. [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b635333294190921">security-profile wds-sec</strong>
    5. [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b674528416190921">vlan tagged 101</strong>
    6. [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b217723501190921">quit</strong></span></span>

    # 配置WDS模板“wds-net3”。网桥标识为“wds-net”,网桥模式为“leaf”,引用安全模板“wds-sec”,以tagged形式允许业务VLAN101通过。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1762115581190921">wds-profile name wds-net3</strong>
    2. [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b700923996190921">wds-name wds-net</strong>
    3. [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1786298761190921">wds-mode leaf</strong>
    4. [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1808167603190921">security-profile wds-sec</strong>
    5. [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b531364611190921">vlan tagged 101</strong>
    6. [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b209795187190921">quit</strong></span></span>

    # 配置AP组“wds-root1”的射频1引用WDS白名单“wds-list1”,只允许AP_2接入。配置AP组“wds-root2”的射频1引用WDS白名单“wds-list2”,只允许AP_4接入。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b319652654190921">ap-group name wds-root1</strong>
    2. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1323209580190921">radio 1</strong>
    3. [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b58958293190921">wds-whitelist-profile wds-list1</strong>
    4. [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2100956636190921">quit</strong>
    5. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1852361723190921">quit</strong>
    6. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1136366507190921">ap-group name wds-root2</strong>
    7. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1403121751190921">radio 1</strong>
    8. [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1596040309190921">wds-whitelist-profile wds-list2</strong>
    9. [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1971831060190921">quit</strong>
    10. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b870748559190921">quit</strong></span></span>
  6. 配置AP_4的有线口使用的有线口模板,使其有线口模式为“endpoint”。本例中配置有线口的PVID为业务VLAN101,以untagged形式加入VLAN101。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1453426006190921">wired-port-profile name wired-port</strong>
    2. [AC-wlan-wired-port-wired-port] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2146673801190921">mode endpoint</strong>
    3. Warning: If the AP goes online through a wired port, the incorrect port mode con
    4. figuration will cause the AP to go out of management. This fault can be recovere
    5. d only by modifying the configuration on the AP. Continue? [Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b4818143614431">y</strong>
    6. [AC-wlan-wired-port-wired-port] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b227068829190921">vlan pvid 101</strong>
    7. [AC-wlan-wired-port-wired-port] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1564970666190921">vlan untagged 101</strong>
    8. [AC-wlan-wired-port-wired-port] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b764294974190921">quit</strong></span></span>
  7. 在AP组引用相关模板,使WDS业务生效

    # 配置AP组“wds-root1”,引用WDS模板“wds-net1”。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b400184746190921">ap-group name wds-root1</strong>
    2. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2016202677190921">wds-profile wds-net1 radio 1</strong>
    3. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b619141300190921">y</strong>
    4. [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1010931633190921">quit</strong></span></span>

    # 配置AP组“wds-root2”,引用WDS模板“wds-net2”。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b669550798190921">ap-group name wds-root2</strong>
    2. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b963643792190921">wds-profile wds-net2 radio 1</strong>
    3. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1961140080190921">y</strong>
    4. [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b38640186190921">quit</strong></span></span>

    # 配置AP组“wds-leaf1”,引用WDS模板“wds-net3”。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1145330727190921">ap-group name wds-leaf1</strong>
    2. [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2136116247190921">wds-profile wds-net3 radio 1</strong>
    3. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1514922813190921">y</strong>
    4. [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b467015569190921">quit</strong></span></span>

    # 配置AP组“wds-leaf2”,引用WDS模板“wds-net3”,引用有线口模板“wired-port”。

    AP引用了endpoint模式的AP有线口模板后,需要AP在AC中上线获取配置,然后重启AP才能生效。

    1. <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b645968494190921">ap-group name wds-leaf2</strong>
    2. [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b78834958190921">wds-profile wds-net3 radio 1</strong>
    3. Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1686127686190921">y</strong>
    4. [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b949178787190921">wired-port-profile wired-port gigabitethernet 0</strong>
    5. [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b368993130190921">quit</strong>
    6. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1892800206190921">quit</strong>
    7. [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1085456915190921">quit</strong></span></span>
  8. 检查AP上线后重启AP_4

    # 完成配置后,执行命令display ap all,查看WDS各节点是否成功上线,当“State”字段显示为“nor”,则表示AP已成功上线。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><AC> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1173768206190921">display ap all</strong>
    2. Total AP information:
    3. nor : normal [4]
    4. Extra information: P : insufficient power supply
    5. ---------------------------------------------------------------------------------------------------
    6. ID MAC Name Group IP Type State STA Uptime ExtraInfo
    7. ---------------------------------------------------------------------------------------------------
    8. 1 60de-4474-9640 AP_1 wds-root1 10.23.100.250 AP8130DN <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1087377586190921">nor</strong> 0 20M:16S -
    9. 4 60de-4476-e360 AP_4 wds-leaf2 10.23.100.251 AP8130DN <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b992058175190921">nor</strong> 0 17S -
    10. 2 dcd2-fc04-b500 AP_2 wds-leaf1 10.23.100.253 AP8130DN <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1692496850190921">nor</strong> 0 3M:55S -
    11. 3 dcd2-fcf6-76a0 AP_3 wds-root2 10.23.100.252 AP8130DN <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b298190949190921">nor</strong> 0 2M:55S -
    12. -------------------------------------------------------------------------------------------------
    13. Total: 4 </span></span>

    执行命令display wlan wds link all,查看WDS链路相关信息。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><AC> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1632204988190921">display wlan wds link all</strong>
    2. Rf : radio ID Dis : coverage distance(100m)
    3. Ch : channel Per : drop percent(%)
    4. TSNR : total SNR(dB) P- : peer
    5. WDS : WDS mode Re : retry ratio(%)
    6. RSSI : RSSI(dBm) MaxR : max RSSI(dBm)
    7. -------------------------------------------------------------------------------------------------
    8. APName P-APName Rf Dis Ch WDS P-Status RSSI MaxR Per Re TS NR SNR(Ch0~3:dB)
    9. -------------------------------------------------------------------------------------------------
    10. AP_1 AP_2 1 4 157 root normal -44 -40 0 3 50 45/49/-/-
    11. AP_2 AP_1 1 4 157 leaf normal -38 -36 0 49 57 36/31/57/-
    12. AP_3 AP_4 1 4 149 root normal -11 -7 0 1 83 81/80/-/-
    13. AP_4 AP_3 1 4 149 leaf normal -4 -4 0 0 91 90/85/-/-
    14. -------------------------------------------------------------------------------------------------
    15. Total: 4</span></span>

    确认AP已经上线的情况下,重启AP_4,使AP_4上的有线口工作模式生效。

    1. <span style="color:#333333"><span style="background-color:#dddddd"><AC> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b551825633190921">system-view</strong>
    2. [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b469103114190921">wlan</strong>
    3. [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1281324899190921">ap-reset ap-group wds-leaf2</strong>
    4. Warning: Reset AP(s), continue?[Y/N]:<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b312272916190921">y</strong></span></span>
  9. 验证配置结果

    AP_4重新上线后,验证AP_4上的有线用户可以访问网络。

配置文件
  • Switch_A的配置文件

    1. <span style="color:#333333"><span style="background-color:#dddddd">#
    2. sysname Switch_A
    3. #
    4. vlan batch 100 to 101
    5. #
    6. dhcp enable
    7. #
    8. interface Vlanif101
    9. ip address 10.23.101.1 255.255.255.0
    10. dhcp select interface
    11. #
    12. interface GigabitEthernet0/0/1
    13. port link-type trunk
    14. port trunk allow-pass vlan 100 to 101
    15. #
    16. interface GigabitEthernet0/0/2
    17. port link-type trunk
    18. port trunk allow-pass vlan 100
    19. #
    20. interface GigabitEthernet0/0/3
    21. port link-type trunk
    22. port trunk allow-pass vlan 101
    23. #
    24. return</span></span>
  • Switch_B的配置文件

    1. <span style="color:#333333"><span style="background-color:#dddddd">#
    2. sysname Switch_B
    3. #
    4. vlan batch 100 to 101
    5. #
    6. interface GigabitEthernet0/0/1
    7. port link-type trunk
    8. port trunk pvid vlan 100
    9. port trunk allow-pass vlan 100 to 101
    10. port-isolate enable group 1
    11. #
    12. interface GigabitEthernet0/0/2
    13. port link-type trunk
    14. port trunk allow-pass vlan 100 to 101
    15. #
    16. return</span></span>
  • Switch_C的配置文件

    1. <span style="color:#333333"><span style="background-color:#dddddd">#
    2. sysname Switch_C
    3. #
    4. vlan batch 101
    5. #
    6. interface GigabitEthernet0/0/1
    7. port link-type trunk
    8. port trunk allow-pass vlan 101
    9. #
    10. interface GigabitEthernet0/0/2
    11. port link-type trunk
    12. port trunk allow-pass vlan 101
    13. #
    14. return</span></span>
  • Router的配置文件

    1. <span style="color:#333333"><span style="background-color:#dddddd">#
    2. sysname Router
    3. #
    4. vlan batch 101
    5. #
    6. interface Vlanif101
    7. ip address 10.23.101.2 255.255.255.0
    8. #
    9. interface GigabitEthernet1/0/0
    10. port link-type trunk
    11. port trunk allow-pass vlan 101
    12. #
    13. return
    14. </span></span>
  • AC的配置文件

    1. <span style="color:#333333"><span style="background-color:#dddddd">#
    2. sysname AC
    3. #
    4. vlan batch 100 to 101
    5. #
    6. dhcp enable
    7. #
    8. interface Vlanif100
    9. ip address 10.23.100.1 255.255.255.0
    10. dhcp select interface
    11. #
    12. interface GigabitEthernet0/0/1
    13. port link-type trunk
    14. port trunk allow-pass vlan 100
    15. #
    16. capwap source interface vlanif100
    17. #
    18. wlan
    19. security-profile name wds-sec
    20. security wpa2 psk pass-phrase %^%#n}5+DgC3wLB.hJ34j5;*QMv<8"9#{Bq@ghBI3L9K%^%# aes
    21. wds-whitelist-profile name wds-list1
    22. peer-ap mac 60de-4474-9640
    23. wds-whitelist-profile name wds-list2
    24. peer-ap mac 60de-4476-e360
    25. wds-profile name wds-net1
    26. security-profile wds-sec
    27. vlan tagged 101
    28. wds-name wds-net
    29. wds-mode root
    30. wds-profile name wds-net2
    31. security-profile wds-sec
    32. vlan tagged 101
    33. wds-name wds-net
    34. wds-mode root
    35. wds-profile name wds-net3
    36. security-profile wds-sec
    37. vlan tagged 101
    38. wds-name wds-net
    39. regulatory-domain-profile name domain1
    40. wired-port-profile name wired-port
    41. mode endpoint
    42. vlan pvid 101
    43. vlan untagged 101
    44. ap-group name wds-leaf1
    45. regulatory-domain-profile domain1
    46. radio 1
    47. wds-profile wds-net3
    48. channel 40mhz-plus 157
    49. coverage distance 4
    50. ap-group name wds-leaf2
    51. wired-port-profile wired-port gigabitethernet 0
    52. regulatory-domain-profile domain1
    53. radio 1
    54. wds-profile wds-net3
    55. channel 40mhz-plus 149
    56. coverage distance 4
    57. ap-group name wds-root1
    58. regulatory-domain-profile domain1
    59. radio 1
    60. wds-profile wds-net1
    61. wds-whitelist-profile wds-list1
    62. channel 40mhz-plus 157
    63. coverage distance 4
    64. ap-group name wds-root2
    65. regulatory-domain-profile domain1
    66. radio 1
    67. wds-profile wds-net2
    68. wds-whitelist-profile wds-list2
    69. channel 40mhz-plus 149
    70. coverage distance 4
    71. ap-id 1 type-id 39 ap-mac 60de-4474-9640 ap-sn 210235554710CB000042
    72. ap-name AP_1
    73. ap-group wds-root1
    74. ap-id 2 type-id 39 ap-mac dcd2-fc04-b500 ap-sn 210235555310CC000094
    75. ap-name AP_2
    76. ap-group wds-leaf1
    77. ap-id 3 type-id 39 ap-mac dcd2-fcf6-76a0 ap-sn 210235419610D2000097
    78. ap-name AP_3
    79. ap-group wds-root2
    80. ap-id 4 type-id 39 ap-mac 60de-4476-e360 ap-sn 210235557610DB000046
    81. ap-name AP_4
    82. ap-group wds-leaf2
    83. #
    84. return</span></span>
 
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/156528
推荐阅读
相关标签
  

闽ICP备14008679号