玩轉(zhuǎn)CISCO PPP配置
我們知道PPP,點(diǎn)對點(diǎn)協(xié)議內(nèi)容是我們常用到的。那么在很多設(shè)備中都有相關(guān)的設(shè)置。那么這里我們則針對CISCO PPP配置的內(nèi)容進(jìn)行一下細(xì)致地講解。那么大家來詳細(xì)看看其中所涉及的認(rèn)證配置吧。
CISCO PPP配置1:PPP的PAP認(rèn)證配置
R1:(主認(rèn)證方 同樣也是 被認(rèn)證方)
- 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
 
可選項(xiàng)
- peer default ip address 192.200.10.2 ---------協(xié)商IP
 - compress {predictor | stac}
 - ip tcp header-compress
 
R2:(主認(rèn)證方 同樣也是 被認(rèn)證方)
- 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
 
可選項(xiàng)
- ip address nego-----------------------------------與同另一端一同設(shè)置
 - compress {predictor | stac}
 - ip tcp header-compress
 
CISCO PPP配置2:PPP的CHAP認(rèn)證配置
方法一
R1:(主認(rèn)證方)
- 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:(被認(rèn)證方)
- 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:(主認(rèn)證方)
- 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:(被認(rèn)證方)
- 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















 
 
 
 
 
 
 