日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Cisco OSPF NSSA区域配置

發(fā)布時間:2025/3/21 编程问答 21 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Cisco OSPF NSSA区域配置 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

Cisco 路由器OSPF NSSA區(qū)域配置

R1(config)#interface loopback1

R1(config-if)#ip address 10.1.0.1 255.255.255.255

R1(config-if)#exit


R1(config)#interface f0/0

R1(config-if)#ip address 192.168.0.1 255.255.255.0

R1(config-if)#no shut

R1(config-if)#no cdp enable

R1(config-if)#interface s0/0

R1(config-if)#ip address 192.168.10.1 255.255.255.0

R1(config-if)#no shut

R1(config-if)#no cdp enable

R1(config-if)#exit


R1(config)#router ospf 1

R1(config-router)#network 192.168.10.0 0.0.0.255 area 1

R1(config-router)#network 192.168.0.0 0.0.0.255 area 0

R1(config-router)#area 1 nssa

R1(config-router)#END

R1#copy running start


R2(config)#inter loo1

R2(config-if)#ip add 10.1.0.2 255.255.255.255

R2(config-if)#interface s0/0

R2(config-if)#ip addre 192.168.10.2 255.255.255.0

R2(config-if)#no shut

R2(config-if)#no cdp enable


R2(config-if)#interface s0/1

R2(config-if)#ip address 192.168.14.2 255.255.255.0

R2(config-if)#no shut

R2(config-if)#no cdp enable

R2(config-if)#exit


R2(config)#router ospf 1

R2(config-router)#network 192.168.10.0 0.0.0.255 area 1

R2(config-router)#network 192.168.14.0 0.0.0.255 area 1

R2(config-router)#area 1 nssa

R2(config-router)# end

R2#copy runn start


R3(config)#interface loo1

R3(config-if)#ip addre 10.1.0.3 255.255.255.255

R3(config-if)#interface s0/0

R3(config-if)#ip address 192.168.14.3 255.255.255.0

R3(config-if)#no shut

R3(config-if)#no cdp enable

R3(config-if)#interface f0/0

R3(config-if)#ip address 192.168.3.3 255.255.255.0

R3(config-if)#no shut

R3(config-if)#no cdp enable

R3(config-if)#exit


R3(config)#router ospf 1

R3(config-router)#network 192.168.14.0 0.0.0.255 area 1

R3(config-router)#area 1 nssa

R3(config-router)#redistribute rip ?

metric Metric for redistributed routes

metric-type OSPF/IS-IS exterior metric type for redistributed routes

route-map Route map reference

subnets Consider subnets for redistribution into OSPF

tag Set tag for routes redistributed into OSPF

<cr>

R3(config-router)#redistribute rip subnets

R3(config-router)#exit


R3(config)#router rip

R3(config-router)#version 2

R3(config-router)#re

R3(config-router)#redistribute ospf 1 ?

match Redistribution of OSPF routes

metric Metric for redistributed routes

route-map Route map reference

vrf ××× Routing/Forwarding Instance

<cr>

R3(config-router)#redistribute ospf 1 metric 15

R3(config-router)#network 192.168.3.0

R3(config-router)#end

R3#copy runn start


R4(config)#inter loo1

R4(config-if)#ip address 10.1.0.4 255.255.255.255

R4(config-if)#interface f0/0

R4(config-if)#ip address 192.168.3.4 255.255.255.0

R4(config-if)#no shut

R4(config-if)#no cdp enable


R4(config-if)#interface f0/1

R4(config-if)#ip address 192.168.41.4 255.255.255.0

R4(config-if)#no shut

R4(config-if)#exit


R4(config)#router rip

R4(config-router)#version 2

R4(config-router)#network 192.168.41.0

R4(config-router)#network 192.168.3.0

R4(config-router)#end


R4#copy runn start


R5(config)#interface loop1

R5(config-if)#ip address 10.1.0.5 255.255.255.255

R5(config-if)#interface f0/0

R5(config-if)#ip address 192.168.0.10 255.255.255.0

R5(config-if)#no shut

R5(config-if)#no cdp enable

R5(config)#interface f0/1

R5(config-if)#ip address 192.168.11.10 255.255.255.0

R5(config-if)#no shut

R5(config-if)#exit


R5(config)#router ospf 1

R5(config-router)#network 192.168.0.0 0.0.0.255 area 0

R5(config-router)#network 192.168.11.0 0.0.0.255 area 0

R5(config-router)#exit

R5(config)#end


R5#copy runn start



轉(zhuǎn)載于:https://blog.51cto.com/lddxfs/1317173

總結(jié)

以上是生活随笔為你收集整理的Cisco OSPF NSSA区域配置的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。