Codice: Seleziona tutto
track 1 ip sla 1
default-state up
delay down 20 up 60
!
interface Vlan2
description ISP1-MAIN
ip address 82.xxx.xxx.36 255.255.255.248
ip nbar protocol-discovery
standby 2 ip 82.xxx.xxx.34
standby 2 priority 150
standby 2 preempt
!
interface Vlan3
description ISP2-BACKUP
ip address 81.xxx.xxx.244 255.255.255.248
ip access-group acl_perimetro in
standby 3 ip 81.xxx.xxx.242
standby 3 priority 250
standby 3 preempt
!
interface Vlan20
description PUBLIC POOL TO ASA
ip address 82.xxx.xxx.52 255.255.255.248
standby 20 ip 82.xxx.xxx.49
standby 20 priority 120
standby 20 preempt
!
interface Vlan50
ip address 10.255.0.4 255.255.255.0
ip access-group acl_vlan50 in
ip inspect wall out
standby 50 ip 10.255.0.1
standby 50 priority 150
standby 50 preempt
!
ip route 0.0.0.0 0.0.0.0 82.xxx.xxx.33 track 1
ip route 0.0.0.0 0.0.0.0 81.xxx.xxx.241 150
ip route 82.xxx.xxx.53 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.54 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.55 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.56 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.57 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.58 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.59 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.60 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.61 255.255.255.255 82.xxx.xxx.50
ip route 82.xxx.xxx.62 255.255.255.255 82.xxx.xxx.50
!
ip sla 1
icmp-echo 8.8.8.8 source-interface Vlan2
frequency 30
ip sla schedule 1 start-time now
Cosa stò sbagliando?
Per farlo tornare up devo forzare la rotta di default togliendo il track per poi rimetterlo dopo non appena torna up.
Codice: Seleziona tutto
VPN-RECEC-02#sh track
Track 1
IP SLA 1 state
State is Up
2 changes, last change 01:04:14
Delay up 60 secs, down 20 secs
Latest operation return code: OK
Latest RTT (millisecs) 10