102无线业务网络AC6605   ensp_服务器

102无线业务网络

port trunk pvid vlan命令用来设置Trunk类型接口的缺省VLAN。

1.接入交换机默认vlan10,允许通过10 11 12

2.

接口GE1/0/0下配置DHCP中继功能,并增加DHCP服务器地址

dhcp select relay命令用来使能DHCP Relay功能。

dhcp relay server-ip命令用来配置DHCP中继所代理的DHCP服务器地址。

vlan 100

inte vlanif 100

ip addr 10.0.0.2 30

inte vlanif 100

dhcp select global 开启全局DHCP

quit


ip pool ip-pool-name 中继名

option 43 sub-option 3 ascii 10.0.0.2 配置DHCP服务器地址

capwap source interface Vlanif 100 为capwap绑定隧道(源端口绑定VLAN1)  

regulatory-domain-profile命令用来创建域管理模板,并进入模板视图,若模板已存在则直接进入模板视图。

regulatory-domain-profile name profile-name  命令


regulatory-domain-profile name domain-cfg-1

ap-group name ap-group-cfg-1

 regulatory-domain-profile domain-cfg-1 进入模板视图

ap-id 1 type-id 45 ap-mac 00e0-fc6a-3940 无线AP型号及MAC

 ap-name ap-1 AP命名

 ap-group ap-group-cfg-1 加入AP组


--------------------

1    00e0-fc6a-3940 ap-1 ap-group-cfg-1 192.168.100.88  AP3030DN        nor   0  

 35M:13S

2    00e0-fc58-1ca0 ap-2 ap-group-cfg-1 192.168.100.72  AP3030DN        nor   0  

 40S

3    00e0-fc48-74c0 ap-3 ap-group-cfg-1 192.168.100.225 AP3030DN        nor   0  

 -

4    00e0-fcf9-19d0 ap-4 ap-group-cfg-1 192.168.100.53  AP3030DN        nor   0  

 10S


AC脚本:interface Vlanif100

ip address 10.0.0.2 255.255.255.252

dhcp select global

#

ip pool pool-vlan-10

gateway-list 192.168.100.254  

network 192.168.100.0 mask 255.255.255.0  

option 43 sub-option 3 ascii 10.0.0.2  

#

ip pool pool-vlan-11

gateway-list 192.168.64.254  

network 192.168.64.0 mask 255.255.255.0  

#

ip pool pool-vlan-12

gateway-list 192.168.65.254  

network 192.168.65.0 mask 255.255.255.0  

#

wlan

regulatory-domain-profile name domain-cfg-1

country-code cn

quit

ap-group name ap-group-cfg-1

 regulatory-domain-profile domain-cfg-1

quit


wlan

ap auth-mode mac-auth

ap-id 1 ap-mac 00e0-fc6a-3940

 ap-name ap-1

 ap-group ap-group-cfg-1

quit

#

====================================

wlan

ap-id 2 type-id 45 ap-mac 00e0-fc58-1ca0

 ap-name ap-2

 ap-group ap-group-cfg-1

#

wlan

ap-id 3 ap-mac 00e0-fc48-74c0

 ap-name ap-3

 ap-group ap-group-cfg-1

#

wlan

ap-id 4 ap-mac 00e0-fcf9-19d0

 ap-name ap-4

 ap-group ap-group-cfg-1

#

===================================

wlan

security-profile name sec-cfg-1

security wpa-wpa2 psk pass-phrase abcd1111 aes  

quit

ssid-profile name ssid-cfg-1

ssid wifi-1

quit

ssid-profile name ssid-cfg-2

ssid wifi-2  

quit

wlan

vap-profile name vap-cfg-1

forward-mode direct-forward

service-vlan vlan-id 11

security-profile sec-cfg-1

ssid-profile ssid-cfg-1

quit

vap-profile name vap-cfg-2  

forward-mode direct-forward

service-vlan vlan-id 12

security-profile sec-cfg-1

ssid-profile ssid-cfg-2  

quit

---------------

ap-group name ap-group-cfg-1

vap-profile vap-cfg-1 wlan 1 radio 0

vap-profile vap-cfg-1 wlan 1 radio 1

quit