You are on page 1of 5

r3#how to enable chap with ppp

^
% Invalid input detected at '^' marker.
r3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r3(config)#user
r3(config)#username alaba pass
r3(config)#username alaba password cisco
r3(config)#the other router name is alaba so username is alaba
^
% Invalid input detected at '^' marker.
r3(config)#int
r3(config)#interface se
r3(config)#interface serial 1/3
r3(config-if)#pp
r3(config-if)#ppp au
r3(config-if)#ppp authe
r3(config-if)#ppp authentication ch
r3(config-if)#ppp authentication chap
r3(config-if)#
*Mar 4 01:19:03.681: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3,
changed state to down
r3(config-if)#ppp authentication chap
r3(config-if)#ppp authentication chap p
r3(config-if)#ppp authentication pa
r3(config-if)#ppp authentication pap c
r3(config-if)#ppp authentication pap ch
r3(config-if)#ppp authentication pap
r3(config-if)#
r3(config-if)#
r3(config-if)#exi
r3(config-if)#exit
r3(config)#exi
r3(config)#exit
r3#
*Mar 4 01:25:00.947: %SYS-5-CONFIG_I: Configured from console by console
r3#
r3#sh ip int bri
r3#sh ip int brief
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0/0 192.168.30.1 YES NVRAM up down
FastEthernet0/1 unassigned YES NVRAM administratively down down
Serial1/0 202.168.1.18 YES NVRAM up up
Serial1/1 unassigned YES NVRAM administratively down down
Serial1/2 unassigned YES NVRAM administratively down down
Serial1/3 192.168.1.1 YES manual up down
r3#sh int ser
r3#sh int serial 1/3
Serial1/3 is up, line protocol is down
Hardware is CD2430 in sync mode
Internet address is 192.168.1.1/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Listen, loopback not set
Keepalive set (10 sec)
Last input 00:00:03, output 00:00:03, output hang 00:13:08
Last clearing of "show interface" counters 00:11:30
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/32 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 96 kilobits/sec
5 minute input rate 0 bits/sec, 1 packets/sec
5 minute output rate 0 bits/sec, 1 packets/sec
404 packets input, 8502 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
507 packets output, 10477 bytes, 0 underruns
0 output errors, 0 collisions, 122 interface resets
0 output buffer failures, 0 output buffers swapped out
r3#
r2>
r2>
r2>
r2>en
r2#
r2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r2(config)#
r2(config)#host
r2(config)#hostname alaba
alaba(config)#user
alaba(config)#username r3 pass
alaba(config)#username r3 password cisco
alaba(config)#co
*Sep 4 07:45:52.319: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1,
changed state to upnf t
^
% Invalid input detected at '^' marker.
alaba(config)#int
alaba(config)#interface ser
alaba(config)#interface serial 1/1
alaba(config-if)#ppp
alaba(config-if)#ppp au
alaba(config-if)#ppp authe
alaba(config-if)#ppp authentication cha
alaba(config-if)#ppp authentication chap
alaba(config-if)#^Z
alaba#
alaba#
alaba#en
*Sep 4 07:46:26.295: %SYS-5-CONFIG_I: Configured from console by console
alaba#enable
alaba#enable
alaba#sh ip int bri
alaba#sh ip int brief
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
FastEthernet0/1 unassigned YES NVRAM administratively down down
Serial1/0 unassigned YES NVRAM administratively down down
Serial1/1 192.168.1.2 YES manual up up
Serial1/2 202.168.1.10 YES NVRAM down down
Serial1/3 202.168.1.17 YES NVRAM up up
Loopback0 192.168.20.1 YES NVRAM up up
alaba#sh int
alaba#sh interfaces ser
alaba#sh interfaces serial 1/1
Serial1/1 is up, line protocol is up
Hardware is CD2430 in sync mode
Internet address is 192.168.1.2/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Open
Open: CDPCP, IPCP, loopback not set
Keepalive set (10 sec)
Last input 00:00:03, output 00:00:03, output hang never
Last clearing of "show interface" counters 00:14:23
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/32 (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
639 packets input, 13901 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
580 packets output, 12213 bytes, 0 underruns
0 output errors, 0 collisions, 153 interface resets
alaba#conf t
Enter configuration commands, one per line. End with CNTL/Z.
alaba(config)#

you need to configure username and password as in chap same then follow below co
mmands

alaba(config)#how to configure pap with ppp


^
% Invalid input detected at '^' marker.
alaba(config)#int ser
alaba(config)#int serial 1/1
alaba(config-if)#no ppp
alaba(config-if)#no ppp auth
alaba(config-if)#no ppp authe
alaba(config-if)#no ppp authentication c
alaba(config-if)#no ppp authentication ch
alaba(config-if)#no ppp authentication ch
alaba(config-if)#no ppp authentication chap
alaba(config-if)#ppp
alaba(config-if)#ppp aut
alaba(config-if)#ppp authe
alaba(config-if)#ppp authentication pap
alaba(config-if)#ppp
alaba(config-if)#ppp se
alaba(config-if)#ppp p
alaba(config-if)#ppp pa
alaba(config-if)#ppp pap se
alaba(config-if)#ppp pap sent-username alaba pass
alaba(config-if)#ppp pap sent-username alaba password cisco
alaba(config-if)#exi
alaba(config-if)#exit
alaba(config)#^Z
alaba#
alaba#
alaba#
*Sep 4 07:55:44.067: %SYS-5-CONFIG_I: Configured from console by console
alaba#
alaba#
r3>
r3>
r3>en
r3#
r3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r3(config)#
r3(config)#int
r3(config)#interface ser
r3(config)#interface serial 1/3
r3(config-if)#no pp
r3(config-if)#no ppp auth
r3(config-if)#no ppp authe
r3(config-if)#no ppp authentication ch
r3(config-if)#no ppp authentication chao
r3(config-if)#no ppp authentication cha
r3(config-if)#ppp
r3(config-if)#ppp pa
r3(config-if)#ppp pap sen
r3(config-if)#ppp pap sent-username r3 pass
r3(config-if)#ppp pap sent-username r3 password cisco
r3(config-if)#ppp
r3(config-if)#ppp authe
r3(config-if)#ppp authentication pa
r3(config-if)#ppp authentication pap
r3(config-if)#^Z
r3#
r3#
r3#conf t
*Mar 4 01:37:34.209: %SYS-5-CONFIG_I: Configured from console by cen
r3#sh ip int bri
r3#sh ip int brief
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0/0 192.168.30.1 YES NVRAM up down
FastEthernet0/1 unassigned YES NVRAM administratively down down
Serial1/0 202.168.1.18 YES NVRAM up up
Serial1/1 unassigned YES NVRAM administratively down down
Serial1/2 unassigned YES NVRAM administratively down down
Serial1/3 192.168.1.1 YES manual up up
r3#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/16 ms
r3#

You might also like