|
| 1 | +================ |
| 2 | +network qos rule |
| 3 | +================ |
| 4 | + |
| 5 | +A **Network QoS rule** specifies a rule defined in a Network QoS policy; its |
| 6 | +type is defined by the parameter 'type'. Can be assigned, within a Network QoS |
| 7 | +policy, to a port or a network. Each Network QoS policy can contain several |
| 8 | +rules, each of them |
| 9 | + |
| 10 | +Network v2 |
| 11 | + |
| 12 | +network qos rule create |
| 13 | +----------------------- |
| 14 | + |
| 15 | +Create new Network QoS rule |
| 16 | + |
| 17 | +.. program:: network qos rule create |
| 18 | +.. code:: bash |
| 19 | +
|
| 20 | + os network qos rule create |
| 21 | + --type <type> |
| 22 | + [--max-kbps <max-kbps>] |
| 23 | + [--max-burst-kbits <max-burst-kbits>] |
| 24 | + [--dscp-marks <dscp-marks>] |
| 25 | + [--min-kbps <min-kbps>] |
| 26 | + [--ingress | --egress] |
| 27 | + <qos-policy> |
| 28 | +
|
| 29 | +.. option:: --type <type> |
| 30 | + |
| 31 | + QoS rule type (minimum-bandwidth, dscp-marking, bandwidth-limit) |
| 32 | + |
| 33 | +.. option:: --max-kbps <min-kbps> |
| 34 | + |
| 35 | + Maximum bandwidth in kbps |
| 36 | + |
| 37 | +.. option:: --max-burst-kbits <max-burst-kbits> |
| 38 | + |
| 39 | + Maximum burst in kilobits, 0 means automatic |
| 40 | + |
| 41 | +.. option:: --dscp-mark <dscp-mark> |
| 42 | + |
| 43 | + DSCP mark: value can be 0, even numbers from 8-56, excluding 42, 44, 50, |
| 44 | + 52, and 54 |
| 45 | + |
| 46 | +.. option:: --min-kbps <min-kbps> |
| 47 | + |
| 48 | + Minimum guaranteed bandwidth in kbps |
| 49 | + |
| 50 | +.. option:: --ingress |
| 51 | + |
| 52 | + Ingress traffic direction from the project point of view |
| 53 | + |
| 54 | +.. option:: --egress |
| 55 | + |
| 56 | + Egress traffic direction from the project point of view |
| 57 | + |
| 58 | +.. describe:: <qos-policy> |
| 59 | + |
| 60 | + QoS policy that contains the rule (name or ID) |
| 61 | + |
| 62 | +network qos rule delete |
| 63 | +----------------------- |
| 64 | + |
| 65 | +Delete Network QoS rule |
| 66 | + |
| 67 | +.. program:: network qos rule delete |
| 68 | +.. code:: bash |
| 69 | +
|
| 70 | + os network qos rule delete |
| 71 | + <qos-policy> |
| 72 | + <rule-id> |
| 73 | +
|
| 74 | +.. describe:: <qos-policy> |
| 75 | + |
| 76 | + QoS policy that contains the rule (name or ID) |
| 77 | + |
| 78 | +.. describe:: <rule-id> |
| 79 | + |
| 80 | + Network QoS rule to delete (ID) |
| 81 | + |
| 82 | +network qos rule list |
| 83 | +--------------------- |
| 84 | + |
| 85 | +List Network QoS rules |
| 86 | + |
| 87 | +.. program:: network qos rule list |
| 88 | +.. code:: bash |
| 89 | +
|
| 90 | + os network qos rule list |
| 91 | + <qos-policy> |
| 92 | +
|
| 93 | +.. describe:: <qos-policy> |
| 94 | + |
| 95 | + QoS policy that contains the rule (name or ID) |
| 96 | + |
| 97 | +network qos rule set |
| 98 | +-------------------- |
| 99 | + |
| 100 | +Set Network QoS rule properties |
| 101 | + |
| 102 | +.. program:: network qos rule set |
| 103 | +.. code:: bash |
| 104 | +
|
| 105 | + os network qos rule set |
| 106 | + [--max-kbps <max-kbps>] |
| 107 | + [--max-burst-kbits <max-burst-kbits>] |
| 108 | + [--dscp-marks <dscp-marks>] |
| 109 | + [--min-kbps <min-kbps>] |
| 110 | + [--ingress | --egress] |
| 111 | + <qos-policy> |
| 112 | + <rule-id> |
| 113 | +
|
| 114 | +.. option:: --max-kbps <min-kbps> |
| 115 | + |
| 116 | + Maximum bandwidth in kbps |
| 117 | + |
| 118 | +.. option:: --max-burst-kbits <max-burst-kbits> |
| 119 | + |
| 120 | + Maximum burst in kilobits, 0 means automatic |
| 121 | + |
| 122 | +.. option:: --dscp-mark <dscp-mark> |
| 123 | + |
| 124 | + DSCP mark: value can be 0, even numbers from 8-56, excluding 42, 44, 50, |
| 125 | + 52, and 54 |
| 126 | + |
| 127 | +.. option:: --min-kbps <min-kbps> |
| 128 | + |
| 129 | + Minimum guaranteed bandwidth in kbps |
| 130 | + |
| 131 | +.. option:: --ingress |
| 132 | + |
| 133 | + Ingress traffic direction from the project point of view |
| 134 | + |
| 135 | +.. option:: --egress |
| 136 | + |
| 137 | + Egress traffic direction from the project point of view |
| 138 | + |
| 139 | +.. describe:: <qos-policy> |
| 140 | + |
| 141 | + QoS policy that contains the rule (name or ID) |
| 142 | + |
| 143 | +.. describe:: <rule-id> |
| 144 | + |
| 145 | + Network QoS rule to delete (ID) |
| 146 | + |
| 147 | +network qos rule show |
| 148 | +--------------------- |
| 149 | + |
| 150 | +Display Network QoS rule details |
| 151 | + |
| 152 | +.. program:: network qos rule show |
| 153 | +.. code:: bash |
| 154 | +
|
| 155 | + os network qos rule show |
| 156 | + <qos-policy> |
| 157 | + <rule-id> |
| 158 | +
|
| 159 | +.. describe:: <qos-policy> |
| 160 | + |
| 161 | + QoS policy that contains the rule (name or ID) |
| 162 | + |
| 163 | +.. describe:: <rule-id> |
| 164 | + |
| 165 | + Network QoS rule to delete (ID) |
0 commit comments