rcna实验17 PPP CHAP 认证.doc
文本预览下载声明
实验17 PPP CHAP 认证
一、【实验目的】
掌握PPP CHAP 认证的过程和配置
二、【实验拓扑】
三、【实验步骤】
步骤1 路由器的基本配置
RouterA(config)#int s2/0
RouterA(config-if)#clock rate 64000
RouterA(config-if)#ip address
RouterA(config-if)#encapsulation ppp
RouterB(config)#int s2/0
RouterB(config-if)#ip address
RouterB(config-if)#encapsulation ppp
步骤2 配置CHAP认证
RouterA(config)#username RouterB password 0 123
RouterB(config)#username RouterA password 0 123
RouterB(config)#int s2/0
RouterB(config-if)#ppp authentication chap
步骤3 验证CHAP认证
RouterB#show interfaces serial 2/0
Serial2/0 is administratively down, line protocol is down (disabled)
Hardware is HD64570
Internet address is /24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Closed
Closed: LEXCP, BRIDGECP, IPCP, CCP, CDPCP, LLC2, BACP
Last input never, output never, output hang never
Last clearing of show interface counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 96 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=down DSR=down DTR=down RTS=down CTS=down
RouterB#debug ppp authentication
PPP authentication debugging is on
RouterB#config t
Enter configuration commands, one per line. End with CNTL/Z.
RouterB(config)#int s2/0
RouterB(config-if)#shutdown
%
显示全部