无线管理 简单模式

配置无线AC控制器(型号使用AC6005),开启dhcp功能,设置vlan20网关地址为172.16.20.1/24,并配置vlan20接口服务器池,设置dhcp分发dns为114.114.114.114、223.5.5.5。将上述所有操作命令及返回结果以文本形式提交到答题框。

设置vlan10网关地址为192.168.10.254/24,并配置vlan10接口服务器池
配置无线接入点接口为vlan10
(WLAN视图)创建域管理模板名为domain,并设置国家编号为CN
(WLAN视图)创建ssid模板名为ssid,并设置WiFi名字ssid为wifi
(WLAN视图)创建安全模板名为security,并配置安全认证方式为wpa-wpa2密码为a1234567
(WLAN视图)创建VAP模板为vap,转发模式为直连转发,绑定安全策略,绑定ssid模板,绑定业务vlan为20
(WLAN视图)创建AP组,名称为apg,绑定域管理模板名为domain,绑定vap模板到射频卡0和1上。
(WLAN视图)绑定ap和mac地址,绑定ap组
配置AC和LSW端口为trunk模式并允许vlan10和vlan20的通过,设置LSW1的g0/0/1口
允许通过vlan10的数据
AC1:
system-view
[AC6005]vlan batch 10
[AC6005]vlan batch 20
[AC6005]dhcp enable
[AC6005]interface vlanif 20
[AC6005-Vlanif20]description USER
[AC6005-Vlanif20]ip address 172.16.20.1 24
[AC6005-Vlanif20]dhcp select interface
[AC6005-Vlanif20]dhcp server dns-list 114.114.114.114 223.5.5.5
[AC6005-Vlanif20]quit
[AC6005]interface Vlanif 10
[AC6005-Vlanif10]description AP_Manage
[AC6005-Vlanif10]ip address 192.168.10.254 24
[AC6005-Vlanif10]dhcp select interface
[AC6005-Vlanif10]quit
[AC6005]capwap source interface Vlanif 10
[AC6005]wlan
[AC6005-wlan-view]regulatory-domain-profile name office-domain #管理模板名为domain
[AC6005-wlan-regulate-domain-office-domain]country-code CN
[AC6005-wlan-regulate-domain-office-domain]quit
[AC6005-wlan-view]ssid-profile name office-ssid
[AC6005-wlan-ssid-prof-office-ssid]ssid office
[AC6005-wlan-ssid-prof-office-ssid]quit
[AC6005-wlan-view]security-profile name office-security #ssid模板名为ssid
[AC6005-wlan-sec-prof-office-security]security wpa-wpa2 psk pass-phrase 123456789 aes
[AC6005-wlan-sec-prof-office-security]quit
[AC6005-wlan-view]vap-profile name office-vap #VAP模板为vap
[AC6005-wlan-vap-prof-office-vap]forward-mode direct-forward #转发模式为直连转发
[AC6005-wlan-vap-prof-office-vap]security-profile office-security
[AC6005-wlan-vap-prof-office-vap]ssid-profile office-ssid
[AC6005-wlan-vap-prof-office-vap]service-vlan vlan-id 20
[AC6005-wlan-vap-prof-office-vap]quit
[AC6005-wlan-view]ap-group name office-ap-group
[AC6005-wlan-ap-group-office-ap-group]regulatory-domain-profile office-domain
[AC6005-wlan-ap-group-office-ap-group]vap-profile office-vap wlan 1 radio 0
[AC6005-wlan-ap-group-office-ap-group]vap-profile office-vap wlan 1 radio 1
[AC6005-wlan-ap-group-office-ap-group]quit
[AC6005-wlan-view]ap-id 0 ap-mac 00E0-FC99-4730
[AC6005-wlan-ap-0]ap-group office-ap-group
[AC6005-wlan-ap-0]quit
[AC6005-wlan-view]quit
[AC6005]interface GigabitEthernet 0/0/1
[AC6005-GigabitEthernet0/0/1]port link-type trunk
[AC6005-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20
[AC6005-GigabitEthernet0/0/1]quit
LSW1:
system-view
[Huawei]sysname SW1
[SW1]vlan batch 100 101
[SW1]interface GigabitEthernet 0/0/24
[SW1-GigabitEthernet0/0/24]description to_AC
[SW1-GigabitEthernet0/0/24]port link-type trunk
[SW1-GigabitEthernet0/0/24]port trunk allow-pass vlan 10 20
[SW1-GigabitEthernet0/0/24]quit
[SW1]interface GigabitEthernet 0/0/1
[SW1-GigabitEthernet0/0/1]description to_AP
[SW1-GigabitEthernet0/0/1]port link-type trunk
[SW1-GigabitEthernet0/0/1]port trunk pvid vlan 10
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20
[SW1-GigabitEthernet0/0/1]quit

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值