- 相關(guān)推薦
H3C用戶(hù)認(rèn)證的配置命令大全
H3C用戶(hù)認(rèn)證配置命令比較簡(jiǎn)單,各種型號(hào)的交換機(jī)用戶(hù)認(rèn)證都不同,那么H3C用戶(hù)認(rèn)證的配置命令格式是怎么樣的呢?下面跟yjbys小編一起來(lái)看看吧!
1、進(jìn)入系統(tǒng)視圖
2、進(jìn)入要驗(yàn)證的用戶(hù)接口 eg:對(duì)console口登錄用戶(hù)驗(yàn)證
[H3C]user-interface console 0
3、設(shè)置登錄驗(yàn)證的模式 eg:對(duì)console口登錄用戶(hù)進(jìn)行本地認(rèn)證模式
[H3C-ui-console0]authentication-mode scheme
4、設(shè)置登錄驗(yàn)證的用戶(hù):eg:對(duì)console 口設(shè)置登錄用戶(hù)hua
[H3C-ui-console0]quit
[H3C]local-user hua
5、設(shè)置用戶(hù)的驗(yàn)證密碼:eg:設(shè)置該用戶(hù)的不加密的密碼hua
[H3C-luser-hua]password simple hua
6、設(shè)置登錄的該用戶(hù)的服務(wù)類(lèi)型 eg:對(duì)該用戶(hù)設(shè)置的服務(wù)類(lèi)型為teminal
[H3C-luser-hua]service-type termianl
7、設(shè)置該用戶(hù)的權(quán)限級(jí)別: eg:設(shè)置該用戶(hù)的用戶(hù)權(quán)限級(jí)別為:3
[H3C-luser-hua] authentication-attribute level 3
8、最后對(duì)設(shè)置進(jìn)行保存,用save進(jìn)行保存,這樣重新開(kāi)機(jī)后配置不會(huì)丟失
[H3C-luser-hua]quit
[H3C]sa
這樣設(shè)置后連接console口登錄后需要驗(yàn)證用戶(hù)名和密碼,用戶(hù)權(quán)限為3級(jí) 用戶(hù)名為:hua 密碼:hua
注:如果要配置vty口,需要協(xié)議綁定,和啟動(dòng)相關(guān)服務(wù)
eg:配置vty的telnet
在第3步中增加:protocol inbound telnet
在第6步改為:service-type telnet
同時(shí)注意啟動(dòng)telnet服務(wù) :[H3C] telnet service enable
【用戶(hù)密碼認(rèn)證設(shè)置】
1、H3C telnet僅用密碼登錄,管理員權(quán)限
user-interface vty 0 4
user privilege level 3
set authentication password simple abc
2、H3C telnet僅用密碼登錄,非管理員權(quán)限
super password level 3 simple
superuser-interface vty 0 4
user privilege level 1
set authentication password simple abc
3、H3C telnet使用路由器上配置的用戶(hù)名密碼登錄,管理員權(quán)限
local-user admin password simple
adminlocal-user admin service-type telnet
local-user admin level 3
user-interface vty 0 4
authentication-mode local
4、H3C telnet使用路由器上配置的用戶(hù)名密碼登錄,非管理員權(quán)限
super password level 3 simple
superlocal-user manage password simple
managelocal-user manage service-type telnet
local-user manage level 2
user-interface vty 0 4
authentication-mode local
5、對(duì)console口設(shè)置密碼,登錄后使用管理員權(quán)限
user-interface con 0
user privilege level 3
set authentication password simple abc
6、對(duì)console口設(shè)置密碼,登錄后使用非管理員權(quán)限
super password level 3 simple
superuser-interface con 0
user privilege level 1
set authentication password simple abc
7、對(duì)console口設(shè)置用戶(hù)名和密碼,登錄后使用管理員權(quán)限
local-user admin password simple
adminlocal-user admin service-type terminal
local-user admin level 3
user-interface con 0
authentication-mode local
8、對(duì)console口設(shè)置用戶(hù)名和密碼,登錄后使用非管理員權(quán)限
super password level 3 simple
superlocal-user manage password simple
managelocal-user manage service-type terminal
local-user manage level 2
user-interface con 0
authentication-mode local
相關(guān)文章推薦:
8.H3C S3600 Series交換機(jī)VLAN配置實(shí)例
9.網(wǎng)絡(luò)售前專(zhuān)家H3CE模擬考試題
【H3C用戶(hù)認(rèn)證的配置命令】相關(guān)文章:
H3C用戶(hù)認(rèn)證配置08-25
華為認(rèn)證ospf配置命令07-12
思科與H3C配置命令對(duì)比10-13
H3C常用查詢(xún)配置命令大全09-07
h3c交換機(jī)配置命令07-25
H3C路由器配置命令07-19
H3C路由器的配置命令09-05
H3C交換機(jī)配置命令詳解09-05
H3C交換機(jī)配置命令大全10-14
H3C路由器常用配置命令10-11