我们知道PPP,点对点协议内容是我们常用到的。那么在很多设备中都有相关的设置。那么这里我们则针对CISCO PPP配置的内容进行一下细致地讲解。那么大家来详细看看其中所涉及的认证配置吧。
CISCO PPP配置1:PPP的PAP认证配置
R1:(主认证方 同样也是 被认证方)
- hostname r1
- username r2 password yhp
- int s0/0
- ip add 192.200.10.1 255.255.255.0
- encapsulation ppp
- ppp authentication pap
- ppp pap sent-username r1 password yhp
- no shutdown
可选项
- peer default ip address 192.200.10.2 ---------协商IP
- compress {predictor | stac}
- ip tcp header-compress
R2:(主认证方 同样也是 被认证方)
- hostname r2
- username r1 password yhp
- int s0/0
- ip add 192.200.10.2 255.255.255.0
- encapsulation ppp
- ppp authentication pap
- ppp pap sent-username r2 password yhp
- no shutdown
可选项
- ip address nego-----------------------------------与同另一端一同设置
- compress {predictor | stac}
- ip tcp header-compress
CISCO PPP配置2:PPP的CHAP认证配置
方法一
R1:(主认证方)
- hostname r1
- username r2 pass yhp
- int s0/0
- ip add 192.200.10.1 255.255.255.0
- encapsulation ppp
- ppp authentication chap
- no shutdown
R2:(被认证方)
- hostname r2
- username r1 pass yhp
- int s0/0
- ip add 192.200.10.2 255.255.255.0
- encapsulation ppp
- ppp authentication chap
- no shutdown
方法二
R1:(主认证方)
- hostname r1
- username r2 pass cisco
- int s0/0
- ip add 192.200.10.1 255.255.255.0
- encapsulation ppp
- ppp authentication chap
- no shutdown
R2:(被认证方)
- hostname r2
- username r1 pass cisco
- int s0/0
- ip add 192.200.10.2 255.255.255.0
- encapsulation ppp
- ppp authentication chap
- ppp chap hostname yhp
- no shutdown
注:如需PPP压缩方法同[PPP的PAP配置],DCE,DTE须另外配
CISCO PPP配置原文地址:http://hi.baidu.com/yhpspace/blog/item/05aa83551784b7c7b645ae59.html
推荐阅读
对于PPPoE Server来说,我们通常可以在ROS上面进行配置和处理。那么彻底解决ARP就做PPPOE服务,下面拨号上网,解决收费问题只要网卡设置IP,拨号上网的IP不影响你设置的IP,ROS的PPPOE服务器设置如下1.Interface-->Add-->>>详细阅读
本文标题:玩转CISCO PPP配置
地址:http://www.17bianji.com/xieyi/3935.html
1/2 1