system
Enter system view, return user view with Ctrl+Z.
[AC6005]vlan batch 10 101
Info: This operation may take a few seconds. Please wait for a moment...done.
[AC6005]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[AC6005]vlan 10
[AC6005-vlan10] description AP-Management-vlan
[AC6005-vlan10]vlan 101
[AC6005-vlan101] description service-vlan
[AC6005-vlan101]quit
[AC6005]interface Vlanif10
[AC6005-Vlanif10] ip address 192.168.10.1 255.255.255.0
[AC6005-Vlanif10] dhcp select interface
[AC6005-Vlanif10] dhcp server excluded-ip-address 192.168.10.1 192.168.10.10
[AC6005-Vlanif10] management-interface
Info: This operation takes effect only on new users. Users that already logged in are advised to disconnect from the device and then log in again.
[AC6005-Vlanif10]quit
[AC6005]interface GigabitEthernet0/0/1
[AC6005-GigabitEthernet0/0/1] description link-to-CS-SW-G0/0/1
[AC6005-GigabitEthernet0/0/1] port link-type trunk
[AC6005-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 101
[AC6005-GigabitEthernet0/0/1]quit
[AC6005]capwap source interface vlanif10
[AC6005]
[AC6005]wlan
[AC6005-wlan-view] ap-group name mesh-mpp
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC6005-wlan-ap-group-mesh-mpp]quit
[AC6005-wlan-view]regulatory-domain-profile name default
[AC6005-wlan-regulate-domain-default]country-code CN
Info: The current country code is same with the input country code.
[AC6005-wlan-regulate-domain-default]quit
[AC6005-wlan-view]ap-group name mesh-mpp
[AC6005-wlan-ap-group-mesh-mpp]regulatory-domain-profile default
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:y
[AC6005-wlan-ap-group-mesh-mpp]quit
[AC6005-wlan-view]ap auth-mode mac-auth
[AC6005-wlan-view]ap-id 0 ap-mac 45a9-c421-03c0
[AC6005-wlan-ap-0] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC6005-wlan-ap-0]
[AC6005-wlan-ap-0] ap-id 1 ap-mac 45a9-c421-0b60
[AC6005-wlan-ap-1] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC6005-wlan-ap-1]
[AC6005-wlan-ap-1] ap-id 2 ap-mac 45a9-c421-0e20
[AC6005-wlan-ap-2] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC6005-wlan-ap-2]
[AC6005-wlan-ap-2] ap-id 3 ap-mac 45a9-c421-0e00
[AC6005-wlan-ap-3] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC6005-wlan-ap-3]
[AC6005-wlan-ap-3] ap-id 4 ap-mac 45a9-c421-eda0
[AC6005-wlan-ap-4] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC6005-wlan-ap-4]
[AC6005-wlan-ap-4] ap-id 5 ap-mac 45a9-c421-e8c0
[AC6005-wlan-ap-5] ap-group mesh-mpp
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC6005-wlan-ap-5]
[AC6005-wlan-ap-5]quit
[AC6005-wlan-view] wired-port-profile name wired-port
[AC6005-wlan-wired-port-wired-port] vlan tagged 101
[AC6005-wlan-wired-port-wired-port]quit
[AC6005-wlan-view]ap-group name mesh-mpp
[AC6005-wlan-ap-group-mesh-mpp] wired-port-profile wired-port gigabitethernet 0
[AC6005-wlan-ap-group-mesh-mpp]quit
[AC6005-wlan-view] mesh-whitelist-profile name whitelist01
[AC6005-wlan-mesh-whitelist-whitelist01] peer-ap mac f063-f937-aba0
[AC6005-wlan-mesh-whitelist-whitelist01]quit
[AC6005-wlan-view] security-profile name security
[AC6005-wlan-sec-prof-security] security wpa2 psk pass-phrase a1234567 aes
[AC6005-wlan-sec-prof-security]quit
[AC6005-wlan-view]ap-system-profile name ap-system
[AC6005-wlan-ap-system-prof-ap-system] mesh-role mesh-portal
[AC6005-wlan-ap-system-prof-ap-system]quit
[AC6005-wlan-view]mesh-handover-profile name handover
[AC6005-wlan-mesh-handover-handover] location-based-algorithm enable
Info: Location-based algorithm is enabled, but the AP name must comply with naming conventions.(The AP should be named in the format of xxx_sequence number, in which xxx is a character string and sequence number is an integer ranging from 0 to 65535.)
[AC6005-wlan-mesh-handover-handover]quit
[AC6005-wlan-view]mesh-profile name mesh-net
[AC6005-wlan-mesh-prof-mesh-net] mesh-handover-profile handover
[AC6005-wlan-mesh-prof-mesh-net] security-profile security
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-mesh-prof-mesh-net] mesh-id mesh-net
[AC6005-wlan-mesh-prof-mesh-net]quit
[AC6005-wlan-view]ap-group name mesh-mpp
[AC6005-wlan-ap-group-mesh-mpp] ap-system-profile ap-system
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC6005-wlan-ap-group-mesh-mpp] radio 1
[AC6005-wlan-group-radio-mesh-mpp/1] mesh-whitelist-profile whitelist01
[AC6005-wlan-group-radio-mesh-mpp/1] mesh-profile mesh-net
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-group-radio-mesh-mpp/1] channel 40mhz-plus 157
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC6005-wlan-group-radio-mesh-mpp/1]quit
[AC6005-wlan-ap-group-mesh-mpp]quit
[AC6005-wlan-view]quit
[AC6005]ip route-static 0.0.0.0 0 192.168.10.2
[AC6005]quit
save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait........
Configuration file has been saved successfully
Note: The configuration file will take effect after being activated
AP配置:瘦AP默认IP地址为169.254.1.1
FTP方式:
system-view
[Huawei] ap-mode-switch ftp FatAP5X30XN_V200R007C20SPC100.bin 169.254.1.10
Warning: Do Not Power-off.........
Info: Upgrade upgrade-assistant-package successfully!
Warning: System will reboot, if you want to switch to upgrade-assistant-package.
Are you sure to execute these operations ? [Y/N]: y
system-view
sysname AP
vlan batch 101
interface gigabitethernet 0/0/1
port link-type trunk
port trunk pvid vlan 101
port trunk allow-pass vlan 101
quit
wlan
country-code cn
mesh-whitelist-profile name whitelist01
peer-ap mac 84a9-c475-03c0
peer-ap mac 84a9-c475-0b60
peer-ap mac 84a9-c475-0e20
peer-ap mac 84a9-c475-0e00
peer-ap mac 84a9-c474-eda0
peer-ap mac 84a9-c474-e8c0
quit
security-profile name security1
security wpa2 psk pass-phrase a1234567 aes
quit
mesh-handover-profile name hand-over
location-based-algorithm enable moving-direction forward
quit
mesh-profile name mesh-net
mesh-id mesh-net
security-profile security1
mesh-handover-profile hand-over
quit
quit
interface wlan-radio 0/0/1
channel 40mhz-plus 157
y
mesh-whitelist-profile whitelist01
mesh-profile mesh-net
quit