发布时间:2019-07-10 13:37:25编辑:auto阅读(1495)
AR1配置
[H3C]sysname AR1
[AR1]interface GigabitEthernet 0/0/0
[AR1-GigabitEthernet0/0/0]ipaddress 192.168.1.1 24
[AR1-GigabitEthernet0/0/0]qu
[AR1]interface GigabitEthernet0/0/1
[AR1-GigabitEthernet0/0/1]ip address 192.168.0.1 24
[AR1-GigabitEthernet0/0/1]qu
[AR1]dis brief interface
[AR1]display ip routing-table 在AR1上查看,此时没有发现2.0网段
[AR1]rip
[AR1-rip-1]version 2 支持可变长掩码
[AR1-rip-1]network192.168.0.0 宣告网段
[AR1-rip-1]network 192.168.1.0
[AR1-rip-1]qu
AR2配置
<H3C>system-view
[H3C]sysname AR1
[AR2]interface GigabitEthernet 0/0/0
[AR2-GigabitEthernet0/0/0]ip address192.168.1.2 24
[AR2-GigabitEthernet0/0/0]qu
[AR2]interface GigabitEthernet 0/0/1
[AR2-GigabitEthernet0/0/1]ip address 192.168.2.1 24
[AR2-GigabitEthernet0/0/1]qu
[AR2]dis brief interface
[AR2]display ip routing-table AR2上查看,此时没有发现0.0网段
[AR2]rip
[AR2-rip-1]version 2
[AR2-rip-1]network 192.168.1.0
[AR2-rip-1]network 192.168.2.0
[AR2-rip-1]qu
[AR1]display ip routing-table 在AR1上查看,发现学到2.0网段
[AR2]display ip routing-table 在AR1上查看,发现学到0.0网段
上一篇: linux常见试题(3)-简答题
下一篇: H3C 清除配置
47486
45791
36786
34320
28957
25591
24438
19608
19105
17630
5460°
6043°
5567°
5634°
6569°
5372°
5372°
5880°
5853°
7165°