调整网络设置, [ AC-1-wlan-rrm-prof-ictstu ] quit [ AC-1-wlan ] radio-2g-profile name ictstu //创建2G射频模板并进入模板视图,AP上线后会获取新的DTLS凭证重新以安全方式进行DTLS会话和上线, PC wnmcli device wifi connect ictstu //连接wifi ictstuPC wnmcli device wifi list //查看当前的Wi-Fi信号状态Status为up表示已经连接。
VirtualBox不仅是一款面向企业客户的功能极其丰富的高性能产品而且是唯一一个根据GNU通用公共许可证GPL第3版条款作为开源软件免费提供的虚拟化专业解决方案, 在AC上执行display radio all查看AP的射频信息, 配置AP上线,相比传统CLI具有配置逻辑简单、机器解析处理容易和学习成本低等优点, WPA2 is recommended. STA配置 双击STA终端点击到“IPv4地址配置”将模式修改为“DHCP”点击“应用”, 这里需要设置“DTLS PSK”设置”FIT AP“的用户名和密码设置全局脱机管理VAP的PSK,Warning: This action may cause service interruption. Continue? [ Y/N ] :yWarning: The Open encryption algorithm is insecure. For security-sensitive scenarios。
[ AC-1 ] capwap source inter vlan 1 Set the DTLS PSK ( contains 8 -32 plain-text characters。
and the value depends on the AP specifications and local laws and regulations. [ AC-1-wlan-ap-group-default-radio-0 ] vap-profile ictstu wlan 1 //应用vap模板, [ AC-1 ] wlan [ AC-1-wlan ] ap auth-mode no-auth // 配置AP以无认证方式上线,我这里密码全部设置为了huawei123 密码要求包含8-32个纯文本字符或128或148个密码文本字符这些字符必须至少由以下两个字符组合而成小写字母a到z、大写字母a到z、数字和特殊字符,Warning: This action may cause service interruption. Continue? [ Y/N ] :yInfo: The channel value and bandwidth value take effect only when automatic channel selection is disabled,选择“管理 工具 虚拟介质管理”单击“注册”选择解压后的“eNSP-Pro_V100R001C10_Software_X8664_release.vdi”文件,双击已创建好的虚拟机或者单击”启动“启动虚拟机, and must start with a letter ) :huaweiSet the password for FIT APs ( plain-text password of 8 -128 characters or cipher-text password of 128 -268 characters that must be a combination of at least three of the following: lowercase letters a to z,Warning: No PSK is configured in the default security profile, [ AC-1-wlan-ap-group-default-radio-0 ] calibrate auto-channel-select disable //关闭信道自动选择功能。
which will lead to a failure to create the VAP. Continue? [ Y/N ] :y [ AC-1-wlan-ap-group-default-radio-0 ] radio-2g-profile ictstu //应用2G射频模板, uppercase letters A to Z, disable this function to prevent security risks. Continue? [ Y/N ] :Y 如果已开启了CAPWAP的控制隧道DTLS加密功能增加对接V200R021C00之前版本的AP时为保证版本兼容避免AP无法上线可以先开启该功能允许AP以不认证方式进行DTLS会话使AP上线, digits, and digits, services may be interrupted.Warning: Before an added device goes online for the first time, 等待虚拟机启动完成打开浏览器推荐使用Chrome浏览器在地址栏输入欢迎页屏幕上的网址访问数通模拟器, 无线设备AP的初始帐号为admin密码为Adminhuawei.com,Warning: This action may cause service interruption. Continue? [ Y/N ] :y [ AC-1-wlan-ap-group-default-radio-0 ] quit [ AC-1-wlan-ap-group-default ] security-profile name default //在default AP组中引用default安全模板, 启动虚拟机,选择“控制 新建”填写界面参数单击“Next”, PC ifconfig 在AC上执行display station all连接的终端信息, 选中“Use an Existing Virtual Hard Disk File”选择上一步骤注册的虚拟硬盘文件单击“Next”。
digits, 在AP上执行display vap all查看业务型VAP的相关信息, [ AC-1-wlan ] ap-group name default [ AC-1-wlan-ap-group-default ] radio 0 //进入名为default的AP组的射频0视图。
为确保网络安全在AP重新上线后应立即关闭该功能避免未授权AP接入网络, © 版权声明 文章本地PC安装eNSP Pro完成简单的WLAN实验 作者Guangran 链接https://www.grbj.cn/1001.html 声明如无特别说明本文即为原创文章仅代表个人观点版权归《广然笔记》所有未经授权、请勿转载, PC wnmcli device wifi list --rescan yes //查看当前的Wi-Fi信号状态强制扫描 连接至名为“ictstu”的Wi-Fi信号, [ AC-1 ] dhcp enable [ AC-1-Vlanif1 ] dhcp select interface [ AC-1-Vlanif1 ] quit 以Vlanif1作为AC的IPv4源接口, , or 128 or 148 cipher-text characters that must be a combination of at least two of the following: lowercase letters a to z, 单击”“号选择“货架”中需要的设备添加设备AC、AP、终端STA按照下图连线, [ AC-1-wlan-radio-2g-prof-ictstu ] rrm-profile ictstu 配置射频模板引用RRM模板, 点击到”命令行“扫描可连接的Wi-Fi信号, 备用下载地址 关注微信公众号广然笔记发送【eNSP Pro】获取下载地址, [ AC-1-wlan ] ssid-profile name ictstu [ AC-1-wlan-ssid-prof-ictstu ] ssid ictstu [ AC-1-wlan-ssid-prof-ictstu ] quit [ AC-1-wlan ] vap-profile name ictstu [ AC-1-wlan-vap-prof-ictstu ] ssid-profile ictstuWarning: This action may cause service interruption. Continue? [ Y/N ] :y 配置default AP组的射频、工作带宽、工作信道、密码等信息, and special characters ) :Confirm password:Set the PSK of the global offline management VAP ( plain-text password of 8 -63 characters or cipher-text password of 128 -188 characters that must be a combination of at least two of the following: lowercase letters a to z,全选所有设备单击启动按钮等待设备启动, and special characters ) :Confirm PSK:Warning: Ensure that the management VLAN and service VLAN are different. Otherwise, 根据个人PC实际情况修改虚拟机内存和CPU个数 建议不超过本机能力的70% 单击“Next”, 单击“Finish”完成虚拟机创建, [ AC-1 ] capwap dtls no-auth enable Warning: This operation allows for device access in non-DTLS encryption mode even when DTLS is enabled and brings security risks. After the device goes online for the first time,输入密码的时候输入内容不可见直接输入即可, MD-CLIModel-Driven Command Line Interface是基于YANG模型生成的既有机机交互又有人机交互能力的命令行工具, AP上的命令比较特殊使用的是MD-CLI并不是之前常用的CLI方式, 总结 eNSP Pro中在AC上暂时无法使用display mac-address命令查看到AP的MAC地址等信息如果需要使用MAC地址认证的方式上线AP需要在AP中执行display /driver/global-attribute/system-mac-address命令获取MAC地址,右击创建好的虚拟机单击“设置”选择“网络 网卡1 启用网络连接E”“连接方式A”选择“仅主机Host-Only网络”名称选择“VirtualBox Host-Only Ethernet Adapter”单击“OK”, uppercase letters A to Z, VirtualBox VirtualBox是一款功能强大的x86和AMD64/Intel64虚拟化产品适用于企业和家庭, and special characters ) :Confirm PSK:Info: Deliver DTLS PSK to devices using CAPWAP connections. It may take a few minutes.Set the user name for FIT APs ( The value is a string of 4 to 31 characters, 准备实验环境 准备软件包 eNSP Pro eNSP Pro 是华为公司数据通信产品线新推出的数通设备模拟器主要应用在数据通信技能培训为使用者提供华为数据通信产品设备命令行学习环境, 在VirtualBox中注册虚拟硬盘, 将下载的“eNSP-Pro_V100R001C10_Software_X8664_VirtualBox_release.tar.gz”的软件包解压, [ AC-1-wlan-sec-prof-default ] security open //设置密码认证方式为无密码认证, 配置AC名称和IP地址, 启动设备, 使用undo capwap dtls no-auth enable禁止CAPWAP的DTLS会话使用不认证方式, eNSP Pro仅面向认证级伙伴ASP、CSP发布到企业业务网站暂不对销售合作伙伴、注册经销商、产品客户、普通注册用户开放, 登录eNSP Pro点击右上角的”登录“使用经过华为授权的Uniportal账号登录就可以愉快的开始实验啦, uppercase letters A to Z。
Warning: It is insecure to configure none authentication mode. [ AC-1-wlan ] rrm-profile n ictstu //创建RRM模板,Warning: This action may cause service interruption. Continue? [ Y/N ] :y [ AC-1-wlan-radio-2g-prof-ictstu ] quit 创建名为“ictstu”的SSID模板和名为”ictstu“的VAP模板并在VAP模板中引用SSID模板。
underscores, which can contain letters。
新建虚拟机, return user view with return command. [ HUAWEI ] sysname AC-1 [ AC-1 ] int vlan 1 [ AC-1-Vlanif1 ] ip address 192.168 .100.254 24 [ AC-1-Vlanif1 ] quit 启用DHCP服务为AP和STA分下发地址, STA中连接Wi-Fi暂时只能使用命令的方式进行不支持在图形化界面进行Wi-Fi连接, 上个月底华为更新一版eNSP Pro新增了AC、AP、STA等设备也就是说可以在eNSP中进行WLAN相关的实验了, enable DTLS no-auth if it runs a version earlier than V200R021C00 or enable DTLS certificate-mandatory-match if it runs V200R021C00 or later. 允许CAPWAP的DTLS会话使用不认证方式, HUAWEI system-view Enter system view, 在AP上执行display ap all查看AP信息, 结果验证 STA查看是否正确获取IP地址等信息,之前写过一篇文章《将eNSP Pro部署在华为云是什么体验》介绍了怎么在华为云上部署eNSP Pro这次使用本地PC机在虚拟机中安装eNSP Pro并完成一个简单的WLAN实验来体验体验eNSP Pro中AC、AP设备的配置有何不同, digits, 配置设备 AC配置 双击”AC-1“的图标打开AC的控制台,输入”回车“以后在”Enter Password“后设置一个密码, 访问并登录“华为企业产品技术支持网站(https://support.huawei.com/enterprise/zh/index.html)” 搜索“eNSP Pro”将“eNSP-Pro_V100R001C10_Software_X8664_VirtualBox_release.tar.gz”下载到本地, 开始实验配置 绘制实验拓扑 选择“仿真环境 沙箱”单击“创建沙箱”,Info: This operation will recover the redundant radio. [ AC-1-wlan-ap-group-default-radio-0 ] channel 20mhz 1 //配置default AP组射频0的工作带宽为20MHz工作信道为1, 软件获取 https://www.virtualbox.org/ 部署 eNSP Pro 下载VirtualBox安装包并完成Virtualbox安装,。
