CCNA必会知识点:路由器PAP单向认证怎么配置?
生活随笔
收集整理的這篇文章主要介紹了
CCNA必会知识点:路由器PAP单向认证怎么配置?
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
?
微思講師手把手視頻教學:路由器PAP單向認證怎么配置?https://www.zhihu.com/zvideo/1467146404610744320?
實驗?zāi)康?/strong>
1.?理解PAP認證的原理
2.?掌握PAP認證的配置
實驗拓撲
實驗需求
1. 根據(jù)實驗拓撲圖,完成設(shè)備的基本配置;
2.?在R1和R2之間做PAP單向認證,R1是認證方,R2是被認證方。
實驗步驟
步驟1:設(shè)備的基本配置
配置R1:
Router>enableRouter#configure terminalRouter(config)#hostname R1R1(config)#no ip domain-lookupR1(config)#line console 0R1(config-line)#exec-timeout 0 0R1(config-line)#logging synchronousR1(config-line)#exitR1(config)#interface serial1/0R1(config-if)#ip address 12.1.1.1 255.255.255.0R1(config-if)#no shutdownR1(config-if)#endR1#配置R2:
Router>enableRouter#configure terminalRouter(config)#hostname R2R2(config)#no ip domain-lookupR2(config)#line console 0R2(config-line)#exec-timeout 0 0R2(config-line)#logging synchronousR2(config-line)#exitR2(config)#interface serial1/0R2(config-if)#ip address 12.1.1.2 255.255.255.0R2(config-if)#no shutdownR2(config-if)#endR2#步驟2:配置PAP認證
配置R1:
R1(config)#interface serial 1/0R1(config-if)#encapsulation ppp //封裝PPPR1(config-if)#ppp authentication pap //啟用PAP認證R1(config-if)#exitR1(config)#username xmws password wisdom //創(chuàng)建用戶名和密碼R1(config)#endR1#配置R2:R2(config)#interface serial 1/0R2(config-if)#encapsulation ppp //封裝PPPR2(config-if)#ppp pap sent-username xmws password wisdom //PAP發(fā)送的用戶名和密碼R2(config-if)#endR2#步驟3:檢查PAP認證
檢查R1:
R1#show ip interface briefInterface IP-Address OK? Method Status ProtocolEthernet0/0 unassigned YES unset administratively down down Ethernet0/1 unassigned YES unset administratively down down Ethernet0/2 unassigned YES unset administratively down down Ethernet0/3 unassigned YES unset administratively down down Serial1/0 12.1.1.1 YES manual up up Serial1/1 unassigned YES unset administratively down down Serial1/2 unassigned YES unset administratively down down Serial1/3 unassigned YES unset administratively down down檢查R2:
配置PAP雙向認證
實驗?zāi)康?/strong>
1.?理解PAP認證的原理
2.?掌握PAP認證的配置
實驗拓撲
實驗需求
1. 根據(jù)實驗拓撲圖,完成設(shè)備的基本配置;
2.?在R1和R2之間做PAP的雙向認證。
實驗步驟
步驟1:設(shè)備的基本配置
配置R1:
配置R2:
步驟2:配置PAP認證
配置R1:
步驟3:檢查PAP認證
檢查R1:
R1#show ip interface briefInterface IP-Address OK? Method Status ProtocolEthernet0/0 unassigned YES unset administratively down down Ethernet0/1 unassigned YES unset administratively down down Ethernet0/2 unassigned YES unset administratively down down Ethernet0/3 unassigned YES unset administratively down down Serial1/0 12.1.1.1 YES manual up up Serial1/1 unassigned YES unset administratively down down Serial1/2 unassigned YES unset administratively down down Serial1/3 unassigned YES unset administratively down down檢查R2:???????
R2#show ip interface briefInterface IP-Address OK? Method Status ProtocolEthernet0/0 unassigned YES unset administratively down down Ethernet0/1 unassigned YES unset administratively down down Ethernet0/2 unassigned YES unset administratively down down Ethernet0/3 unassigned YES unset administratively down down Serial1/0 12.1.1.2 YES manual up up Serial1/1 unassigned YES unset administratively down down Serial1/2 unassigned YES unset administratively down down Serial1/3 unassigned YES unset administratively down down?
《新程序員》:云原生和全面數(shù)字化實踐50位技術(shù)專家共同創(chuàng)作,文字、視頻、音頻交互閱讀總結(jié)
以上是生活随笔為你收集整理的CCNA必会知识点:路由器PAP单向认证怎么配置?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CCNP实验【静态出接口配置】
- 下一篇: 如何用RHEL System Role把