华为配置WDS手拉手业务示例

news2024/11/18 6:16:48

配置WDS手拉手业务示例

组网图形

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

企业用户通过WLAN接入网络,以满足移动办公的最基本需求。但企业考虑到AP通过有线部署的成本较高,所以通过建立WDS无线桥接链路做无线回传,用于部署业务覆盖,保证企业用户可以接入无线网络。

组网需求
  • AC组网方式:旁挂二层组网。
  • DHCP部署方式:
    • AC作为DHCP服务器为AP分配IP地址。
    • 汇聚交换机Switch_A作为DHCP服务器为STA分配IP地址。
  • 无线回传方式:WDS手拉手方式。
  • 回传射频:5G频段。
  • 业务数据转发方式:直接转发。
数据规划
表2 AC数据规划表

配置项

数据

AP管理VLAN

VLAN100

STA业务VLAN

VLAN101

DHCP服务器

AC作为AP的DHCP服务器,Switch_A作为STA的DHCP服务器。

AP地址池

10.23.100.2~10.23.100.254/24

STA地址池

10.23.101.3~10.23.101.254/24

AC源接口

VLANIF100

WDS角色

  • AP_1射频1:root
  • AP_2射频1:leaf
  • AP_2射频0:root
  • AP_3射频1:leaf

域管理模板

  • 名称:default
  • 国家码:中国

SSID模板

  • 名称:wlan-net
  • SSID名称:wlan-net

WLAN无线业务安全模板

  • 名称:wlan-net
  • 安全策略:WPA-WPA2+PSK+AES
  • 密码:a1234567

VAP模板

  • 名称:wlan-net
  • 转发模式:直接转发
  • 业务VLAN:VLAN101
  • 引用模板:SSID模板wlan-net、安全模板wlan-net

WDS链路安全模板

WDS白名单模板

WDS模板

AP组

配置思路
  1. 配置root节点AP_1在AC上线。
    1. 创建AP组,用于将需要进行相同配置的AP都加入到AP组,实现统一配置。
    2. 配置AC的系统参数,包括国家码、AC与AP之间通信的源接口。
    3. 配置AP上线的认证方式并离线导入AP,实现AP正常上线。
  2. 配置WDS业务,使区域C的AP可以通过WDS无线虚链路上线。
  3. 配置WLAN业务参数,实现STA访问WLAN网络功能。
