欢迎来到天天文库
浏览记录
ID:36765138
大小:126.79 KB
页数:5页
时间:2019-05-15
《思科CCNA中文教程第四章TACAS》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、第四章TACAS+4.1.用户登录集中鉴权提问使用集中的鉴权方式对用户登录设备进行控制回答Router1#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router1(config)#aaanew-modelRouter1(config)#aaaauthenticationlogindefaultgrouptacacs+Router1(config)#aaaauthenticationenabledefaultgrouptacacs+Router1(config)#tacacs-se
2、rverhost172.25.1.1Router1(config)#tacacs-serverkeyCOOKBOOKRouter1(config)#endRouter1#注释部署集中化鉴权就不需要在每台设备上配置用户名密码了,改密码也变得简单了4.2.限制特定命令的执行权限提问对设备可执行命令权限进行基于用户的授权回答Router1#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router1(config)#aaanew-modelRouter1(config)#aaaauthor
3、izationexecdefaultgrouptacacs+Router1(config)#aaaauthorizationcommands15defaultgrouptacacs+Router1(config)#tacacs-serverhost172.25.1.1Router1(config)#tacacs-serverkeyneoshiRouter1(config)#endRouter1#注释无4.3.TACACS+服务器无法访问提问防止出现TACACS+服务器故障导致所有用户都不能登录回答Router1#configureterminalEnterconfigura
4、tioncommands,oneperline.EndwithCNTL/Z.Router1(config)#aaanew-modelRouter1(config)#aaaauthenticationlogindefaultgrouptacacs+enableRouter1(config)#aaaauthenticationenabledefaultgrouptacacs+enableRouter1(config)#aaaauthorizationcommands15defaultgrouptacacs+if-authenticatedRouter1(config)#taca
5、cs-serverhost172.25.1.1Router1(config)#tacacs-serverkeyCOOKBOOKRouter1(config)#endRouter1#注释在认证服务器出现故障的情况下使用enable密码作为备份,同时建议使用if-authenticated参数在你配置授权的时候4.4.在特定端口禁用TACACS+鉴权提问为了方便禁止在控制口使用TACACS+鉴权回答Router1#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router1(config
6、)#aaanew-modelRouter1(config)#aaaauthenticationlogindefaultgrouptacacs+localRouter1(config)#aaaauthenticationloginNEOSHIlineRouter1(config)#linecon0Router1(config-line)#loginauthenticationNEOSHIRouter1(config-line)#endRouter1#注释4.5.记录用户行为提问记录用户输入的配置命令和时间回答Router1#configureterminalEnterconf
7、igurationcommands,oneperline.EndwithCNTL/Z.Router1(config)#aaanew-modelRouter1(config)#aaaaccountingcommands1defaultstop-onlygrouptacacs+Router1(config)#aaaaccountingcommands15defaultstop-onlygrouptacacs+Router1(config)#endRouter1#注释下面是一条日志记录,很详尽吧FriJan311:08:
此文档下载收益归作者所有