AAA是Authentication(认证)、Authorization(授权)和Accounting(计费)的简称,是网络 安全的一种管理机制,提供了认证、授权、计费三种安全功能。
R2配置?
aaa
authentication-scheme datacom
authentication-mode local
authorization-scheme datacom
authorization-mode local
domain datacom
authentication-scheme datacom
authorization-scheme datacom
local-user hcia@datacom password cipher HICA-Datacom
local-user hcia@datacom privilege level 3
local-user hica@datacom password cipher HICA-Datacom
local-user hica@datacom service-type telnet
interface GigabitEthernet0/0/0
ip address 10.0.12.2 255.255.255.0
user-interface vty 0 4
authentication-mode aaa
R1当做PC客户端 配置如下
interface GigabitEthernet0/0/0
ip address 10.0.12.1 255.255.255.0
架构图
实验结果如下