hcia第二天作业 静态路由

这篇博客详细记录了HCIA认证学习中第二天的作业——静态路由配置。作者分别展示了r1到r6路由器的配置命令,并附带了拓扑图和效果截图,包括不同网段PC间的ping测试,验证了静态路由的正确设置。
摘要由CSDN通过智能技术生成

 r6路由器配置相关命令

The device is running!

<Huawei>
<Huawei>
<Huawei>sys	
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei]int	
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add	
[Huawei-GigabitEthernet0/0/0]ip address 16.1.1.1 24
Jul 21 2022 18:40:30-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 g0/0/02
[Huawei-GigabitEthernet0/0/2]ip add	
[Huawei-GigabitEthernet0/0/2]ip address 67.1.1.1 24
Jul 21 2022 18:40:47-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 IP on the interface GigabitEthernet0/0/2 has entered the UP state. 
[Huawei-GigabitEthernet0/0/2]int g0/0/1 
[Huawei-GigabitEthernet0/0/1]ip add	
[Huawei-GigabitEthernet0/0/1]ip address 

  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>sys	
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]dhcp en	
[Huawei]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]ip pool 1
Info: It's successful to create an IP address pool.
[Huawei-ip-pool-1]netw	
[Huawei-ip-pool-1]network 172.16.1.0 ma	
[Huawei-ip-pool-1]network 172.16.1.0 mask 255.255.255.0
[Huawei-ip-pool-1]gat	
[Huawei-ip-pool-1]gateway-list 172.16.1.1
[Huawei-ip-pool-1]dns	
[Huawei-ip-pool-1]dns-list 8.8.8.8 114.114.114.114
[Huawei-ip-pool-1]q
[Huawei]int	
[Huawei]interface  g0/0/1
[Huawei-GigabitEthernet0/0/1]dhcp se	
[Huawei-GigabitEthernet0/0/1]dhcp select gl	
[Huawei-GigabitEthernet0/0/1]dhcp select global 
[Huawei-GigabitEthernet0/0/1]q
[Huawei]
[Huawei]
[Huawei]
[Huawei]
[Huawei]dhcp emn	
[Huawei]dhcp en	
[Huawei]dhcp enable 
[Huawei]int	
[Huawei]interface g
                    ^
Error:Incomplete command found at '^' position.
[Huawei]sys	
[Huawei]sysname r6
[r6]
[r6]dhcp en	
[r6]dhcp enable 
[r6]ip pool 1
[r6-ip-pool-1]net	
[r6-ip-pool-1]netbios-type
                           ^
Error:Incomplete command found at '^' position.
[r6-ip-pool-1]netw	
[r6-ip-pool-1]network 172.16.1.0 ma	
[r6-ip-pool-1]network 172.16.1.0 mask 255.255.255.0
Error:Please delete the network section first.
[r6-ip-pool-1]
[r6-ip-pool-1]
[r6-ip-pool-1]undo netw	
[r6-ip-pool-1]undo network 172.16.1.0 m	
[r6-ip-pool-1]undo network 172.16.1.0 mask 255.255.255.0
                           ^
Error:Too many parameters found at '^' position.
[r6-ip-pool-1]q
[r6]undo network 172.16.1.0 mask 255.255.255.0
         ^
Error: Unrecognized command found at '^' position.
[r6]int	
[r6]interface g0/0/1
[r6-GigabitEthernet0/0/1]ip add	
[r6-GigabitEthernet0/0/1]ip address 172.16.1.1 24
Jul 21 2022 19:05:15-08:00 r6 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r6-GigabitEthernet0/0/1]q
[r6]dhcp em	
[r6]dhcp en	
[r6]dhcp enable 
[r6]ip pool 1
[r6-ip-pool-1]netw	
[r6-ip-pool-1]network 172.16.1.0 ma	
[r6-ip-pool-1]network 172.16.1.0 mask 255.255.255.0
Error:Please delete the network section first.
[r6-ip-pool-1]gat	
[r6-ip-pool-1]gateway-list 172.16.1.1
Error:Please delete all sections of the pool before modifying the gateway IP add
ress.
[r6-ip-pool-1]dsn	
[r6-ip-pool-1]dns	
[r6-ip-pool-1]dns-list 8.8.8.8 114.114.114.114
Info:Part of the domain-name-server IP has already exist.
[r6-ip-pool-1]q
[r6]int	
[r6]interface g0/0/1
[r6-GigabitEthernet0/0/1]dhcp se	
[r6-GigabitEthernet0/0/1]dhcp select gl	
[r6-GigabitEthernet0/0/1]dhcp select global 
[r6-GigabitEthernet0/0/1]q
[r6]
<r6>sys	
<r6>system-view 
Enter system view, return user view with Ctrl+Z.
[r6]ip s	
[r6]ip sta	
[r6]ip rou	
[r6]ip route-s	
[r6]ip route-static 12.1.1.0 24 16.1.1.2
[r6]ip route-static 21.1.1.0 24 16.1.1.2
[r6]ip route-static 24.1.1.0 24 16.1.1.2
[r6]ip route-static 13.1.1.0 24 16.1.1.2
[r6]ip route-static 34.1.1.0 24 16.1.1.2
[r6]ip route-static 43.1.1.0 24 16.1.1.2
[r6]ip route-static 45.1.1.0 24 16.1.1.2
[r6]ip route-static 192.168.0.0 22 16.1.1.2
[r6]

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

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

<r6>sys	
<r6>system-view 
Enter system view, return user view with Ctrl+Z.
[r6]ip rou	
[r6]ip route-s	
[r6]ip route-static 
                    ^
Error:Incomplete command found at '^' position.
[r6]ip route-static 0.0.0.0 0 67.
                              ^
Error: Wrong parameter found at '^' position.
[r6]ip route-static 0.
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值