Drag and drop the snippets onto the blanks within the code to construct a script that changes the routing from gateway 1 to gateway 2 from 11:00 p.m. to 12:00 a.m. (23:00 to 24:00) only, daily. Not all options are used, and some options may be used twice.
Select and Place:
event manager applet Routing-1
FIELD 1 cron name Routing-1 cron-entry "0 23 FIELD 2"
action 1.0 cli command "enable"
action 2.0 cli command "configure terminal"
action 3.0 cli command "no ip route 0.0.0.0 0.0.0.0 192.168.1.1"
action 4.0 cli command "ip route 0.0.0.0 0.0.0.0 192.168.2.1"
event manager applet Routing-2
event timer cron name Routing-2 cron-entry "FIELD 3"
action 1.0 cli command "enable"
action 2.0 cli command "configure terminal"
action 3.0 cli command "no ip route 0.0.0.0 0.0.0.0 192.168.2.1"
action 4.0 cli command "ip route 0.0.0.0 0.0.0.0 192.168.1.1"
event timer
|
* * *
|
10 * * *
|
event tag
|
111
|
daily
|
|
FIELD 1
|
event timer
|
FIELD 2
|
* * *
|
FIELD 3
|
10 * * *
|
|