c#自定义Attribute获取接口实现示例代码
276
2022-09-28
19-高级路由:OSPF区域类型:Totally Not-So-Stubby(哪个ospf区域需要通过默认路由)
R3(config)#router ospf 110R3(config-router)#area 1 nssa no-summary
1、R3、R5部署OSPF Area 35:R3(config)#router ospf 35R3(config-router)#network 35.1.1.0 0.0.0.255 area 35
R5(config)#router ospf 35R5(config-router)#network 5.5.5.0 0.0.0.255 area 35R5(config-router)#network 35.1.1.0 0.0.0.255 area 35
2、R3上重分发 OSPF 35到OSPF 110:R3(config)#router ospf 110R3(config-router)#redistribute ospf 35 subnets
3、R3上重分发 OSPF 110到OSPF 35:R3(config)#router ospf 35R3(config-router)#redistribute ospf 110 subnets
4、先把上个实验命令删除:R1(config)#router ospf 110R1(config-router)#no area 1 nssa no-redistribution 删除重分发路由R1(config-router)#no area 1 nssa default-information-originate 删除默认路由语句三、验证:1、NSSA区域有外部OSPF区域路由条目,其它区域没有:R2#show ip route ospf1.0.0.0/24 is subnetted, 1 subnetsO 1.1.1.0 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/03.0.0.0/32 is subnetted, 1 subnetsO IA 3.3.3.3 [110/3] via 12.1.1.1, 00:00:16, FastEthernet0/04.0.0.0/32 is subnetted, 1 subnetsO 4.4.4.4 [110/2] via 24.1.1.4, 00:00:16, FastEthernet1/0O 202.100.10.0/24 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0O 202.100.11.0/24 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/013.0.0.0/24 is subnetted, 1 subnetsO IA 13.1.1.0 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0O 202.100.8.0/24 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0O 202.100.9.0/24 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0
2、反向:R5也没有内部区域的路由条目:R5#show ip route ospf3.0.0.0/24 is subnetted, 1 subnetsO E2 3.3.3.0 [110/1] via 35.1.1.3, 00:10:41, FastEthernet0/013.0.0.0/24 is subnetted, 1 subnetsO E2 13.1.1.0 [110/1] via 35.1.1.3, 00:10:41, FastEthernet0/0
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~