数据链路层协议ppp

文章详细描述了网络设备中的接口配置,涉及PPP连接的建立与状态变化,包括接口IP地址设置、链路状态更新、PPP协议的配置(如CHAP认证),以及AAA用户管理和密码设置。同时提及了因IP地址冲突导致的PPP协商失败问题。
摘要由CSDN通过智能技术生成

目录

​编辑

要求一,要求二

捆绑

要求三

要求四

1.r2为主

2.r3为主

笔记


要求一,要求二

[r1]int ser    
[r1]int Serial 3/0/0
[r1-Serial3/0/0]ip add 192.168.1.1 24
[r1-Serial3/0/0]q
[r1]
Mar 24 2024 14:43:56-08:00 r1 %%01IFNET/4/LINK_STATE(l)[5]:The line protocol PPP
 IPCP on the interface Serial3/0/0 has entered the UP state. 
[r1]

[r2]int ser    
[r2]int Serial 3/0/0
[r2-Serial3/0/0]ip add 192.168.1.2 24
[r2-Serial3/0/0]
Mar 24 2024 14:43:57-08:00 r2 %%01IFNET/4/LINK_STATE(l)[13]:The line protocol PP
P IPCP on the interface Serial3/0/0 has entered the UP state. 
[r2-Serial3/0/0]

捆绑

[r2]interface Mp-group 0/0/0
[r2-Mp-group0/0/0]ip add 192.168.2.2 24
[r2-Mp-group0/0/0]q
[r2]int ser    
[r2]int Serial 3/0/1
[r2-Serial3/0/1]ppp mp mp    
[r2-Serial3/0/1]ppp mp Mp-group 0/0/0
Mar 24 2024 14:47:51-08:00 r2 %%01IFNET/4/LINK_STATE(l)[14]:The line protocol PP
P on the interface Serial3/0/1 has entered the DOWN state. 
[r2-Serial3/0/1]
[r2-Serial3/0/1]
Mar 24 2024 14:47:54-08:00 r2 %%01IFNET/4/LINK_STATE(l)[15]:The line protocol PP
P on the interface Serial3/0/1 has entered the UP state. 
[r2-Serial3/0/1]q
[r2]int ser    
[r2]int Serial 4/0/0
[r2-Serial4/0/0]ppp mp Mp-group 0/0/0
Mar 24 2024 14:48:18-08:00 r2 %%01IFNET/4/LINK_STATE(l)[16]:The line protocol PP
P on the interface Serial4/0/0 has entered the DOWN state. 
[r2-Serial4/0/0]
[r2-Serial4/0/0]
Mar 24 2024 14:48:24-08:00 r2 %%01IFNET/4/LINK_STATE(l)[17]:The line protocol PP
P on the interface Serial4/0/0 has entered the UP state. 
[r2-Serial4/0/0]

[r3]interface Mp-group 0/0/0
[r3-Mp-group0/0/0]ip add 192.168.2.2 24
[r3-Mp-group0/0/0]q
[r3]ppp mp-    
[r3]ppp mp mp    
[r3]int ser    
[r3]int Serial 3/0/0
[r3-Serial3/0/0]ppp mp mp    
[r3-Serial3/0/0]ppp mp Mp-group 0/0/0
Mar 24 2024 14:50:45-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol PPP
 on the interface Serial3/0/0 has entered the DOWN state. 
[r3-Serial3/0/0]
[r3-Serial3/0/0]q
[r3]
Mar 24 2024 14:50:49-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol PPP
 on the interface Serial3/0/0 has entered the UP state. 
[r3]
Mar 24 2024 14:50:49-08:00 r3 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol PPP
 on the interface Mp-group0/0/0 has entered the UP state. 
[r3]
Mar 24 2024 14:50:49-08:00 r3 %%01PPP/4/SAMEIP(l)[3]:On the interface Mp-group0/
0/0, IPCP negotiation failed because the peer IP address was the same as local a
ddress. 
[r3]int ser    
[r3]int Serial 3/0/1
[r3-Serial3/0/1]ppp mp mp    
[r3-Serial3/0/1]ppp mp Mp-group 0/0/0
Mar 24 2024 14:51:10-08:00 r3 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol PPP
 on the interface Serial3/0/1 has entered the DOWN state. 
