[CCNA]PPP CHAP 인증방식
R11#conf t
R11(config)#hostname R11
R11(config)#enable secret cisco
R11(config)#line console 0
R11(config-line)#logging synchronous
R11(config-line)#no login
R11(config-line)#line vty 0 4
R11(config-line)#no login
R11(config-line)#exit
R11(config)#username R12 password cisco
R11(config)#int lo 0
R11(config-if)#ip add 192.168.1.1 255.255.255.0
R11(config-if)#no shut
R11(config-if)#int s1
R11(config-if)#ip add 192.168.2.1 255.255.255.0
R11(config-if)#encapsulation ppp
R11(config-if)#ppp authentication chap
R11(config-if)#bandwidth 2048
R11(config-if)#clock rate 2000000
R11(config-if)#no shut
R11(config-if)#exit
R11(config)#router rip
R11(config-router)#version 2
R11(config-router)#network 192.168.1.0
R11(config-router)#network 192.168.2.0
R11(config-router)#passiver-interface lo 0
R11(config-router)#no auto-summary
R11(config-router)#end
R11#debug ppp authentication -----> debug 동작상태 확인
R11(config)#int s1
R11(config-if)#shut
R11(config-if)#no shut -----> 인증단계 확인
R11#copy run star
========================================================
R12#conf t
R12(config)#hostname R12
R12(config)#enable secret cisco
R12(config)#line console 0
R12(config-line)#logging synchronous
R12(config-line)#no login
R12(config-line)#line vty 0 4
R12(config-line)#no login
R12(config-line)#exit
R12(config)#username R11 password cisco
R12(config)#int lo 0
R12(config-if)#ip add 192.168.3.1 255.255.255.0
R12(config-if)#no shut
R12(config-if)#int s1
R12(config-if)#ip add 192.168.2.2 255.255.255.0
R12(config-if)#encapsulation ppp
R12(config-if)#ppp authentication chap
R12(config-if)#bandwidth 2048
R12(config-if)#no shut
R12(config-if)#exit
R12(config)#router rip
R12(config-router)#version 2
R12(config-router)#network 192.168.2.0
R12(config-router)#network 192.168.3.0
R12(config-router)#passiver-interface lo 0
R12(config-router)#no auto-summary
R12(config-router)#end
R12#debug ppp authentication -----> debug 동작상태 확인
R12(config)#int s1
R12(config-if)#shut
R12(config-if)#no shut -----> 인증단계 확인
R12#copy run star
===================================================
R14(config)#user sms privilege 10 password cisco
R14(config)#line vty 0 4
R14(config-line)#login local
++> telnet 접속시 Privilege mode type을 10으로 접속하게 한다..default 15를 제외한 밑단의 번호는 구성을 할 수 없다.
====================================================