日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

CCNA必会知识点:路由器PAP单向认证怎么配置?

發(fā)布時間:2025/3/20 57 豆豆
生活随笔 收集整理的這篇文章主要介紹了 CCNA必会知识点:路由器PAP单向认证怎么配置? 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

?

微思講師手把手視頻教學(xué):路由器PAP單向認(rèn)證怎么配置?https://www.zhihu.com/zvideo/1467146404610744320

?

實(shí)驗?zāi)康?/strong>

1.?理解PAP認(rèn)證的原理

2.?掌握PAP認(rèn)證的配置

實(shí)驗拓?fù)?/strong>

實(shí)驗需求

1. 根據(jù)實(shí)驗拓?fù)鋱D,完成設(shè)備的基本配置;

2.?在R1和R2之間做PAP單向認(rèn)證,R1是認(rèn)證方,R2是被認(rèn)證方。

實(shí)驗步驟

步驟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

配置PAP雙向認(rèn)證

實(shí)驗?zāi)康?/strong>

1.?理解PAP認(rèn)證的原理

2.?掌握PAP認(rèn)證的配置

實(shí)驗拓?fù)?/p>

實(shí)驗需求

1. 根據(jù)實(shí)驗拓?fù)鋱D,完成設(shè)備的基本配置;

2.?在R1和R2之間做PAP的雙向認(rèn)證。

實(shí)驗步驟

步驟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)#ppp pap sent-username R1 password xmws //PAP發(fā)送的用戶名和密碼R1(config-if)#exitR1(config)#username R2 password xmws //創(chuàng)建用戶名和密碼R1(config)#endR1#配置R2:R2(config)#interface serial 1/0R2(config-if)#encapsulation ppp //封裝PPPR2(config-if)#ppp authentication pap //啟用PAP認(rèn)證R2(config-if)#ppp pap sent-username R2 password xmws //PAP發(fā)送的用戶名和密碼R2(config-if)#exitR2(config)#username R1 password xmws //創(chuàng)建用戶名和密碼R2(config)#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

?

《新程序員》:云原生和全面數(shù)字化實(shí)踐50位技術(shù)專家共同創(chuàng)作,文字、視頻、音頻交互閱讀

總結(jié)

以上是生活随笔為你收集整理的CCNA必会知识点:路由器PAP单向认证怎么配置?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。