Configuring the Data Link Layer Protocol for E1, T1, and Serial Interfaces
Example Networks
6-52
You would configure Local as follows:
1.
Access the PPP interface configuration mode context:
Local(config)# interface ppp 1
2.
Configure the router to authenticate Remote with PAP:
Local(config-ppp 1)# ppp authentication pap
3.
Set Remote's username and password:
Local(config-ppp 1)# username Remote password YYY
4.
Set the router's own PAP username and password:
Local(config-ppp 1)# ppp pap sent-username Local password XXX
Local
PPP database:
username Remote password YYY
Figure 6-13. Routers Authenticating Each Other
Remote would then be configured in the same way:
1.
Access the PPP interface configuration mode and configure the router to
authenticate Local with PAP:
Remote(config)# interface ppp 1
Remote(config-ppp 1)# ppp authentication pap
2.
Set Local's username and password:
Remote(config-ppp 1)# username Local password XXX
3.
Set the router's own PAP username and password:
Remote(config-ppp 1)# ppp pap sent-username Remote password YYY
Example 4: One Peer Requesting CHAP. Both routers do not have to
require authentication. For example, only Local could request Remote to
authenticate itself using CHAP. The commands would be as follows for Local:
Local(config)# interface ppp 1
Local(config-ppp 1)# ppp authentication chap
Local(config-ppp 1)# username Remote password YYY
YYY
Remote
XXX
PPP database:
username Local password XXX