HCIP------HCIA复习

在这里插入图片描述
在这里插入图片描述

[r1]int gi0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.1 30
[r1-GigabitEthernet0/0/0]int gi0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.1.5 30
[r1-GigabitEthernet0/0/1]q
[r1]int LoopBack 0
[r1-LoopBack0]ip add 192.168.1.33 28
[r1-LoopBack0]int loo 1
[r1-LoopBack1]ip add 192.168.1.49 28
[r1]ip route-static 192.168.1.64 27 192.168.1.2
[r1]ip route-static 192.168.1.8 30 192.168.1.2
[r1]ip route-static 192.168.1.16 30 192.168.1.6
[r1]ip route-static 192.168.1.12 30 192.168.1.6
[r1]ip route-static 192.168.1.96 27 192.168.1.6
[r1]ip route-static 192.168.1.96 27 192.168.1.2
[r1]ip route-static 192.168.1.20 30 192.168.1.2
[r1]ip route-static 192.168.1.20 30 192.168.1.6
[r1]ip route-static 192.168.1.24 30 192.168.1.6
[r1]ip route-static 192.168.1.24 30 192.168.1.2
[r1]ip route-static 192.168.1.128 27 192.168.1.2
[r1]ip route-static 192.168.1.128 27 192.168.1.6

[r1]display ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 1

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.1/30       up         up        
GigabitEthernet0/0/1              192.168.1.5/30       up         up        
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         192.168.1.33/28      up         up(s)     
LoopBack1                         192.168.1.49/28      up         up(s)     
NULL0                             unassigned           up         up(s)     
[r1]ping 192.168.1.9
  PING 192.168.1.9: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.9: bytes=56 Sequence=1 ttl=255 time=260 ms
    Reply from 192.168.1.9: bytes=56 Sequence=2 ttl=255 time=30 ms
    Reply from 192.168.1.9: bytes=56 Sequence=3 ttl=255 time=40 ms
    Reply from 192.168.1.9: bytes=56 Sequence=4 ttl=255 time=20 ms
    Reply from 192.168.1.9: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 192.168.1.9 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/74/260 ms

[r1]ping 192.168.1.21
  PING 192.168.1.21: 56  data bytes, press CTRL_C to break
    Request time out
    Reply from 192.168.1.21: bytes=56 Sequence=2 ttl=254 time=80 ms
    Reply from 192.168.1.21: bytes=56 Sequence=3 ttl=254 time=20 ms
    Reply from 192.168.1.21: bytes=56 Sequence=4 ttl=254 time=30 ms
    Reply from 192.168.1.21: bytes=56 Sequence=5 ttl=254 time=30 ms

  --- 192.168.1.21 ping statistics ---
    5 packet(s) transmitted
    4 packet(s) received
    20.00% packet l
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值