sher 发表于 2018-7-11 06:15:50

CISCO路由器CHAP认证配置

拓扑: RA DTE--------DCE RB  --------------------------------------
  RA#conf t
  RA(config)#username RB password hello
  RA(config)#int s0
  RA(config-if)#encap ppp
  RA(config-if)#ppp au chap
  RA(config-if)#end
  -------------------------------
  Router(config)#host RB
  RB(config)#username RA password hello
  RB(config)#int s0
  RB(config-if)#encap ppp
  RB(config-if)#ppp auth chap
  %LINK-3-UPDOWN: Interface Serial0, changed state to up
  %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
  ------------------------------------------------------
  RA#sh int s0
  Serial0 is up, line protocol is up            -------第一层二层UP
  Hardware is HD64570
  Internet address is 1.1.1.1/30

  MTU 1500 bytes, BW 1544 Kbit, DLY 1000 usec,>  Encapsulation PPP, loopback not set, keepalive set (10 sec)
  LCP Open                                    -----------打开
  Open: IPCP, CDPCP                           -----------打开
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of show interface counters never
  Queueing strategy: fifo
页: [1]
查看完整版本: CISCO路由器CHAP认证配置