网络互连

网络互连
AR2
<H3C>%Sep 28 15:02:42:205 2018 H3C SHELL/5/SHELL_LOGIN: Console logged in from con0.
sys
System View: return to User View with Ctrl+Z.
[H3C]sysna
[H3C]sysname AR2
[AR2]inte
[AR2]interface G
[AR2]interface GigabitEthernet 9/0
^
% Wrong parameter found at '^' position.
[AR2]interface GigabitEthernet 0/0
[AR2-GigabitEthernet0/0]ip address 10.0.13.2 24
[AR2-GigabitEthernet0/0]qui
[AR2-GigabitEthernet0/0]quit
[AR2]inte
[AR2]interface g
[AR2]interface GigabitEthernet 0/1
[AR2-GigabitEthernet0/1]ip address 10.0.12.2 24
[AR2-GigabitEthernet0/1]qui
[AR2-GigabitEthernet0/1]quit
[AR2]inte
[AR2]interface loo
[AR2]interface LoopBack 0
[AR2-LoopBack0]ip address
[AR2-LoopBack0]ip address 10.0.2.2 24
[AR2-LoopBack0]

AR1
[H3C]sysname AR2
[AR1]inte
[AR1]interface g
[AR1]interface GigabitEthernet 0/0
[AR1-GigabitEthernet0/0]ip address 10.0.13.1 24
[AR1-GigabitEthernet0/0]qui
[AR1-GigabitEthernet0/0]quit
[AR1]inte
[AR1]interface loo
[AR1]interface LoopBack 0
[AR1-LoopBack0]ip address 10.0.1.1 24
[AR1-LoopBack0]qui
[AR1-LoopBack0]quit
[AR1]

AR3
<H3C>%Sep 28 15:06:55:005 2018 H3C SHELL/5/SHELL_LOGIN: Console logged in from con0.
sys
System View: return to User View with Ctrl+Z.
[H3C]sysname AR3
[AR3]inte
[AR3]interface g
[AR3]interface GigabitEthernet 0/0
[AR3-GigabitEthernet0/0]ip address 10.0.12.3 24
[AR3-GigabitEthernet0/0]qui
[AR3-GigabitEthernet0/0]quit
[AR3]inte
[AR3]interface loo
[AR3]interface LoopBack 0
[AR3-LoopBack0]ip address 10.0.3.3 24
[AR3-LoopBack0]qui
[AR3-LoopBack0]quit
[AR3]

测试AR2和AR1的连通性
[AR2]ping 10.0.13.2
Ping 10.0.13.2 (10.0.13.2): 56 data bytes, press CTRL_C to break
56 bytes from 10.0.13.2: icmp_seq=0 ttl=255 time=1.000 ms
56 bytes from 10.0.13.2: icmp_seq=1 ttl=255 time=1.000 ms
56 bytes from 10.0.13.2: icmp_seq=2 ttl=255 time=1.000 ms
56 bytes from 10.0.13.2: icmp_seq=3 ttl=255 time=1.000 ms
56 bytes from 10.0.13.2: icmp_seq=4 ttl=255 time=0.000 ms

--- Ping statistics for 10.0.13.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.000/0.800/1.000/0.400 ms
[AR2]%Sep 28 15:09:48:446 2018 AR2 PING/6/PING_STATISTICS: Ping statistics for 10.0.13.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.000/0.800/1.000/0.400 ms.

测试AR1和AR3的连通性
[AR3]ping 10.0.12.2
Ping 10.0.12.2 (10.0.12.2): 56 data bytes, press CTRL_C to break
56 bytes from 10.0.12.2: icmp_seq=0 ttl=255 time=1.000 ms
56 bytes from 10.0.12.2: icmp_seq=1 ttl=255 time=0.000 ms
56 bytes from 10.0.12.2: icmp_seq=2 ttl=255 time=0.000 ms
56 bytes from 10.0.12.2: icmp_seq=3 ttl=255 time=0.000 ms
56 bytes from 10.0.12.2: icmp_seq=4 ttl=255 time=0.000 ms

--- Ping statistics for 10.0.12.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.000/0.200/1.000/0.400 ms
[AR3]%Sep 28 15:11:25:882 2018 AR3 PING/6/PING_STATISTICS: Ping statistics for 10.0.12.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.000/0.200/1.000/0.400 ms.

AR1
[AR1]rip
[AR1-rip-1]netw
[AR1-rip-1]network 10.0.0.0
[AR1-rip-1]

AR2
[AR2]rip
[AR2-rip-1]net
[AR2-rip-1]network 10.0.0.0
[AR2-rip-1]