配置注意事项
操作步骤
  1. 配置周边设备

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

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

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

    <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b511548958190921">system-view</strong>
    [HUAWEI] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b489891529190921">sysname Switch_A</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b1311387655190921">vlan batch 100 to 101</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b1243101138190921">interface gigabitEthernet 0/0/1</strong>
    [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b1931666829190921">port link-type trunk</strong>
    [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b1503245325190921">port trunk allow-pass vlan 100 to 101</strong>
    [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b289486029190921">quit</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b458500069190921">interface gigabitEthernet 0/0/2</strong>
    [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b779944513190921">port link-type trunk</strong>
    [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b85068874190921">port trunk allow-pass vlan 100</strong>
    [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b2034823831190921">quit</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b929617411190921">interface gigabitEthernet 0/0/3</strong>
    [Switch_A-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b766152642190921">port link-type trunk</strong>
    [Switch_A-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b1952032455190921">port trunk allow-pass vlan 101</strong>
    [Switch_A-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912382_b204948751190921">quit</strong></span></span>
    # 配置Router的接口GE1/0/0加入VLAN101,创建接口VLANIF101并配置IP地址为10.23.101.2/24。
    <span style="color:#333333"><span style="background-color:#dddddd"><Huawei> <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b118005268190921">system-view</strong>
    [Huawei] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b1176501588190921">sysname Router</strong>
    [Router] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b995805857190921">vlan batch 101</strong>
    [Router] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b906637926190921">interface gigabitethernet 1/0/0</strong>
    [Router-GigabitEthernet1/0/0] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b406876624190921">port link-type trunk</strong>
    [Router-GigabitEthernet1/0/0] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b1226529678190921">port trunk allow-pass vlan 101</strong>
    [Router-GigabitEthernet1/0/0] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b1131638750190921">quit</strong>
    [Router] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b648829236190921">interface vlanif 101</strong>
    [Router-Vlanif101] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b1969966747190921">ip address 10.23.101.2 24</strong>
    [Router-Vlanif101] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b1246477905190921">quit</strong></span></span>
  2. 配置AC与其它网络设备互通

    # 配置AC的接口GE0/0/1,允许携带VLAN100的报文通过。

    <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0176912378__b570291284190921">system-view</strong>
    [HUAWEI] <strong id="ZH-CN_TASK_0176912378__b1926118503190921">sysname AC</strong>
    [AC] <strong id="ZH-CN_TASK_0176912378__b96916095190921">vlan batch 100 101</strong>
    [AC] <strong id="ZH-CN_TASK_0176912378__b404498836190921">interface gigabitEthernet 0/0/1</strong>
    [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0176912378__b651322997190921">port link-type trunk</strong>
    [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0176912378__b2619200190921">port trunk allow-pass vlan 100</strong>
    [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0176912378__b987613193190921">quit</strong></span></span>
  3. 配置DHCP服务器为STA和AP分配IP地址

    DNS服务器地址请根据实际需要配置。常用配置方法如下:
    • 接口地址池场景,需要在VLANIF接口视图下执行命令dhcp server dns-list ip-address &<1-8>。
    • 全局地址池场景,需要在IP地址池视图下执行命令dns-list ip-address &<1-8>。
    # 配置Switch_A作为DHCP服务器,通过接口地址池为STA分配IP地址。
    <span style="color:#333333"><span style="background-color:#dddddd">[Switch_A] <strong id="ZH-CN_TASK_0176912378__b585097426190921">dhcp enable</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0176912378__b189439435190921">interface vlanif 101</strong>
    [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0176912378__b686378840190921">ip address 10.23.101.1 24</strong>
    [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0176912378__b1172640232190921">dhcp select interface</strong>
    [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0176912378__b685516536190921">dhcp server gateway-list 10.23.101.2</strong>
    [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0176912378__b116615007190921">quit</strong></span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0176912378__b535076932190921">dhcp enable</strong>
    [AC] <strong id="ZH-CN_TASK_0176912378__b1294910917190921">interface vlanif 100</strong>
    [AC-Vlanif100] <strong id="ZH-CN_TASK_0176912378__b1403704681190921">ip address 10.23.100.1 24</strong>
    [AC-Vlanif100] <strong id="ZH-CN_TASK_0176912378__b1618518344190921">dhcp select interface</strong>
    [AC-Vlanif100] <strong id="ZH-CN_TASK_0176912378__b1710882234190921">quit</strong></span></span>
  4. 配置AP上线

    # 创建AP组“ap-group1”、“ap-group2”和“ap-group3”。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0176912378__b1083860828190921">wlan</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b333966974190921">ap-group name ap-group1</strong>
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b2129810468190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1905879936190921">ap-group name ap-group2</strong>
    [AC-wlan-ap-group-ap-group2] <strong id="ZH-CN_TASK_0176912378__b228340447190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b54960352190921">ap-group name ap-group3</strong>
    [AC-wlan-ap-group-ap-group3] <strong id="ZH-CN_TASK_0176912378__b1032751598190921">quit</strong></span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1230094218190921">regulatory-domain-profile name default</strong>
    [AC-wlan-regulate-domain-default] <strong id="ZH-CN_TASK_0176912378__b602460734190921">country-code cn</strong>
    [AC-wlan-regulate-domain-default] <strong id="ZH-CN_TASK_0176912378__b1938077640190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1312519707190921">ap-group name ap-group1</strong>
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b204151839190921">regulatory-domain-profile default</strong>
    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_0176912378__zh-cn_task_0175818418_b17491131153716">y</strong>  
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b594088353190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b817937082190921">ap-group name ap-group2</strong>
    [AC-wlan-ap-group-ap-group2] <strong id="ZH-CN_TASK_0176912378__b815776022190921">regulatory-domain-profile default</strong>
    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_0176912378__zh-cn_task_0175818418_b17491131153716_1">y</strong>  
    [AC-wlan-ap-group-ap-group2] <strong id="ZH-CN_TASK_0176912378__b1262782621190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b435925290190921">ap-group name ap-group3</strong>
    [AC-wlan-ap-group-ap-group3] <strong id="ZH-CN_TASK_0176912378__b436826727190921">regulatory-domain-profile default</strong>
    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_0176912378__zh-cn_task_0175818418_b17491131153716_2">y</strong>  
    [AC-wlan-ap-group-ap-group3] <strong id="ZH-CN_TASK_0176912378__b1227479814190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b741675262190921">quit</strong></span></span>

    # 配置AC的源接口。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0176912378__b1601735634190921">capwap source interface vlanif 100</strong></span></span>
    # 将AP_1加入到AP组“ap-group1”,AP_2加入到AP组“ap-group2”,AP_3加入到AP组“ap-group3”。
    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0176912378__b1374021969190921">wlan</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1265509873190921">ap auth-mode mac-auth</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b706866964190921">ap-id 1 ap-mac 60de-4474-9640</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0176912378__b176619692190921">ap-name AP_1</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0176912378__b600538503190921">ap-group ap-group1</strong>
    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_0176912378__zh-cn_task_0175818418_b1651706244190906">y</strong>  
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0176912378__b435831157190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1734348834190921">ap-id 2 ap-mac dcd2-fc04-b500</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b1101981659190921">ap-name AP_2</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b1077418825190921">ap-group ap-group2</strong>
    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_0176912378__zh-cn_task_0175818418_b1651706244190906_1">y</strong>  
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b1999555100190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1250311975190921">ap-id 3 ap-mac dcd2-fc96-e4c0</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0176912378__b1533697021190921">ap-name AP_3</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0176912378__b1508108276190921">ap-group ap-group3</strong>
    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_0176912378__zh-cn_task_0175818418_b1651706244190906_2">y</strong>  
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0176912378__b1982018367190921">quit</strong></span></span>
  5. 配置WDS业务参数

    # 配置WDS节点使用的主要射频参数。本例中使用AP_1和AP_3的是AP8130DN的射频1,AP_2使用AP8130DN的射频0和射频1。配置AP_2的射频0工作在5GHz频段,为了减少信道干扰配置AP_2的射频0和射频1在不同的信道,射频1用于和AP_1建立WDS链路,射频0用于和AP_3建立WDS链路。“coverage distance”参数为射频覆盖距离,缺省情况下是3,单位是100m。本例中使用参数为4,用户可以根据实际情况配置该参数。

    在WDS网络中,建立WDS链路的射频必须为同一信道。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b973163930190921">ap-id 2</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b1881699822190921">radio 0</strong>
    [AC-wlan-radio-2/0] <strong id="ZH-CN_TASK_0176912378__b594094206190921">frequency 5g</strong>
    Warning: Modifying the frequency band will delete the channel, power, and antenn
    a gain configurations of the current radio on the AP and reboot the AP. Continue
    ?[Y/N]:<strong id="ZH-CN_TASK_0176912378__b1855572944920">y</strong>
    [AC-wlan-radio-2/0] <strong id="ZH-CN_TASK_0176912378__b1918124164190921">quit</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b2038603550190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1099814393190921">ap-id 1</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0176912378__b1669668313190921">radio 1</strong>
    [AC-wlan-radio-1/1] <strong id="ZH-CN_TASK_0176912378__b1295367688190921">channel 40mhz-plus 157</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176912378__zh-cn_task_0175818418_b1384307436190906">y</strong> 
    [AC-wlan-radio-1/1] <strong id="ZH-CN_TASK_0176912378__b1221378632190921">coverage distance 4</strong>
    [AC-wlan-radio-1/1] <strong id="ZH-CN_TASK_0176912378__b1620252618190921">quit</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0176912378__b990496967190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1896739578190921">ap-id 2</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b2050334401190921">radio 0</strong>
    [AC-wlan-radio-2/0] <strong id="ZH-CN_TASK_0176912378__b1449906778190921">channel 40mhz-plus 149</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176912378__zh-cn_task_0175818418_b1384307436190906_1">y</strong> 
    [AC-wlan-radio-2/0] <strong id="ZH-CN_TASK_0176912378__b1331953824190921">coverage distance 4</strong>
    [AC-wlan-radio-2/0] <strong id="ZH-CN_TASK_0176912378__b713880646190921">quit</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b1137368453190921">radio 1</strong>
    [AC-wlan-radio-2/1] <strong id="ZH-CN_TASK_0176912378__b823627637190921">channel 40mhz-plus 157</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176912378__zh-cn_task_0175818418_b1384307436190906_2">y</strong> 
    [AC-wlan-radio-2/1] <strong id="ZH-CN_TASK_0176912378__b1762660870190921">coverage distance 4</strong>
    [AC-wlan-radio-2/1] <strong id="ZH-CN_TASK_0176912378__b1281892212190921">quit</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b1863079157190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1502886139190921">ap-id 3</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0176912378__b604612192190921">radio 1</strong>
    [AC-wlan-radio-3/1] <strong id="ZH-CN_TASK_0176912378__b298941086190921">channel 40mhz-plus 149</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176912378__zh-cn_task_0175818418_b1384307436190906_3">y</strong> 
    [AC-wlan-radio-3/1] <strong id="ZH-CN_TASK_0176912378__b1153657628190921">coverage distance 4</strong>
    [AC-wlan-radio-3/1] <strong id="ZH-CN_TASK_0176912378__b1519769423190921">quit</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0176912378__b1134031871190921">quit</strong></span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b403659190190921">security-profile name wds-security</strong>
    [AC-wlan-sec-prof-wds-security] <strong id="ZH-CN_TASK_0176912378__b680615166190921">security wpa2 psk pass-phrase a1234567 aes</strong>
    [AC-wlan-sec-prof-wds-security] <strong id="ZH-CN_TASK_0176912378__b1709946791190921">quit</strong></span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b36601203190921">wds-whitelist-profile name wds-list1</strong>
    [AC-wlan-wds-whitelist-wds-list1] <strong id="ZH-CN_TASK_0176912378__b1735750903190921">peer-ap mac dcd2-fc04-b500</strong>
    [AC-wlan-wds-whitelist-wds-list1] <strong id="ZH-CN_TASK_0176912378__b916949979190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b685098719190921">wds-whitelist-profile name wds-list2</strong>
    [AC-wlan-wds-whitelist-wds-list2] <strong id="ZH-CN_TASK_0176912378__b1881723973190921">peer-ap mac dcd2-fc96-e4c0</strong>
    [AC-wlan-wds-whitelist-wds-list2] <strong id="ZH-CN_TASK_0176912378__b1433362236190921">quit</strong></span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1038160682190921">wds-profile name wds-root</strong>
    [AC-wlan-wds-prof-wds-root] <strong id="ZH-CN_TASK_0176912378__b1316032594190921">wds-name wlan-wds</strong>
    [AC-wlan-wds-prof-wds-root] <strong id="ZH-CN_TASK_0176912378__b447826258190921">wds-mode root</strong>
    [AC-wlan-wds-prof-wds-root] <strong id="ZH-CN_TASK_0176912378__b2069070593190921">security-profile wds-security</strong>
    [AC-wlan-wds-prof-wds-root] <strong id="ZH-CN_TASK_0176912378__b146100745190921">vlan tagged 101</strong>
    [AC-wlan-wds-prof-wds-root] <strong id="ZH-CN_TASK_0176912378__b1070862885190921">quit</strong></span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1978990317190921">wds-profile name wds-leaf</strong>
    [AC-wlan-wds-prof-wds-leaf] <strong id="ZH-CN_TASK_0176912378__b209671589190921">wds-name wlan-wds</strong>
    [AC-wlan-wds-prof-wds-leaf] <strong id="ZH-CN_TASK_0176912378__b1205789701190921">wds-mode leaf</strong>
    [AC-wlan-wds-prof-wds-leaf] <strong id="ZH-CN_TASK_0176912378__b1124331768190921">security-profile wds-security</strong>
    [AC-wlan-wds-prof-wds-leaf] <strong id="ZH-CN_TASK_0176912378__b1747517715190921">vlan tagged 101</strong>
    [AC-wlan-wds-prof-wds-leaf] <strong id="ZH-CN_TASK_0176912378__b180610353190921">quit</strong></span></span>

    # 配置AP组“ap-group1”的射频1引用WDS白名单“wds-list1”。配置AP组“ap-group2”的射频0引用WDS白名单“wds-list2”。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b61345628190921">ap-group name ap-group1</strong>
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b21897143190921">radio 1</strong>
    [AC-wlan-group-radio-ap-group1/1] <strong id="ZH-CN_TASK_0176912378__b1700089180190921">wds-whitelist-profile wds-list1</strong>
    [AC-wlan-group-radio-ap-group1/1] <strong id="ZH-CN_TASK_0176912378__b1318962636190921">quit</strong>
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b7517099190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b25484107190921">ap-group name ap-group2</strong>
    [AC-wlan-ap-group-ap-group2] <strong id="ZH-CN_TASK_0176912378__b1891047689190921">radio 0</strong>
    [AC-wlan-group-radio-ap-group2/0] <strong id="ZH-CN_TASK_0176912378__b715150691190921">wds-whitelist-profile wds-list2</strong>
    [AC-wlan-group-radio-ap-group2/0] <strong id="ZH-CN_TASK_0176912378__b2099109151190921">quit</strong>
    [AC-wlan-ap-group-ap-group2] <strong id="ZH-CN_TASK_0176912378__b781464261190921">quit</strong></span></span>
  6. 在AP组引用相关模板,使WDS业务生效

    # 配置AP组“ap-group1”,引用WDS模板“wds-root”。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1602084839190921">ap-group name ap-group1</strong>
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b2053795237190921">wds-profile wds-root radio 1</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176912378__b1345959752190921">y</strong>
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b153560152190921">quit</strong></span></span>

    # 配置AP组“ap-group2”,引用WDS模板“wds-root”和“wds-leaf”。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b435889682190921">ap-group name ap-group2</strong>
    [AC-wlan-ap-group-ap-group2] <strong id="ZH-CN_TASK_0176912378__b1308033525190921">wds-profile wds-leaf radio 1</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176912378__b1195614921190921">y</strong>
    [AC-wlan-ap-group-ap-group2] <strong id="ZH-CN_TASK_0176912378__b1295779174190921">wds-profile wds-root radio 0</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176912378__b1778551390190921">y</strong>
    [AC-wlan-ap-group-ap-group2] <strong id="ZH-CN_TASK_0176912378__b174749758190921">quit</strong></span></span>

    # 配置AP组“ap-group3”,引用WDS模板“wds-leaf”。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b299621465190921">ap-group name ap-group3</strong>
    [AC-wlan-ap-group-ap-group3] <strong id="ZH-CN_TASK_0176912378__b1283922214190921">wds-profile wds-leaf radio 1</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176912378__b10513943190921">y</strong>
    [AC-wlan-ap-group-ap-group3] <strong id="ZH-CN_TASK_0176912378__b618593862190921">quit</strong></span></span>
  7. 配置WLAN业务参数

    # 创建名为“wlan-net”的安全模板,并配置安全策略。

    举例中以配置WPA-WPA2+PSK+AES的安全策略为例,密码为“a1234567”,实际配置中请根据实际情况,配置符合实际要求的安全策略。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b1991067776190921">security-profile name wlan-net</strong>
    [AC-wlan-sec-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b851752672190921">security wpa-wpa2 psk pass-phrase a1234567 aes</strong>
    [AC-wlan-sec-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b337241812190921">quit</strong></span></span>
    # 创建名为“wlan-net”的SSID模板,并配置SSID名称为“wlan-net”。
    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b69022931190921">ssid-profile name wlan-net</strong>
    [AC-wlan-ssid-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b36723145190921">ssid wlan-net</strong>
    [AC-wlan-ssid-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__zh-cn_task_0176912351_b1738903244190921">quit</strong></span></span>
    # 创建名为“wlan-net”的VAP模板,配置业务数据转发模式、业务VLAN,并且引用安全模板和SSID模板。
    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b325802584190921">vap-profile name wlan-net</strong>
    [AC-wlan-vap-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__b977737230190921">forward-mode direct-forward</strong>
    [AC-wlan-vap-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__b1495141052190921">service-vlan vlan-id 101</strong>
    [AC-wlan-vap-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__b694670004190921">security-profile wlan-net</strong>
    [AC-wlan-vap-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__b411554548190921">ssid-profile wlan-net</strong>
    [AC-wlan-vap-prof-wlan-net] <strong id="ZH-CN_TASK_0176912378__b1808978522190921">quit</strong></span></span>
    # 配置AP组引用VAP模板,本例中AP_1和AP_3使用射频1作为WDS回传频段,射频0作为无线业务覆盖射频。AP_1和AP_3上射频0都使用VAP模板“wlan-net”的配置。
    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b908252767190921">ap-group name ap-group1</strong>
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b1382046263190921">vap-profile wlan-net wlan 1 radio 0</strong>
    [AC-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176912378__b1809376582190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b65311999190921">ap-group name ap-group3</strong>
    [AC-wlan-ap-group-ap-group3] <strong id="ZH-CN_TASK_0176912378__b102213109190921">vap-profile wlan-net wlan 3 radio 0</strong>
    [AC-wlan-ap-group-ap-group3] <strong id="ZH-CN_TASK_0176912378__b340378414190921">quit</strong></span></span>
  8. 配置AP 2.4G射频的信道和功率

    举例中AP射频的信道和功率仅为示例,实际配置中请根据AP的国家码和网规结果进行配置。

    # 关闭AP射频的信道和功率自动调优功能。
    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1952682364190921">ap-id 1</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0176912378__b1706775230190921">radio 0</strong>
    [AC-wlan-radio-1/0] <strong id="ZH-CN_TASK_0176912378__b1242645581190921">calibrate auto-channel-select disable</strong>
    [AC-wlan-radio-1/0] <strong id="ZH-CN_TASK_0176912378__b1300815155190921">calibrate auto-txpower-select disable</strong>
    [AC-wlan-radio-1/0] <strong id="ZH-CN_TASK_0176912378__b665627777190921">quit</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0176912378__b1937134891190921">radio 1</strong>
    [AC-wlan-radio-1/1] <strong id="ZH-CN_TASK_0176912378__b964854892190921">calibrate auto-channel-select disable</strong>
    [AC-wlan-radio-1/1] <strong id="ZH-CN_TASK_0176912378__b1162033439190921">calibrate auto-txpower-select disable</strong>
    [AC-wlan-radio-1/1] <strong id="ZH-CN_TASK_0176912378__b165350850190921">quit</strong>
    [AC-wlan-ap-1]<strong id="ZH-CN_TASK_0176912378__b621637696190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1234068911190921">ap-id 2</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b229842564190921">radio 0</strong>
    [AC-wlan-radio-2/0] <strong id="ZH-CN_TASK_0176912378__b1342934364190921">calibrate auto-channel-select disable</strong>
    [AC-wlan-radio-2/0] <strong id="ZH-CN_TASK_0176912378__b1711548828190921">calibrate auto-txpower-select disable</strong>
    [AC-wlan-radio-2/0] <strong id="ZH-CN_TASK_0176912378__b1360369703190921">quit</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0176912378__b1588443530190921">radio 1</strong>
    [AC-wlan-radio-2/1] <strong id="ZH-CN_TASK_0176912378__b588981595190921">calibrate auto-channel-select disable</strong>
    [AC-wlan-radio-2/1] <strong id="ZH-CN_TASK_0176912378__b1840220766190921">calibrate auto-txpower-select disable</strong>
    [AC-wlan-radio-2/1] <strong id="ZH-CN_TASK_0176912378__b1725333130190921">quit</strong>
    [AC-wlan-ap-2]<strong id="ZH-CN_TASK_0176912378__b1261464425190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b622120274190921">ap-id 3</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0176912378__b171438672190921">radio 0</strong>
    [AC-wlan-radio-3/0] <strong id="ZH-CN_TASK_0176912378__b2132985172190921">calibrate auto-channel-select disable</strong>
    [AC-wlan-radio-3/0] <strong id="ZH-CN_TASK_0176912378__b271202200190921">calibrate auto-txpower-select disable</strong>
    [AC-wlan-radio-3/0] <strong id="ZH-CN_TASK_0176912378__b1526864825190921">quit</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0176912378__b91027589190921">radio 1</strong>
    [AC-wlan-radio-3/1] <strong id="ZH-CN_TASK_0176912378__b1535412287190921">calibrate auto-channel-select disable</strong>
    [AC-wlan-radio-3/1] <strong id="ZH-CN_TASK_0176912378__b1762757286190921">calibrate auto-txpower-select disable</strong>
    [AC-wlan-radio-3/1] <strong id="ZH-CN_TASK_0176912378__b85195689190921">quit</strong>
    [AC-wlan-ap-3]<strong id="ZH-CN_TASK_0176912378__b78324845190921">quit</strong></span></span>
    # 配置AP射频0的信道和功率。
    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b586443666190921">ap-id 1</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0176912378__b423411733190921">radio 0</strong>
    [AC-wlan-radio-1/0] <strong id="ZH-CN_TASK_0176912378__b2007086283190921">channel 20mhz 6</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]y
    [AC-wlan-radio-1/0] <strong id="ZH-CN_TASK_0176912378__b1030138178190921">eirp 127</strong>
    [AC-wlan-radio-1/0] <strong id="ZH-CN_TASK_0176912378__b1917905811190921">quit</strong>
    [AC-wlan-ap-1]<strong id="ZH-CN_TASK_0176912378__b559165017190921">quit</strong></span></span>
  9. 验证WDS业务配置结果

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1107332355190921">display ap all</strong>
    Total AP information:
    nor  : normal          [3]
    Extra information: P  : insufficient power supply
    --------------------------------------------------------------------------------------------------
    ID   MAC            Name   Group     IP            Type            State STA Uptime      ExtraInfo
    --------------------------------------------------------------------------------------------------
    1    60de-4474-9640 AP_1   ap-group1 10.23.100.254 AP8130DN        <strong id="ZH-CN_TASK_0176912378__b58094169190921">nor</strong>   0   20M:16S     -
    2    dcd2-fc04-b500 AP_2   ap-group2 10.23.100.253 AP8130DN        <strong id="ZH-CN_TASK_0176912378__b2093037571190921">nor</strong>   0   17S         -
    3    dcd2-fc96-e4c0 AP_3   ap-group3 10.23.100.252 AP8130DN        <strong id="ZH-CN_TASK_0176912378__b1074348771190921">nor</strong>   0   3M:55S      -
    --------------------------------------------------------------------------------------------------
    Total: 3
    </span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b1520620916190921">display wlan wds link all</strong>
    Rf   : radio ID             Dis  : coverage distance(100m)                      
    Ch   : channel              Per  : drop percent(%)                              
    TSNR : total SNR(dB)        P-   : peer                                         
    WDS  : WDS mode             Re   : retry ratio(%)                               
    RSSI : RSSI(dBm)            MaxR : max RSSI(dBm)                                
    -------------------------------------------------------------------------------------------------
    APName  P-APName  Rf Dis   Ch   WDS     P-Status        RSSI  MaxR  Per  Re   TS  NR  SNR(Ch0~3:dB)
    -------------------------------------------------------------------------------------------------
    AP_1    AP_2      1  4     157  root     normal          -39   -30   0    5   55    42/57/-/-
    AP_2    AP_3      0  4     149  root     normal          -56   -40   0    9   59    45/40/60/-
    AP_2    AP_1      1  4     157  leaf     normal          -32   -30   0    15  58    41/36/60/-
    AP_3    AP_2      1  4     149  leaf     normal          -33   -32   0    7   59    51/59/-/-
    ---------------------------------------------------------------------------------------------------
    Total: 4</span></span>

    WLAN业务配置会自动下发给AP,配置完成后,通过执行命令display vap ssid wlan-net查看如下信息,当“Status”项显示为“ON”时,表示AP对应的射频上的VAP已创建成功。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b287801376190921">display vap ssid wlan-net</strong>
    WID : WLAN ID
    --------------------------------------------------------------------------------
    AP ID AP name RfID WID   BSSID          Status  Auth type     STA   SSID
    --------------------------------------------------------------------------------
    1     AP_1    0    1     60DE-4474-9640 <strong id="ZH-CN_TASK_0176912378__b32085512190921">ON</strong>      WPA/WPA2-PSK  0     wlan-net
    3     AP_3    0    3     DCD2-FC96-E4C0 <strong id="ZH-CN_TASK_0176912378__b1358396375190921">ON</strong>      WPA/WPA2-PSK  0     wlan-net
    -------------------------------------------------------------------------------
    Total: 2</span></span>

    STA搜索到名为“wlan-net”的无线网络,输入密码“a1234567”并正常关联后,在AC上执行display station ssid wlan-net命令,可以查看到用户已经接入到无线网络“wlan-net”中。

    <span style="color:#333333"><span style="background-color:#dddddd">[AC-wlan-view] <strong id="ZH-CN_TASK_0176912378__b277077308190921">display station ssid wlan-net</strong>
    Rf/WLAN: Radio ID/WLAN ID
    Rx/Tx: link receive rate/link transmit rate(Mbps)
    ---------------------------------------------------------------------------------
    STA MAC         AP ID Ap name   Rf/WLAN  Band  Type  Rx/Tx      RSSI  VLAN  IP address
    ---------------------------------------------------------------------------------
    e019-1dc7-1e08  1     AP_1      0/1      2.4G  11n   3/34       -68   101   10.23.101.254
    ---------------------------------------------------------------------------------
    Total: 1 2.4G: 1 5G: 0</span></span>
配置文件
  • Switch_A的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Switch_A
    #
     vlan batch 100 to 101
    #
    dhcp enable 
    #
    interface Vlanif101
     ip address 10.23.101.1 255.255.255.0
     dhcp select interface
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     port trunk allow-pass vlan 100 to 101
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     port trunk allow-pass vlan 100
    #
    interface GigabitEthernet0/0/3
     port link-type trunk
     port trunk allow-pass vlan 101
    #
    return</span></span>
  • Switch_B的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Switch_B
    #
     vlan batch 100 to 101
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     port trunk pvid vlan 100
     port trunk allow-pass vlan 100 to 101
     port-isolate enable group 1 
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     port trunk allow-pass vlan 100 to 101
    #
    return</span></span>
  • Router的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Router
    #
    vlan batch 101
    #
    interface Vlanif101
     ip address 10.23.101.2 255.255.255.0
    #
    interface GigabitEthernet1/0/0
     port link-type trunk
     port trunk allow-pass vlan 101
    #
    return
    </span></span>
  • AC的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
     sysname AC
    #
     vlan batch 100 to 101
    #
    dhcp enable 
    #
    interface Vlanif100
     ip address 10.23.100.1 255.255.255.0
     dhcp select interface
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     port trunk allow-pass vlan 100
    #
    capwap source interface vlanif100
    #
    wlan
     security-profile name wlan-net
      security wpa-wpa2 psk pass-phrase %^%#m"tz0f>~7.[`^6RWdzwCy16hJj/Mc!,}s`X*B]}A%^%# aes
     security-profile name wds-security
      security wpa2 psk pass-phrase %^%#n}5+DgC3wLB.hJ34j5;*QMv<8"9#{Bq@ghBI3L9K%^%# aes
     ssid-profile name wlan-net
      ssid wlan-net
     vap-profile name wlan-net
      service-vlan vlan-id 101
      ssid-profile wlan-net
      security-profile wlan-net
     wds-whitelist-profile name wds-list1
      peer-ap mac dcd2-fc04-b500
     wds-whitelist-profile name wds-list2
      peer-ap mac dcd2-fc96-e4c0
     wds-profile name wds-leaf
      security-profile wds-security
      vlan tagged 101
      wds-name wlan-wds
     wds-profile name wds-root
      security-profile wds-security
      vlan tagged 101
      wds-name wlan-wds
      wds-mode root
     regulatory-domain-profile name default
     ap-group name ap-group1
      radio 0
       vap-profile wlan-net wlan 3
      radio 1
       wds-profile wds-root
       wds-whitelist-profile wds-list1
     ap-group name ap-group2
      radio 0
       wds-profile wds-root
       wds-whitelist-profile wds-list2
      radio 1
       wds-profile wds-leaf
     ap-group name ap-group3
      radio 0
       vap-profile wlan-net wlan 1
      radio 1
       wds-profile wds-leaf
     ap-id 1 type-id 39 ap-mac 60de-4474-9640 ap-sn 210235554710CB000042
      ap-name AP_1
      ap-group ap-group1
      radio 0
       channel 20mhz 6
       eirp 127
       calibrate auto-channel-select disable    calibrate auto-txpower-select disable
      radio 1
       channel 40mhz-plus 157
       coverage distance 4
       calibrate auto-channel-select disable    calibrate auto-txpower-select disable
     ap-id 2 type-id 39 ap-mac dcd2-fc04-b500 ap-sn 210235555310CC000094
      ap-name AP_2
      ap-group ap-group2
      radio 0
       frequency 5g
       channel 40mhz-plus 149
       eirp 127
       coverage distance 4 
       calibrate auto-channel-select disable    calibrate auto-txpower-select disable
      radio 1
       channel 40mhz-plus 157
       eirp 127
       coverage distance 4 
       calibrate auto-channel-select disable    calibrate auto-txpower-select disable
     ap-id 3 type-id 39 ap-mac dcd2-fc96-e4c0 ap-sn 210235557610DB000046
      ap-name AP_3
      ap-group ap-group3
      radio 0
       channel 20mhz 11
       eirp 127
       calibrate auto-channel-select disable    calibrate auto-txpower-select disable
      radio 1
       channel 40mhz-plus 149
       coverage distance 4 
       calibrate auto-channel-select disable    calibrate auto-txpower-select disable
    #  
    return</span></span>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1467024.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

智慧公厕是什么?智慧公厕是构建智慧城市的环境卫生基石

随着城市化进程的不断加速&#xff0c;城市人口密度和流动性也逐渐增大&#xff0c;对城市公共设施的需求与日俱增。而在这些公共设施中&#xff0c;公厕作为城市基础设施中不可或缺的一环&#xff0c;对城市的环境卫生和市民生活质量起着举足轻重的作用。如何提高公厕的管理效…

ChatGPT plus 的平替:9个可以联网的免费AI搜索引擎

ChatGPT plus 的平替&#xff1a;9个可以联网的免费AI搜索引擎。 由于ChatGPT 训练数据截止到2021年9月&#xff0c;在该时间点之后发生的事件&#xff0c;ChatGPT均无法给出答复。所以&#xff0c;大家现在都非常期待ChatGPT能够联网&#xff0c;访问实时的信息。 ChatGPT pl…

谷歌gemma2b windows本地cpu gpu部署,pytorch框架,模型文件百度网盘下载

简介 谷歌DeepMind发布了Gemma,这是一系列灵感来自用于Gemini相同研究和技术的开放模型。开放模型适用于各种用例,这是谷歌非常明智的举措。有2B(在2T tokens上训练)和7B(在6T tokens上训练)模型,包括基础和指令调整版本。在8192个token的上下文长度上进行训练。允许商业使…

Linux之ACL权限管理

文章目录 1.ACL权限介绍二、操作步骤1. 添加测试目录、用户、组&#xff0c;并将用户添加到组2. 修改目录的所有者和所属组3. 设定权限4. 为临时用户分配权限5. 验证acl权限6. 控制组的acl权限 1.ACL权限介绍 每个项目成员有一个自己的项目目录&#xff0c;对自己的目录有完全…

Java Stream API的二度深入

Java Stream API的二度深入 前言 为什么会写这样一篇文章呢&#xff1f; 1.面试的时候&#xff0c;一位前辈对我这方面有过一次提问&#xff0c;我随口回答&#xff0c;前辈很信任我&#xff0c;以此文致敬前辈&#xff01; 2.去回顾&#xff0c;去扎实&#xff0c;对得起前辈的…

Spring及工厂模式概述

文章目录 Spring 身世什么是 Spring什么是设计模式工厂设计模式什么是工厂设计模式简单的工厂设计模式通用的工厂设计 总结 在 Spring 框架出现之前&#xff0c;Java 开发者使用的主要是传统的 Java EE&#xff08;Java Enterprise Edition&#xff09;平台。Java EE 是一套用于…

SwiftUI 支持拖放功能的集合视图(Grid)如何捕获手指按下并抬起这一操作

功能需求 假设我们开发了一款 SwiftUI 应用,其中用户可以通过拖放 Grid 中的 Cell 来完成一些操作。现在,我们希望用户在某个 Cell 被按下并随后抬起手指时得到通知,这能够实现吗? 如上图所示,我们准确地捕获到了手指在 Grid 的 Cell 上按下再抬起这一操作!那么它是如何…

算法沉淀——穷举、暴搜、深搜、回溯、剪枝综合练习四(leetcode真题剖析)

算法沉淀——穷举、暴搜、深搜、回溯、剪枝综合练习四 01.解数独02.单词搜索03.黄金矿工04.不同路径 III 01.解数独 题目链接&#xff1a;https://leetcode.cn/problems/sudoku-solver/ 编写一个程序&#xff0c;通过填充空格来解决数独问题。 数独的解法需 遵循如下规则&am…

亿道丨三防平板丨加固平板丨为零售业提供四大优势

随着全球经济的快速发展&#xff0c;作为传统行业的零售业也迎来了绝佳的发展机遇&#xff0c;在互联网智能化的大环境下&#xff0c;越来越多的零售企业选择三防平板电脑作为工作中的电子设备。作为一种耐用的移动选项&#xff0c;三防平板带来的不仅仅是坚固的外壳。坚固耐用…

第十四章[面向对象]:14.9:定制类

一,__len__()方法返回长度 1,len()函数 len()函数: 功能:len() 函数返回对象(字符、列表、元组等)长度或项目个数 语法: len( s ) 参数:s : 要查询长度的对象 返回值: 返回对象长度 2,没有定义__len__()方法时,对实例应用len()函数会引发TypeError class Student: …

T-Dongle-S3开发笔记——分区表

参考&#xff1a; ESP32之 ESP-IDF 教学&#xff08;十三&#xff09;—— 分区表_esp32分区表-CSDN博客 分区表 - ESP32 - — ESP-IDF 编程指南 latest 文档 (espressif.com) 分区表是 ESP32 划分内部 flash 闪存的清单&#xff0c;它将 flash 划分为多个不同功能的区域用于…

【Java程序设计】【C00296】基于Springboot的4S车辆管理系统(有论文)

基于Springboot的4S车辆管理系统&#xff08;有论文&#xff09; 项目简介项目获取开发环境项目技术运行截图 项目简介 这是一个基于Springboot的4S店车辆管理系统 本系统分为销售员功能模块、管理员功能模块以及维修员功能模块。 管理员功能模块&#xff1a;管理员登录进入4S…

ubantu设置mysql开机启动

阅读本文之前请参阅----MySQL 数据库安装教程详解&#xff08;linux系统和windows系统&#xff09; 在Ubuntu系统中设置MySQL开机启动&#xff0c;通常有以下几种方法&#xff1a; 1. **使用systemctl命令**&#xff1a; Ubuntu 16.04及更高版本使用systemd作为…

【若依(ruoyi)】Java---如何在Apifox上传params参数--延伸--如何在Apifox上传Map类型参数

在使用若依开发过程中写接口的时候想在params中添加参数,但是使用params.key这种形式在后端是接收不到传过来的参数的,于是百般调研(百度),终于找到一个解决办法,就是在参数前后加上%5B和%5D,这两个参数会被编译为"["和"]",于是就对得上了,后端成功接受到参…

设计模式: 策略模式

文章目录 一、什么是策略模式二、策略模式结构三、使用场景案例分析1、使用场景2、案例分析&#xff08;1&#xff09;消除条件分支 一、什么是策略模式 策略模式是一种行为型设计模式&#xff0c;它允许定义一组算法&#xff0c;并将每个算法封装在独立的类中&#xff0c;使它…

UE5 C++ 创建可缩放的相机

一.要将相机设置在Pawn类里 1.在MyPawn头文件里&#xff0c;加上摇臂和相机组件 #include "GameFramework/SpringArmComponent.h" #include "Camera/CameraComponent.h" 2.在Pawm里声明SceneComponet&#xff0c;SpringArmComponent,CameraComponent组件…

新手入门C语言之其他操作符以及操作符属性

一.逗号操作符 1.形式&#xff1a; exp1, exp2, exp3 ......逗号表达式&#xff1a;由逗号隔开的一串表达式 2.执行过程&#xff1a;从左到右依次执行每一个表达式&#xff0c;表达式的结果是最后一个表达式的结果 int main() {int a 1;int b 2;int c (a > b, a b…

给定长度为n(n<=20)的数组a,-20<=ai<=20, 每次操作选择i,j,使a[i] += a[j], 在31次操作内使a不递减,输出每次操作的i,j

题目 思路&#xff1a; #include <bits/stdc.h> using namespace std; #define int long long #define pb push_back #define fi first #define se second #define lson p << 1 #define rson p << 1 | 1 const int maxn 1e6 5, inf 1e18, maxm 4e4 5, …

SpringBoot项目实现文件上传,MINIO+OSS阿里云

MINIO 安装以及部署 官网&#xff1a;MinIO | Code and downloads to create high performance object storage 下载后是一个minio.exe的文件&#xff0c;可以先创一个文件夹来存放数据以及文件 在文件的目录下cmd进入控制台 minio.exe server data 启动成功后控制台会打印账…

代码随想录算法训练营第59天 | 583.两个字符串的删除操作 + 72.编辑距离 + 编辑距离总结篇

今日任务 583. 两个字符串的删除操作 72. 编辑距离 编辑距离总结篇 583.两个字符串的删除操作 - Medium 题目链接&#xff1a;. - 力扣&#xff08;LeetCode&#xff09; 给定两个单词 word1 和 word2 &#xff0c;返回使得 word1 和 word2 相同所需的最小步数。 每步 可以…