五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

國慶學(xué)不停,PPP認(rèn)證實(shí)驗(yàn)?zāi)懔私饬藳]

2020-10-09 15:21 作者:太閣網(wǎng)絡(luò)  | 我要投稿

本次實(shí)驗(yàn)拓?fù)淙缦?,用的是思科的EVEng:



配置如下:

R1(config)#int s1/0?

R1(config-if)#encapsulation ppp?

R1(config-if)#ip add 12.1.1.1 255.255.255.0?

R1(config-if)#no shutdown?

R2(config)#int s1/1?

R2(config-if)#en?

R2(config-if)#encapsulation ppp?

R2(config-if)#ip add 12.1.1.2 255.255.255.0?

R2(config-if)#no shutdown?


到這里我們驗(yàn)證一下配置結(jié)果:show interfaces s1/0



(1)當(dāng)前是使用的 PPP 協(xié)議,LCP 狀態(tài)已經(jīng) open, 使用的 I*** CD***,在單向認(rèn)證,R1 為主認(rèn)證方,R2 為被認(rèn)證方。


R1(config)#username admin password cisco //設(shè)置本地認(rèn)證數(shù)據(jù)庫的用戶名和密碼?

R1(config)#int s1/0?

R1(config-if)#ppp authentication pap //在接口聲明啟用 PAP 認(rèn)證?

R1(config-if)#?

*Aug 26 06:59:22.228: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0,?

changed state to down?

R1(config-if)#shutdown?

R1(config-if)#no shutdown?


接口 shutdown 再no shutdown 也不能 UPUP 現(xiàn)在接口是 down 的 因?yàn)閰f(xié)商還不夠,因?yàn)?R2 沒有出示用戶名密碼 認(rèn)證需要完成,數(shù)據(jù)鏈路層才能起來。?那我們來看一下接口狀態(tài):show ip int brief



被認(rèn)證方需要在接口出示 PAP 用戶名密碼。?


R2(config)#int s1/1?

R2(config-if)#ppp pap sent-username admin password cisco?


R1 是和我本地配置的匹配,成功即可通過,接口才能 UP UP。這時我們再來查看一下R1和R2的互聯(lián)接口的狀態(tài)。




然后我們再通過互ping來測試一下接口的連通性:


ping通了!!


(2)雙向認(rèn)證,R2 也作為主認(rèn)證方, R1 為被認(rèn)證方。?


R2(config)#username ABC password 123?

R2(config)#int s1/1?

R2(config-if)#ppp authentication pap?



使用 CHAP?

R1(config)#int s1/0?

R1(config-if)#encapsulation ppp?

R1(config-if)#ppp authentication chap?

R1(config-if)#ip add 12.1.1.1 255.255.255.0?

R1(config-if)#no shutdown?

R1(config-if)#ex?

R1(config)#username R2 password cisco?

*Aug 26 07:29:34.622: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0,?

changed state to up?

R2(config)#int s1/1?

R2(config-if)#encapsulation ppp?

R2(config-if)#ip add 12.1.1.2 255.255.255.0?

R2(config-if)#no shutdown?

R1(config-if)#ex?

R2(config)#username R1 password cisco?



在讓 R2 做主認(rèn)證方?




因?yàn)槠ヅ涞氖?username R1 password cisco,R1 接口沒有配置任何參數(shù),默認(rèn)發(fā)送的是 R1,?


可以匹配到,所以能夠 ping 通。我們在接口配置用戶名密碼:




發(fā)現(xiàn)鏈路會 down,?



但是在出示密碼前,鏈路就 UPUP,使用的密碼還是全局配置的密碼,全局高于接口。?

?

太閣的祝福會遲到但不會缺席!太閣網(wǎng)絡(luò)學(xué)院祝大家雙節(jié)快樂!


國慶學(xué)不停,PPP認(rèn)證實(shí)驗(yàn)?zāi)懔私饬藳]的評論 (共 條)

分享到微博請遵守國家法律
繁昌县| 东至县| 县级市| 义乌市| 新和县| 乌兰县| 清镇市| 宾阳县| 宜黄县| 阿坝县| 随州市| 鹤岗市| 丰城市| 吉木萨尔县| 玛沁县| 敦化市| 凤翔县| 志丹县| 平原县| 盐山县| 崇左市| 法库县| 尉犁县| 郴州市| 定兴县| 沙坪坝区| 桐庐县| 兰溪市| 广东省| 彩票| 滨州市| 鄯善县| 乐清市| 广平县| 保康县| 永靖县| 阿荣旗| 余干县| 富蕴县| 克什克腾旗| 阿拉尔市|