CCNA必会知识点:PAP单双向认证
生活随笔
收集整理的這篇文章主要介紹了
CCNA必会知识点:PAP单双向认证
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
路由器PAP單向認(rèn)證怎么配置
?
實(shí)驗(yàn)?zāi)康?/p>
1.?理解PAP認(rèn)證的原理
2.?掌握PAP認(rèn)證的配置
實(shí)驗(yàn)拓?fù)?/p>
實(shí)驗(yàn)需求
1. 根據(jù)實(shí)驗(yàn)拓?fù)鋱D,完成設(shè)備的基本配置;
2.?在R1和R2之間做PAP單向認(rèn)證,R1是認(rèn)證方,R2是被認(rèn)證方。
實(shí)驗(yàn)步驟
步驟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認(rèn)證
配置R1:???????
R1(config)#interface serial 1/0R1(config-if)#encapsulation ppp //封裝PPPR1(config-if)#ppp authentication pap //啟用PAP認(rèn)證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認(rèn)證
檢查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?
總結(jié)
以上是生活随笔為你收集整理的CCNA必会知识点:PAP单双向认证的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 华为与思科网络产品详细比较
- 下一篇: 网工的常规操作:配置动态NAT