久久久久久久性爱潮,国产又粗又猛又爽又黄下载视频,尤物国产在线一区视频,欧美日本国产在线不卡

<sup id="4uqqy"><ol id="4uqqy"></ol></sup>
  • <th id="4uqqy"></th>

      • <strike id="4uqqy"><nobr id="4uqqy"><ins id="4uqqy"></ins></nobr></strike><sup id="4uqqy"></sup><strong id="4uqqy"><u id="4uqqy"></u></strong>
        <sub id="4uqqy"></sub>

          綠色資源網(wǎng):您身邊最放心的安全下載站! 最新軟件|熱門排行|軟件分類|軟件專題|廠商大全

          綠色資源網(wǎng)

          技術(shù)教程
          您的位置:首頁系統(tǒng)集成網(wǎng)絡(luò)管理 → 詳解:Cisco HSRP的配置

          詳解:Cisco HSRP的配置

          我要評論 2011/09/22 11:19:59 來源:綠色資源網(wǎng) 編輯:downcc.com [ ] 評論:0 點擊:571次

           HSRP的配置

          拓撲圖
          \
          實驗步驟:
          1. 配置IP地址和路由協(xié)議
            R1(config)#interface f0/0
            R1(config-if)#ip address 192.168.13.1 255.255.255.0
            R1(config-if)#no shutdown
            R1(config)#interface s1/1
            R1(config-if)#ip address 192.168.12.1 255.255.255.0
            R1(config-if)#no shutdown
            R1(config)#router rip
            R1(config-router)#network 192.168.12.0
            R1(config-router)#network 192.168.13.0
            R1(config-router)#passive-interface f0/0
            //之所以把f0/0接口設(shè)為被動接口,是為了防止從該口向R3發(fā)送RIP信息。
             
             
            R2(config)#interface f0/0
            R2(config-if)#ip address 192.168.2.254 255.255.255.0
            R2(config-if)#no shutdown
            R2(config)#interface s1/1
            R2(config-if)#clock 128000
            R2(config-if)#ip address 192.168.12.2 255.255.255.0
            R2(config-if)#no shutdown
            R2(config)#interface s1/3
            R2(config-if)#clock 128000
            R2(config-if)#ip address 192.168.23.2 255.255.255.0
            R2(config-if)#no shutdown
            R2(config)#router rip
            R2(config-router)#network 192.168.2.0
            R2(config-router)#network 192.168.12.0
            R2(config-router)#network 192.168.23.0
            R2(config-router)#passive-interface f0/0
             
            R3(config)#interface f0/0
            R3(config-if)#ip address 192.168.13.3 255.255.255.0
            R3(config-if)#no shutdown
            R3(config)#interface s1/3
            R3(config-if)#ip address 192.168.23.3 255.255.255.0
            R3(config-if)#no shutdown
            R3(config)#router rip
            R3(config-router)#network 192.168.13.0
            R3(config-router)#network 192.168.23.0
            R3(config-router)#passive-interface f0/0
             
            PC2(config)#no ip routing
            PC2(config)#interface f0/0
            PC2(config-if)#ip address 192.168.2.2 255.255.255.0
            PC2(config-if)#no shutdown
            PC2(config)#ip default-gateway 192.168.2.254
          •      配置HSRP
            R1(config)#interface f0/0
            R1(config-if)#standby 11 ip 192.168.13.254
            //啟用HSRP功能,并配置虛擬IP網(wǎng)關(guān)地址,11為standby的組號。相同組號的路由器屬于同一個HSRP組,需要注意的是同一個組內(nèi)的路由器設(shè)置虛擬網(wǎng)關(guān)地址必須一致。
            R1(config-if)#standby 11 priority 120
            //配置HSRP的優(yōu)先級,默認是100,值越大優(yōu)先級越高。
            R1(config-if)#standby 11 preempt
            //設(shè)置路由器在優(yōu)先級最高時成為活動路由器,如果不設(shè)置,即使路由器優(yōu)先級再高也不會成為活動路由器。
            R1(config-if)#standby 11 timers 3 10
            //其中的3為Hello Time,表示每隔多長時間發(fā)送Hello消息。10為Hold Time,表示在多長時間內(nèi)同組的路由器沒有收到活動路由器發(fā)送的消息,即認為活動路由器出現(xiàn)故障了,同組的路由器該項設(shè)置必須一致。
            R1(config-if)#standby 11 authentication md5 key-string cisco
            //以上是配置認證密碼,防止非法設(shè)備加入到HSRP組,同組內(nèi)的設(shè)備密碼需保持一致。
             
             
            R3(config)#interface f0/0
            R3(config-if)#standby 11 ip 192.168.13.254
            R3(config-if)#standby 11 preempt
            R3(config-if)#standby 11 timers 3 10
            R3(config-if)#standby 11 authentication md5 key-string cisco
          • 查看HSRP狀態(tài)
            R1#show standby brief
                                 P indicates configured to preempt.
                                 |
            Interface   Grp Prio P State    Active          Standby         Virtual IP    
            Fa0/0       11 120 P Active   local           192.168.13.3    192.168.13.254
            //以上表明R1是活動路由,R3是備份路由。
             
            R3#show standby brief
                                 P indicates configured to preempt.
                                 |
            Interface   Grp Prio P State    Active          Standby         Virtual IP    
            Fa0/0       11 100 P Standby 192.168.13.1    local           192.168.13.254
            //以上表明R3是備份路由,R1是活動路由。
          • 修改PC1的配置
            PC1(config)#interface f0/0
            PC1(config-if)#ip address 192.168.13.100 255.255.255.0
            PC1(config-if)#no shutdown
            PC1(config)#ip default-gateway 192.168.13.254
          • 測試,在PC1上連續(xù)ping PC2,ping的過程中關(guān)掉R1上f0/0端口,觀察ping的結(jié)果以及HSRP的狀態(tài)。
            PC1#ping
            Protocol [ip]:
            Target IP address: 192.168.2.2
            Repeat count [5]: 3000       ----------------設(shè)置ping的次數(shù)
            Datagram size [100]: 1500      ------------------設(shè)置ping包的報文長度
            Timeout in seconds [2]:
            Extended commands [n]: y
            Source address or interface: 192.168.13.100
            Type of service [0]:
            Set DF bit in IP header

            關(guān)鍵詞:Cisco,HSRP

          閱讀本文后您有什么感想? 已有 人給出評價!

          • 0 歡迎喜歡
          • 0 白癡
          • 0 拜托
          • 0 哇
          • 0 加油
          • 0 鄙視