ADTRAN 1000R Series User Manual

Page 1096

Advertising
background image

Command Reference Guide

PPP Interface Configuration Command Set

61200510L1-35E

Copyright © 2005 ADTRAN

1096

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)#ppp chap 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 uses its hostname and ppp chap password commands to send the
proper authentication information.

Configuring CHAP Example 2: Using the ppp chap hostname command as an alternate solution.

On the local router (hostname Local):

Local(config-ppp 1)#ppp authentication chap

Local(config-ppp 1)#username farend password same

On the peer (hostname Peer):

Peer(config-ppp 1)#ppp chap hostname farend

Peer(config-ppp 1)#ppp chap password same

Notice the local router is expecting username "farend" even though the peer router's hostname is "Peer."
Therefore the peer router can use the ppp chap hostname command to send the correct name in the
challenge.

The PPP username and password database is separate and distinct from the global
username password database. For PAP and CHAP, use the database under the PPP
interface configuration.

Both ends must have identical passwords.

Both ends must have identical passwords.

Advertising