封装带pap认证的PPP协议

2025-11-19 12:44:29

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协议

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