event manager environment _disable_int fa4
!
event manager applet DisableInt
event timer cron name DisableInterface cron-entry "0 23 * * *"
action 1.0 cli command "ene"
action 1.2 cli command "conf term"
action 1.7 cli command "int $_disable_int"
action 1.9 cli command "shut"
!
event manager applet EnableInt
event timer cron name EnableIntcron-entry "0 5 * * *"
action 1.0 cli command "en"
action 1.2 cli command "conf t"
action 1.7 cli command "interface $_disable_int"
action 1.9 cli command "no shut"
!
event manager applet EnableAfterReboot
event timer countdown name EnableAfterReboot time 5
action 1.0 cli command "en"
action 1.2 cli command "conf t"
action 1.7 cli command "interface $_disable_int"
action 1.9 cli command "no shut"