AC远程AP执行命令权限不够,报错“Permission denied.”
[WX5540E-V7-probe]wlan ap-execute all exec-console enable
<WX5540E-V7>telnet 192.168.28.200
Trying 192.168.28.200 ...
Press CTRL+K to abort
Connected to 192.168.28.200 ...
******************************************************************************
* Copyright (c) 2004-2023 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
Password:
<AP1>dis
<AP1>display int brie
<AP1>display int brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
InLoop0 UP UP(s) --
NULL0 UP UP(s) --
Vlan1 UP UP 192.168.28.200
Brief information on interfaces in bridge mode:
Link: ADM - administratively down; Stby - standby
Speed: (a) - auto
Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface Link Speed Duplex Type PVID Description
GE1/0/1 UP 1G(a) F(a) A 1
WLAN-Radio1/0/1 UP -- -- -- --
WLAN-Radio1/0/2 UP -- -- -- --
<AP1>dir
Permission denied.
<AP1>more ?
Permission denied.
查看配置,telnet相关权限为network-operator。
#
line vty 0 4
user-role network-operator
set authentication password hash $h$6$jPmXigiNKs7FX7R3$5xgqMiJzzNTyyrvApqTy5GWifAl8Aksci90frQvh8ewhBFga8JWMLU6vUdCymjbp7INhnJxAFV2/zA7TKxVw7Q==
#
line vty 5 63
user-role network-operator
#
通过下发MAP文件,给用户授予network-admin权限。
<WX5540E-V7>dir
Directory of cfa0:
0 -rw- 236 Jan 26 2024 15:14:26 AP1-MAP.txt
[WX5540E-V7-wlan-ap-AP1]dis th
#
wlan ap AP1 model WA6320-C
serial-id 219801A2BS8xxxxxxx33S
map-configuration cfa0:/AP1-MAP.txt
<WX5540E-V7>more AP1-MAP.txt ///map文件内容
#
line vty 0 4
user-role network-admin
set authentication password hash $h$6$jPmXigiNKs7FX7R3$5xgqMiJzzNTyyrvApqTy5GWifAl8Aksci90frQvh8ewhBFga8JWMLU6vUdCymjbp7INhnJxAFV2/zA7TKxVw7Q==
#
line vty 5 63
user-role network-admin
#
此时,AC远程AP就具有管理员权限。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作