- 积分
- 248
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
R1-config
ip sla 1
icmp-echo 10.1.24.4 source-interface Loopback0
timeout 2000
frequency 5
ip sla schedule 1 life forever start-time now
track 1 rtr 1 reachability
ip route 4.4.4.4 255.255.255.255 10.1.12.2 track 1
ip route 4.4.4.4 255.255.255.255 10.1.13.3 5
ip route 10.1.24.0 255.255.255.0 10.1.12.2
测试结果
R4(config-if)#int f0/1
R4(config-if)#shut
R1#ping 4.4.4.4 sou lo0 re 10000
Type escape sequence to abort.
Sending 10000, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!
|
|