ip sla 1 启用SLA
icmp-echo 10.87.32.10 source-ip 10.87.32.11 配置本地源IP和目标IP
frequency 5 配置监测频率
ip sla schedule 1 life forever start-time now 配置生效时间
track 10 ip sla 1 reachabilit 配置监测机制
ip route 10.86.32.14 255.255.255.255 10.87.32.10 track 10 主路由
ip route 10.86.32.14 255.255.255.255 10.87.32.81 2 备路由
作用:在10.87.32.10出现故障中断的时候,会自动启用10.87.32.81这条路由
show ip sla
show track
网友评论