본문 바로가기

Network

[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를 제외한 밑단의 번호는 구성을 할 수 없다.

====================================================

 

'Network' 카테고리의 다른 글

[ONT] Configuring WFQ  (0) 2010.05.23
[CCNP][ONT] Configuring NBAR  (0) 2009.09.24
[CCNA]L3 LAB 설정 하기  (0) 2009.09.24
[CCNA]Switch(1) LAB구성하기  (0) 2009.09.24
[CCNA]Frame-Relay  (0) 2009.09.24
[CCNA]Switch LAB configuration  (0) 2009.09.24
[CCNA] Access-list (tftp 제어하기)  (0) 2009.09.24
SIP Server install-Brekeke  (1) 2009.04.26
QOS 설정하기  (0) 2009.04.26
SNMP 실습하기  (0) 2009.04.26