aaa认证
AAA基本概念
认证:Authentication
授权:authorzation
计费:accounting
acl number 3000
rule 5 permit tcp source 192.168.0.1 0 destination 10.0.23.3 0 destination-port
eq telnet
rule 10 permit tcp source 172.16.0.1 0 destination 10.0.23.3 0 destination-port
eq ftp
rule 15 permit ospf
rule 20 deny tcp
AAA支持的认证方式有:不认证,本地认证,远端认证。
RAdius是AAA最常用的协议
Aaa的配置
aaa
authentication-scheme huawei 认证模板
authentication-mode huawei
local-user lirichang password cipher Huawei@123 创建用户名跟密码
local-user lirichang privilege level 15 权限0-15(可以合并为一个)
local-user lirichang ftp-directory flash:/(flash的目录)如果
local-user lirichang service-type telnet
local-user lirichang service-type ftp
telnet需要进入vty接口下面
user-interface vty 0 4
authentication-mode aaa
ftp的配置
aaa
authentication-scheme huawei 认证模板
authentication-mode huawei
local-user lirichang password cipher Huawei@123 创建用户名跟密码
local-user lirichang privilege level 15 用户名的权限
local-user lirichang ftp-directory flash:/(flash的目录)如果
local-user lirichang service-type ftp 设置用户名的服务类型
注意:在华为ensp里面不支持PC进行aaa登录
这个是老师的配置(域管理模板不用配置)