第三部分:华为3328/2326登录密码及远程TELNET设置
HW3328登录用户权限及密码设置:
1. 进入控制口视图:
[HW3328]use console 0 //进入控制口,等同于命令:[HW3328]user-interface console 0
[HW3328-ui-console0]
2. 配置登录不需要验证:
[HW3328] authentication-mode none
3. 配置登录需要密码验证:
[HW3328-ui-console0]authentication-mode password
[HW3328-ui-console0]set authentication password cipher andywong
4. 上述配置好后,登录时则要求输入密码:
User interface con0 is available
Please Press ENTER.
Login authentication
Password:
5. 配置TELNET登录:
HW3328配置Telnet:
<HW3328>system-view
Enter system view, return user view with Ctrl+Z.
[HW3328]user-interface vty 0 4
[HW3328-ui-vty0-4]set authentication password cipher andywong
[HW3328-ui-vty0-4]authentication-mode password //配置后即可实现远程telnet登陆。但登陆后只能进行有限的操作,默认权限为L0
//下面要配置远程的TELNET用户级别。
[HW3328-ui-vty0-4]user privilege level 3 //配置远程登陆级别为3,最高级。
配置OK,远程TELNET登陆后拥有权限了。配置后的交换机信息如下:
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
#
dhcp enable
#
ip route-static 0.0.0.0 0.0.0.0 192.168.0.2
#
user-interface con 0
authentication-mode password
set authentication password cipher I5]"U_C(%(/Q=^Q`MAF4<1!!
user-interface vty 0 4
user privilege level 3
set authentication password cipher I5]"U_C(%(/Q=^Q`MAF4<1!!
#
return
//HW2326配置Telnet,等同于HW3328,只不过我是在VTY 0 2号视图配置:
<HW2326>system-view
[HW2326]user-interface vty 0 2
[HW2326-ui-vty0-2]set authentication password cipher andywong
[HW2326-ui-vty0-2]authentication-mode password
[HW2326-ui-vty0-2]user privilege level 3
//配置后的交换机信息:
aaa
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
#
ip route-static 0.0.0.0 0.0.0.0 10.10.0.1
ip route-static 192.168.0.0 255.255.0.0 10.10.0.1
#
user-interface con 0
authentication-mode password
set authentication password cipher I5]"U_C(%(/Q=^Q`MAF4<1!!
user-interface vty 0 2
user privilege level 3
set authentication password cipher I5]"U_C(%(/Q=^Q`MAF4<1!!
user-interface vty 3 4
#
return