hcip作业

文章记录了在华为路由器上进行IP地址配置、接口状态检查、PPP协议设置以及系统视图切换的操作,强调了检查系统数据变化并及时保存配置的重要性。
摘要由CSDN通过智能技术生成

r5

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int s4/0/1
[Huawei-Serial4/0/1]ip add 15.1.1.0 24
Error: The specified IP address is invalid.
[Huawei-Serial4/0/1]int s 3/0/1
[Huawei-Serial3/0/1]ip add 25.1.1.1 24
[Huawei-Serial3/0/1]int s4/0/1
[Huawei-Serial4/0/1]ip add 15.1.1.1 24
[Huawei-Serial4/0/1]int s4/00
                        ^
Error: Unrecognized command found at '^' position.
[Huawei-Serial4/0/1]int s4/0/0
[Huawei-Serial4/0/0]ip add 35.1.1.1 24
[Huawei-Serial4/0/0]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add45.1.1.1 24
                                ^
Error: Unrecognized command found at '^' position.
[Huawei-GigabitEthernet0/0/0]ip add 45.1.1.1 24
Mar 30 2024 14:13:55-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]
Mar 30 2024 14:16:36-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 PPP IPCP on the interface Serial4/0/1 has entered the UP state. 
[Huawei-GigabitEthernet0/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

<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int l 0
[Huawei-LoopBack0]ip add 5.5.5.1 24
[Huawei-LoopBack0]
[Huawei-LoopBack0]
[Huawei-LoopBack0]q
[Huawei]
Mar 30 2024 14:20:55-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 PPP IPCP on the interface Serial3/0/1 has entered the UP state. 
[Huawei]
Mar 30 2024 14:23:18-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 PPP IPCP on the interface Serial4/0/0 has entered the UP state. 
[Huawei]

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

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

<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]aaa
[Huawei-aaa]loc    
[Huawei-aaa]local-user wdy password ci    
[Huawei-aaa]local-us

r1

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int s4/0/0
[Huawei-Serial4/0/0]ip add 15.1.1.2 24
[Huawei-Serial4/0/0]
Mar 30 2024 14:16:37-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 PPP IPCP on the interface Serial4/0/0 has entered the UP state. 
[Huawei-Serial4/0/0]q
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.1 24
Mar 30 2024 14:17:11-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/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

<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int s 4/0/0
[Huawei-Serial4/0/0]ppp chapn  u    
[Huawei-Serial4/0/0]ppp chapn  user wdy
                        ^
Error: Unrecognized command found at '^' position.
[Huawei-Serial4/0/0]ppp chap user wdy
[Huawei-Serial4/0/0]ppp chap password c    
[Huawei-Serial4/0/0]ppp chap password cipher wdy12345
[Huawei-Serial4/0/0]ppp pap l    
[Huawei-Serial4/0/0]ppp pap local-user wdy password c    
[Huawei-Serial4/0/0]ppp pap local-user wdy password cipher wdy12345
[Huawei-Serial4/0/0]q
[Huawei]ip mro    
[Huawei]ip mro
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 25.1.1.0 24 15.1.1.1
[Huawei]ip    
[Huawei]ip ro    
[Huawei]ip route-static
[Huawei]ip route
[Huawei]ip route-static 35.1.1.0 24 15.1.1.1
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static45.1.1.0 24 15.1.1.1
           ^
Error: Unrecognized command found at '^' position.
[Huawei]ip route-static 45.1.1.0 24 15.1.1.1
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 5.5.5.0 24 15.1.1.1
[Huawei]ip r    
[Huawei]ip ro    
[Huawei]ip route-static 0.0.0.0 24 null0
[Huawei]

r2

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int s 4/0/0
[Huawei-Serial4/0/0]ip add 24.1.1.2 24
[Huawei-Serial4/0/0]
Mar 30 2024 14:20:56-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 PPP IPCP on the interface Serial4/0/0 has entered the UP state. 
[Huawei-Serial4/0/0]int g 192.168.2.1 24
                          ^
Error: Unrecognized command found at '^' position.
[Huawei-Serial4/0/0]int g 0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.1686.2.1 24
                                    ^
Error: Wrong parameter found at '^' position.
[Huawei-GigabitEthernet0/0/0]ip add 192.168.2.1 24
Mar 30 2024 14:21:42-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/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

Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 5.5.5.0 24 25.1.1.1
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 15.1.1.0 24 25.1.1.1
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 35.1.1.0 24 25.1.1.1
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 45.1.1.0 24 25.1.1.1
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 0.0.0.0 24 null0
[Huawei]

