华为路由器认证授权计费配置方案详解
在华为核心路由器1中,可以按照以下步骤创建认证、授权和计费三种方案配置方案:
- 创建认证方案:
R1(config)# aaa new-model
R1(config)# aaa authentication login default group tacacs+ local
- 创建授权方案:
R1(config)# aaa authorization exec default group tacacs+ if-authenticated
- 创建计费方案:
R1(config)# aaa accounting exec default start-stop group tacacs+
接下来,可以创建本地用户并为其配置账号和密码:
R1(config)# username user1 privilege 15 password '123456'
然后,可以为该用户指定用户类型为telnet:
R1(config)# aaa authentication login telnet local
R1(config)# line console 0
R1(config-line)# login authentication telnet
R1(config)# line vty 0 4
R1(config-line)# login authentication telnet
这样,用户就可以通过telnet登录设备了。同样,可以在核心路由器2上按照这些步骤进行配置。
原文地址: https://www.cveoy.top/t/topic/nMQ0 著作权归作者所有。请勿转载和采集!