PPP Authentication CHAP Command on CISCO Router/Switch

Other Cisco Other Cisco Material Original source

Command

PPP Authentication CHAP

Use

This command enables CHAP authentication on the PPP link.

Syntax

Router(config-if)#ppp authentication chap

Example

In this example, we will configure R1’s S1/1 inteface to authenticate R3 using CHAP.

Copy

R1(config)#int s1/1

R1(config-if)#encapsulation ppp

R1(config-if)#ppp authentication chap

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

Copy

R3(config-if)#int s1/1

R3(config-if)#encapsulation ppp

R3(config-if)#ppp chap hostname R3

R3(config-if)#ppp chap password cisco

R3(config-if)#

*Mar 2 01:43:43.697: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
← All Other Cisco articles Home