09-01-2015 06:17 AM
Hi,
I want to apply service policy in my router lan interface time basis. I want to control non-business traffic in business hours, I am thinking to apply QOS to rate limit the non-business traffic in business hours. Hence, i am seeking a help for a EEM script which will punch and remove the commands as per the time basis.
Regards,
Jubair.S
Solved! Go to Solution.
09-01-2015 11:15 AM
You can wrap your commands around an EEM timer applet:
event manager applet timed-qos-enable
event timer cron cron-entry "0 8 * * *"
action 001 cli command "enable"
action 002 cli command "config t"
! QoS enable commands here
event manager applet timed-qos-disable
event timer cron cron-entry "0 18 * * *"
action 001 cli command "enable"
action 002 cli command "config t"
! QoS disable commands here
09-01-2015 11:15 AM
You can wrap your commands around an EEM timer applet:
event manager applet timed-qos-enable
event timer cron cron-entry "0 8 * * *"
action 001 cli command "enable"
action 002 cli command "config t"
! QoS enable commands here
event manager applet timed-qos-disable
event timer cron cron-entry "0 18 * * *"
action 001 cli command "enable"
action 002 cli command "config t"
! QoS disable commands here
09-01-2015 10:37 PM
Thanks Joseph...it worked!!!!!....
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide