PPP Authentication CHAP Command on CISCO Router/Switch

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.

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
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

Related Articles

Leave a Reply

avatar