HCIP第二次作业

PS:思维导图在最下方!!!

如图要求:

思路:

1.先创建MP-group接口;加入MP-group组;在该逻辑接口配置IP地址

2.配置R1R2接口IP

3.R2对R1的PPP进行单向 chap 验证:

配置:

1.R1:

[R1]int s 3/0/0
[R1-Serial3/0/0]ip add 192.168.1.1 24
[R1-Serial3/0/0]q
[R1]int s 3/0/0
[R1-Serial3/0/0]ppp ch    
[R1-Serial3/0/0]ppp chap u    
[R1-Serial3/0/0]ppp chap user wangdaye
[R1-Serial3/0/0]ppp c    
[R1-Serial3/0/0]ppp chap pas    
[R1-Serial3/0/0]ppp chap password ci    
[R1-Serial3/0/0]ppp chap password cipher wdy12345
[R1-Serial3/0/0]q

2.R2:

[R2]int s 3/0/0
[R2-Serial3/0/0]ip add 192.168.1.2 24
[R2-Serial3/0/0]
Mar 25 2024 13:02:38-08:00 R2 %%01IFNET/4/LINK_STATE(l)[10]:The line protocol PP
P IPCP on the interface Serial3/0/0 has entered the UP state. 
[R2-Serial3/0/0]q
[R2]int mp    
[R2]int Mp-group 0/0/0
[R2-Mp-group0/0/0]q
[R2]int s 3/0/1
[R2-Serial3/0/1]ppp mp mp    
[R2-Serial3/0/1]ppp mp Mp-group  0/0/0
Mar 25 2024 13:04:31-08:00 R2 %%01IFNET/4/LINK_STATE(l)[11]: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 25 2024 13:04:34-08:00 R2 %%01IFNET/4/LINK_STATE(l)[12]:The line protocol PP
P on the interface Serial3/0/1 has entered the UP state. 
[R2-Serial3/0/1]q
[R2]int s 4/0/0
[R2-Serial4/0/0]ppp mp Mp-group 0/0/0
Mar 25 2024 13:05:09-08:00 R2 %%01IFNET/4/LINK_STATE(l)[13]: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 25 2024 13:05:15-08:00 R2 %%01IFNET/4/LINK_STATE(l)[14]:The line protocol PP
P on the interface Serial4/0/0 has entered the UP state. 
[R2-Serial4/0/0]q
[R2]
Mar 25 2024 13:05:41-08:00 R2 %%01IFNET/4/LINK_STATE(l)[15]:The line protocol PP
P on the interface Serial3/0/1 has entered the DOWN state. 
[R2]
Mar 25 2024 13:05:44-08:00 R2 %%01IFNET/4/LINK_STATE(l)[16]:The line protocol PP
P on the interface Serial3/0/1 has entered the UP state. 
[R2]
Mar 25 2024 13:05:44-08:00 R2 %%01IFNET/4/LINK_STATE(l)[17]:The line protocol PP
P on the interface Mp-group0/0/0 has entered the UP state. 
[R2]
Mar 25 2024 13:06:12-08:00 R2 %%01IFNET/4/LINK_STATE(l)[18]:The line protocol PP
P on the interface Serial4/0/0 has entered the DOWN state. 
[R2]
Mar 25 2024 13:06:18-08:00 R2 %%01IFNET/4/LINK_STATE(l)[19]:The line protocol PP
P on the interface Serial4/0/0 has entered the UP state. 
[R2]int mp    
[R2]int Mp-group 0/0/0
[R2-Mp-group0/0/0]ip add 192.168.2.2 24
[R2-Mp-group0/0/0]q
[R2]
Mar 25 2024 13:08:14-08:00 R2 %%01IFNET/4/LINK_STATE(l)[20]:The line protocol PP
P IPCP on the interface Mp-group0/0/0 has entered the UP state. 
[R2]aaa
[R2-aaa]lo    
[R2-aaa]local-user wangdaye pas    
[R2-aaa]local-user wangdaye password ci    
[R2-aaa]local-user wangdaye password cipher wdy12345
Info: Add a new user.
[R2-aaa]lo    
[R2-aaa]local-user wangdayes    
[R2-aaa]local-user wangdaye s    
[R2-aaa]local-user wangdaye service-type ppp
[R2-aaa]q
[R2]int s 3/0/0
[R2-Serial3/0/0]ppp au    
[R2-Serial3/0/0]ppp authentication-mode ch    
[R2-Serial3/0/0]ppp authentication-mode chap 
[R2-Serial3/0/0]q
[R2]int mp    
[R2]int Mp-group 0/0/0
[R2-Mp-group0/0/0]ppp au    
[R2-Mp-group0/0/0]ppp au
[R2-Mp-group0/0/0]q
[R2]aaa
[R2-aaa]loc    
[R2-aaa]local-user wangdaye pas    
[R2-aaa]local-user wangdaye password ci    
[R2-aaa]local-user wangdaye password cipher wdy12345
[R2-aaa]loc    
[R2-aaa]local-user wangdaye s    
[R2-aaa]local-user wangdaye service-type ppp
[R2-aaa]q
[R2]int s 3/0/1
[R2-Serial3/0/1]ppp a    
[R2-Serial3/0/1]ppp authentication-mode ch    
[R2-Serial3/0/1]ppp authentication-mode chap 
[R2-Serial3/0/1]q
[R2]int s 4/0/0
[R2-Serial4/0/0]ppp a    
[R2-Serial4/0/0]ppp authentication-mode c    
[R2-Serial4/0/0]ppp authentication-mode chap 
[R2-Serial4/0/0]q
 

