网站的功能性外贸平台自建站
一、网络拓扑说明
本 WLAN 网络由交换机(LSW1)、无线控制器(AC1)、无线接入点(AP1\2)以及无线客户端(STA1)组成。
用途 | VLAN |
---|---|
AC | 100 |
AP | 200 |
业务 | 300 |
二、设备配置
二、设备配置
(一)交换机(LSW1)配置
# 创建VLAN 100、200、300
vlan batch 100 200 300
quit
配置三个接口地址
interface vlanif 100ip add 192.168.10.1 24
interface vlanif 200ip add 192.168.20.1 24
interface vlanif 300ip add 192.168.30.1 24
# 配置GE0/0/1接口(连接AC1)
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100 300
quit
# 配置GE0/0/2接口(连接AP1)
interface GigabitEthernet0/0/2port link-type accessport default vlan 200
quit
# 配置GE0/0/3接口(连接AP2)
interface GigabitEthernet0/0/3port link-type accessport default vlan 200
quit
# 配置AP的地址池
dhcp en
interface vlanif 200dhcp select interface**# 配置AP识别网络内AC**dhcp server option 43 sub-option 3 ascii 192.168.10.10
interface vlanif 300dhcp select interface
(二)无线控制器(AC1)配置
# 创建VLAN 100 300
vlan batch 100 300
quit
# 配置Vlanif10接口(管理VLAN网关)
interface Vlanif100ip address 192.168.10.10 24
quit# 配置缺省路由指向核心交换机
ip route-static 0.0.0.0 0 192.168.10.1# 配置GE0/0/1接口(连接交换机)
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100 300
quit
# 配置源接口
capwap source interface Vlanif100
# 配置交换机上线
wlan ap auth-mode no-auth(修改为不认证)quit等待AP上线# 配置业务模块
wlan regulatory-domain-profile name office country-code cnquit
# 配置SSID模板
ssid name officessid officequit
# 配置安全模板
security-profile name officesecurity wpa2 psk pass-phrase office123 aes
# 创建业务VAP模板
vap-profile name officessid-profile officesecurity-profile officeservice-vlan vlan-id 200forward-mode tunnel # 绑定业务VAP模板到AP组并关联业务VLAN 200
ap-group name defaultregulatory-domain-profile officevap-profile office wlan 1 radio allquit