精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學習啦 > 學習電腦 > 網(wǎng)絡(luò)知識 > 路由器 > 路由器設(shè)置 > cisco思科 > 思科如何配置IP SLA路由聯(lián)動(2)

      思科如何配置IP SLA路由聯(lián)動(2)

      時間: 權(quán)威724 分享

      思科如何配置IP SLA路由聯(lián)動

        舉個例子,

        某公司拉了一條光纖專線,光纖進來后接收發(fā)器再接1841路由器,另外接了一條網(wǎng)通的線備份,正常情況下走電信,電信斷了會走網(wǎng)通,通過浮動路由來實現(xiàn),問題來了,如果電信的光纖在某個局點出了問題,但1841和收發(fā)器的連接是好的,即1841的連接電信的接口的1層2層全是OK的,那這時候是不會切換到網(wǎng)通的,如何實現(xiàn)備份呢???

        IP sla可以解決,一要路由可以track一個IP地址,可以通過向一個地址發(fā)送icmp包,如果嘗試幾次收不到回應后認為對方不存在,此路由失效。

        在1841上做的

        Building configuration…

        version 12.4

        service timestamps debug datetime msec

        service

        timestamps log datetime msec

        service password-encryption

        debugging

        enable secret 5 class="main">

      學習啦 > 學習電腦 > 網(wǎng)絡(luò)知識 > 路由器 > 路由器設(shè)置 > cisco思科 > 思科如何配置IP SLA路由聯(lián)動(2)

      思科如何配置IP SLA路由聯(lián)動(2)

      時間: 權(quán)威724 分享

        !

        no aaa

        new-model

        !

        resource policy

        !

        mmi polling-interval 60

        no mmi

        auto-configure

        no mmi pvc

        mmi snmp-timeout 180

        ip subnet-zero

        ipcef

        no ip domain

        lookup

        !----------------------------- 建立 sla

        ipsla monitor 1

        type echo protocol ipIcmpEcho x.x.x.x

        request-data-size

        1400

        timeout 1000

        threshold 2

        frequency 3

        ip sla monitor schedule 1life forever start-timenow

        !

        !

        !----------------------------------- 建立track

        track2 rtr 1

        !

        track 3 rtr 1reachability

        interfaceFastEthernet0/0

        ip address x.x.x.x 255.255.255.252

        speed

        10

        half-duplex

        crypto map clientmap

        !

        interface

        FastEthernet0/1

        ip address 192.168.10.1 255.255.255.0

        duplex

        auto

        speed

        auto

        !--------------------------------------HSRP

        track

        standby 1 track 2

        standby 1 track 3

        !

        ip

        classless

        !------------------------------------ 路由

        track

        ip route 1.1.1.1 255.255.255.255 x.x.x.x track 2

        ip route 0.0.0.0

        0.0.0.0 x.x.x.x

        !

        ip http server

        no ip http

        secure-server

        !

        !---------------------------------- 策略路由

        track

        route-map test permit 10

        match ip address 1

        set ip next-hop

        verify-availability x.x.x.x 1 track

        2

        !

        !

        !

        control-plane

        !

        ip sla配置和注解

        1)IP SlA/track

        本地路由設(shè)備到下一臺三層交換機之間串接一臺透明設(shè)備,當對端shutdown狀態(tài),本地設(shè)備仍處于UP,這時將導致所謂的"黑洞"現(xiàn)象,

        我們可以通過SLA來做網(wǎng)絡(luò)端到端的可用性監(jiān)測,從而解決這個問題。

        R871(config)#ip sla 64

        R871(config-ip-sla)# icmp-echo 192.168.64.2

        R871(config)#ip sla schedule 64 life forever start-time now

        R871(config)#ip sla 65

        R871(config-ip-sla)# icmp-echo 192.168.65.2

        R871(config)#ip sla schedule 65 life forever start-time now

        ---采用icmp協(xié)議來監(jiān)視,即發(fā)出icmp echo包來探測對端的可達性,192.168.64.2/65.2為對端IP地址

        2)定義SLA監(jiān)視組

        R871(config)#track 64 rtr 64 reachability……定義跟蹤組

      554850