留言与评论(共有 0 条评论) |
发布时间:2020-03-21
CISCO路由器配置手册任务命令设置用户名和密码username username password password
设置用户的IP地址池ip local pool {default | pool-name low-ip-address [high-ip-address]}
指定地址池的工作方式ip address-pool [dhcp-proxy-client | local]
基本接口设置命令:任务命令设置封装形式为PPPencapsulation ppp
启动异步口的路由功能async default routing
设置异步口的PPP工作方式async mode {dedicated | interactive}
设置用户的IP地址peer default ip address {ip-address | dhcp | pool [pool-name]}
设置IP地址与Ethernet0相同ip unnumbered ethernet0line
拨号线设置:任务命令设置modem的工作方式modem {inout|dialin}
自动配置modem类型modem autoconfig discovery
设置拨号线的通讯速率speed speed
设置通讯线路的流控方式flowcontrol {none | software [lock] [in | out] | hardware [in | out]}连通后自动执行命令autocommand command
访问服务器设置如下:Router:hostname Routerenable secret 5 $1$EFqU$tYLJLrynNUKzE4bx6fmH//!interface Ethernet0ip address 10.111.4.20 255.255.255.0!interface Async1ip unnumbered Ethernet0encapsulation pppkeepalive 10async mode interactivepeer default ip address pool Cisco2511-Group-142!ip local pool Cisco2511-Group-142 10.111.4.21 10.111.4.36!line con 0exec-timeout 0 0password cisco!line 1 16modem InOutmodem autoconfigure discoveryflowcontrol hardware!line aux 0transport input allline vty 0 4password cisco!end 相关调试命令:show interfaceshow line1.2. Access Server通过Tacacs服务器实现安全认证:使用一台WINDOWS NT服务器作为Tacacs服务器,地址为10.111.4.2,运行Cisco2511随机带的Easy ACS 1.0软件实现用户认证功能.相关设置:任务命令激活AAA访问控制aaa new-model用户登录时默认起用Tacacs+做AAA认证aaa authentication login default tacacs+列表名为no_tacacs使用ENABLE口令做认证aaa authentication login no_tacacs enable
留言与评论(共有 0 条评论) |
全站搜索