LSW1
<Huawei>undo t m
<Huawei>sy
[Huawei]sy access
[access]Vlan batch 100 101
[access]interface g0/0/1
[access-GigabitEthernet0/0/1]port link-type trunk
[access-GigabitEthernet0/0/1]port trunk pvid vlan 100
[access-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 101
[access-GigabitEthernet0/0/1]int g0/0/2
[access-GigabitEthernet0/0/2]port link-type trunk
[access-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 101
AC1
<AC6605>undo t m
<AC6605>sy
[AC6605]sy control
[control]Vlan batch 100 101
[control]Int vlanif 101
[control-Vlanif101]ip address 10.23.101.1 24
[control-Vlanif101]int vlanif 100
[control-Vlanif100]ip address 10.23.100.1 24
[control-Vlanif100]int g0/0/1
[control-GigabitEthernet0/0/1]port link-type trunk
[control-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 101
[control-GigabitEthernet0/0/1]
[control-GigabitEthernet0/0/1]int g0/0/2
[control-GigabitEthernet0/0/2]port link-type access
[control-GigabitEthernet0/0/2]port default vlan 101
[control-GigabitEthernet0/0/2]dhcp enable
[control]interface vlanif 101
[control-Vlanif101]dhcp select interface
[control-Vlanif101]dhcp server excluded-ip-address 10.23.101.2
[control-Vlanif101]interface vlanif100
[control-Vlanif100]dhcp select interface
[control-Vlanif100]q
[control]ip route-static 0.0.0.0 0.0.0.0 10.23.101.2
[control]dis ap all
[control]wlan
[control-wlan-view]ap-group name a
[control-wlan-ap-group-a]q
[control-wlan-view]regulatory-domain-profile name aaa
[control-wlan-regulate-domain-aaa]q
[control-wlan-view]ap-group name a
[control-wlan-ap-group-a]regulatory-domain-profile aaa
Warning: Modifying the country code will clear channel, power and antenna gain c
onfigurations of the radio and reset the AP. Continue?[Y/N]:y
[control-wlan-ap-group-a]q
[control-wlan-view]capwap source interface vlanif 100
[control]wlan
[control-wlan-view]
[control-wlan-view]ap auth-mode mac-auth
[control-wlan-view]ap-id 0 ap-mac 00e0-fca6-5b60
[control-wlan-ap-0]ap-name area-1
[control-wlan-ap-0]ap-group a
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 c
ontinue? [Y/N]:y
[control-wlan-ap-0]q
[control-wlan-view]wlan
[control-wlan-view]security-profile name huawei
[control-wlan-sec-prof-huawei]security wpa-wpa2 psk pass-phrase a1234567 aes
[control-wlan-sec-prof-huawei]wlan
[control-wlan-view]ssid-profile name huawei
[control-wlan-ssid-prof-huawei]ssid HUAWEI
[control-wlan-ssid-prof-huawei]vap-profile name huawei
[control-wlan-vap-prof-huawei]forward-mode direct-forward
[control-wlan-vap-prof-huawei]service-vlan vlan-id 101
[control-wlan-vap-prof-huawei]ssid-profile huawei
[control-wlan-vap-prof-huawei]security-profile huawei
[control-wlan-vap-prof-huawei]wlan
[control-wlan-view]ap-group name a
[control-wlan-ap-group-a]vap-profile huawei wlan 1 radio 0
[control-wlan-ap-group-a]vap-profile huawei wlan 1 radio 1
[control-wlan-ap-group-a]rrm-profile name default
[control-wlan-rrm-prof-default]calibrate auto-channel-select disable
[control-wlan-rrm-prof-default]ap-id 0
[control-wlan-ap-0]radio 0
[control-wlan-radio-0/0]channel 20mhz 6
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
[control-wlan-radio-0/0]eirp 127
[control-wlan-radio-0/0]radio 1
[control-wlan-radio-0/1]channel 20mhz 149
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
[control-wlan-radio-0/1]eirp 127
[control-wlan-radio-0/1]dis ap all
[control-wlan-radio-0/1]dis vap ssid HUAWEI