Router(config)#int s0

cencapsulation ppp  //設定PPP封裝

Router(config-if)#^z

RouterA(config)#username RouterB password Cisco  //使用者名稱就是遠端路由器的名稱,且密碼相同

RouterB(config)#username RouterA password Cisco  //需注意大小寫

RouterA(config)#int s0

RouterA(config-if)#ppp authentication chap

RouterB(config)#int s0

RouterB(config-if)#ppp authentication chap

RouterA(config)#debug ppp negotiation  //開啟偵錯模式

RouterB(config)#debug ppp negotiation

RouterA#sh int s1/0
Serial1/0 is up, line protocol is up
  Hardware is M4T
  Description: Cisco RouterA                              //甲端
  Internet address is 192.168.141.97/30
  MTU 1500 bytes, BW 2048 Kbit/sec, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, LCP Open
  Open: IPCP, crc 16, loopback not set

RouterB#sh int s0/0/0
Serial0/0/0 is up, line protocol is up
  Hardware is GT96K Serial
  Description: Cisco RouterB                             //乙端
  Internet address is 192.168.141.98/30
  MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 2/255
  Encapsulation PPP, LCP Open
  Listen: CDPCP
  Open: IPCP, loopback not set

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 giboss 的頭像
    giboss

    小網管筆記

    giboss 發表在 痞客邦 留言(0) 人氣()