howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / PPP Authentication PAP

PPP Authentication PAP

Command

PPP Authentication PAP

Use

This command is used to authenticate a link using PAP.

Syntax

Router(config-if)#ppp authentication pap

Example

In this example, R1’s S1/1 interface is configured to authenticate R3 using PAP.

R1(config)#int s1/1
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
R1(config-if)#
*Mar 2 01:42:38.237: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
R1(config-if)#exit
R1(config)#username R3 password cisco

Here we can see that the link now requires authentication.

R3(config)#int s1/1
R3(config-if)#do debug ppp authe
PPP authentication debugging is on
R3(config-if)#shut
R3(config-if)#
*Mar 2 02:40:26.045: %LINK-5-CHANGED: Interface Serial1/1, changed state to administratively down
*Mar 2 02:40:27.045: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
R3(config-if)#no shut
R3(config-if)#
*Mar 2 02:40:31.001: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up
R3(config-if)#
*Mar 2 02:40:31.009: Se1/1 PPP: Using default call direction
*Mar 2 02:40:31.013: Se1/1 PPP: Treating connection as a dedicated line
*Mar 2 02:40:31.013: Se1/1 PPP: Session handle[C000001C] Session id[29]
*Mar 2 02:40:31.017: Se1/1 PPP: Authorization required
*Mar 2 02:40:31.237: Se1/1 PPP: Authorization required
R3(config-if)#
*Mar 2 02:40:33.117: Se1/1 PPP: Authorization required
R3(config-if)#
*Mar 2 02:40:35.153: Se1/1 PPP: Authorization required
*Mar 2 02:40:37.153: Se1/1 PPP: Authorization required
*Mar 2 02:40:39.173: Se1/1 PPP: Authorization required
R3(config-if)#do un all
All possible debugging has been turned off

After we provide the configured username and password the link comes up.

R3(config)#int s1/1
R3(config-if)#ppp pap sent-username R3 password cisco
R3(config-if)#
*Mar 2 02:40:54.165: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in