赞
踩
- <Huawei>system-view # 进入系统视图
-
- <Huawei>sysname R1 # 设备重命名
-
- [R1]dhcp enable # 开启DHCP功能
-
- [R1]interface GigabitEthernet0/0/0 # 进入接口
- [R1-GigabitEthernet0/0/0]ip address 192.168.0.1 23 # 配置接口地址
- [R1-GigabitEthernet0/0/0]dhcp select interface # 通过接口地址自动创建 DHCP 地址池
- [AC6605]vlan 10 # 创建VLAN10
-
- [AC6605]interface GigabitEthernet0/0/1 # 进入接口
- [AC6005-GigabitEthernet0/0/1]port link-type access # 配置接口类型
- [AC6005-GigabitEthernet0/0/1]port default vlan 10 # 绑定vlan
-
- [AC6605]interface GigabitEthernet0/0/2 //进入接口
- [AC6005-GigabitEthernet0/0/1]port link-type access # 配置接口类型
- [AC6005-GigabitEthernet0/0/1]port default vlan 10 # 绑定vlan
-
- [AC6605]capwap source interface Vlanif 10 # 为capwap隧道绑定vlan(AP用的vlan)
- [AC6605]wlan #进入无线配置视图
- [AC6605-wlan-view]
-
- [AC6605-wlan-view]regulatory-domain-profile name office-domain #创建域管理模板,名称为office-domain
- [AC6605-wlan-regulate-domain-office-domain]country-code CN #配置国家代码
- [AC6605-wlan-regulate-domain-office-domain]quit
-
- [AC6605-wlan-view]ssid-profile name office-ssid #创建SSID模板,名称为office-ssid
- [AC6605-wlan-ssid-prof-office-ssid]ssid CMCC #配置SSID名称为office
- [AC6605-wlan-ssid-prof-office-ssid]quit
-
- [AC6605-wlan-view]security-profile name office-security #创建安全策略,名称为office-security
- [AC6605-wlan-sec-prof-office-security]security wpa-wpa2 psk pass-phrase 12345678 aes #SSID密码为12345678
-
- [AC6605-wlan-view]vap-profile name office-vap #创建VAP模板
- [AC6605-wlan-vap-prof-office-vap]forward-mode direct-forward #配置业务数据转发模式
- [AC6605-wlan-vap-prof-office-vap]security-profile office-security #绑定安全策略
- [AC6605-wlan-vap-prof-office-vap]ssid-profile office-ssid #绑定SSID模板
- [AC6605-wlan-vap-prof-office-vap]service-vlan vlan-id 101 #绑定业务VLAN(用户用的vlan)
-
- [AC6605-wlan-view]ap-group name office-ap-group #创建AP组,名称为office-ap-group
- [AC6605-wlan-ap-group-office-ap-group]regulatory-domain-profile office-domain #绑定域模板
- [AC6605-wlan-ap-group-office-ap-group]vap-profile office-vap wlan 1 radio 0 #绑定vap模板到射频卡0上
- [AC6605-wlan-ap-group-office-ap-group]vap-profile office-vap wlan 1 radio 1 #绑定vap模板到射频卡1上
-
- [AC6605-wlan-view]ap-id 0 ap-mac 00e0-fc79-4b40 添加AP,APmac
- [AC6605-wlan-ap-0]ap-group office-ap-group #添加到AP组中
<Huawei>dis interface GigabitEthernet 0/0/0
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。