Introduction : How to check in IAP packets policied and dropped because of Bandwidth Contract?
Feature Notes : This article written based on version 6.4.0.3-4.1.0.1.
Environment : SSID having Bandwidth contract configured.
Network Topology : IAP ====SSID (with bandwidth contract) )))) client
Answer : Can use the below command to check policed and dropped packets with bandwidth contract.
18:64:72:c8:20:16# get-sysctl role_bwm_table
Received BWM Config:
--------------------
ACL DIR Contract-ID PerUser UseCount Rate
Allocated Contracts:
--------------------
Contract-ID Rate UseCount Available-Bytes Max-Bytes Policed-Bytes Queued-Bytes Queued-Pkts Dropped-pkts
1 10240000 1 320000 320000 0 0 0 0
2 1024000 1 32000 32000 0 0 0 0
3 10240000 1 320000 320000 0 0 0 0
4 1024000 1 32000 32000 0 0 0 0
5 10240000 1 320000 320000 0 0 0 0
6 1024000 1 32000 32000 0 0 0 0
7 10240000 1 320000 320000 0 0 0 0
8 1024000 1 32000 32000 0 0 0 0
Bandwidth Contracts for cpu type 0 has 9 contracts
BWM divisor for type:0 : 4(4)
1(cpu:0): flags: 0x0, 10240000 bps, name:
2(cpu:0): flags: 0x0, 1024000 bps, name:
3(cpu:0): flags: 0x0, 10240000 bps, name:
4(cpu:0): flags: 0x0, 1024000 bps, name:
5(cpu:0): flags: 0x0, 10240000 bps, name:
6(cpu:0): flags: 0x0, 1024000 bps, name:
7(cpu:0): flags: 0x0, 10240000 bps, name:
8(cpu:0): flags: 0x0, 1024000 bps, name:
Bandwidth Contracts for cpu type 0 has 0 cp contracts
Queued pkts in cpus:
18:64:72:c8:20:16#
Verification : This command can be used to verify if client traffic are being policed or dropped due to bandwidth contract.