分类: 系统运维
2012-01-31 15:25:18
RTA关键配置脚本
|
#
//并发配置用户数量为5
configure-user count 5
#
//创建RADIUS方案
radius scheme test
//配置验证的服务器地址与共享密钥
primary authentication 192.168.1.100
key authentication test
user-name-format without-domain
#
//引用RADIUS方案test,必须要配置授权方案,否则按照本地处理
domain system
authentication default radius-scheme test
authorization default radius-scheme test
accounting optional
#
//连接到telnent主机客户端
interface Ethernet0/1
port link-mode route
ip address 10.0.0.1 255.255.255.0
#
//设置scheme认证
user-interface con 0
user-interface vty 0 4
authentication-mode scheme
#
|