This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Download throttling configuration on ssh shell

Hello,

is it possible to manage the download throttling on shell with cc or an alternativ tool?

I would like to work around the issue, that it seems to be not possible to configure timebased qos.

 

Example for the requirement is an Backup with runs 24h for replication data. During the business hour it should be use only 30 Mbit/s, but the rest of time it could use 100 Mbit/s. It's only an example for diffrent requierement.

 

It is SG330 / UTM9



This thread was automatically locked due to age.
Parents
  • Hallo Tommes and welcome to the UTM Community!

    First, you need the REF_ of your QoS rule.  Assuming that it's a Download Throttling rule named "Backup" on the Internal interface:

    # cc get_object_by_name qos ingress_rule Backup |grep \'ref
              'ref' => 'REF_QosIngBackup',

    You can see whether the rule is enabled with:

    cc get_object REF_QosIngBackup |grep status

    Using a cron job, you can disable the rule in the evening with:

     /usr/local/bin/confd-client.plx change_object QosIngBackup status 0

    Use the same command with 1 to enable the rule in the morning.

    I would not use a Download Throttling rule though.  Rather, I would have a Bandwidth Pool on the External interface guaranteeing 30 Mbps for Backup immediately followed by one for all traffic guaranteeing 70 Mbps.  I would then enable the Backup rule in the morning and disable it in the evening.  To find the REF_ of a Bandwidth Pool  named Backup:

    # cc get_object_by_name qos rule Backup |grep \'ref

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Hallo Tommes and welcome to the UTM Community!

    First, you need the REF_ of your QoS rule.  Assuming that it's a Download Throttling rule named "Backup" on the Internal interface:

    # cc get_object_by_name qos ingress_rule Backup |grep \'ref
              'ref' => 'REF_QosIngBackup',

    You can see whether the rule is enabled with:

    cc get_object REF_QosIngBackup |grep status

    Using a cron job, you can disable the rule in the evening with:

     /usr/local/bin/confd-client.plx change_object QosIngBackup status 0

    Use the same command with 1 to enable the rule in the morning.

    I would not use a Download Throttling rule though.  Rather, I would have a Bandwidth Pool on the External interface guaranteeing 30 Mbps for Backup immediately followed by one for all traffic guaranteeing 70 Mbps.  I would then enable the Backup rule in the morning and disable it in the evening.  To find the REF_ of a Bandwidth Pool  named Backup:

    # cc get_object_by_name qos rule Backup |grep \'ref

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
No Data