華三及華爲三層交換/VLAN實施筆記(三)

聲明:此文內容爲實施過程中的流水筆記記載,留此記錄,謹做參考,各位朋友看到請勿見笑,謝絕轉載!

--------------寒冰於2010.8

第三部分:華爲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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章