leng 发表于 2013-10-31 09:19:29

Cisco OSPF NSSA区域配置

Cisco 路由器OSPF NSSA区域配置


R1(config)#interface loopback1R1(config-if)#ip address 10.1.0.1 255.255.255.255R1(config-if)#exit
R1(config)#interface f0/0R1(config-if)#ip address 192.168.0.1 255.255.255.0R1(config-if)#no shutR1(config-if)#no cdp enableR1(config-if)#interface s0/0R1(config-if)#ip address 192.168.10.1 255.255.255.0R1(config-if)#no shutR1(config-if)#no cdp enableR1(config-if)#exit
R1(config)#router ospf 1R1(config-router)#network 192.168.10.0 0.0.0.255 area 1R1(config-router)#network 192.168.0.0 0.0.0.255 area 0R1(config-router)#area 1 nssaR1(config-router)#ENDR1#copy running start


R2(config)#inter loo1R2(config-if)#ip add 10.1.0.2 255.255.255.255R2(config-if)#interface s0/0R2(config-if)#ip addre 192.168.10.2 255.255.255.0R2(config-if)#no shutR2(config-if)#no cdp enable
R2(config-if)#interface s0/1R2(config-if)#ip address 192.168.14.2 255.255.255.0R2(config-if)#no shutR2(config-if)#no cdp enableR2(config-if)#exit
R2(config)#router ospf 1R2(config-router)#network 192.168.10.0 0.0.0.255 area 1R2(config-router)#network 192.168.14.0 0.0.0.255 area 1R2(config-router)#area 1 nssaR2(config-router)# endR2#copy runn start


R3(config)#interface loo1R3(config-if)#ip addre 10.1.0.3 255.255.255.255R3(config-if)#interface s0/0R3(config-if)#ip address 192.168.14.3 255.255.255.0R3(config-if)#no shutR3(config-if)#no cdp enableR3(config-if)#interface f0/0R3(config-if)#ip address 192.168.3.3 255.255.255.0R3(config-if)#no shutR3(config-if)#no cdp enableR3(config-if)#exit
R3(config)#router ospf 1R3(config-router)#network 192.168.14.0 0.0.0.255 area 1R3(config-router)#area 1 nssaR3(config-router)#redistribute rip ?metric Metric for redistributed routesmetric-type OSPF/IS-IS exterior metric type for redistributed routesroute-map Route map referencesubnets Consider subnets for redistribution into OSPFtag Set tag for routes redistributed into OSPFR3(config-router)#redistribute rip subnetsR3(config-router)#exit
R3(config)#router ripR3(config-router)#version 2R3(config-router)#reR3(config-router)#redistribute ospf 1 ?match Redistribution of OSPF routesmetric Metric for redistributed routesroute-map Route map referencevrf VPN Routing/Forwarding InstanceR3(config-router)#redistribute ospf 1 metric 15R3(config-router)#network 192.168.3.0R3(config-router)#endR3#copy runn start


R4(config)#inter loo1R4(config-if)#ip address 10.1.0.4 255.255.255.255R4(config-if)#interface f0/0R4(config-if)#ip address 192.168.3.4 255.255.255.0R4(config-if)#no shutR4(config-if)#no cdp enable
R4(config-if)#interface f0/1R4(config-if)#ip address 192.168.41.4 255.255.255.0R4(config-if)#no shutR4(config-if)#exit
R4(config)#router ripR4(config-router)#version 2R4(config-router)#network 192.168.41.0R4(config-router)#network 192.168.3.0R4(config-router)#end
R4#copy runn start


R5(config)#interface loop1R5(config-if)#ip address 10.1.0.5 255.255.255.255R5(config-if)#interface f0/0R5(config-if)#ip address 192.168.0.10 255.255.255.0R5(config-if)#no shutR5(config-if)#no cdp enableR5(config)#interface f0/1R5(config-if)#ip address 192.168.11.10 255.255.255.0R5(config-if)#no shutR5(config-if)#exit
R5(config)#router ospf 1R5(config-router)#network 192.168.0.0 0.0.0.255 area 0R5(config-router)#network 192.168.11.0 0.0.0.255 area 0R5(config-router)#exitR5(config)#end
R5#copy runn start


jdxyzlh 发表于 2013-11-13 20:27:54

走自己的路,让别人打车去吧。

q29191 发表于 2013-11-28 09:35:18

我正游走在无拘无束的自赏自省与自恋之间

jgugugiug 发表于 2013-12-6 22:23:45

我答应你,往后不再哭,即使你已不在我身边。

mouse 发表于 2013-12-13 07:25:49

我也曾幻想我们的未来'可我﹑看到一片箜白'!

waiwai64 发表于 2013-12-15 19:28:03

岁月如何变迁,我还是执着于旧时光。

lyd2004888 发表于 2013-12-18 18:27:41

曾经说好的永远,在转眼间都化为乌有。
页: [1]
查看完整版本: Cisco OSPF NSSA区域配置