ensp动态路由ospf基础配置
生活随笔
收集整理的這篇文章主要介紹了
ensp动态路由ospf基础配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
OSPF配置命令:
①啟動ospf進程:
ospf 1 router-id 1.1.1.1②創建區域:
area 0③宣告(激活接口,發布路由):注意網段后面跟的是反掩碼
network 10.0.12.0 0.0.0.255實驗如下:?
?
①劃分網段
②配置接口ip
推薦給每個路由器先配置一個環回接口,這個接口會作為路由器的RID。
③啟動ospf進程
注意網段的宣告是要分區域的?
④用ping命令測試網絡連通性
PC>ping 192.168.3.254Ping 192.168.3.254: 32 data bytes, Press Ctrl_C to break Request timeout! From 192.168.3.254: bytes=32 seq=2 ttl=126 time=16 ms From 192.168.3.254: bytes=32 seq=3 ttl=126 time=15 ms From 192.168.3.254: bytes=32 seq=4 ttl=126 time<1 ms From 192.168.3.254: bytes=32 seq=5 ttl=126 time=15 ms--- 192.168.3.254 ping statistics ---5 packet(s) transmitted4 packet(s) received20.00% packet lossround-trip min/avg/max = 0/11/16 msPC>ping 192.168.4.254Ping 192.168.4.254: 32 data bytes, Press Ctrl_C to break Request timeout! From 192.168.4.254: bytes=32 seq=2 ttl=125 time=31 ms From 192.168.4.254: bytes=32 seq=3 ttl=125 time=16 ms From 192.168.4.254: bytes=32 seq=4 ttl=125 time=16 ms From 192.168.4.254: bytes=32 seq=5 ttl=125 time=31 ms--- 192.168.4.254 ping statistics ---5 packet(s) transmitted4 packet(s) received20.00% packet lossround-trip min/avg/max = 0/23/31 msPC>ping 192.168.2.254Ping 192.168.2.254: 32 data bytes, Press Ctrl_C to break Request timeout! From 192.168.2.254: bytes=32 seq=2 ttl=124 time=47 ms From 192.168.2.254: bytes=32 seq=3 ttl=124 time=31 ms From 192.168.2.254: bytes=32 seq=4 ttl=124 time=31 ms From 192.168.2.254: bytes=32 seq=5 ttl=124 time=31 ms--- 192.168.2.254 ping statistics ---5 packet(s) transmitted4 packet(s) received20.00% packet lossround-trip min/avg/max = 0/35/47 ms總結
以上是生活随笔為你收集整理的ensp动态路由ospf基础配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ensp查看历史配置命令_学习华为ens
- 下一篇: hive窗口函数最全总结