12-20-2010 08:14 PM
Dear All,
Anyone can give me idea how to set up time range on particular countries ? For instant i have 2 dialpeer with have the same destination country like USA
and i want set time from 7:00 PM to 11:00 AM match on dial-peer100 voip and 11:01 AM to 6:59 PM match on dial-peer 200 voip.
Best Regards,
Danet
12-21-2010 10:15 AM
I never tested a similar scenario but I think that you can use "kron" command to shutdown a specific dial-peer.
This is an example to shutdown an interface:
event manager applet INTDOWN
event none
action 10.0 cli command "enable"
action 20.0 cli command "conf t"
action 30.0 cli command "interface FastEthernet0/0"
action 40.0 cli command "shutdown"
action 50.0 syslog msg "Interface Down!"
kron occurrence KRON1 at 22:25 oneshot
policy-list KRONLIST
!
kron policy-list KRONLIST
cli event manager run INTDOWN
You can find more informations on cisco command reference guides.
Good luck.
05-11-2011 08:02 PM
Dear Daniele,
Your guide line quite solved the problem.
best Regards,
Danet
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