华为配置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 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>
  • Switch_C的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Switch_C
    #
     vlan batch 101
    #
    interface GigabitEthernet0/0/1
     port link-type trunk
     port trunk allow-pass vlan 101
    #
    interface GigabitEthernet0/0/2
     port link-type trunk
     port trunk allow-pass vlan 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 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-9640
     wds-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 210235554710CB000042
      ap-name AP_1
      ap-group wds-root1
     ap-id 2 type-id 39 ap-mac dcd2-fc04-b500 ap-sn 210235555310CC000094
      ap-name AP_2
      ap-group wds-leaf1
     ap-id 3 type-id 39 ap-mac dcd2-fcf6-76a0 ap-sn 210235419610D2000097
      ap-name AP_3
      ap-group wds-root2
     ap-id 4 type-id 39 ap-mac 60de-4476-e360 ap-sn 210235557610DB000046
      ap-name AP_4
      ap-group wds-leaf2
    #  
    return</span></span>
 

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

这家宠物品牌的内容运营怎么做的?太好玩儿了吧

养宠的朋友应该多多少少对“诚实一口”这个牌子有所耳闻&#xff0c;2018年诚实一口品牌正式立项&#xff0c;虽然不算经典品牌&#xff0c;但在国内也是小有名气的宠物品牌。今天媒介盒子想和大家聊的不是产品&#xff0c;而是想聊聊作为成立时间不长的国产宠粮品牌是如何凭借…

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

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

Sora抢饭碗!好莱坞大亨停止,8亿美元投资

好莱坞消息&#xff0c;著名演员、影视投资人Tyler Perry在看到OpenAI最新发布的文生视频模型Sora后&#xff0c;停止了8亿&#xff08;约57亿元&#xff09;美元的投资。 该投资项目位于亚特兰大&#xff0c;本来要扩展十几个摄影棚用于影视剧的拍摄&#xff08;类似横店影视…

大学开学季,创业入局做校园外卖,这些新的运营思路可以参考

在大学生的学习、生活和消费中&#xff0c;高校已经形成了具有独特属性的市场。这个市场既具有一般市场的特点&#xff0c;同时也有学校特有的一些特点。校园生活服务平台的商业模式就是在互联网发展的背景下出现的&#xff0c;并且已经变得非常成熟和稳定。 就校园外卖而言&a…

Java+SpringBoot+Vue+MySQL:疫情隔离酒店管理的全面技术解决方案

✍✍计算机毕业编程指导师 ⭐⭐个人介绍&#xff1a;自己非常喜欢研究技术问题&#xff01;专业做Java、Python、微信小程序、安卓、大数据、爬虫、Golang、大屏等实战项目。 ⛽⛽实战项目&#xff1a;有源码或者技术上的问题欢迎在评论区一起讨论交流&#xff01; ⚡⚡ Java、…

【云原生】Spring Cloud Gateway的底层原理与实践方法探究

&#x1f389;&#x1f389;欢迎光临&#x1f389;&#x1f389; &#x1f3c5;我是苏泽&#xff0c;一位对技术充满热情的探索者和分享者。&#x1f680;&#x1f680; &#x1f31f;特别推荐给大家我的最新专栏《Spring 狂野之旅&#xff1a;从入门到入魔》 &#x1f680; 本…

切换Linux中的gcc版本

一、允许在系统中并行安装多个软件版本 命令1&#xff1a; yum -y install centos-release-scl 二、安装GCC 8及相关工具 命令2&#xff1a; yum -y install devtoolset-8-gcc devtoolset-8-gcc-c devtoolset-8-binutils 三、将系统中的默认shell环境切换到与devtool…

如何在Win系统搭建Oracle数据库并实现远程访问【内网穿透】

文章目录 前言1. 数据库搭建2. 内网穿透2.1 安装cpolar内网穿透2.2 创建隧道映射 3. 公网远程访问4. 配置固定TCP端口地址4.1 保留一个固定的公网TCP端口地址4.2 配置固定公网TCP端口地址4.3 测试使用固定TCP端口地址远程Oracle 前言 Oracle&#xff0c;是甲骨文公司的一款关系…

Flink代码单词统计 ---批处理

flatMap&#xff1a;一对多转换操作&#xff0c;输入句子&#xff0c;输出分词后的每个词groupBy&#xff1a;按Key分组&#xff0c;0代表选择第1列作为Keysum&#xff1a;求和&#xff0c;1代表按照第2列进行累加print&#xff1a;打印最终结果 1.WordCount代码编写 需求&am…

