Authentification PAP


PAP (Password Authentication Protocol): Il va envoyer le nom d'utilisateur et mot de passe en clair sur la liaison PPP et le routeur de l'autre côté va le vérifier.


 Règle : 

Router(config)# hostname nom-premier-Routeur
Router(config)# username nom-deuxième-Routeur password mot-de-passe
Router(config)# interface type numéro
Router(config-if)# encapsulation ppp
Router(config-if)# ppp authentication pap
Router(config-if)# ppp pap sent-username nom-premier-Routeur password mot-de-passe
Router(config-if)# exit

+pour utilise authentification pap chap
Router(config-if)# ppp authentication pap chap
ou
Router(config-if)# ppp authentication chap pap
 Exemple : 


 sur R1
Router(config)# hostname R1
R1(config)# username R2 password 123456
R1(config)# interface Se 1/0
R1(config-if)# encapsulation ppp
R1(config-if)# ppp authentication pap
R1(config-if)# ppp pap sent-username R1 password 123456
R1(config-if)# exit

sur R2
Router(config)# hostname R2
R2(config)# username R1 password 123456
R2(config)# interface Se 1/0
R2(config-if)# encapsulation ppp
R2(config-if)# ppp authentication pap
R2(config-if)# ppp pap sent-username R2 password 123456
R2(config-if)# exit

Partager sur: Share Share Share Share