业务vlan 20 192.168.20.x管理vlan 100 192.168.100.x
步骤① 网络互通
Core sw:
vlan batch 20 100
dhcp enable
int vlanif 20IP add 192.168.20.1 24dhcp select interfaceinterface GigabitEthernet0/0/1/2port link-type trunkport trunk pvid vlan 100port trunk allow-pass vlan 100 20interface GigabitEthernet0/0/4port link-type accessport default vlan 100
AC:
vlan 100
dhcp enable
interface Vlanif100ip address 192.168.100.1 255.255.255.0dhcp select interfaceinterface GigabitEthernet0/0/1port link-type accessport default vlan 100
步骤②:AP上线
AC:
全局:capwap source interface Vlanif 100wlanap auth-mode no-auth (默认是MAC)ap-group name Group_Dap-id 0 ap-group Group_Dap-id 1 ap-group Group_D
步骤③:WLAN业务
AC:
wlansecurity-profile name A security wpa-wpa2 psk pass-phrase 12345678 aesssid-profile name Bssid Huawei vap-profile name C forward-mode direct-forservice-vlan vlan-id 20ssid-profile Bsecurity-profile Aap-group name Group_Dvap-profile C wlan 1 radio all
wlanregulate-domain-default 域管理模板(默认)country-code CN (默认)
选配命令:
int vlanif 100dhcp server option 43 sub-option 2 ip-address 192.168.100.1 wlanap-confirm allvap-pro name Cforward-mode tunnel
AP上静态指定AC IP:
[]ap-address static ac-list 192.168.100.1
AP静态配置IP地址和网关:
[]ap-address mode static
[]ap-address static ip-address 192.168.100.87 24 192.168.100.1
调试命令:
Display ap all 查看ap是否上线
Display vap all 查看是否放出射频信号
Display station all
Display 各种模板 all
dis ap online-fail-record all
dis ap unauthorized record
dis station sta-mac 5489-98ce-7e9f
dis ap-address-info