Cisco系列之CCNP Lab Exercise(AAA)
【實(shí)驗(yàn)拓?fù)洹?/p>
【配置AAA服務(wù)器】
加管理員帳號,點(diǎn)“Administration Control”按鈕,在添加管理員帳號
配置cisco secure acs HTML interface,點(diǎn)interface configuration。在選擇所需的服務(wù),對這次實(shí)驗(yàn),選shell (exec)即可。
Network configuration
配置用戶信息,點(diǎn)“User Setup”,設(shè)置用戶密碼,選中shell(exec),設(shè)置Privilege Level
【路由器上的配置】
1、 enable AAA:
Router(config)#aaa new-model
2、Configuring TACACS+ and RADIUS clients:
對TACACS+:
Router(config)#tacacs-server host ip-address
Router(config)#tacacs-server key word
對RADIUS:
Router(config)#radius-server host ip-address
Router(config)#radius-server key word
3、Configuring AAA authentication:
Router(config)#aaa authentication type {default|list-name} method1 […[method4]]
type分為:login、enable、ppp、local-override、arap、nasi、password-prompt和username-prompt,其中常用的為前面四個(gè)。
login:為想進(jìn)入到EXEC命令行模式的用戶認(rèn)證。
enable:決定用戶是否可以訪問特權(quán)級命令級。
ppp:在運(yùn)行PPP的串行口上指定認(rèn)證。
local-override:用于某些特殊用戶(如系統(tǒng)管理員)快速登錄,先使用本地?cái)?shù)據(jù)庫,如果失敗再使用后面的認(rèn)證方式。
List type分兩種,一種是default,一種是命名list。用來指代后面的認(rèn)證方式列表method1 […[method4]]
不同的type對應(yīng)不同的Method,后面的認(rèn)證方式只有當(dāng)前面的認(rèn)證方式返回了一個(gè)出錯(cuò)信息時(shí)使用(最多四種Method),而不是在前面的認(rèn)證失敗時(shí)使用。一般分為以下幾種:
enable |
使用enable口令進(jìn)行認(rèn)證 |
krb5 |
使用Kerberos 5進(jìn)行認(rèn)證 |
line |
使用線路口進(jìn)行認(rèn)證 |
local |
使用本地用戶數(shù)據(jù)庫進(jìn)行認(rèn)證 |
none |
不認(rèn)證 |
group radius |
使用RADIUS進(jìn)行認(rèn)證 |
group tacacs+ |
使用TACACS+進(jìn)行認(rèn)證 |
krb5-telnet |
當(dāng)用Telnet連接路由器時(shí),使用Kerberos 5 Telnet認(rèn)證協(xié)議 |
if-neede |
如果用戶已在TTY上進(jìn)行了認(rèn)證,就不再進(jìn)行認(rèn)證(用于enable type) |
4、Configuring AAA authorization:
Router(config)#aaa authorization type {default|list-name} method1 […[method2]]
type分為:
network |
所有網(wǎng)絡(luò)服務(wù),包括SLIP、PPP和ARAP |
Exec |
EXEC進(jìn)程 |
commands level |
所指定級別(0到15)的所有EXEC命令 |
config-commands |
配置命令 |
reverse-access |
用于反向Telnet |
【編輯推薦】