CCNA必会知识点:PAP单双向认证
生活随笔
收集整理的這篇文章主要介紹了
CCNA必会知识点:PAP单双向认证
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
路由器PAP單向認證怎么配置
?
實驗目的
1.?理解PAP認證的原理
2.?掌握PAP認證的配置
實驗拓撲
實驗需求
1. 根據實驗拓撲圖,完成設備的基本配置;
2.?在R1和R2之間做PAP單向認證,R1是認證方,R2是被認證方。
實驗步驟
步驟1:設備的基本配置
配置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 //創建用戶名和密碼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發送的用戶名和密碼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:???????
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?
總結
以上是生活随笔為你收集整理的CCNA必会知识点:PAP单双向认证的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 华为与思科网络产品详细比较
- 下一篇: 网工的常规操作:配置动态NAT