
Command Reference Guide PPP Interface Configuration Command Set
61950860L1-35D © 2003 ADTRAN, Inc. 487
Several example scenarios are given below for clarity.
Configuring CHAP Example 1: Only the local router requires the peer to authenticate itself.
On the local router (hostname Local):
Local(config-ppp 1)#
ppp authentication chap
Local(config-ppp 1)#
username Peer password same
On the peer (hostname Peer):
Peer(config-ppp 1)#
username Local password same
The first line of this configuration sets the authentication mode to CHAP. This means the peer is required to
authenticate itself to the local router via CHAP. The second line is the username and password expected to be
sent from the peer. The peer must also have the
username
command set up both to verify the incoming
username from the local router and to use the password (along with its hostname) in the response to the local
router.
Both ends must have identical passwords.
Configuring CHAP Example 2: Both routers require the peer to authenticate itself.
On the local router (hostname Local):
Local(config-ppp 1)#
ppp authentication chap
Local(config-ppp 1)#
username Peer password same
On the peer (hostname Peer):
Peer(config-ppp 1)#
ppp authentication chap
Peer(config-ppp 1)#
username Local password same
This is basically identical to Example 1 except that both routers will now challenge each other and respond.
Technology Review (Continued)
Commentaires sur ces manuels