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

歡迎訪問 生活随笔!

生活随笔

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

编程问答

HSRP (不同VLAN之间的热备份路由协议)

發布時間:2025/3/8 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 HSRP (不同VLAN之间的热备份路由协议) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.



SRP?

劃分vlan R6(config-if)#switchport access vlan 10 R6(config-if)#inter f1/2 R6(config-if)#switchport access vlan 20 R6(config)#interface range f1/3 -4配置 R5>en R5#conf t R5(config)#vlan 10配置地址 R5(config-if)#no shut R5(config)#inter vlan 10 R5(config-if)#standby 2 ip 192.168.10.1配置占先權 R5(config-if)#standby 2 priority 150配置?vlan20配置占先權 R5(config-if)#standby 3 priority 145負載均衡 % This switch is already the root of VLAN10 spanning tree VLAN 10 bridge priority set to 8192 VLAN 10 bridge max aging time unchanged at 20 VLAN 10 bridge hello time unchanged at 2 VLAN 10 bridge forward delay unchanged at 15 R5(config)#spanning-tree vlan 20 root secondary VLAN 20 bridge priority set to 16384 VLAN 20 bridge max aging time unchanged at 20 VLAN 20 bridge hello time unchanged at 2 VLAN 20 bridge forward delay unchanged at 15 R5(config)#inter f1/0 R5(config-if)#no switchport R5(config-if)#ip address 202.106.1.10 R5(config-if)#ip address 202.106.1.10 255.255.255.0 R5(config-if)#no shut R5(config)#ip route 0.0.0.0 0.0.0.0 202.106.1.1上配置 R3>en R3#conf t R3(config)#inte f1/1vlan搶占 R3(config-if)#inter vlan 20 R3(config-if)#ip address 192.168.20.11 255.255.255.0 R3(config-if)#no shut R3(config-if)#standby 3 ip 192.168.20.1 R3(config-if)#standby 3 preempt R3(config-if)#standby 3 priority 150負載均衡 VLAN 10 bridge priority set to 16384 VLAN 10 bridge max aging time unchanged at 20 VLAN 10 bridge hello time unchanged at 2 VLAN 10 bridge forward delay unchanged at 15 R3(config)#spanning-tree vlan 20 root primary VLAN 20 bridge priority set to 8192 VLAN 20 bridge max aging time unchanged at 20 VLAN 20 bridge hello time unchanged at 2 VLAN 20 bridge forward delay unchanged at 15 R3(config)#ip route 0.0.0.0 0.0.0.0 202.106.10.1上配置: R4>en R4#conf t R4(config)#inter f0/0 R4(config-if)#ip address 202.106.10.1 255.255.255.0測試結果

<span style="font-family: 宋體; color: red; font-size: 14pt; mso-hansi-font-family: "Times New Roman'; mso-ascii-font-family: 'Times New Roman'">



本文轉自 cs312779641 51CTO博客,原文鏈接:http://blog.51cto.com/chenhao6/1163724

總結

以上是生活随笔為你收集整理的HSRP (不同VLAN之间的热备份路由协议)的全部內容,希望文章能夠幫你解決所遇到的問題。

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