一谋作、拓?fù)?/p>
二、HDLC配置
HDLC相對(duì)比較簡(jiǎn)單
interface Serial1/0/0
link-protocol hdlc
ip address 12.1.12.1 255.255.255.0
[R2-Serial1/0/0]link-protocol hdlc
兩端配置HDLC協(xié)議實(shí)現(xiàn)一致性
HDLC的不足: 沒(méi)有認(rèn)證乎芳、無(wú)法多鏈路捆綁遵蚜、無(wú)法實(shí)現(xiàn)IP地址自動(dòng)獲取
以上不足PPP進(jìn)行彌補(bǔ)
三、PPP配置-PAP認(rèn)證
1奈惑、鏈路配置為PPP協(xié)議
interface Serial1/0/0
link-protocol ppp //配置為PPP鏈路
2吭净、配置PAP認(rèn)證
R2作為認(rèn)證端,R1作為被認(rèn)證端
R2 PAP關(guān)鍵配置:
1)肴甸、aaa 配置用戶名和密碼及類型PPP
local-user huayi password cipher %$%$F]ef/Q7j:9AZjWO,ZYIW)we)%$%$
local-user huayi service-type ppp
2)寂殉、接口配置PAP認(rèn)證
interface Serial1/0/0
ppp authentication-mode pap
3)、R1被認(rèn)證端配置
interface Serial1/0/0
ppp pap local-user huayi password cipher %$%$ihUp~nMyN~fmy8Sz5M!R,%qN%$%$
3雷滋、驗(yàn)證PAP
<R1>debugging ppp pap all
<R1>terminal debugging
<R1>terminal monitor
Info: Current terminal monitor is on.
四、PPP配置-CHAP認(rèn)證
1文兢、配置為CHAP模式
[R2-Serial1/0/0]ppp authentication-mode chap //修改為CHAP
interface Serial1/0/0
ppp chap user huayi
ppp chap password cipher %$%$%jra8rw0~"kg~&Ig7/iB,&Mn%$%$
2晤斩、驗(yàn)證CHAP
<R1>debugging ppp chap all
<R1>terminal debugging
<R1>terminal monitor
Info: Current terminal monitor is on.
五、鏈路捆綁
[R1]interface Mp-group 0/0/1
[R1-Serial1/0/0]ppp mp Mp-group 0/0/1
[R1-Serial1/0/1]ppp mp Mp-group 0/0/1
[R1]interface Mp-group 0/0/1
[R1-Mp-group0/0/1]ip address 12.1.12.1 24
查看驗(yàn)證:
[R1]display ppp mp interface Mp-group 0/0/1
Mp-group is Mp-group0/0/1
===========Sublinks status begin======
Serial1/0/0 physical UP,protocol UP
Serial1/0/1 physical UP,protocol UP
歡迎【零基礎(chǔ)學(xué)網(wǎng)絡(luò)】的小伙伴們:
關(guān)注分享該WX Gongzhonghao:華億網(wǎng)絡(luò)實(shí)驗(yàn)室? 或 huayinetwork? ?下載學(xué)習(xí)資料
持續(xù)分享干貨網(wǎng)絡(luò)技術(shù)姆坚,每天10份學(xué)習(xí)資料下載~