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

一、拓扑

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

 

二、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

<R1>debugging ppp pap all

<R1>terminal debugging

 

<R1>terminal monitor

Info: Current terminal monitor is on.

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

 

四、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

<R1>debugging ppp chap all

<R1>terminal debugging

 

<R1>terminal monitor

Info: Current terminal monitor is on.

 

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

 

 

 

五、链路捆绑

广域网协议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 进行资料下载

 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

wozuimang

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值