8.4.12 Edit of bandwidth limitation rules
By specifying an XML file that configures bandwidth limitation rules, you can simultaneously change the settings of bandwidth limitation rules for the managed domain. The following values can be changed: the maximum transmission bandwidth for uploading and downloading, and the value of the active flag.
A user creates the bandwidth limitation rule file by modifying the file that is output by the command for acquiring bandwidth limitation rules. For details about the format of the bandwidth limitation rules file, see 8.4.11 (3)(a) Format of the bandwidth limitation rules file.
- Organization of this subsection
(1) Format
DWAdminClient.bat SETBANDWIDTHRULE -result the path of the Bandwidth Limitation Rules file -property property-file {-concurrenttimeout timeout time (second)}
(2) Arguments
No. |
Option |
Description |
---|---|---|
1 |
-result |
Specify the path of the file that configures the bandwidth limitation rules. |
2 |
-concurrenttimeout |
For details, see 8.3.2 Common options. |
3 |
-property |
(3) Description
If a value outside the range of 0 to 1,000 (unit: Mbps) is specified for the maximum transmission bandwidth, the following error message is output:
DWCO1747_E Failed to read bandwidth limitation rules file. (Details: DWCO1708_E A setting is wrong. (Setting: upload -limit, Value:-1))
For more information about the messages see 8.5 List of messages.
(4) Execution example
DWAdminClient.bat SETBANDWIDTHRULE -config C:\data\band_width_limitation_rules.xml -property "C:\DWAdminClient\property.xml"