设为首页收藏本站language 语言切换
查看: 1469|回复: 3
收起左侧

[原创] AAA配置详细手册

[复制链接]
发表于 2016-3-17 19:04:40 | 显示全部楼层 |阅读模式

用户名和密码都保持和原来的一致,再次基础之上只需要配置AAA的认证和授权
Center#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
//开启AAA
Center(config)#aaa new-model
//配置登陆验证方式有aaa 认证来实现,验证方式为本地

Center(config)#aaa authentication login default local
Center(config)#aaa authorization ?
  auth-proxy       For Authentication Proxy Services
  cache            For AAA cache configuration
  commands         For exec (shell) commands.
  config-commands  For configuration mode commands.
  configuration    For downloading configurations from AAA server
  console          For enabling console authorization
  exec             For starting an exec (shell).
  ipmobile         For Mobile IP services.
  network          For network services. (PPP, SLIP, ARAP)
  reverse-access   For reverse access connections
  template         Enable template authorization

//对本地登陆的用户进行授权,当用户在客户端使用不同的用户名和密码试图登陆,输入的用户名和密码,发送的路由器,路由器查询本地数据库的用户名和密码,如果收到的用户名和密码和本地定义的用户名匹配成功,则用户身份认证通过。完成了认证之后,即使用户的级别是15,因为已经启用了AAA,AAA的安全级别高,要想让这个15级别的用户能进入到特权模式,还必须通过授权来实现。
//配置对exec授权,授权方式为本地

Center(config)#aaa authorization exec default local
Center(config)#end
无标题.jpg
1.jpg
22.jpg

评分

参与人数 1好评度 +1 收起 理由
zhczf + 1

查看全部评分

发表于 2016-3-18 02:29:31 | 显示全部楼层
的顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
板凳 2016-3-18 02:29:31 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-10 11:49 , Processed in 0.056708 second(s), 16 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表