H3C设备修改wifi密码命令行

<H3C>sys 
System View: return to User View with Ctrl+Z.
[H3C]dis cu | in wlan  #查看已有的wlan
wlan service-template 0   #显示有两个
wlan service-template 1    
 wlan auto-ap enable
wlan global-configuration
wlan ap-group default-group
[H3C]wlan service-template 0    #选择wlan 0
[H3C-wlan-st-0]dis th   #查看wlan0 的配置信息
#
wlan service-template 0
 ssid TH-BJ
 akm mode psk
 preshared-key pass-phrase cipher $c$3$73f7O2Jsm1KKlj08JDQ7EjYlM/78/m6uXXs5
 cipher-suite ccmp
 security-ie wpa   #协议
 service-template enable
#
return

[H3C-wlan-st-0]preshared-key pass-phrase simple $password   #直接修改密码
Please first disable the service template.   #应该先关闭再进行操作
[H3C-wlan-st-0]undo service-template enable     #使用undo进行关闭模块
[H3C-wlan-st-0]%Sep  3 10:18:25:573 2020 H3C STAMGR/6/STAMGR_CLIENT_OFFLINE: Client b019-c616-9ea2 went offline from BSS 782c-2975-52c0 with SSID TH-BJ on AP 782c-2975-52c0-1 Radio ID 1. State changed to Unauth. Reason:Service template disabled.
%Sep  3 10:18:25:575 2020 H3C STAMGR/6/STAMGR_CLIENT_OFFLINE: Client b4f6-1c95-ceb0 went offline from BSS 782c-2975-52c0 with SSID TH-BJ on AP 782c-2975-52c0-1 Radio ID 1. State changed to Unauth. Reason:Service template disabled.
%Sep  3 10:18:25:577 2020 H3C STAMGR/6/STAMGR_CLIENT_OFFLINE: Client f8ac-65e5-64e2 went offline from BSS 782c-2975-52c0 with SSID TH-BJ on AP 782c-2975-52c0-1 Radio ID 1. State changed to Unauth. Reason:Service template disabled.
%Sep  3 10:18:25:579 2020 H3C STAMGR/6/STAMGR_CLIENT_OFFLINE: Client 8c85-9039-fd60 went offline from BSS 782c-2975-52c0 with SSID TH-BJ on AP 782c-2975-52c0-1 Radio ID 1. State changed to Unauth. Reason:Service template disabled.
%Sep  3 10:18:25:581 2020 H3C STAMGR/6/STAMGR_CLIENT_OFFLINE: Client 721c-8967-620e went offline from BSS 782c-2975-52c0 with SSID TH-BJ on AP 782c-2975-52c0-1 Radio ID 1. State changed to Unauth. Reason:Service template disabled.
%Sep  3 10:18:25:581 2020 H3C STAMGR/6/SERVICE_OFF: BSS 782c-2975-52c0 was deleted after service template 0 with SSID TH-BJ was unbound from radio 1 on AP 782c-2975-52c0-1. Reason: Disabled service template. 
%Sep  3 10:18:25:596 2020 H3C STAMGR/6/SERVICE_OFF: BSS 782c-2975-52d0 was deleted after service template 0 with SSID TH-BJ was unbound from radio 2 on AP 782c-2975-52c0-1. Reason: Disabled service template. 

[H3C-wlan-st-0]
[H3C-wlan-st-0]preshared-key pass-phrase simple $password   #修改密码
[H3C-wlan-st-0]service-template enable   #开启模块
[H3C-wlan-st-0]%Sep  3 10:18:35:467 2020 H3C STAMGR/6/SERVICE_ON: BSS 782c-2975-52c0 was created after service template 0 with SSID TH-BJ was bound to radio 1 on AP 782c-2975-52c0-1.
%Sep  3 10:18:35:487 2020 H3C STAMGR/6/SERVICE_ON: BSS 782c-2975-52d0 was created after service template 0 with SSID TH-BJ was bound to radio 2 on AP 782c-2975-52c0-1.

[H3C-wlan-st-0]quit   #退出
[H3C]save f   #保存
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.  #看到成功即可
  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

云原生解决方案

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值