扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
在本页阅读全文(共2页)
r1#sh ip ro 130.1.0.0/24 is subnetted, 7 subnets O E2 130.1.3.0 [110/10] via 192.1.1.2, 00:00:03, Ethernet0/0 O E2 130.1.2.0 [110/10] via 192.1.1.2, 00:00:03, Ethernet0/0 O E2 130.1.1.0 [110/10] via 192.1.1.2, 00:00:03, Ethernet0/0 O E2 130.1.7.0 [110/10] via 192.1.1.2, 00:00:03, Ethernet0/0 O E2 130.1.6.0 [110/10] via 192.1.1.2, 00:00:03, Ethernet0/0 O E2 130.1.5.0 [110/10] via 192.1.1.2, 00:00:03, Ethernet0/0 O E2 130.1.4.0 [110/10] via 192.1.1.2, 00:00:03, Ethernet0/0 193.1.1.0/24 is variably subnetted, 3 subnets, 2 masks O IA 193.1.1.192/26 [110/21] via 192.1.1.2, 00:00:48, Ethernet0/0 O IA 193.1.1.128/26 [110/11] via 192.1.1.2, 00:00:48, Ethernet0/0 O IA 193.1.1.0/25 [110/20] via 192.1.1.2, 00:00:48, Ethernet0/0 192.1.1.0/30 is subnetted, 1 subnets C 192.1.1.0 is directly connected, Ethernet0/0 194.1.1.0/30 is subnetted, 1 subnets O IA 194.1.1.0 [110/30] via 192.1.1.2, 00:39:39, Ethernet0/0 |
在我们汇总完成后,上述结果里,红、蓝色显示部分将会被取代。方法如下:
区域间汇总:
// R2 // router os 1 area 0 range 193.1.1.0 255.255.255.0 |
// R3 // router os 1 area 0 range 193.1.1.0 255.255.255.0 |
外部路由汇总:
// R4 // router os 1 summary-address 130.1.0.0 255.255.248.0 |
验证如下:
r1#sh ip ro 130.1.0.0/21 is subnetted, 1 subnets O E2 130.1.0.0 [110/10] via 192.1.1.2, 00:00:02, Ethernet0/0 O IA 193.1.1.0/24 [110/11] via 192.1.1.2, 00:00:13, Ethernet0/0 192.1.1.0/30 is subnetted, 1 subnets C 192.1.1.0 is directly connected, Ethernet0/0 194.1.1.0/30 is subnetted, 1 subnets O IA 194.1.1.0 [110/30] via 192.1.1.2, 00:47:19, Ethernet0/0 |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。