event manager applet ccxx(事件名)
event syslog pattern "触发事件“(触发事件的具体内容)
action 1 cli command "enable"
action 1 cli command "config t"
action 1 cli command "interface f0/1"
action 1 cli command "no sh"
action 1 cli command "触发事件"(输出)
转载于:https://blog.51cto.com/439017543/963255