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

配置WDS背靠背业务示例

组网图形

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

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

组网需求
  • AC组网方式:旁挂二层组网。
  • DHCP部署方式:
    • AC作为DHCP服务器为AP分配IP地址。
    • 汇聚交换机Switch_A作为DHCP服务器为PC分配IP地址。
  • 无线回传方式:WDS背靠背方式。
  • 回传射频:5G频段。
配置思路
  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上的有线用户可以访问网络。
配置注意事项
操作步骤
  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_0180389387__zh-cn_task_0176912382_b1141689396190921">system-view</strong>
    [HUAWEI] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1956857707190921">sysname Switch_B</strong>
    [Switch_B] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b402801205190921">vlan batch 100 to 101</strong>
    [Switch_B] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b611115067190921">interface gigabitEthernet 0/0/1</strong>
    [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b212116232190921">port link-type trunk</strong>
    [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1767714945190921">port trunk pvid vlan 100</strong>
    [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>
    [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b36947418190921">port-isolate enable</strong>
    [Switch_B-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1464937259190921">quit</strong>
    [Switch_B] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1250273224190921">interface gigabitEthernet 0/0/2</strong>
    [Switch_B-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b541902358190921">port link-type trunk</strong>
    [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>
    [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。

    <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b511548958190921">system-view</strong>
    [HUAWEI] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b489891529190921">sysname Switch_A</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1311387655190921">vlan batch 100 to 101</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1243101138190921">interface gigabitEthernet 0/0/1</strong>
    [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1931666829190921">port link-type trunk</strong>
    [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>
    [Switch_A-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b289486029190921">quit</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b458500069190921">interface gigabitEthernet 0/0/2</strong>
    [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b779944513190921">port link-type trunk</strong>
    [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b85068874190921">port trunk allow-pass vlan 100</strong>
    [Switch_A-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2034823831190921">quit</strong>
    [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b929617411190921">interface gigabitEthernet 0/0/3</strong>
    [Switch_A-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b766152642190921">port link-type trunk</strong>
    [Switch_A-GigabitEthernet0/0/3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1952032455190921">port trunk allow-pass vlan 101</strong>
    [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。

    <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1872685572190921">system-view</strong>
    [HUAWEI] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2255061190921">sysname Switch_C</strong>
    [Switch_C] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b200734861190921">vlan batch 101</strong>
    [Switch_C] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b690802990190921">interface gigabitEthernet 0/0/1</strong>
    [Switch_C-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1787226765190921">port link-type trunk</strong>
    [Switch_C-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1295817260190921">port trunk allow-pass vlan 101</strong>
    [Switch_C-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b532973534190921">quit</strong>
    [Switch_C] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1888702196190921">interface gigabitEthernet 0/0/2</strong>
    [Switch_C-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b728097451190921">port link-type trunk</strong>
    [Switch_C-GigabitEthernet0/0/2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b112179000190921">port trunk allow-pass vlan 101</strong>
    [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。
    <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>
    [Huawei] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b1176501588190921">sysname Router</strong>
    [Router] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b995805857190921">vlan batch 101</strong>
    [Router] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b906637926190921">interface gigabitethernet 1/0/0</strong>
    [Router-GigabitEthernet1/0/0] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b406876624190921">port link-type trunk</strong>
    [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>
    [Router-GigabitEthernet1/0/0] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b1131638750190921">quit</strong>
    [Router] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_zh-cn_task_0176912351_b648829236190921">interface vlanif 101</strong>
    [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>
    [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。

    <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b731946079190921">system-view</strong>
    [HUAWEI] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b952407640190921">sysname AC</strong>
    [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1467184913190921">vlan batch 100 to 101</strong>
    [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1947889633190921">interface gigabitEthernet 0/0/1</strong>
    [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1596289078190921">port link-type trunk</strong>
    [AC-GigabitEthernet0/0/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b211747313190921">port trunk allow-pass vlan 100</strong>
    [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地址。
    <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>
    [Switch_A] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1039504325190921">interface vlanif 101</strong>
    [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b890680725190921">ip address 10.23.101.1 24</strong>
    [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b400571813190921">dhcp select interface</strong>
    [Switch_A-Vlanif101] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1769770478190921">quit</strong></span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1986932748190921">dhcp enable</strong>
    [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b499081131190921">interface vlanif 100</strong>
    [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1698050937190921">ip address 10.23.100.1 24</strong>
    [AC-Vlanif100] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b763351126190921">dhcp select interface</strong>
    [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”。

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

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

    <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>
    [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b360537477190921">country-code cn</strong>
    [AC-wlan-regulate-domain-domain1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1298891525190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b524035522190921">ap-group name wds-root1</strong>
    [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b950159343190921">regulatory-domain-profile domain1</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_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b17491131153716">y</strong>  
    [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b582981094190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b784868663190921">ap-group name wds-root2</strong>
    [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2119351513190921">regulatory-domain-profile domain1</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_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b17491131153716_1">y</strong>  
    [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1473841740190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1754898706190921">ap-group name wds-leaf1</strong>
    [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b358150644190921">regulatory-domain-profile domain1</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_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b17491131153716_2">y</strong>  
    [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b389272857190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1149475187190921">ap-group name wds-leaf2</strong>
    [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b60840508190921">regulatory-domain-profile domain1</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_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b17491131153716_3">y</strong>  
    [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b794382077190921">quit</strong>
    [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”。
    <span style="color:#333333"><span style="background-color:#dddddd">[AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b127650893190921">wlan</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b287223171190921">ap auth-mode mac-auth</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1428794151190921">ap-id 1 ap-mac dcd2-fcf6-76a0</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1753922815190921">ap-name AP_1</strong>
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1574738284190921">ap-group wds-root1</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_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1651706244190906">y</strong>  
    [AC-wlan-ap-1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b459260765190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b664350779190921">ap-id 2 ap-mac 60de-4474-9640</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b895106219190921">ap-name AP_2</strong>
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b13471106190921">ap-group wds-leaf1</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_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1651706244190906_1">y</strong>  
    [AC-wlan-ap-2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1993952519190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1203864542190921">ap-id 3 ap-mac dcd2-fc04-b500</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b294390181190921">ap-name AP_3</strong>
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1214529024190921">ap-group wds-root2</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_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1651706244190906_2">y</strong>  
    [AC-wlan-ap-3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1875565336190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b13133478190921">ap-id 4 ap-mac 60de-4476-e360</strong>
    [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1880618819190921">ap-name AP_4</strong>
    [AC-wlan-ap-4] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1409904351190921">ap-group wds-leaf2</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_0180389387__zh-cn_task_0176912382_zh-cn_task_0175818418_b1651706244190906_3">y</strong>  
    [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,用户可以根据实际情况配置该参数。
    <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>
    [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1327837496190921">radio 1</strong>
    [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2121125742190921">channel 40mhz-plus 157</strong>
    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> 
    [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1651796313190921">coverage distance 4</strong>
    [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b611888854190921">quit</strong>
    [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1447875664190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1277898093190921">ap-group name wds-root2</strong>
    [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b630680589190921">radio 1</strong>
    [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1403376974190921">channel 40mhz-plus 149</strong>
    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> 
    [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1043311189190921">coverage distance 4</strong>
    [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b244873708190921">quit</strong>
    [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b65353265190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1840012067190921">ap-group name wds-leaf1</strong>
    [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1563978121190921">radio 1</strong>
    [AC-wlan-group-radio-wds-leaf1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b51942609190921">channel 40mhz-plus 157</strong>
    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> 
    [AC-wlan-group-radio-wds-leaf1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b646200330190921">coverage distance 4</strong>
    [AC-wlan-group-radio-wds-leaf1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1185812114190921">quit</strong>
    [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b991586554190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1330221623190921">ap-group name wds-leaf2</strong>
    [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b80992393190921">radio 1</strong>
    [AC-wlan-group-radio-wds-leaf2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b446916588190921">channel 40mhz-plus 149</strong>
    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> 
    [AC-wlan-group-radio-wds-leaf2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2023858635190921">coverage distance 4</strong>
    [AC-wlan-group-radio-wds-leaf2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2096749670190921">quit</strong>
    [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。

    <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>
    [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>
    [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接入。

    <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>
    [AC-wlan-wds-whitelist-wds-list1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b606010231190921">peer-ap mac 60de-4474-9640</strong>
    [AC-wlan-wds-whitelist-wds-list1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1317224618190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1905074757190921">wds-whitelist-profile name wds-list2</strong>
    [AC-wlan-wds-whitelist-wds-list2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b752799505190921">peer-ap mac 60de-4476-e360</strong>
    [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通过。

    <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>
    [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b514686767190921">wds-name wds-net</strong>
    [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b877365171190921">wds-mode root</strong>
    [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1537932059190921">security-profile wds-sec</strong>
    [AC-wlan-wds-prof-wds-net1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2050344051190921">vlan tagged 101</strong>
    [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通过。

    <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>
    [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b230684810190921">wds-name wds-net</strong>
    [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b398465640190921">wds-mode root</strong>
    [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b635333294190921">security-profile wds-sec</strong>
    [AC-wlan-wds-prof-wds-net2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b674528416190921">vlan tagged 101</strong>
    [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通过。

    <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>
    [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b700923996190921">wds-name wds-net</strong>
    [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1786298761190921">wds-mode leaf</strong>
    [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1808167603190921">security-profile wds-sec</strong>
    [AC-wlan-wds-prof-wds-net3] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b531364611190921">vlan tagged 101</strong>
    [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接入。

    <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>
    [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1323209580190921">radio 1</strong>
    [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b58958293190921">wds-whitelist-profile wds-list1</strong>
    [AC-wlan-group-radio-wds-root1/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2100956636190921">quit</strong>
    [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1852361723190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1136366507190921">ap-group name wds-root2</strong>
    [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1403121751190921">radio 1</strong>
    [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1596040309190921">wds-whitelist-profile wds-list2</strong>
    [AC-wlan-group-radio-wds-root2/1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1971831060190921">quit</strong>
    [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。

    <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>
    [AC-wlan-wired-port-wired-port] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2146673801190921">mode endpoint</strong>
    Warning: If the AP goes online through a wired port, the incorrect port mode con
    figuration will cause the AP to go out of management. This fault can be recovere
    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>         
    [AC-wlan-wired-port-wired-port] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b227068829190921">vlan pvid 101</strong>
    [AC-wlan-wired-port-wired-port] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1564970666190921">vlan untagged 101</strong>
    [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”。

    <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>
    [AC-wlan-ap-group-wds-root1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2016202677190921">wds-profile wds-net1 radio 1</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b619141300190921">y</strong>
    [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”。

    <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>
    [AC-wlan-ap-group-wds-root2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b963643792190921">wds-profile wds-net2 radio 1</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1961140080190921">y</strong>
    [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”。

    <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>
    [AC-wlan-ap-group-wds-leaf1] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b2136116247190921">wds-profile wds-net3 radio 1</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1514922813190921">y</strong>
    [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才能生效。

    <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>
    [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b78834958190921">wds-profile wds-net3 radio 1</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1686127686190921">y</strong>
    [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>
    [AC-wlan-ap-group-wds-leaf2] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b368993130190921">quit</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1892800206190921">quit</strong>
    [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已成功上线。

    <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>
    Total AP information:                                                           
    nor  : normal          [4]                                                      
    Extra information: P  : insufficient power supply
    ---------------------------------------------------------------------------------------------------
    ID   MAC            Name Group     IP              Type            State STA Uptime      ExtraInfo
    ---------------------------------------------------------------------------------------------------
    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     -
    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         -
    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      -
    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      -
    -------------------------------------------------------------------------------------------------
    Total: 4                                                                        </span></span>

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

    <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>
    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          -44   -40   0    3    50   45/49/-/-
    AP_2    AP_1      1  4     157  leaf    normal          -38   -36   0    49   57   36/31/57/-
    AP_3    AP_4      1  4     149  root    normal          -11   -7    0    1    83   81/80/-/-
    AP_4    AP_3      1  4     149  leaf    normal          -4    -4    0    0    91   90/85/-/-
    -------------------------------------------------------------------------------------------------
    Total: 4</span></span>

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

    <span style="color:#333333"><span style="background-color:#dddddd"><AC> <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b551825633190921">system-view</strong>
    [AC] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b469103114190921">wlan</strong>
    [AC-wlan-view] <strong id="ZH-CN_TASK_0180389387__zh-cn_task_0176912382_b1281324899190921">ap-reset ap-group wds-leaf2</strong>
    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的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Switch_A
    #vlan batch 100 to 101
    #
    dhcp enable 
    #
    interface Vlanif101ip address 10.23.101.1 255.255.255.0dhcp select interface
    #
    interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100 to 101
    #
    interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 100
    #
    interface GigabitEthernet0/0/3port link-type trunkport 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/1port link-type trunkport trunk pvid vlan 100port trunk allow-pass vlan 100 to 101
    port-isolate enable group 1 
    #
    interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 100 to 101
    #
    return</span></span>
  • Switch_C的配置文件

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

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Router
    #
    vlan batch 101
    #
    interface Vlanif101ip address 10.23.101.2 255.255.255.0
    #
    interface GigabitEthernet1/0/0port link-type trunkport 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 wds-sec                                                  security wpa2 psk pass-phrase %^%#n}5+DgC3wLB.hJ34j5;*QMv<8"9#{Bq@ghBI3L9K%^%# aes  wds-whitelist-profile name wds-list1                                           peer-ap mac 60de-4474-9640wds-whitelist-profile name wds-list2                                           peer-ap mac 60de-4476-e360                                                    wds-profile name wds-net1                                                      security-profile wds-sec                                                      vlan tagged 101                                                               wds-name wds-net                                                              wds-mode root                                                                 wds-profile name wds-net2                                                      security-profile wds-sec                                                      vlan tagged 101                                                               wds-name wds-net                                                              wds-mode root                                                                 wds-profile name wds-net3                                                      security-profile wds-sec                                                      vlan tagged 101                                                               wds-name wds-net                                                              regulatory-domain-profile name domain1                                         wired-port-profile name wired-port                                             mode endpoint                                                                 vlan pvid 101                                                                 vlan untagged 101                                                               ap-group name wds-leaf1                                                        regulatory-domain-profile domain1                                             radio 1                                                    wds-profile wds-net3           channel 40mhz-plus 157                                                       coverage distance 4 ap-group name wds-leaf2                                                        wired-port-profile wired-port gigabitethernet 0                               regulatory-domain-profile domain1                                             radio 1                                                                       wds-profile wds-net3                                                         channel 40mhz-plus 149                                                       coverage distance 4 ap-group name wds-root1                                                        regulatory-domain-profile domain1                                             radio 1                                                                       wds-profile wds-net1                                                         wds-whitelist-profile wds-list1                                              channel 40mhz-plus 157                                                       coverage distance 4             ap-group name wds-root2                                                        regulatory-domain-profile domain1                                             radio 1                                                                       wds-profile wds-net2                                                         wds-whitelist-profile wds-list2                                              channel 40mhz-plus 149                                                       coverage distance 4                                                          ap-id 1 type-id 39 ap-mac 60de-4474-9640 ap-sn 210235554710CB000042ap-name AP_1ap-group wds-root1ap-id 2 type-id 39 ap-mac dcd2-fc04-b500 ap-sn 210235555310CC000094ap-name AP_2ap-group wds-leaf1ap-id 3 type-id 39 ap-mac dcd2-fcf6-76a0 ap-sn 210235419610D2000097ap-name AP_3ap-group wds-root2ap-id 4 type-id 39 ap-mac 60de-4476-e360 ap-sn 210235557610DB000046ap-name AP_4ap-group wds-leaf2
    #  
    return</span></span>

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

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

day06_数组

今日内容 数组入门 理解数组功能数组声明创建数组操作(取值,赋值)遍历练习题内存图 复习 一、数组的介绍 数组就是一个容器&#xff0c;用来装多个数据的。 java的数组有特点 数组长度是固定的数组存储的类型是固定的可以存储重复元素 基本语法(声明创建)&#xff1a; 数据…

5.4 内容管理模块 - 课程搜索

5.4 内容管理模块 - 课程搜索 文章目录 5.4 内容管理模块 - 课程搜索一、快速入门1.1 需求分析1.2 业务流程1.3 准备环境1.3.1 搭建 elasticsearch1.3.2 索引 概念 1.4 课程信息索引同步1.4.1 技术方案 一、快速入门 本项目使用elasticsearch作为索引及搜索服务 课程如果发布之…

ubuntu内核卸载重装

目录 问题1.问题复现2.可以正常启动的方式 保存快照卸载有问题的内核重装最新内核参考资料 问题 1.问题复现 ubuntu开机出现如下画面,启动不能正常启动 2.可以正常启动的方式 使用其他内核可以正常工作 保存快照 在解决之前保存快照,防止破坏时恢复 卸载有问题的内核…

undo日志详解

一、undo日志介绍 上一节详细的说了redo日志&#xff0c;redo日志的功能就是把增删改操作都记录着&#xff0c;如果断电导致内存中的脏页丢失&#xff0c;可以根据磁盘中的redo日志文件进行恢复。redo日志被设计出来是为了保证数据库的持久性&#xff0c;undo日志设计出来是为…

win10编译openjdk源码

上篇文章作者在ubuntu系统上实践完成openjdk源码的编译&#xff0c;但是平常使用更多的是window系统&#xff0c;ubuntu上编译出来JDK无法再windows上使用。所以作者又花费了很长时间在windows系统上完成openjdk源码的编译&#xff0c;陆续花费一个月的时间终于完成了编译。 本…

力扣--哈希表/滑动窗口/双指针3.无重复字符的最长子串

思路分析&#xff1a; 使用双指针 i 和 j 表示子串的起始位置和结束位置。遍历字符串 s&#xff0c;对于每个字符&#xff1a; 如果字符不在 hash 中&#xff0c;将其加入 hash&#xff0c;同时更新最长子串的长度 result。如果字符已经在 hash 中&#xff0c;说明有重复字符出…

医院LIS(全称Laboratory Information Management System)系统源码

目录 一、医院LIS系统概况 二、医院LIS系统建设必要性 三、为什么要使用LIS系统 四、技术框架 &#xff08;1&#xff09;总体框架 &#xff08;2&#xff09;技术细节 &#xff08;3&#xff09;LIS主要功能模块 五、LIS系统优势 &#xff08;1&#xff09;客户/用户…

【前沿热点视觉算法】-视觉识别的统一卷积和自我注意

计算机视觉算法分享。问题或建议&#xff0c;请文章私信或者文章末尾扫码加微信留言。 1 论文题目 视觉识别的统一卷积和自我注意 2 论文摘要 由于大量的局部冗余和复杂的全局依赖性&#xff0c;从图像和视频中学习区别表示是一项具有挑战性的任务。卷积神经网络&#xff08…

如何使用视频号下载提取器提取视频,推荐2种方法使用!

视频号下载提取视频号视频&#xff0c;推荐大家2个方法&#xff01; 前者简单&#xff0c;后者较为复杂&#xff0c;不过都可以提取视频号视频&#xff0c;大家可根据实际情况来使用。 01 视频号下载工具提取器&#xff1f; 1&#xff1a;通过搜一搜的这款搜索引擎找到自己…

Python总结

python注释 单行注释用 # 多行注释用 或者"""" """" 2.在Python中&#xff0c;双引号&#xff08;""&#xff09;和单引号&#xff08;&#xff09;都可以用来表示字符串。它们的使用方式基本相同&#xff0c;但…

Linux内核网络

文章目录 前言网络协议栈图解功能 发送Linux内核网络数据包图解流程 接收Linux内核网络数据包图解流程 最后 前言 你好&#xff0c;我是醉墨居士&#xff0c;因为Linux内核涉及的内容极多&#xff0c;我们初学者如果一上来就开始深挖细节&#xff0c;很有可能会在Linux内核代码…