How to Configure Dual-Link Hot Standby (HSB) for ACs Active Standby Mode Huawei Controller

#HSB is deployed to #synchronize #dynamic #STA entries from the #active #AC to the #standby AC through an #HSBchannel. If the #activeAC fails, the #standbyAC quickly takes over services from the active AC.
[HUAWEI] sysname SwitchA
[SwitchA] vlan batch 100 101
[SwitchA] interface gigabitethernet 0/0/1
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 101
quit
[SwitchA] interface gigabitethernet 0/0/2
port link-type trunk
port trunk allow-pass vlan 100 101
quit
[HUAWEI] sysname SwitchB
[SwitchB] vlan batch 100 101 102
interface gigabitethernet 0/0/1
port link-type trunk
port trunk allow-pass vlan 100 101
quit
[SwitchB] interface gigabitethernet 0/0/2
port link-type trunk
port trunk allow-pass vlan 100 102
quit
[SwitchB] interface gigabitethernet 0/0/3
port link-type trunk
port trunk allow-pass vlan 100 102
quit
[SwitchB] interface gigabitethernet 0/0/4
port link-type trunk
port trunk allow-pass vlan 101
port trunk pvid vlan 101
quit
[HUAWEI] sysname AC1
[AC1] vlan batch 100 102
[AC1] interface gigabitethernet 0/0/1
port link-type trunk
port trunk allow-pass vlan 100 102
quit
[AC1] interface vlanif 100
ip address 10.23.100.2 24
quit
[AC1] interface vlanif 102
ip address 10.23.102.1 24
quit
[HUAWEI] sysname AC2
[AC2] vlan batch 100 102
[AC2] interface gigabitethernet 0/0/1
port link-type trunk
port trunk allow-pass vlan 100 102
quit
[AC2] interface vlanif 100
ip address 10.23.100.3 24
quit
[AC2] interface vlanif 102
ip address 10.23.102.2 24
quit
[SwitchB] dhcp enable
[SwitchB] ip pool sta
network 10.23.101.0 mask 24
gateway-list 10.23.101.1
gateway-list 10.23.101.2
quit
[SwitchB] ip pool ap
network 10.23.100.0 mask 24
excluded-ip-address 10.23.100.2
excluded-ip-address 10.23.100.3
gateway-list 10.23.100.1
quit
[SwitchB] interface vlanif 100
ip address 10.23.100.1 24
dhcp select global
quit
[SwitchB] interface vlanif 101
ip address 10.23.101.1 24
dhcp select global
quit
Only the configurations on AC1 are provided here. The configurations on AC2 are the same as those on AC1.
[AC1] wlan
[AC1-wlan-view] ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1] quit
[AC1-wlan-view] regulatory-domain-profile name default
[AC1-wlan-regulate-domain-default] country-code cn
[AC1-wlan-regulate-domain-default] quit
[AC1-wlan-view] ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1] regulatory-domain-profile default
Warning: This configuration change will clear the channel and power configurations of radios, and may restart APs. Continue?[Y/N]:y
[AC1-wlan-ap-group-ap-group1] quit
[AC1-wlan-view] quit
[AC1] capwap source interface vlanif 100
[AC1] wlan
[AC1-wlan-view] ap auth-mode mac-auth
[AC1-wlan-view] ap-id 0 ap-mac (enter your ap mac here)
[AC1-wlan-ap-0] ap-name area_1
[AC1-wlan-ap-0] ap-group ap-group1
Warning: This configuration change will clear the channel and power configurations of radios, and may restart APs. Continue?[Y/N]:y
[AC1-wlan-ap-0] quit
[AC1-wlan-view] security-profile name wlan-net
[AC1-wlan-sec-prof-wlan-net] security wpa-wpa2 psk pass-phrase (enter your password) aes
[AC1-wlan-sec-prof-wlan-net] quit
[AC1-wlan-view] ssid-profile name wlan-net
[AC1-wlan-ssid-prof-wlan-net] ssid wlan-net
[AC1-wlan-ssid-prof-wlan-net] quit
[AC1-wlan-view] vap-profile name wlan-net
[AC1-wlan-vap-prof-wlan-net] forward-mode direct-forward
[AC1-wlan-vap-prof-wlan-net] service-vlan vlan-id 101
[AC1-wlan-vap-prof-wlan-net] security-profile wlan-net
[AC1-wlan-vap-prof-wlan-net] ssid-profile wlan-net
[AC1-wlan-vap-prof-wlan-net] quit
[AC1-wlan-view] ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1] vap-profile wlan-net wlan 1 radio 0
[AC1-wlan-ap-group-ap-group1] vap-profile wlan-net wlan 1 radio 1
[AC1-wlan-ap-group-ap-group1] quit
Rapeat all above configuration on AC2..........................................
[AC1-wlan-view] ap-system-profile name wlan-net
[AC1-wlan-ap-system-prof-wlan-net] primary-access ip-address 10.23.100.2
[AC1-wlan-ap-system-prof-wlan-net] backup-access ip-address 10.23.100.3
[AC1-wlan-ap-system-prof-wlan-net] quit
[AC1-wlan-view] ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1] ap-system-profile wlan-net
[AC1-wlan-ap-group-ap-group1] quit
[AC1-wlan-view] ac protect enable
Warning: This operation maybe cause AP reset, continue?[Y/N]:y
Rapeat All steps on AC2
[AC1-wlan-view] ap-reset all
Warning: Reset AP(s), continue?[Y/N]:y
[AC1-wlan-view] quit
Rapeat all steps on AC2
[AC1] hsb-service 0
[AC1-hsb-service-0] service-ip-port local-ip 10.23.102.1 peer-ip 10.23.102.2 local-data-port 10241 peer-data-port 10241
[AC1-hsb-service-0] quit
[AC1] hsb-service-type ap hsb-service 0
[AC1] hsb-service-type access-user hsb-service 0
Rapeat all steps on AC2
[AC2-hsb-service-0] service-ip-port local-ip 10.23.102.2 peer-ip 10.23.102.1 local-data-port 10241 peer-data-port 10241

Пікірлер: 4

  • @VijayaBaskarvvk
    @VijayaBaskarvvkАй бұрын

    Very Nice.. I will try this out...😊

  • @clearning6537

    @clearning6537

    Ай бұрын

    All the best

  • @umairjaved187
    @umairjaved187Ай бұрын

    ​​Please upload next tutorial of firewall in ensp using GUI for beginner in urdu

  • @clearning6537

    @clearning6537

    Ай бұрын

    ok i will try to make it in urdu