当前位置:   article > 正文

华为无线设备配置利用WDS技术部署WLAN业务_华为wds

华为wds

在这里插入图片描述

  1. 配AC与AP1之间网络互通,配置AP2与AP3之间网络互通
    [LSW2]vlan batch 100 to 101
    [LSW2-GigabitEthernet0/0/1]port link-type trunk
    [LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 101
    [LSW2-GigabitEthernet0/0/2]port link-type trunk
    [LSW2-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 101
    [LSW2-GigabitEthernet0/0/2]port trunk pvid vlan 100
    [LSW1]vlan batch 100 to 101
    [LSW1-GigabitEthernet0/0/1]port link-type trunk
    [LSW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 101
    [LSW1-GigabitEthernet0/0/2]port link-type trunk
    [LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
    [LSW1-GigabitEthernet0/0/3]port link-type trunk
    [LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 101
    [AC1]vlan batch 100 to 101
    [AC1-GigabitEthernet0/0/1]port link-type trunk
    [AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
    [LSW3]vlan batch 100 to 101
    [LSW3-GigabitEthernet0/0/1]port link-type trunk
    [LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 101
    [LSW3-GigabitEthernet0/0/2]port link-type trunk
    [LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 101
  2. 配置汇聚交换机LSW1为PC分配IP地址,AC为AP分配IP地址
    [LSW1]dhcp enable
    [LSW1]interface Vlanif 101
    [LSW1-Vlanif101]ip add 10.1.101.1 24
    [LSW1-Vlanif101]dhcp select interface
    [AC1]dhcp enable
    [AC1]int Vlanif 100
    [AC1-Vlanif100]ip add 10.1.100.1 24
    [AC1-Vlanif100]dhcp select interface
  3. 配置AP组、国家码和AC的源接口
    [AC1]wlan
    [AC1-wlan-view]ap-group name wds-root1
    [AC1-wlan-view]ap-group name wds-root2
    [AC1-wlan-view]ap-group name wds-leaf1
    [AC1-wlan-view]ap-group name wds-leaf2
    [AC1-wlan-view]regulatory-domain-profile name domain1
    [AC1-wlan-regulate-domain-domain1]country-code cn
    [AC1-wlan-view]ap-group name wds-root1
    [AC1-wlan-ap-group-wds-root1]regulatory-domain-profile domain1
    [AC1-wlan-view]ap-group name wds-root2
    [AC1-wlan-ap-group-wds-root2]regulatory-domain-profile domain1
    [AC1-wlan-view]ap-group name wds-leaf1
    [AC1-wlan-ap-group-wds-leaf1]regulatory-domain-profile domain1
    [AC1-wlan-view]ap-group name wds-leaf2
    [AC1-wlan-ap-group-wds-leaf2]regulatory-domain-profile domain1
    [AC1]capwap source interface Vlanif 100
    导入AP,并将其加入ap组
    [AC1-wlan-view]ap auth-mode mac-auth
    [AC1-wlan-view]ap-id 1 ap-mac 00e0-fc16-4b90
    [AC1-wlan-ap-1]ap-name ap1
    [AC1-wlan-ap-1]ap-group wds-root1
    [AC1-wlan-view]ap-id 2 ap-mac 00e0-fc71-0860
    [AC1-wlan-ap-2]ap-name ap2
    [AC1-wlan-ap-2]ap-group wds-leaf1
    [AC1-wlan-view]ap-id 3 ap-mac 00e0-fc57-8090
    [AC1-wlan-ap-3]ap-name ap3
    [AC1-wlan-ap-3]ap-group wds-root2
    [AC1-wlan-view]ap-id 4 ap-mac 00e0-fca9-0c50
    [AC1-wlan-ap-4]ap-name ap4
    [AC1-wlan-ap-4]ap-group wds-leaf2
  4. 配置WDS业务参数
    配置WDS节点使用的主要射频参数
    [AC1-wlan-view]ap-group name wds-root1
    [AC1-wlan-ap-group-wds-root1]radio 1
    [AC1-wlan-group-radio-wds-root1/1]channel 40mhz-plus 157
    [AC1-wlan-group-radio-wds-root1/1]coverage distance 4
    [AC1-wlan-view]ap-group name wds-root2
    [AC1-wlan-ap-group-wds-root2]radio 1
    [AC1-wlan-group-radio-wds-root2/1]channel 40mhz-plus 149
    [AC1-wlan-group-radio-wds-root2/1]coverage distance 4
    [AC1-wlan-view]ap-group name wds-leaf1
    [AC1-wlan-ap-group-wds-leaf1]radio 1
    [AC1-wlan-group-radio-wds-leaf1/1]channel 40mhz-plus 157
    [AC1-wlan-group-radio-wds-leaf1/1]coverage distance 4
    [AC1-wlan-view]ap-group name wds-leaf2
    [AC1-wlan-ap-group-wds-leaf2]radio 1
    [AC1-wlan-group-radio-wds-leaf2/1]channel 40mhz-plus 149
    [AC1-wlan-group-radio-wds-leaf2/1]coverage distance 4
    配置WDS链路使用的安全模板
    [AC1-wlan-view]security-profile name wds-sec
    [AC1-wlan-sec-prof-wds-sec]security wpa2 psk pass-phrase abc@1234 aes
    配置WDS白名单
    [AC1-wlan-view]wds-whitelist-profile name wds-list2
    [AC1-wlan-wds-whitelist-wds-list2]peer-ap mac 00e0-fca9-0c50
    [AC1-wlan-view]wds-whitelist-profile name wds-list1
    [AC1-wlan-wds-whitelist-wds-list1]peer-ap mac 00e0-fc71-0860
    配置WDS模板“wds-net1”
    [AC1-wlan-view]wds-profile name wds-net1
    [AC1-wlan-wds-prof-wds-net1]wds-name wds-net
    [AC1-wlan-wds-prof-wds-net1]wds-mode root
    [AC1-wlan-wds-prof-wds-net1]security-profile wds-sec
    [AC1-wlan-wds-prof-wds-net1]vlan tagged 101
    配置WDS模板“wds-net2”
    [AC1-wlan-view]wds-profile name wds-net2
    [AC1-wlan-wds-prof-wds-net2]wds-name wds-net
    [AC1-wlan-wds-prof-wds-net2]wds-mode root
    [AC1-wlan-wds-prof-wds-net2]security-profile wds-sec
    [AC1-wlan-wds-prof-wds-net2]vlan tagged 101
    配置WDS模板“wds-net3”
    [AC1-wlan-view]wds-profile name wds-net3
    [AC1-wlan-wds-prof-wds-net3]wds-name wds-net
    [AC1-wlan-wds-prof-wds-net3]wds-mode leaf
    [AC1-wlan-wds-prof-wds-net3]security-profile wds-sec
    [AC1-wlan-wds-prof-wds-net3]vlan tagged 101
    配置AP组“wds-root1”的射频1引用WDS白名单“wds-list1”,只允许AP2接入。配置AP组“wds-root2”的射频1引用WDS白名单“wds-list2”,只允许AP4接入
    [AC1-wlan-view]ap-group name wds-root1
    [AC1-wlan-ap-group-wds-root1]radio 1
    [AC1-wlan-group-radio-wds-root1/1]wds-whitelist-profile wds-list1
    [AC1-wlan-view]ap-group name wds-root2
    [AC1-wlan-ap-group-wds-root2]radio 1
    [AC1-wlan-group-radio-wds-root2/1]wds-whitelist-profile wds-list2
  5. 配置AP4的有线口使用的有线口模板,使其有线口模式为“endpoint”,配置有线口的PVID为业务VLAN101,以untagged形式加入VLAN101
    [AC1-wlan-view]wired-port-profile name wired-port
    [AC1-wlan-wired-port-wired-port]mode endpoint
    [AC1-wlan-wired-port-wired-port]vlan pvid 101
    [AC1-wlan-wired-port-wired-port]vlan untagged 101
  6. 在AP组引用相关模板,使WDS业务生效
    [AC1-wlan-view]ap-group name wds-root1
    [AC1-wlan-ap-group-wds-root1]wds-profile wds-net1 radio 1
    [AC1-wlan-view]ap-group name wds-root2
    [AC1-wlan-ap-group-wds-root2]wds-profile wds-net2 radio 1
    [AC1-wlan-view]ap-group name wds-leaf1
    [AC1-wlan-ap-group-wds-leaf1]wds-profile wds-net3 radio 1
    [AC1-wlan-view]ap-group name wds-leaf2
    [AC1-wlan-ap-group-wds-leaf2]wds-profile wds-net3 radio 1
    [AC1-wlan-ap-group-wds-leaf2]wired-port-profile wired-port gigabitethernet 0
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/167725?site
推荐阅读
相关标签
  

闽ICP备14008679号