(这玩意大概率算个期末特供)
也是笔者期末作业,之前在网上找的太痛苦了,于是打算自己写一个善待后来人
要对AC模拟器信道进行手动修改,首先要关闭射频的信道和自动调优功能,如果不关闭此功能会导致手动配置不生效。
[AC-wlan-view] rrm-profile name default //创建名为default的rrm模板,然后关闭信道和功率的自动调优功能。
[AC-wlan-rrm-prof-default] calibrate auto-channel-select disable
[AC-wlan-rrm-prof-default] calibrate auto-txpower-select disable
[AC-wlan-rrm-prof-default] quit
接着,配置 AP射频0的信道和功率
[AC-wlan-view] ap-id 0
[AC-wlan-ap-0] radio 0 //radio为0是2.4g的射频,为1是5g的射频
[AC-wlan-radio-0/0] channel 20mhz 6 //设置频宽和指定的信道
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-radio-0/0] eirp 127 //设置功率值
[AC-wlan-radio-0/0] quit
配置AP射频1的信道和功率。
[AC-wlan-ap-0] radio 1
[AC-wlan-radio-0/1] channel 20mhz 149
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-radio-0/1] eirp 127
[AC-wlan-radio-0/1] quit
[AC-wlan-ap-0] quit
(效果图)