Skip to content

From UISP plan to router speed ​

In this tutorial you change a plan in UISP and watch the speed change on a customer session. It teaches how UISP stays the source of truth while the router enforces it.

You need the lab router and test service from Your first router on Hive-Sync, already migrated.

Step 1. Look at the current plan ​

In UISP, open the test service and note its plan and the download and upload speeds on that plan.

Step 2. See what the router enforces ​

On the lab router, look at the active PPP session for test-customer-01. The rate limit on the session matches the plan: download and upload speeds expressed in the format RouterOS expects for the Mikrotik-Rate-Limit attribute (see RADIUS attributes).

Check: the numbers on the router match the plan in UISP, allowing for the unit format.

Step 3. Change the plan in UISP ​

Move the test service to a different plan with different speeds. Do not touch the router.

Step 4. Let Hive-Sync sync ​

Hive-Sync reads the change from UISP. RADIUS now answers with the new speed for the next login of that customer.

Existing sessions

A speed limit is decided when a session starts. A session that is already online keeps its old limit until it reconnects. Whether Hive-Sync can push a change to a live session without a reconnect is Coming soon. For now, disconnect the test client and let it log in again.

Step 5. Confirm ​

Reconnect the test client and look at the session again. The rate limit now matches the new plan.

What you learned ​

You never edited the router. You changed one record in UISP, and the router followed. That is the whole idea behind why UISP is the source of truth.

Hive-Sync is pre-release. Pages marked "Coming soon" describe work that is not finished.