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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

四路由器的OSPF DR ,BDR

發布時間:2024/4/15 编程问答 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 四路由器的OSPF DR ,BDR 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
網絡結構為四個路器與一個交換機直連,在單區域內配置OSPF: 路由器一: Router>en
Router#conf t
Enter configuration commands, one per line.? End with CNTL/Z.
Router(config)#hostname router1
router1(config)#int f0/0
router1(config-if)#ip add 192.168.1.1 255.255.255.0
router1(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
router1(config-if)#ip ospf priority 100
router1(config-if)#exit
router1(config)#router ospf 1
router1(config-router)#network 192.168.1.0 0.0.0.255 area 0
router1(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
router1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
router1# 路由器2: Router>en
Router#conf t
Enter configuration commands, one per line.? End with CNTL/Z.
Router(config)#hostname router2
router2(config)#int f0/0
router2(config-if)#ip add 192.168.1.2 255.255.255.0
router2(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
router2(config-if)#exit
router2(config)#router ospf 2
router2(config-router)#network 192.168.1.0 0.0.0.255 area 0
router2(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
router2#copy running-config
00:11:15: %OSPF-5-ADJCHG: Process 2, Nbr 192.168.1.1 on FastEthernet0/0 from LOADING to FULL, Loading Done
% Incomplete command.
router2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
router2# 路由器3: Router>en
Router#conf t
Enter configuration commands, one per line.? End with CNTL/Z.
Router(config)#hostname router3
router3(config)#int f0/0
router3(config-if)#ip add 192.168.1.3 255.255.255.0
router3(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
router3(config-if)#ip ospf priority 150
router3(config-if)#exit
router3(config)#router ospf 3
router3(config-router)#network 192.168.1.0 0.0.0.255 area 0
router3(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
router3#
00:14:16: %OSPF-5-ADJCHG: Process 3, Nbr 192.168.1.2 on FastEthernet0/0 from LOADING to FULL, Loading Done
router3#copy running
00:14:24: %OSPF-5-ADJCHG: Process 3, Nbr 192.168.1.1 on FastEthernet0/0 from EXCHANGE to FULL, Exchange Done
% Incomplete command.
router3#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
router3# 路由器4: Router>en
Router#conf t
Enter configuration commands, one per line.? End with CNTL/Z.
Router(config)#hostname router4
router4(config)#int f0/0
router4(config-if)#ip add 192.168.1.4 255.255.255.0
router4(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
router4(config-if)#ip ospf priority 0
router4(config-if)#exit
router4(config)#router ospf 4
router4(config-router)#network 192.168.1.0 0.0.0.255 area 0
router4(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
router4#
00:18:05: %OSPF-5-ADJCHG: Process 4, Nbr 192.168.1.2 on FastEthernet0/0 from LOADING to FULL, Loading Done
00:18:05: %OSPF-5-ADJCHG: Process 4, Nbr 192.168.1.1 on FastEthernet0/0 from LOADING to FULL, Loading Done
router4#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
router4# 測試結果: router1#ping 192.168.1.2 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/53/63 ms router1#ping 192.168.1.3 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/56/63 ms router1#ping 192.168.1.4 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/56/79 ms
router1#ping 192.168.1.2 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/53/63 ms router1#ping 192.168.1.3 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/56/63 ms router1#ping 192.168.1.4 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/56/79 ms
查看OSPF信息: router1#sh ip ospf neighbor detail
?Neighbor 192.168.1.2, interface address 192.168.1.2
??? In the area 0 via interface FastEthernet0/0
??? Neighbor priority is 1, State is FULL, 6 state changes
??? DR is 192.168.1.3 BDR is 192.168.1.1
??? Options is 0x00
??? Dead timer due in 00:00:39
??? Neighbor is up for 00:02:00
??? Index 1/1, retransmission queue length 0, number of retransmission 0
??? First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
??? Last retransmission scan length is 0, maximum is 0
??? Last retransmission scan time is 0 msec, maximum is 0 msec
?Neighbor 192.168.1.3, interface address 192.168.1.3
??? In the area 0 via interface FastEthernet0/0
??? Neighbor priority is 150, State is FULL, 5 state changes
??? DR is 192.168.1.3 BDR is 192.168.1.1
??? Options is 0x00
??? Dead timer due in 00:00:31
??? Neighbor is up for 00:01:58
??? Index 2/2, retransmission queue length 0, number of retransmission 0
??? First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
??? Last retransmission scan length is 0, maximum is 0
??? Last retransmission scan time is 0 msec, maximum is 0 msec
?Neighbor 192.168.1.4, interface address 192.168.1.4
??? In the area 0 via interface FastEthernet0/0
??? Neighbor priority is 0, State is FULL, 6 state changes
??? DR is 192.168.1.3 BDR is 192.168.1.1
??? Options is 0x00
??? Dead timer due in 00:00:35
??? Neighbor is up for 00:01:54
??? Index 3/3, retransmission queue length 0, number of retransmission 0
??? First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
??? Last retransmission scan length is 0, maximum is 0
??? Last retransmission scan time is 0 msec, maximum is 0 msec
router1# 查看端品: router1#sh ip ospf int
FastEthernet0/0 is up, line protocol is up
? Internet address is 192.168.1.1/24, Area 0
? Process ID 1, Router ID 192.168.1.1, Network Type BROADCAST, Cost: 1
? Transmit Delay is 1 sec, State BDR, Priority 100
? Designated Router (ID) 192.168.1.3, Interface address 192.168.1.3
? Backup Designated Router (ID) 192.168.1.1, Interface address 192.168.1.1
? Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
??? Hello due in 00:00:06
? Index 1/1, flood queue length 0
? Next 0x0(0)/0x0(0)
? Last flood scan length is 1, maximum is 1
? Last flood scan time is 0 msec, maximum is 0 msec
? Neighbor Count is 3, Adjacent neighbor count is 3
??? Adjacent with neighbor 192.168.1.2
??? Adjacent with neighbor 192.168.1.3? (Designated Router)
??? Adjacent with neighbor 192.168.1.4
? Suppress hello for 0 neighbor(s) 測試結果OK****************************^--^

轉載于:https://blog.51cto.com/ouhuahe3628/121069

總結

以上是生活随笔為你收集整理的四路由器的OSPF DR ,BDR的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 性色tv| 欧美射| 蜜桃一区二区 | 亚洲 国产 欧美 日韩 | 自拍偷拍视频在线观看 | 婷婷视频网 | av免费大片| 黄视频网站在线看 | 蜜桃av噜噜一区二区三区麻豆 | 成人试看120秒体验区 | 欧美美女爱爱视频 | a一级视频 | 18无套直看片红桃 | 在线免费看污片 | 免费日韩视频 | 欧美成人aaaaa | 9.1成人免费看片 | 免费观看av网址 | 97视频免费看 | 播放灌醉水嫩大学生国内精品 | 国产精品av在线 | 日韩视频在线一区二区 | 蜜桃一区二区三区 | 麻豆视 | 精品久久无码中文字幕 | 国产麻豆午夜三级精品 | 日韩精品国产一区 | 少妇床戏av | 亚洲欧美一区二区三区在线观看 | 不卡网av| 亚洲xxxx18| 久久艹精品| 亚洲黄色在线看 | 午夜生活片 | 一区二区三区久久精品 | 好吊色视频988gao在线观看 | 久久精品一二三 | 色综合婷婷 | 黑人激情视频 | 亚洲天堂久久久久 | 国产精品久久综合视频 | 天天躁日日躁狠狠躁av麻豆 | 日韩中文在线播放 | 亚洲字幕| 伊人春色网 | 久久婷婷影院 | www.haoav| 爱上av | 免费在线观看网址入口 | 亚洲黄色影视 | 久久久6 | 有码一区二区三区 | 久久夜色精品国产噜噜亚洲av | 日本一区二区不卡视频 | 国产免费看片 | 国产一区二区视频在线播放 | 亚洲激情一区 | 激情小说综合 | 国产色婷婷一区二区三区竹菊影视 | 一区二区免费在线 | 黄色一级大片在线免费看国产一 | 麻豆精品视频在线 | 黄色污污视频 | 午夜美女福利视频 | 天天鲁一鲁摸一摸爽一爽 | 性欧美xxxx| 玖草视频在线观看 | 日本人和亚洲人zjzjhd | 奇米第四色影视 | 日韩二区在线 | 久久七| 温柔女教师在线观看 | 国产小毛片 | 欧美高跟鞋交xxxxxhd | 黄色片亚洲 | 性爱免费在线视频 | 色屁屁一区二区 | 91视频免费在线观看 | 在线观看特色大片免费网站 | 深夜视频在线观看免费 | 亚洲国产精品福利 | 91丨porny丨在线 | 一色屋免费视频 | 久久精品国产99国产精品 | 亚洲精品一区二区三区蜜臀 | 欧美bdsm调教视频 | 五月天婷婷色 | av有码在线观看 | 越南毛茸茸的少妇 | 黄色三级av| 日韩中文娱乐网 | 一区二区三区四区中文字幕 | 一本到免费视频 | 麻豆日韩| 无码人妻精品丰满熟人区 | 天天射天天色天天干 | 欧美日韩生活片 | 亚洲综合激情在线 | 国产精品久久久久久一区二区 |