For downstream contract of 256 Kbps:
(host) (config) #user-role authenticated bw-contract 256k downstream
Applying Contracts Per-User
Use the following commands to apply the contracts on a per-user basis for upstream and downstream:
For upstream contract of 512 Kbps:
(host) (config) #user-role authenticated bw-contract 512k per-user upstream
For downstream contract of 256 Kbps:
(host) (config) #user-role authenticated bw-contract 256k per-user downstream
Verifying Contracts on AP
The following example displays the bandwidth contracts on AP for per-role configuration:
(host) #show datapath bwm ap-name rap5-2
Datapath Bandwidth Management Table Entries
-------------------------------------------
Flags: Q - No drop, P - No shape(Only Policed),
T - Auto tuned
--------------------------------------------------------------------
Rate: pps - Packets-per-second (256 byte packets), bps - Bits-per-second
--------------------------------------------------------------------
Cont Avail Queued/Pkts
Id Rate Policed Bytes Bytes Flags
---- --------- ---------- ------- ------------ -----
1 512000 0 16000 0/0 P
2 256000 0 8000 0/0 P
The following example displays the bandwidth contracts on AP for per-user configuration (contract IDs 3 and 4
are per-user contracts):
(host) #show datapath bwm ap-name rap5-2
Datapath Bandwidth Management Table Entries
-------------------------------------------
Flags: Q - No drop, P - No shape(Only Policed),
T - Auto tuned
--------------------------------------------------------------------
Avail Queued/Pkts
Id Rate Policed Bytes Bytes Flags
---- --------- ---------- ------- ------------ -----
1 512000 300 16000 0/0 P
2 256000 277 8000 0/0 P
3 512000 0 16000 0/0 P
4 256000 0 8000 0/0 P
Verifying Contracts Applied to Users
You can verify if the contracts are applied to the user after the user connects to the AP using CLI.
The following is a sample output for a per-role configuration:
(host) #show datapath user ap-name rap5-2
Datapath User Table Entries
---------------------------
Flags: P - Permanent, W - WEP, T- TKIP, A - AESCCM, G - AESGCM, V - ProxyArp to/for MN
(Visitor),
N - VPN, L - local, Y - Any IP user, R - Routed user, M - Media Capable,
AOS-W 6.5.3.x | User Guide Remote Access Points | 743