• Huawei 大型 WLAN 组网 AC 间漫游


    AC1配置命令 

    1. <AC6005>display current-configuration
    2. #
    3. vlan batch 100
    4. #
    5. interface Vlanif100
    6. description to_S3_CAPWAP
    7. ip address 10.0.100.254 255.255.255.0
    8. #
    9. interface GigabitEthernet0/0/1
    10. port link-type trunk
    11. port trunk allow-pass vlan 100
    12. #
    13. ip route-static 10.0.10.0 255.255.255.0 10.0.100.1
    14. ip route-static 10.0.200.0 255.255.255.0 10.0.100.1
    15. #
    16. capwap source interface vlanif100
    17. #
    18. wlan
    19. security-profile name department1
    20. security wpa2 psk pass-phrase huawei123 aes
    21. ssid-profile name department1
    22. ssid roam
    23. vap-profile name department1
    24. service-vlan vlan-id 11
    25. ssid-profile department1
    26. security-profile department1
    27. mobility-group name mobility
    28. member ip-address 10.0.100.254
    29. member ip-address 10.0.200.254
    30. ap-group name default
    31. ap-group name department1
    32. radio 0
    33. vap-profile department1 wlan 1
    34. radio 1
    35. vap-profile department1 wlan 1
    36. radio 2
    37. vap-profile department1 wlan 1
    38. ap-id 0 ap-mac 00e0-fcb4-7c80
    39. ap-name ap1
    40. ap-group department1
    41. <AC6005>

    AC2配置命令

    1. <AC6005>display current-configuration
    2. #
    3. vlan batch 200
    4. #
    5. interface Vlanif200
    6. description to_S3_CAPWAP
    7. ip address 10.0.200.254 255.255.255.0
    8. #
    9. interface GigabitEthernet0/0/1
    10. port link-type trunk
    11. port trunk allow-pass vlan 200
    12. #
    13. ip route-static 10.0.20.0 255.255.255.0 10.0.200.1
    14. ip route-static 10.0.100.0 255.255.255.0 10.0.200.1
    15. #
    16. capwap source interface vlanif200
    17. #
    18. wlan
    19. traffic-profile name default
    20. security-profile name department2
    21. security wpa2 psk pass-phrase huawei123 aes
    22. ssid-profile name department2
    23. ssid roam
    24. vap-profile name department2
    25. service-vlan vlan-id 21
    26. ssid-profile department2
    27. security-profile department2
    28. mobility-group name mobility
    29. member ip-address 10.0.100.254
    30. member ip-address 10.0.200.254
    31. ap-group name department2
    32. radio 0
    33. vap-profile department2 wlan 1
    34. radio 1
    35. vap-profile department2 wlan 1
    36. radio 2
    37. vap-profile department2 wlan 1
    38. ap-id 0 ap-mac 00e0-fc2e-57c0
    39. ap-name ap2
    40. ap-group department2
    41. <AC6005>

    SW3配置命令

    1. <Huawei>display current-configuration
    2. #
    3. vlan batch 10 to 11 20 to 21 100 200
    4. #
    5. dhcp enable
    6. #
    7. ip pool ap1
    8. gateway-list 10.0.10.1
    9. network 10.0.10.0 mask 255.255.255.0
    10. option 43 sub-option 3 ascii 10.0.100.254
    11. #
    12. ip pool ap2
    13. gateway-list 10.0.20.1
    14. network 10.0.20.0 mask 255.255.255.0
    15. option 43 sub-option 3 ascii 10.0.200.254
    16. #
    17. ip pool service_ap_1
    18. gateway-list 10.0.11.1
    19. network 10.0.11.0 mask 255.255.255.0
    20. dns-list 10.0.11.1
    21. #
    22. ip pool service_ap_2
    23. gateway-list 10.0.21.1
    24. network 10.0.21.0 mask 255.255.255.0
    25. dns-list 10.0.21.1
    26. #
    27. interface Vlanif10
    28. description ap1_management
    29. ip address 10.0.10.1 255.255.255.0
    30. dhcp select global
    31. #
    32. interface Vlanif11
    33. description ap1_service
    34. ip address 10.0.11.1 255.255.255.0
    35. dhcp select global
    36. #
    37. interface Vlanif20
    38. description ap2_managment
    39. ip address 10.0.20.1 255.255.255.0
    40. dhcp select global
    41. #
    42. interface Vlanif21
    43. description ap2_service
    44. ip address 10.0.21.1 255.255.255.0
    45. dhcp select global
    46. #
    47. interface Vlanif100
    48. description to_AC1
    49. ip address 10.0.100.1 255.255.255.0
    50. #
    51. interface Vlanif200
    52. description to_AC2
    53. ip address 10.0.200.1 255.255.255.0
    54. #
    55. interface GigabitEthernet0/0/1
    56. port link-type trunk
    57. port trunk allow-pass vlan 100
    58. #
    59. interface GigabitEthernet0/0/2
    60. port link-type trunk
    61. port trunk allow-pass vlan 200
    62. #
    63. interface GigabitEthernet0/0/3
    64. port link-type trunk
    65. port trunk allow-pass vlan 20 to 21
    66. #
    67. interface GigabitEthernet0/0/4
    68. port link-type trunk
    69. port trunk pvid vlan 10
    70. port trunk allow-pass vlan 10 to 11
    71. #
    72. interface LoopBack0
    73. ip address 10.0.3.3 255.255.255.255
    74. <Huawei>

    SW4配置命令

    1. <Huawei>display current-configuration
    2. vlan batch 20 to 21
    3. #
    4. interface GigabitEthernet0/0/1
    5. port link-type trunk
    6. port trunk allow-pass vlan 20 to 21
    7. #
    8. interface GigabitEthernet0/0/2
    9. port link-type trunk
    10. port trunk pvid vlan 20
    11. port trunk allow-pass vlan 20 to 21
    12. <Huawei>

    移动STA到另一个区域 ,命令查看漫游设备如下

  • 相关阅读:
    【MySQL】InnoDB中的索引
    CSS scroll-behavior
    coding上的免费的编译、打包、推镜像工具(cicd)太强了,必须分享一下
    不标准的 json 格式的字符串如何转为标准的(json字符串属性名不带双引号如何转
    GNU make笔记
    海外IP代理如何助力跨境电商?
    3.权限
    Pytorch分布式训练,其他GPU进程占用GPU0的原因
    HashMap线程不安全问题以及解决方法
    Ubuntu部署K8S
  • 原文地址:https://blog.csdn.net/qq_24037197/article/details/139458867