自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

PPP協(xié)議配置和PAP認(rèn)證配置

網(wǎng)絡(luò) 網(wǎng)絡(luò)管理
文章中,我們側(cè)重講解了PPP協(xié)議的配置和PAP認(rèn)證配置的內(nèi)容,希望大家瀏覽過文章后,對此能夠有所了解。

通過對PPP協(xié)議的了解,我們也進入到了配置階段。那么我們知道,PPP協(xié)議:(point to point protocol)點隊點協(xié)議的前身是SLIP,PPP協(xié)議提供了一種在點對點鏈路上封狀多種網(wǎng)絡(luò)數(shù)據(jù)報文的標(biāo)準(zhǔn)方法?,F(xiàn)在我們重點講解一下PPP協(xié)議配置和PAP認(rèn)證配置的內(nèi)容。

PPP相對SLIP的協(xié)議的優(yōu)點:

1、支持同步、異步串行鏈路;

2、支持多種網(wǎng)絡(luò)協(xié)議;

3、支持各種連接參數(shù)的協(xié)商;

4、支持錯誤檢測;

5、支持用戶認(rèn)證;

6、允許進行數(shù)據(jù)的壓縮。

PPP協(xié)議的組成:

1、協(xié)議封裝方式

2、LCP

3、NCP

PPP運行過程:

1、鏈接不可用階段

2、鏈路建立階段

3、認(rèn)證階段

4、網(wǎng)絡(luò)層協(xié)議階段

5、鏈路終止階段

LCP協(xié)議協(xié)商:

MRU 最大數(shù)據(jù)單元/Magic Number魔術(shù)字/人證方式/鏈路壓縮

NCP協(xié)議協(xié)商:

IP地址;TCP/IP頭壓縮

認(rèn)證方式:

PAP/CHAP

PPP協(xié)議的配置:

封裝PPP:

  1. Router(config)#inter serial 2/0  
  2. Router(config-if)#encapsulation ppp 

DCE端設(shè)置時鐘頻率:

  1. Router(config-if)#clock rate 64000 

接口IP配置:

  1. Router(config-if)#ip address 192.168.10.1 255.255.255.0  
  2. Router(config-if)#no shutdown 

PAP認(rèn)證配置:

PAP認(rèn)證配置,主認(rèn)證端:

  1. Router(config-if)#exit  
  2. Router(config)#username derek password 0 123  
  3. Router(config)#inter s2/0  
  4. Router(config-if)#ppp authentication   
  5. %SYS-5-CONFIG_I: Configured from console by console 

PAP認(rèn)證配置,被認(rèn)證端:

  1. Router(config-if)#ppp pap sent-username derek password 0 123 

PAP認(rèn)證配置完成,測試:

  1. Router#ping 192.168.10.2  
  2. Router#debug ppp packet 

查看端口:

  1. Router#show interfaces s 2/0  
  2. Serial2/0 is up, line protocol is up (connected)  
  3. Hardware is HD64570  
  4. Internet address is 192.168.10.2/24  
  5. MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec, rely 255/255, load 1/255  
  6. Encapsulation PPP, loopback not set, keepalive set (10 sec)  
  7. LCP Open  
  8. Open: IPCP, CDPCP  
  9. Last input never, output never, output hang never  
  10. Last clearing of "show interface" counters never  
  11. Input queue: 0/75/0 (size/max/drops); Total output drops: 0  
  12. Queueing strategy: weighted fair  
  13. Output queue: 0/1000/64/0 (size/max total/threshold/drops) 

 

責(zé)任編輯:佟健 來源: hi.baidu.com
相關(guān)推薦

2009-06-29 09:41:10

CCNA認(rèn)證實驗

2011-04-13 12:18:38

PAP認(rèn)證PPP

2010-09-09 17:24:11

2011-09-15 14:21:38

2010-08-04 14:16:32

路由器配置

2010-09-03 10:09:45

CISCO PPP配置

2010-09-16 16:06:35

PPPoE配置

2010-09-03 09:19:13

PPP身份認(rèn)證

2010-09-06 10:47:00

PPP配置

2010-09-06 12:17:09

SLIPPPP協(xié)議

2010-09-28 13:53:52

2010-09-06 14:32:55

CISCO PPP配置

2010-09-03 10:16:07

PPPSLIP

2013-01-21 09:24:44

路由器PPP認(rèn)證網(wǎng)絡(luò)協(xié)議

2010-09-07 15:39:46

2010-09-06 10:56:54

2010-09-28 09:34:28

2010-09-03 09:13:53

2010-09-07 14:50:20

CISCO PPP配置

2010-09-03 09:28:55

PPPDDRMultilink
點贊
收藏

51CTO技術(shù)棧公眾號