华为交换机telnet命令和WEB不能同时使用吗

更多数码资讯,请关注南窗数码
“交换机华为”相关经验查看:503|回复:4
前两天发了个帖子求助说“能WEB访问,能PING通,telnet不通”
后来接了个console线通过@无奈16给的命令,能telnet了
结果今天发现WEB界面虽然能打开,输入完帐号密码,提示如图1,
后来我从网上搜了一条命在telnet执行了一下,结果WEB能访问了,telnet又不能用了,
命令如下:
[HUAWEI]aaa& && && && && && && && && && && &
[HUAWEI-aaa]local-user admin service-typehttp& && && && && && && && && &&&
[HUAWEI-aaa]quit
[HUAWEI]quit& && && && && && && && && &&&
&HUAWEI&save
结果现在telnet的时候提示如图2,帐号admin,密码,大小写也没错,就是进不去,怀疑是不是用telnet的时候不能用web,而用web的时候不能用telnet
(11.11 KB)
(26.35 KB)
经自己倒腾在WEB界面用户管理下发现只勾选了HTTP和强制下线,后来我把所有勾选了,然后再telnet就可以了。
并且我发现赋予权限时是这样的:[HUAWEI-aaa]local-user admin service-type telnet http&&,这样才是赋予admin用户telnet和web的权限。
同时我又发现另一个问题,我想建一个新用户,执行命令如下:
[HUAWEI]aaa
[HUAWEI-aaa]local-user delong password cipher delong888
Info: Add a new user.
[HUAWEI-aaa]local-user delong service-type telnet
Info: The cipher password has been changed to an irreversible-cipher password.
Warning: The user access modes include Telnet, FTP, or HTTP, so security risks e
Info: After changing the rights (including the password, access type, FTP direct
ory, and level) of a local user, the rights of users already online do not chang
e. The change takes effect to users who go online after the change.
[HUAWEI-aaa]local-user delong service-type http
Warning: The user access modes include Telnet, FTP, or HTTP, so security risks e
Info: After changing the rights (including the password, access type, FTP direct
ory, and level) of a local user, the rights of users already online do not chang
e. The change takes effect to users who go online after the change.
[HUAWEI-aaa]local-user delong privilege level 15
Error: Low-level users are not allowed to create, delete, or modify high-level u
[HUAWEI-aaa]local-user delong privilege level 15
Error: Low-level users are not allowed to create, delete, or modify high-level u
[HUAWEI-aaa]local-user delong service-type telnet http
Warning: The user access modes include Telnet, FTP, or HTTP, so security risks e
Info: After changing the rights (including the password, access type, FTP direct
ory, and level) of a local user, the rights of users already online do not chang
e. The change takes effect to users who go online after the change.
[HUAWEI-aaa]local-user delong privilege level 15
Error: Low-level users are not allowed to create, delete, or modify high-level u
[HUAWEI-aaa]q
[HUAWEI]user-interface vty 0 4
[HUAWEI-ui-vty0-4]authentication-mode aaa
Warning: The level of the user-interface(s) will be the default level of AAA use
rs, please check whether it is correct.
[HUAWEI-ui-vty0-4]q
在我提升等级的时候提示我的等级低,可我是用admin登录的啊?在网上搜索了一下也没找到答案,不知道怎么搞
(33.88 KB)
资深技术经理
打个400技术支持,慢慢折腾
这个 ,需要把console的等级提高,然后保存,重启之后就可以了
添加一个用户做telnet就完事了呗 ,这么费劲,让admin访问http
新用户访问telnet

我要回帖

更多关于 华为交换机设置telnet 的文章

 

随机推荐