多平台统一管理软件接口,如何实现多平台统一管理软件接口
432
2022-09-27
配置PPPOE(配置pppoe账号和密码)
先配置服务端PPPOE-Server先为路由添加一个账号为PPP所使用[PPPOE-Server]aaa [PPPOE-Server-aaa]local-user test password cipher 123 //添加一个本地账号[PPPOE-Server-aaa]local-user test service-type ppp//设置test账号类型为PPP账号[PPPOE-Server]ip pool test//添加一个地址池[PPPOE-Server-ip-pool-test]network 200.1.1.0 mask 24[PPPOE-Server-ip-pool-test]dns-list 8.8.8.8[PPPOE-Server]interface Virtual-Template 1//进入虚拟接口1[PPPOE-Server-Virtual-Template1]ppp authentication-mode chap//设置PPP认证模式为chap[PPPOE-Server-Virtual-Template1]ppp chap user test//设置chap认证用户名为test[PPPOE-Server-Virtual-Template1]ppp chap password cipher 123//设置chap认证密码为123[PPPOE-Server-Virtual-Template1]ip address 200.1.1.1 24//给这个虚拟接口添加个IP地址[PPPOE-Server-Virtual-Template1]remote address pool test//客户端地址从test地址池中拿PPPOE-Server-GigabitEthernet0/0/0]pppoe-server bind virtual-template1//在物理地址上绑定虚拟接口1
客户端的配置[PPPOE-Client]aaa[PPPOE-Client-aaa]local-user test password cipher 123[PPPOE-Client-aaa]local-user test service-type ppp[PPPOE-Client]dialer-rule //拨号的规则[PPPOE-Client-dialer-rule]dialer-rule 10 ip permit //拨号规则10运行IP[PPPOE-Client]interface Dialer 1 //创建拨号接口1[PPPOE-Client-Dialer1]ip address ppp-negotiate //地址从PPP协议协商获取[PPPOE-Client-Dialer1]ppp authentication-mode chap//设置PPP认证模式为chap[PPPOE-Client-Dialer1]ppp chap user test//设置chap认证用户名为test[PPPOE-Client-Dialer1]ppp chap password cipher 123//设置chap认证密码为123[PPPOE-Client-Dialer1]dialer user test//设置拨号的用户名test[PPPOE-Client-Dialer1]dialer-group 1//设置拨号的组为1[PPPOE-Client-Dialer1]dialer bundle 1//拨号关联1[PPPOE-Client]interface GigabitEthernet 0/0/0[PPPOE-Client-GigabitEthernet0/0/0]pppoe-client dial-bundle-number 1//设置PPPOE客户端物理接口与虚拟接口绑定1
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~