无法通过终端更改用户管理器用户配置文件?

时间:2017-02-18 10:07:44

标签: terminal scripting mikrotik

我正在尝试从终端更改用户管理器用户帐户配置文件,但似乎我不能这样如何从终端更改配置文件..!

为什么我不能这样做?

[admin@TP-Link] > tool user-manager                        
[admin@TP-Link] /tool user-manager> user
[admin@TP-Link] /tool user-manager user> set [find username=home] profile="1 Mbps"
expected end of command (line 1 column 26)
[admin@TP-Link] /tool user-manager user> 

我甚至试过它:

[admin@TP-Link] > /tool user-manager user
[admin@TP-Link] /tool user-manager user> set [find username=home] actual-profile="2 Mbps"
expected end of command (line 1 column 26)

由于个人资料在印刷品中按值存储:

  

[admin @ TP-Link] /工具用户管理器用户>打印
  标志:X - 禁用,A - 活动,I - 不完整

     

0 customer = admin actual-profile =“1 Mbps”username =“home”   password =“home1234”shared-users = 1 wireless-psk =“”wireless-enc-key =“”   无线-ENC-ALGO =无          uptime-used = 1w6h9m28s download-used = 9836712280 upload-used = 465715361 last-seen = feb / 18/2017 07:51:03

以下是截图:

enter image description here

1 个答案:

答案 0 :(得分:0)

/tool user-manager user create-and-activate-profile [find username="hone"] customer=admin profile="1 Mbps"