SLA配置,主要是检测某个IP通信质量 ip sla 1 icmp-echo 56.16.234.2 frequency 5 ip sla schedule 1 life forever start-time now # EEM负责自动执行部分命令 event manager environment 1 event manager applet rip_track_1 event track 1 state down action 1.0 cli command "enable" action 2.0 cli command "conf t" action 3.0 cli command "int f 0/0" action 3.2 cli command "no sh" action 4.0 cli command "end" 希望对大家有帮助,谢谢。 |