一、AC控制器 display wlan ap all查看配置好的ap 模板编辑:(删除模板:undo wlan service-template 1) wlan service-template 1 ssid TEACHER (wifi信号名称) vlan 1002 akm mode psk preshared-key pass-phrase simple lzzz!jiaowu (密码设置) cipher-suite ccmp security-ie rsn client-rate-limit enable client-rate-limit inbound mode static cir 16000 (16000上行带宽) client-rate-limit outbound mode static cir 8100 (8100下行带宽) service-template enable wlan service-template 2(undo service-template enable) ssid STUDENT vlan 1002 akm mode psk preshared-key pass-phrase simple lzzz!jiaowu cipher-suite ccmp security-ie rsn service-template enable 在AC上注册AP:(删除AP:undo wlan ap ap名)dis wlan ap all wlan ap ap-jiaoxuelou-bei-602 model WA5320-SI (添加新AP) serial-id 219801A1B38185E009X0 radio 1(149,153,157) channel 153 service-template 1 service-template 2 radio enable radio 2(1,6,11) channel 6 service-template 1 service-template 2 radio enable 学生SSID在部分时段无法上网。 由于AC可以通过命令行开关服务模版,所以我们可以通过定时任务来控制。 首先通过display clock确认当前AC的时间是否正确,然后在AC上配置以下命令。 #创建关闭服务模版2的Job scheduler job job-wlan-disable command 1 system-view command 2 wlan service-template 2 command 3 undo service-template enable #创建开启服务模版2的Job scheduler job job-wlan-enable command 1 system-view command 2 wlan service-template 2 command 3 service-template enable #配置定时执行任务,使设备在每天22:00关闭服务模版2。 scheduler schedule schedule-wlan-disable job job-wlan-disable time repeating at 22:00 #配置定时执行任务,使设备在每天8:00打开服务模版2。 scheduler schedule schedule-wlan-enable job job-wlan-enable time repeating at 8:00 二、交换机 #dhcp服务配置: dhcp server ip-pool vlan1000 gateway-list 192.168.201.254 network 192.168.201.0 mask 255.255.255.0 expired day 0 hour 8 forbidden-ip 192.168.201.254 华三交换机远程管理配置 dis version看版本 sys telnet server enable local-user admin password simple admin authorization-attribute level 3 (authorization-attribute user-role level-3) service-type telnet qu user-interface vty 0 15 authentication-mode scheme VLAN配置 interface vlan 314 进入vlan接口 本文来源:https://www.wddqw.com/doc/b5fa300fcebff121dd36a32d7375a417866fc1d9.html