思科認證

當前位置 /首頁/IT認證/思科認證/列表

CISCO路由器CHAP認證配置

在配置PPP驗證時有PAP和CHAP的選擇,其中PAP為明文傳送使用者名稱和口令,不安全。而CHAP則採用雜湊值進行驗證,口令不會在網上傳送,所以安全性比較高。

CISCO路由器CHAP認證配置

CHAP認證也是CCNA課程PPP教學時所需掌握的基本配置,其配置如下:

拓撲: 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

MTU 1500 bytes, BW 1544 Kbit, DLY 1000 usec, rely 255/255, load 1/255

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

TAG標籤:CISCO 路由器 配置 CHAP #