diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-10-28 20:16:22 +0200 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-10-28 20:16:22 +0200 |
| commit | 0fa03f95f5f9c2296de255e95f54de3482156f08 (patch) | |
| tree | a905865f8afa1f6e727cb715cfa89730fe04452a | |
| parent | 259a2bfff41813ef2db1f24bea09edd73fd7d50b (diff) | |
| download | accel-ppp-0fa03f95f5f9c2296de255e95f54de3482156f08.tar.gz accel-ppp-0fa03f95f5f9c2296de255e95f54de3482156f08.zip | |
docs: correct RADIUS shaper units and attribute selection
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
| -rw-r--r-- | docs/pppoe_radius.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/pppoe_radius.md b/docs/pppoe_radius.md index cc3f3461..4c4f4cb9 100644 --- a/docs/pppoe_radius.md +++ b/docs/pppoe_radius.md @@ -65,12 +65,13 @@ The `shaper` module can be configured to listen for specific RADIUS attributes t * **Filter-Id** (11) * Used to specify upload/download limits. - * **Simple Format:** `speed` (bits/sec) or `speed/burst`. - * Example: `10000` (10 Mbps) - * **Cisco Format:** `rate-limit output access-group 1 8000000 1500000 3000000` (downstream) / `rate-limit input ...` (upstream). + * **Simple Format:** `speed` or `downstream/upstream`, in Kbit/s with the default `rate-multiplier=1`. + * Example: `10000` sets both directions to 10 Mbps; `10000/2000` sets downstream to 10 Mbps and upstream to 2 Mbps. + * The slash separates rates. Configure bursts with `[shaper] down-burst-factor` and `up-burst-factor`. + * **Cisco Format:** Set `vendor=Cisco` and `attr=Cisco-AVPair` in `[shaper]`. Values such as `lcp:interface-config#1=rate-limit output 8000000 1500000 3000000 conform-action transmit exceed-action drop` control downstream; `rate-limit input ...` controls upstream. Cisco rates are in bits/sec and bursts are in bytes. See the [README shaper examples](../README.md#built-in-shaper) for time ranges and complete examples. * **Mikrotik-Rate-Limit** (Vendor: Mikrotik, ID: 8) - * Supported if the attribute is present. + * Set `vendor=Mikrotik` and `attr=Mikrotik-Rate-Limit` in `[shaper]` to select this attribute. Its first rate is upstream and its second rate is downstream, the reverse of the simple Filter-Id order. Note: The attribute ID and Vendor ID for the shaper are configurable in the `[shaper]` section of `accel-ppp.conf`. |
