You've probably seen my approach to Download Throttling - for example, where the customer needs to reserve 5000 kbps for VoIP on a 50 Mbps downlink:
[LIST=1]Limit inbound VoIP traffic to 100000 kbps
- Limit Any-Any-Any to 45000 kbps
At several clients where they have two different ISPs, using Uplink Balancing, one WAN connection is dedicated to VoIP and the other to all other traffic. The problem is what to do with the second rule above on the non-VoIP interface. If you leave it enabled, then you permanently reduce the downlink for non-VoIP traffic to 45000 kbps. If you leave it disabled and the VoIP WAN connection fails, VoIP is not guaranteed any downlink bandwidth on the non-VoIP WAN connection.
I made a Download Throttling rule named "Test" and was able to enable/disable from the command line with:
cc change_object REF_QosIngTest status 1
cc change_object REF_QosIngTest status 0
I got the link status of the interface with:
cc get_object REF_uKneYMaTmg | grep 'link'
When a WAN connection fails, SNMP and email messages "[WARN-032] Internet uplink is down" are sent. Is there a way to piggyback the enabling command onto those actions or to capture the same signal and execute a script or ...?
Cheers - Bob
This thread was automatically locked due to age.