封装带pap认证的PPP协议

时间:2026-02-14 08:18:20

1、打开思科模拟器软件,找出3台2811类的路由器,并且用串口线将它们连接起来,如下图所示:

封装带pap认证的PPP协议

封装带pap认证的PPP协议

2、命名各台路由器,分别为a,b,c,如下图所示:

封装带pap认证的PPP协议

封装带pap认证的PPP协议

封装带pap认证的PPP协议

3、 配置路由器a带pap认证的PPP协议,配置命令是:

 a(config-if)#encapsulation ppp

a(config-if)#ppp authentication pap

a(config-if)#ppp pap sent-username a pa

a(config-if)#ppp pap sent-username a password 123

a(config-if)#no shut

a(config-if)#int s0/0/1

a(config-if)#encapsulation ppp

a(config-if)#ppp authentication pap 

a(config-if)#ppp pap sent-username a password 123

a(config-if)#no shut

a(config-if)#exit

a(config)#username b password 123

a(config)#username c password 123

如下图所示:

封装带pap认证的PPP协议

4、配置路由器b带pap认证的PPP协议,配置命令是:

b#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

b(config)#int s0/0/0

b(config-if)#encapsulation ppp

b(config-if)#ppp authentication pap

b(config-if)#ppp pap sent-username b password 123

b(config-if)#exit

b(config)#username a password 123

如下图所示:

封装带pap认证的PPP协议

5、 配置路由器c带pap认证的PPP协议,配置命令是:

c#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

c(config)#int s0/0/0

c(config-if)#encapsulation ppp

c(config-if)#ppp authentication pap

c(config-if)#ppp pap sent-username c password 123

c(config-if)#no shut

c(config-if)#exit

c(config)#username a password 123

如下图所示:

封装带pap认证的PPP协议

© 2026 五度知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com