10-30-2012 10:44 AM
Hello.
Is it possible to have a script that can shutdown a 3G interface when a pre-defined monthly traffic is reached and that reactivates the interface on the first day of the following month?
The scenario is that a customer has a Cisco 800 3G routers with a 3G card from a Service Provider, that offers a rate for X Mbytes per month and that when those monthly X Mbps are exceeded, a differente rate (much more expensive) is applied for the excess traffic that month.
The customer would like to have the router NOT to active the 3G access when the X Mbytes (on that month) are exceeded.
What additional features should the script use? ip accounting? netflow?
Does anyone have an example of a script with a similar functionality?
Thanks in advance.
Best regards,
Rui Antunes
10-30-2012 02:14 PM
You don't need ip accounting or Netflow, really. You could do this with SNMP byte counters. The problem is reloads. If the device reloads, you lose state. Is that a concern? Other than that, what you want is very doable.
10-31-2012 02:25 AM
Hello Joseph.
Thank you for your help.
Losing state due to a device reload is a concern, since for that month, we won't be able to guarantee that the 3G plafond is not exceeded. However, since a device reload should be rare, that is not very serious.
Is there any scripting examples for a similar function?
Best regards,
Rui Antunes
11-03-2012 09:53 PM
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