Command Reference Guide Demand Interface Configuration Command Set
61200510L1-35E Copyright © 2005 ADTRAN 834
Configuring CHAP Example 4: Using the ppp chap password command as an alternate solut ion.
On the local router (hostn ame Local):
Local(config-demand 1)#ppp authentication chap
Local(config-demand 1)#username Peer password different
On the peer (hostname Peer):
Peer(config-demand 1)#username Local password same
Peer(config-demand 1)#ppp chap password different
Here the local router challenges with hostname "Lo ca l." The peer verifies the name in the username
database, but instead of sending the password "same" in the response, it uses the one in the ppp chap
password command. The local router then verifies that user "Peer" with password "different" is valid and
sends a "success."