You are on page 1of 2

ena

conf t
int s 1/0
encap ppp

---------------------
chap
usern
username R2 pas
username R2 password cisco
int s1/0
ppp au
ppp authentication ch
ppp authentication chap

--------------------------------------
username R2 password cisco

int s0/0

encapsulation ppp
ppp au
ppp authentication pap
ppp pap sent-u
ppp pap sent-username R3 pas
ppp pap sent-username R3 password cisco

------------------------------------
system-view
sysname R1
int s0/0/0
ip add 10.0.12.1 24

rip 2
network 10.0.0.0
quit

system-view
sysname R2
int s0/0/0
ip add 10.0.12.2 24

int s0/0/1
ip add 10.0.23.2 24

rip 2
network 10.0.0.0
quit

system-view
sysname R3
int s0/0/1
ip add 10.0.23.3 24

rip 2
network 10.0.0.0
quit

-----------------
hdlc
router 1
int s0/0/0
link-protocol hdlc
y
quit

router 2
int s0/0/0
link-protocol hdlc
y
quit
int s0/0/1
link-protocol hdlc
y
quit
router 3
int s0/0/1
link-protocol hdlc
y
quit
------------------------------
ppp

router 1
int s0/0/0
link-protocol ppp
y
quit

router 2
int s0/0/0
link-protocol ppp
y
quit
int s0/0/1
link-protocol ppp
y
quit

router 3
int s0/0/1
link-protocol ppp
y
quit
---------------------------------------------
pap solo router 1 y 2

int s0/0/0
ppp authentication

You might also like