——好久不見啊,大家最近過的還好嗎?
——學而不思則罔,思而不學則殆。好了,既然已經踏上了CCNP之旅,那就和大家一起分享一下學習HSRP的體會吧

——在CCNA中我們設計網絡的目的主要是——通!到了CCNP,我們設計網絡的時候除了考慮能不能通,還要考慮網絡的穩定性,可擴展性等因素。HSRP技術的出現大大提高了網絡的穩定性,避免了單點失效而帶了的風險。
——通過一個實驗大家來一塊了解一下HSRP的應用吧~
——本次實驗使用的拓撲圖:?
——在這次實驗中交換機使用3640系列,路由器使用了2600系列。
——SW1、SW2、SW5為工作組交換機;SW3,SW4為三層交換機。

——?設備連線關系如下:
Switch1 F0/15 <----> Switch3 F0/15?
Switch1 F0/14 <----> Switch4 F0/14?
Switch2 F0/15 <----> Switch4 F0/15?
Switch2 F0/14 <----> Switch3 F0/14?
Switch3 F0/13 <----> Router1 F0/0?
Switch4 F0/13 <----> Router2 F0/0?
Switch5 F0/15 <----> Router1 F0/1?
Switch5 F0/14 <----> Router2 F0/1?
VPCS V0/1 <----> Switch1 F0/0?
VPCS V0/2 <----> Switch1 F0/1?
VPCS V0/3 <----> Switch2 F0/0?
VPCS V0/4 <----> Switch2 F0/1?
VPCS V0/5 <----> Switch5 F0/0?
VPCS V0/6 <----> Switch5 F0/1
Switch1 F0/14 <----> Switch4 F0/14?
Switch2 F0/15 <----> Switch4 F0/15?
Switch2 F0/14 <----> Switch3 F0/14?
Switch3 F0/13 <----> Router1 F0/0?
Switch4 F0/13 <----> Router2 F0/0?
Switch5 F0/15 <----> Router1 F0/1?
Switch5 F0/14 <----> Router2 F0/1?
VPCS V0/1 <----> Switch1 F0/0?
VPCS V0/2 <----> Switch1 F0/1?
VPCS V0/3 <----> Switch2 F0/0?
VPCS V0/4 <----> Switch2 F0/1?
VPCS V0/5 <----> Switch5 F0/0?
VPCS V0/6 <----> Switch5 F0/1
實驗達成目標:
SW3,SW4互為路由器熱備份,在SW3和SW4上分別配置兩個Standby組。通過拓撲圖大家知道連接SW1和SW2的主機屬于同VLAN,在正常情況下SW3作為連接在SW1上主機的激活路由器,SW4作為連接在SW2上主機的激活路由器。這樣做的目的是流量分配的意思。出現故障以后,激活狀態的路由器會變為被動狀態,被動狀態的路由器被激活。網絡穩定性增強。
關鍵配置:


SW3:
SW3#sh run
Building configuration...
Current configuration : 1772 bytes
!
interface FastEthernet0/13
no switchport??????????
ip address 192.168.2.1 255.255.255.252
!
interface FastEthernet0/14
switchport mode trunk
no ip address
!
interface FastEthernet0/15
switchport mode trunk
no ip address
!
!
interface Vlan10
ip address 192.168.1.254 255.255.255.0
standby 1 ip 192.168.1.250
standby 1 priority 150
standby 1 preempt
standby 1 track FastEthernet0/13 60
standby 2 ip 192.168.1.249
standby 2 preempt
!
router rip
version 2
network 192.168.1.0
network 192.168.2.0
no auto-summary
!
SW4:
SW4#SH RUN
Building configuration...
Current configuration : 1772 bytes
!
!
interface FastEthernet0/13
no switchport
ip address 192.168.3.1 255.255.255.252
!
interface FastEthernet0/14
switchport mode trunk
no ip address
!
interface FastEthernet0/15
switchport mode trunk
no ip address
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 192.168.1.253 255.255.255.0
standby 1 ip 192.168.1.250
standby 1 preempt
standby 2 ip 192.168.1.249
standby 2 priority 150
standby 2 preempt
standby 2 track FastEthernet0/13 60
!
router rip
version 2
network 192.168.1.0
network 192.168.3.0
no auto-summary
!
ip http server
ip classless
!

實驗結果:


好了,實驗已經做完了。
學習思科最好的方法還是多多利用模擬器做實驗,一個試驗從構思到最后做成功能鞏固不少知識點呢。
希望大家開心,共同進步啊!
本文轉自 tiger506 51CTO博客,原文鏈接:http://blog.51cto.com/tiger506/101670,如需轉載請自行聯系原作者