PPP authentication – PAP and CHAP

setup to do PAP on one interface and CHAP on another interface:

R1(config)#do sh run int s0/0
Building configuration…

Current configuration : 154 bytes
!
interface Serial0/0
ip address 12.12.12.1 255.255.255.0
encapsulation ppp
clock rate 2000000
ppp authentication pap
ppp chap password 0 cisco
end

R1(config)#do sh run | i username
username R2 password 0 cisco

R2(config-if)#do sh run int s0/0
Building configuration…

Current configuration : 171 bytes
!
interface Serial0/0
ip address 12.12.12.2 255.255.255.0
encapsulation ppp
clock rate 2000000
ppp authentication chap
ppp pap sent-username R2 password 0 cisco
end

R2(config-if)#do sh run | i username
username R1 password 0 cisco
ppp pap sent-username R2 password 0 cisco

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s