[r3-Serial3/0/1]
[r3-Serial3/0/1]
Mar 24 2024 14:51:16-08:00 r3 %%01IFNET/4/LINK_STATE(l)[5]:The line protocol PPP
 on the interface Serial3/0/1 has entered the UP state. 
[r3-Serial3/0/1]
Mar 24 2024 14:51:19-08:00 r3 %%01PPP/4/SAMEIP(l)[6]:On the interface Mp-group0/
0/0, IPCP negotiation failed because the peer IP address was the same as local a
ddress. 
[r3-Serial3/0/1]q

要求三

[r2]aaa
[r2-aaa]local    
[r2-aaa]local-user pass    
[r2-aaa]local-user aaa p    
[r2-aaa]local-user aaa password c    
[r2-aaa]local-user aaa password cipher aaa
Info: Add a new user.
[r2-aaa]loc    
[r2-aaa]local-user aaa s    
[r2-aaa]local-user aaa service-type ppp
[r2-aaa]q
[r2]int se    
[r2]int Serial 3/0/0
[r2-Serial3/0/0]ppp au    
[r2-Serial3/0/0]ppp authentication-mode chap
[r2-Serial3/0/0]

[r1]int Serial 3/0/0
[r1-Serial3/0/0]ppp ch    
[r1-Serial3/0/0]ppp chap u    
[r1-Serial3/0/0]ppp chap user aaa
[r1-Serial3/0/0]ppp chap p    
[r1-Serial3/0/0]ppp chap password aaa
                                  ^
Error: Unrecognized command found at '^' position.
[r1-Serial3/0/0]ppp chap password c    
[r1-Serial3/0/0]ppp chap password cipher aaa
[r1-Serial3/0/0]q
 

要求四

1.r2为主

[r2]aaa
[r2-aaa]local    
[r2-aaa]local-user pass    
[r2-aaa]local-user aaa p    
[r2-aaa]local-user aaa password c    
[r2-aaa]local-user aaa password cipher aaa
Info: Add a new user.
[r2-aaa]loc    
[r2-aaa]local-user aaa s    
[r2-aaa]local-user aaa service-type ppp
[r2-aaa]q
[r2]int se    
[r2]int Serial 3/0/0
[r2-Serial3/0/0]ppp au    
[r2-Serial3/0/0]ppp authentication-mode chap
[r2-Serial3/0/0]q
[r2]aaa
[r2-aaa]local    
[r2-aaa]local-user bbb pas    
[r2-aaa]local-user bbb password c    
[r2-aaa]local-user bbb password cipher bbb
Info: Add a new user.
[r2-aaa]loc    
[r2-aaa]local-user bbb se    
[r2-aaa]local-user bbb service-type ppp
[r2-aaa]q
[r2]int ser    
[r2]int Serial 3/0/1
[r2-Serial3/0/1]ppp au    
[r2-Serial3/0/1]ppp authentication-mode chap
[r2-Serial3/0/1]q
[r2]int ser    
[r2]int Serial 4/0/0
[r2-Serial4/0/0]ppp au    
[r2-Serial4/0/0]ppp authentication-mode c    
[r2-Serial4/0/0]ppp authentication-mode chap 
[r2-Serial4/0/0]q
 

[r3]int ser    
[r3]int Serial 3/0/0
[r3-Serial3/0/0]ppp chap u    
[r3-Serial3/0/0]ppp chap user bbb
[r3-Serial3/0/0]ppp chap pass    
[r3-Serial3/0/0]ppp chap password c    
[r3-Serial3/0/0]ppp chap password cipher bbb
[r3-Serial3/0/0]q
[r3]int ser    
[r3]int Serial 3/0/1
[r3-Serial3/0/1]ppp chap u    
[r3-Serial3/0/1]ppp chap user bbb
[r3-Serial3/0/1]ppp chap password cipher bbb
[r3-Serial3/0/1]q
[r3]

2.r3为主

同理


 

笔记

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值