3.R3:

[R3]int mp    
[R3]int Mp-group 0/0/0
[R3-Mp-group0/0/0]q
[R3]
Mar 25 2024 13:04:31-08:00 R3 %%01IFNET/4/LINK_STATE(l)[7]:The line protocol PPP
 on the interface Serial3/0/0 has entered the DOWN state. 
[R3]
Mar 25 2024 13:04:34-08:00 R3 %%01IFNET/4/LINK_STATE(l)[8]:The line protocol PPP
 on the interface Serial3/0/0 has entered the UP state. 
[R3]
Mar 25 2024 13:05:09-08:00 R3 %%01IFNET/4/LINK_STATE(l)[9]:The line protocol PPP
 on the interface Serial3/0/1 has entered the DOWN state. 
[R3]
Mar 25 2024 13:05:15-08:00 R3 %%01IFNET/4/LINK_STATE(l)[10]:The line protocol PP
P on the interface Serial3/0/1 has entered the UP state. 
[R3]int s 3/0/0
[R3-Serial3/0/0]ppp mp mp    
[R3-Serial3/0/0]ppp mp Mp-group 0/0/0
Mar 25 2024 13:05:41-08:00 R3 %%01IFNET/4/LINK_STATE(l)[11]:The line protocol PP
P on the interface Serial3/0/0 has entered the DOWN state. 
[R3-Serial3/0/0]
[R3-Serial3/0/0]
Mar 25 2024 13:05:44-08:00 R3 %%01IFNET/4/LINK_STATE(l)[12]:The line protocol PP
P on the interface Serial3/0/0 has entered the UP state. 
[R3-Serial3/0/0]
Mar 25 2024 13:05:44-08:00 R3 %%01IFNET/4/LINK_STATE(l)[13]:The line protocol PP
P on the interface Mp-group0/0/0 has entered the UP state. 
[R3-Serial3/0/0]q
[R3]int s 3/0/1
[R3-Serial3/0/1]ppp mp Mp-group 0/0/0
Mar 25 2024 13:06:13-08:00 R3 %%01IFNET/4/LINK_STATE(l)[14]:The line protocol PP
P on the interface Serial3/0/1 has entered the DOWN state. 
[R3-Serial3/0/1]
[R3-Serial3/0/1]
Mar 25 2024 13:06:19-08:00 R3 %%01IFNET/4/LINK_STATE(l)[15]:The line protocol PP
P on the interface Serial3/0/1 has entered the UP state. 
[R3-Serial3/0/1]q
[R3]int mp    
[R3]int Mp-group 
                 ^
Error:Incomplete command found at '^' position.
[R3]int Mp-group 0/0/0
[R3-Mp-group0/0/0]ip add 192.168.2.3 24
[R3-Mp-group0/0/0]
Mar 25 2024 13:08:14-08:00 R3 %%01IFNET/4/LINK_STATE(l)[16]:The line protocol PP
P IPCP on the interface Mp-group0/0/0 has entered the UP state. 
[R3-Mp-group0/0/0]

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

<R3>sys
Enter system view, return user view with Ctrl+Z.
[R3]int s 3/0/0
[R3-Serial3/0/0]pppch    
[R3-Serial3/0/0]ppp ch    
[R3-Serial3/0/0]ppp chap u    
[R3-Serial3/0/0]ppp chap user wangdaye
[R3-Serial3/0/0]ppp ch    
[R3-Serial3/0/0]ppp chap pas    
[R3-Serial3/0/0]ppp chap password wdy12345
                                  ^
Error: Unrecognized command found at '^' position.
[R3-Serial3/0/0]ppp chap password cipher wdy12345
[R3-Serial3/0/0]q
[R3]int s 3/0/1
[R3-Serial3/0/1]ppp ch    
[R3-Serial3/0/1]ppp chap u    
[R3-Serial3/0/1]ppp chap user wangdaye
[R3-Serial3/0/1]ppp ch    
[R3-Serial3/0/1]ppp chap pas    
[R3-Serial3/0/1]ppp chap password ci    
[R3-Serial3/0/1]ppp chap password cipher wdy12345
[R3-Serial3/0/1]q
 

实验结果:

思维导图:

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值