PPP PAP认证
1.路由器的基本配置
router1(config ) int S2/0 router1(config-if ) ) IP address 172.16.2.1255.255.255.255.0 router1(config-if ) # )
router1(config ) intS2/0router1) config-if (ppppapsent-usernamerouterapassword 0123 router2) config ) usernamerouter2
R1
R2
PAP CHAP身份验证
2.配置PAP认证
router1(config ) int S2/0 router1(config-if ) ) IP address 172.16.2.1255.255.255.255.0 router1(config-if ) # )
router1(config ) # usernamerouterbpassword 0123 router2) config ) # usernamerouterapassword 0123 router2(config ) ) intS2/0
R1
R2