LSA-5:由ASBR产生,不属于任何区域(area)
ASBR: autonomous-system boundary router, 自制系统边界路由器
有重分布的动作或产生了外部LSA的设备,称为ASBR
类型:external
Link-id:实际上是路由的网络号
ADV-router:ASBR的router-id
r3#show ip ospf database external 33.33.33.0 (link-id)
实际上是路由,里面包含的内容:
路由的网络号(link-id)
路由的子网掩码
路由的seed-metric (原子metric),重分布进OSPF里初始metric值:默认是20
路由的metric-type:默认是类型2
路由的tag:默认是0
路由的Forward-address:通常是0.0.0.0
*external的metric-type的区别
metric-type=1 路由在放入路由表的时候,沿途metric值累加
metric-type=2 路由在放入路由表的时候,metric值=seed-metric
重分布配置:
先创建eigrp
r3(config)#router eigrp 100
r3(config-router)#network 33.0.0.0
然后进入ospf将eigrp 100重分布进ospf
r3(config)#router ospf 1
r3(config-router)#redistribute eigrp 100 subnets
*#redistribute eigrp 100 subnets metric-type 1 metric 10(可以自定metric type和metric值)
r3#show ip ospf
show ip protocols
可以看到名为自制系统边界路由器(ASBR)
r3#show ip ospf database router 3.3.3.3(自己的link-id)
也可以看到ASBR
从其他路由器上看
r1#show ip ospf border-routers
可以看到ASBR设备
五类LSA不属于任何区域(area),它在整个ospf所有区域内泛洪