cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
595
Views
10
Helpful
3
Replies
anthonypoon
Beginner

Asking about time-based static routes

Hi experts,

 

We have 2 pairs of 80M Metro-ethernet running OSPF for normal traffic and 1 pair of 20M "Replication" Metro-ethernet (no dynamic protocol) for replication & backup traffic between site A & site B.

 

On each site, there are also multiple CV backup servers. On site A, our 6509 core switch has multiple static routes for directing backup traffic passing through the pair of 20M replication Metro-ethernet.

 

We found the backup traffic grew significantly recently and many backup jobs cannot be completed in time before office hours.

 

Can we use time-based command "time-range" to limit the existing static routes only working during office hours (that mean backup traffic will be routed only to the dedicate 20M Metro-ethernet during office hours) so that backup traffic can use 2 pairs of 80M Metro-ethernet during non-office hours? Besides, Is it possible to limit the backup traffic to use portion of 80M  Metro-ethernet during non-office hours? How to do both?

 

Please enlighten. Thanks.

 

Anthony

3 REPLIES 3
mvsheik123
Rising star

Hi,

Please check if beloe posting helps..

https://community.cisco.com/t5/routing/time-based-default-route/td-p/1300076

 

Thx

MS

PS: If this helps, please rate the original post. Thanks :).

 

paul driver
VIP Mentor

Hello 

yes you can do this with two elegant functions-

 

Object tracking and Embedded event manager sessions 

 

Have a look at this  - here



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future

Hi,

 

Thanks for your expertise. That mean I can enter the followings EMM commands on site A & site B core switches to trigger the backup traffic passing thru the 20M replication lines (10.115.85.8 and 10.150.128.8) during the office hours (07am every day) and passing thru the 80M normal lines during non-office hours (12am every day)?

 

Site A

track 42 stub-object
default-state up

;CV
ip route siteB_backup1 1 siteArepl  track 42
ip route siteA_backup2 1 siteArepl  track 42

 

no event manager applet DisableBackup
no event timer cron name DisableBackup cron-entry "0 0 * * *"
no action 1.0 track set 42 state down
!
event manager applet EnableBackup
event timer cron name EnableBackup cron-entry "0 7 * * *"
action 1.0 track set 42 state up

 

Site B

track 42 stub-object
default-state up

 

;CV
ip route siteA_backup1 1 siteBrepl  track 42
ip route siteA_backup2 1 siteBrepl  track 42
ip route siteA_backup3 1 siteBrepl  track 42
 

no event manager applet DisableBackup
no event timer cron name DisableBackup cron-entry "0 0 * * *"
no action 1.0 track set 42 state down
!
event manager applet EnableBackup
event timer cron name EnableBackup cron-entry "0 7 * * *"
action 1.0 track set 42 state up

 

BTW, is it possible to limit backup trafficto occupy only certain portion of 80M dataline during non-office hours?

 

Anthony