js设计模式:路由模式

作用: 业务开发时,路由这个概念无论对于前后端来说肯定是不可缺少的 前端的vue-router就是很经典的路由模式 示例: //这里模拟实现一个vueclass Vue{constructor(options){Object.keys(options).forEach(item>{this[item] options[item]})}$mount(node){console.log(挂载…

基础知识常见算法识别

特征值识别 很多常见的算法&#xff0c;如AES、DES等&#xff0c;在运算过程中会使用一些常量&#xff0c;而为了提高运算效率&#xff0c;这些常量往往被硬编码在程序中 通过识别这些特征值&#xff0c;可以对算法进行一个大致判断 算法特征值&#xff08;无特殊说明为十六…

Web3的奇迹:数字世界的新篇章

在数字化时代的潮流中&#xff0c;Web3正以其令人振奋的潜力和前景引领着我们进入一个全新的数字时代。作为互联网的下一代&#xff0c;Web3将重新定义我们对数字世界的认知和体验&#xff0c;为我们带来无限的可能性和奇迹。本文将深入探讨Web3的重要性、核心特征以及未来展望…

智能美颜引领短视频创作风潮:探秘美颜SDK技术背后的创新

美颜技术不仅改善了用户的拍摄体验&#xff0c;还推动了短视频创作的风潮。本文将深入探讨智能美颜在短视频创作中的应用&#xff0c;以及美颜SDK技术背后的创新。 一、短视频时代的美颜潮流 随着短视频应用的普及&#xff0c;用户对于视频质量的要求也越来越高。然而&#…

精品springboot科研项目工作量管理系统的设计与实现

《[含文档PPT源码等]精品基于springboot科研工作量管理系统的设计与实现[包运行成功]》该项目含有源码、文档、PPT、配套开发软件、软件安装教程、项目发布教程、包运行成功&#xff01; 软件开发环境及开发工具&#xff1a; Java——涉及技术&#xff1a; 前端使用技术&…

Wagtail安装运行并结合内网穿透实现公网访问本地网站界面

文章目录 前言1. 安装并运行Wagtail1.1 创建并激活虚拟环境 2. 安装cpolar内网穿透工具3. 实现Wagtail公网访问4. 固定的Wagtail公网地址 正文开始前给大家推荐个网站&#xff0c;前些天发现了一个巨牛的 人工智能学习网站&#xff0c; 通俗易懂&#xff0c;风趣幽默&#xf…

c# 异常处理

异常类 .NET Framework 类库中的所有异常都派生于 Exception 类&#xff0c;异常包括系统异常和应用异常。 默认所有系统异常派生于 System.SystemException&#xff0c;所有的应用程序异常派生于 System.ApplicationException。 系统异常一般不可预测&#xff0c;比如内存堆…

RabbitMQ 面试八股题整理

前言&#xff1a;本文是博主网络自行收集的一些RabbitMQ相关八股文&#xff0c;还在准备暑期实习&#xff0c;后续应该会持续更新...... 参考&#xff1a;三天吃透RabbitMQ面试八股文_牛客网 目录 RabbitMQ概述 什么是 RabbitMQ&#xff1f; 说一说RabbitMQ中的AMQP 为什么…

rancher change domain name 【rancher 更改域名】

文章目录 1. 预备条件2. 准备全部集群的直连 kubeconfig 配置文件3. 准备证书4. 更新证书4.1 Rancher 单节点运行&#xff08;默认容器自动生成自签名 SSL 证书&#xff09;#4.2 Rancher 单节点运行&#xff08;外置自签名 SSL 证书&#xff09;#4.3 Rancher HA 5. 修改 Ranche…

前端解析后端返回文件流格式数据

当后端接口返回数据是一个文件流数据时&#xff0c;如下后端返回给我的是一个pdf文件流数据 methods: {gotoPri() {protocolApi().then(res > {this.createPdf(res.data,XXX协议)})},createPdf(res, name) {// Blob构造函数返回一个新的 Blob 对象并指定type类型。let blob …

Vue.js+SpringBoot开发智能停车场管理系统

目录 一、摘要1.1 项目介绍1.2 项目录屏 二、研究内容A. 车主端功能B. 停车工作人员功能C. 系统管理员功能1. 停车位模块2. 车辆模块3. 停车记录模块4. IC卡模块5. IC卡挂失模块 三、界面展示3.1 登录注册3.2 车辆模块3.3 停车位模块3.4 停车数据模块3.5 IC卡档案模块3.6 IC卡挂…