标签:
it |
分类: Cisco-CCNP |
图中描述了,ASBR上的路由汇总。在左边,运行RIP V2的外部AS将其路由重分发到OSPF中。由于外部RIP网络是连续的子网组成,因此能够将32个不同的子网汇总为一条汇总路由。
=============================================================================================
R1#
interface fa0/0
ip add 172.16.64.1 255.255.255.0
no shut
interface loopback 0
ip add 172.16.32.1 255.255.255.0
interface loopback 1
ip add 172.16.33.1 255.255.255.0
.
.
.
.
router rip v2
no auto-summary
net 172.16.32.0
net 172.16.33.0
.
.
.
net 172.16.63.0
redistribute ospf 1 metric 10(在rip中重分发ospf协议)
router ospf 1
net 172.16.64.0 0.0.0.255 area 1
redistribute rip subnets(在ospf中重分发rip协议)
summary-address 172.16.32.0 0.255.255.224.0
之后路由器便可学到一条由类型5LSA 通告的O E2 汇总路由
==============================================================
....省略
联系客服