AR3
[AR3]rip
[AR3-rip-1]net
[AR3-rip-1]network 10.0.0.0
[AR3-rip-1]

AR1

[AR1]display ip routing-table

Destinations : 19 Routes : 19

Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.0.1.0/24 Direct 0 0 10.0.1.1 Loop0
10.0.1.0/32 Direct 0 0 10.0.1.1 Loop0
10.0.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.0.1.255/32 Direct 0 0 10.0.1.1 Loop0
10.0.2.0/24 RIP 100 1 10.0.13.2 GE0/0
10.0.3.0/24 RIP 100 2 10.0.13.2 GE0/0
10.0.12.0/24 RIP 100 1 10.0.13.2 GE0/0
10.0.13.0/24 Direct 0 0 10.0.13.1 GE0/0
10.0.13.0/32 Direct 0 0 10.0.13.1 GE0/0
10.0.13.1/32 Direct 0 0 127.0.0.1 InLoop0
10.0.13.255/32 Direct 0 0 10.0.13.1 GE0/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0

AR2
[AR2]display ip routing-table

Destinations : 22 Routes : 22

Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.0.1.0/24 RIP 100 1 10.0.13.1 GE0/0
10.0.2.0/24 Direct 0 0 10.0.2.2 Loop0
10.0.2.0/32 Direct 0 0 10.0.2.2 Loop0
10.0.2.2/32 Direct 0 0 127.0.0.1 InLoop0
10.0.2.255/32 Direct 0 0 10.0.2.2 Loop0
10.0.3.0/24 RIP 100 1 10.0.12.3 GE0/1
10.0.12.0/24 Direct 0 0 10.0.12.2 GE0/1
10.0.12.0/32 Direct 0 0 10.0.12.2 GE0/1
10.0.12.2/32 Direct 0 0 127.0.0.1 InLoop0
10.0.12.255/32 Direct 0 0 10.0.12.2 GE0/1
10.0.13.0/24 Direct 0 0 10.0.13.2 GE0/0
10.0.13.0/32 Direct 0 0 10.0.13.2 GE0/0
10.0.13.2/32 Direct 0 0 127.0.0.1 InLoop0
10.0.13.255/32 Direct 0 0 10.0.13.2 GE0/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0

AR3
[AR3]display ip routing-table

Destinations : 19 Routes : 19

Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.0.1.0/24 RIP 100 2 10.0.12.2 GE0/0
10.0.2.0/24 RIP 100 1 10.0.12.2 GE0/0
10.0.3.0/24 Direct 0 0 10.0.3.3 Loop0
10.0.3.0/32 Direct 0 0 10.0.3.3 Loop0
10.0.3.3/32 Direct 0 0 127.0.0.1 InLoop0
10.0.3.255/32 Direct 0 0 10.0.3.3 Loop0
10.0.12.0/24 Direct 0 0 10.0.12.3 GE0/0
10.0.12.0/32 Direct 0 0 10.0.12.3 GE0/0
10.0.12.3/32 Direct 0 0 127.0.0.1 InLoop0
10.0.12.255/32 Direct 0 0 10.0.12.3 GE0/0
10.0.13.0/24 RIP 100 1 10.0.12.2 GE0/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0

AR1
[AR1]ping 10.0.12.3
Ping 10.0.12.3 (10.0.12.3): 56 data bytes, press CTRL_C to break
56 bytes from 10.0.12.3: icmp_seq=0 ttl=254 time=1.000 ms
56 bytes from 10.0.12.3: icmp_seq=1 ttl=254 time=1.000 ms
56 bytes from 10.0.12.3: icmp_seq=2 ttl=254 time=1.000 ms
56 bytes from 10.0.12.3: icmp_seq=3 ttl=254 time=1.000 ms
56 bytes from 10.0.12.3: icmp_seq=4 ttl=254 time=1.000 ms

--- Ping statistics for 10.0.12.3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/1.000/1.000/0.000 ms
[AR1]%Sep 28 15:21:16:210 2018 AR1 PING/6/PING_STATISTICS: Ping statistics for 10.0.12.3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.000/1.000/1.000/0.000 ms.

<AR1>debugging rip 1
<AR1>dis
<AR1>display de
<AR1>display debugging
RIP 1, timer debugging is on
RIP 1, event debugging is on
RIP 1, brief debugging is on
RIP 1, sent packet debugging is on
RIP 1, received packet debugging is on
RIP 1, interface GigabitEthernet0/0 sent and received packet debugging is on
RIP 1, interface LoopBack0 sent and received packet debugging is on
<AR1>

转载于:https://blog.51cto.com/13956268/2287242

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值