广域网协议PPP和HDLC,及PPPOE配置

一、拓扑

广域网协议PPP和HDLC,及PPPOE配置_第1张图片

 

二、HDLC配置

HDLC相对比较简单

interface Serial1/0/0

link-protocol hdlc

ip address 12.1.12.1 255.255.255.0

[R2-Serial1/0/0]link-protocol hdlc

两端配置HDLC协议实现一致性

HDLC的不足: 没有认证、无法多链路捆绑、无法实现IP地址自动获取

以上不足PPP进行弥补

三、PPP配置-PAP认证

1、链路配置为PPP协议

interface Serial1/0/0

link-protocol ppp //配置为PPP链路

2、配置PAP认证

R2作为认证端,R1作为被认证端

R2 PAP关键配置:

1)、aaa 配置用户名和密码及类型PPP

local-user huayi password cipher %$%$F]ef/Q7j:9AZjWO,ZYIW)we)%$%$

local-user huayi service-type ppp

2)、接口配置PAP认证

interface Serial1/0/0

ppp authentication-mode pap

3)、R1被认证端配置

interface Serial1/0/0

 

ppp pap local-user huayi password cipher %$%$ihUp~nMyN~fmy8Sz5M!R,%qN%$%$

3、验证PAP

debugging ppp pap all

terminal debugging

 

terminal monitor

Info: Current terminal monitor is on.

广域网协议PPP和HDLC,及PPPOE配置_第2张图片

 

四、PPP配置-CHAP认证

1、配置为CHAP模式

[R2-Serial1/0/0]ppp authentication-mode chap //修改为CHAP

interface Serial1/0/0

 

ppp chap user huayi

ppp chap password cipher %$%$%jra8rw0~"kg~&Ig7/iB,&Mn%$%$

2、验证CHAP

debugging ppp chap all

terminal debugging

 

terminal monitor

Info: Current terminal monitor is on.

 

广域网协议PPP和HDLC,及PPPOE配置_第3张图片

 

 

 

五、链路捆绑

广域网协议PPP和HDLC,及PPPOE配置

 

[R1]interface Mp-group 0/0/1

[R1-Serial1/0/0]ppp mp Mp-group 0/0/1

[R1-Serial1/0/1]ppp mp Mp-group 0/0/1

[R1]interface Mp-group 0/0/1

[R1-Mp-group0/0/1]ip address 12.1.12.1 24

查看验证:

[R1]display ppp mp interface Mp-group 0/0/1

Mp-group is Mp-group0/0/1

===========Sublinks status begin======

Serial1/0/0 physical UP,protocol UP

Serial1/0/1 physical UP,protocol UP

 

每天关注的前10名小伙伴关注分享该WX Gongzhonghao: 

 华亿网络实验室 或   huayinetwork 进行资料下载

 

你可能感兴趣的:(广域网协议PPP和HDLC,及PPPOE配置)