cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2104
Views
0
Helpful
4
Replies

PAP

gowdakssujan
Level 1
Level 1

pap.PNG

 

r1#sh run | in user

username r2 password 0 a

r1#

r1#sh run | in ppp

encapsulation ppp

ppp authentication pap

 

 

r2#sh run | in user

username r1 password 0 a

r2#sh run | in ppp

encapsulation ppp

ppp authentication pap

 

IP configs are right

PAP is not working...

Please help

 

 

 

1 Accepted Solution

Accepted Solutions

Hi @gowdakssujan ,

 

The sent parameters must be those of the host device:

 

r1(config)#username r2 password cisco

r1(config)#int s0/3/0

r1(config-if)#en ppp

r1(config-if)#ppp au pap

r1(config-if)#ppp pap sent-username r1 pass cisco

 

r2(config)#username r1 password cisco

r2(config)#int s0/3/0

r2(config-if)#en ppp

r2(config-if)#ppp au pap

r2(config-if)#ppp pap sent-username r2 pass cisco

 

Regards

 

View solution in original post

4 Replies 4

luis_cordova
VIP Alumni
VIP Alumni

Hi @gowdakssujan,

 

Try this:

 

r1(config-if)#ppp pap sent-username r1 password 0 a

 

r2(config-if)#ppp pap sent-username r2 password 0 a

 

When configuring pap, you must send the logging parameters to the neighboring router.

 

Regards

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

I think you are missing PAP/CHAP username/password sending commands from client to the server. Try with this configuration: 

 

Commands DCE side
Router>enable
Router#configuration terminal
Router(config)#hostname R0
R0(config)#username R1 password cisco
R0(config)#interface serial 0/0/1 <-- (depends on which serial your woking with)
R0(config-if)#ip address 10.x.x.x 255.0.0.0
R0(config-if)#no shutdown
R0(config-if)#encapsulation ppp
R0(config-if)#ppp authentication pap
R0(config-if)#ppp pap sent-username R0 password cisco
R0(config-if)#clock rate 56000

 

 

Commands DTE side
Router>enable
Router#configuration terminal
Router(config)#hostname R1
R1(config)#username R0 password cisco
R1(config)#interface serial 0/0/1 <-- (depends on which serial your woking with)
R1(config-if)#ip address 10.x.x.x 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
R1(config-if)#ppp pap sent-username R1 password cisco

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

r2(config)#username r1 password cisco

r2(config)#int s0/3/0

r2(config-if)#en ppp

r2(config-if)#ppp au pap

r2(config-if)#ppp pap sent-username r1 pass cisco

PPP: Warning: You have chosen a username/password combination that

is valid for CHAP. This is a potential security hole.

But am getting this above error.

 

r2#sh int s0/3/0

Serial0/3/0 is up, line protocol is down (disabled)

Hardware is HD64570

Internet address is 10.0.0.2/8

MTU 1500 bytes, BW 1544 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

Hi @gowdakssujan ,

 

The sent parameters must be those of the host device:

 

r1(config)#username r2 password cisco

r1(config)#int s0/3/0

r1(config-if)#en ppp

r1(config-if)#ppp au pap

r1(config-if)#ppp pap sent-username r1 pass cisco

 

r2(config)#username r1 password cisco

r2(config)#int s0/3/0

r2(config-if)#en ppp

r2(config-if)#ppp au pap

r2(config-if)#ppp pap sent-username r2 pass cisco

 

Regards

 

Review Cisco Networking for a $25 gift card