ā11-03-2011 09:48 AM - edited ā03-04-2019 02:09 PM
Hi,
We have a dedicate private line connecting to a remote office.
( DS3(BGP) -> 3rd party private network -> E1 (BGP) -> Ethernet (RIP) -> Satellite (RIP) )
There are Cisco routers at both ends.
This office has poor internet bandwidth so we want to route its internet traffic back to main office everyday at night from 8 pm to 8 am Eastern Time.
I know how to use static or RIP default route at remote router to direct its internet traffic back to main office.
But how do I cut it off when the morning comes?
And how do I add restrications at main office to block this traffic if someone at remote office removes the timing rule manually?
Can anyone give me an idea how to implement this?
Thank you!
-Andrew
Solved! Go to Solution.
ā11-03-2011 09:56 AM
Hi,
you could use PBR with a time-based ACL to route traffic through this link during off-hours.
Eg:
time-range OFF_HOURS
periodic weekdays 20:00 to 7:59
access-list 101 permit ip any any time-range OFF_HOURS
route-map OFF_HOURS
match ip address OFF_HOURS
set ip next-hop x.x.x.x or set interface x/x
interface fx/x
ip policy route-map OFF_HOURS
ip route-cache policy
Regards.
Alain.
ā11-03-2011 05:57 PM
also to add to the nice Post from Alain 5+
see the below link with some config example
http://www.iphelp.ru/faq/18/1587051346_ch04lev1sec24.html
hope this help
ā11-03-2011 09:56 AM
Hi,
you could use PBR with a time-based ACL to route traffic through this link during off-hours.
Eg:
time-range OFF_HOURS
periodic weekdays 20:00 to 7:59
access-list 101 permit ip any any time-range OFF_HOURS
route-map OFF_HOURS
match ip address OFF_HOURS
set ip next-hop x.x.x.x or set interface x/x
interface fx/x
ip policy route-map OFF_HOURS
ip route-cache policy
Regards.
Alain.
ā11-03-2011 02:18 PM
Alain,
Thanks for the reply.
I'll test it and let you know.
Thanks,
-Andrew
ā11-03-2011 05:57 PM
also to add to the nice Post from Alain 5+
see the below link with some config example
http://www.iphelp.ru/faq/18/1587051346_ch04lev1sec24.html
hope this help
ā11-07-2011 08:02 AM
Thank you, marwanshawi !
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