r3

[Huawei]int s4/0/1
[Huawei-Serial4/0/1]ip add 15.1.1.0 24
Error: The specified IP address is invalid.
[Huawei-Serial4/0/1]int s 3/0/1
[Huawei-Serial3/0/1]ip add 25.1.1.1 24
[Huawei-Serial3/0/1]int s4/0/1
[Huawei-Serial4/0/1]ip add 15.1.1.1 24
[Huawei-Serial4/0/1]int s4/00
                        ^
Error: Unrecognized command found at '^' position.
[Huawei-Serial4/0/1]int s4/0/0
[Huawei-Serial4/0/0]ip add 35.1.1.1 24
[Huawei-Serial4/0/0]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add45.1.1.1 24
                                ^
Error: Unrecognized command found at '^' position.
[Huawei-GigabitEthernet0/0/0]ip add 45.1.1.1 24
Mar 30 2024 14:13:55-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]
Mar 30 2024 14:16:36-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 PPP IPCP on the interface Serial4/0/1 has entered the UP state. 
[Huawei-GigabitEthernet0/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

<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int l 0
[Huawei-LoopBack0]ip add 5.5.5.1 24
[Huawei-LoopBack0]
[Huawei-LoopBack0]
[Huawei-LoopBack0]q
[Huawei]
Mar 30 2024 14:20:55-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 PPP IPCP on the interface Serial3/0/1 has entered the UP state. 
[Huawei]
Mar 30 2024 14:23:18-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 PPP IPCP on the interface Serial4/0/0 has entered the UP state. 
[Huawei]

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

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

<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]aaa
[Huawei-aaa]loc    
[Huawei-aaa]local-user wdy password ci    
[Huawei-aaa]local-user wdy password cipher wdy12345
Info: Add a new user.
[Huawe

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]

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

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

<Huawei>y
        ^
Error: Unrecognized command found at '^' position.
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int s 4/0/0
[Huawei-Serial4/0/0]ppp chap    
[Huawei-Serial4/0/0]ppp chap user wdy
[Huawei-Serial4/0/0]ppp chap pass    
[Huawei-Serial4/0/0]ppp chap password c    
[Huawei-Serial4/0/0]ppp chap password cipher wdy12345
[Huawei-Serial4/0/0]ppp pap lo    
[Huawei-Serial4/0/0]ppp pap local-user wdy pass    
[Huawei-Serial4/0/0]ppp pap local-user wdy password c    
[Huawei-Serial4/0/0]ppp pap local-user wdy password cipher wdy12345
[Huawei-Serial4/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

<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip r

[Huawei-aaa]loc    
[Huawei-aaa]local-user 
[Huawei-aaa]local-user wdy service    
[Huawei-aaa]local-user wdy service-type ppp
[Huawei-aaa]int s 3/0/1
[Huawei-Serial3/0/1]ppp a    
[Huawei-Serial3/0/1]ppp authentication-mode c    
[Huawei-Serial3/0/1]ppp authentication-mode chap/ppp
                                            ^
Error: Unrecognized command found at '^' position.
[Huawei-Serial3/0/1]ppp authentication-mode chap/pap
                                            ^
Error: Unrecognized command found at '^' position.
[Huawei-Serial3/0/1]ppp authentication-mode chap
[Huawei-Serial3/0/1]

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

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

<Huawei>
<Huawei>
<Huawei>sy


Enter system view, return user view with Ctrl+Z.
[Huawei]int s4/0/1
[Huawei-Serial4/0/1]ppp xa    
[Huawei-Serial4/0/1]ppp a    
[Huawei-Serial4/0/1]ppp authentication-mode  chap
[Huawei-Serial4/0/1]

r4

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]int g 0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 45.1.1.2 24
[Huawei-GigabitEthernet0/0/0]
Mar 30 2024 14:24:43-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]int g 0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.4.1 24
Mar 30 2024 14:25:02-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 IP on the interface GigabitEthernet0/0/1 has entered the UP state. 
[Huawei-GigabitEthernet0/0/1]

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

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

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 5.5.5.0 24 45.1.1.1
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 15.1.1.0 24 45.1.1.1
[Huawei]ip route-static 25.1.1.0 24 45.1.1.1
[Huawei]ip route-static 35.1.1.0 24 45.1.1.1
[Huawei]ip ro    
[Huawei]ip route
[Huawei]ip route-static 0.0.0.0 24 null0

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值