Command of the Day

Aruba Employee

COTD: How to display bandwidth contract statistics

To find out whether a bandwidth contract will be apply to a particular role, use the command, show rights

(Aruba800) #show rights
Name ACL Bandwidth ACL List Type
---- --- --------- -------- ----
ap-role 3 No Limit control ap-acl System

trusted-ap 5 No Limit allowall System

default-vpn-role 16 No Limit allowall User

cp-authenticated 19 20m (per role) allowall User

guest 2 No Limit control cplogout System

stateful-dot1x 4 No Limit System

authenticated 17 20m (per role) allowall User

stateful 18 No Limit control User

logon 1 20m (per role) control vpnlogon captiveportal System

To find out whether a bandwidth contract is being applied to a specific user, use the show user command. E.g.,

(Aruba800) #show user ip

Name: localuser, IP:, MAC: 00:30:65:28:3f:a7, Role:authenticated, ACL:17, Age: 00:00:01
Authentication: Yes, status: successful, method: 802.1x, protocol: EAP-TTLS, server: apang
Bandwidth contract = 20m (20000000 bits/sec)
Role Derivation: default for authentication type 802.1x
Idle timeouts: 0, ICMP requests sent: 0, replies received: 0
Mobility state - Home Agent: Yes, Proxy ARP: No, Tunnel ID: 0
Flags: internal=0, trusted_ap=0, delete=0, roaming=0
Flags: innerip=0, outerip=0, guest=0, station=0, download=1
Auth fails: 0, phy_type: 2, reauth: 0, Bwm Contract: 1
Vlan default: 1, Assigned: 0, Current: 0
Mobility Messages: L2=0, Move=0, Inter=0, Intra=0, ProxyArp=0, Flags=0x0
Tunnel=0, SlotPort=0x1021, Port=4169
Role assigned: n/a, VPN: n/a, Dot1x: n/a

To find out the statistics for a particular contract, first find out what contracts have been configured using the command,

(Aruba800) #show aaa bandwidth-contracts
Bandwidth Contracts

Contract Id Rate (bits/second)
-------- -- ------------------

20m 1 20000000
Total contracts = 1 (user configured = 1)

And finally to find out the statistics on that particular Contract ID, use the command: show datapath bwm table

(Aruba800) #show datapath bwm table
Datapath Bandwidth Management Table Entries

CPU Contract Bits/sec Policed Avail Bytes Queued Bytes/Pkts
--- -------- --------- ---------- ----------- -----------------
0 1 10000000 0 310713 0/0
0 2 10000000 0 312500 0/0
0 3 10000000 0 312500 0/0
0 4 10000000 0 312500 0/0
0 5 1000000 0 31250 0/0
1 1 20000000 0 625000 0/0
1 2 2000000 0 62500 0/0

Look for the line with CPU=1 (CPU=0 is internal to the control plane). The Contract column correspond to the contract ID in the command output of ‘show aaa bandwidth-contracts’. The column ‘Policed’ counts the number of packets being dropped. Don’t worry about the column ‘Avail Bytes’ unless you want a 5 pages description from our developer. The ‘Queued Bytes/Pkts’ shows the number of bytes/pkts currently being queued. Please note that the queue length per contract ID is 64,000bytes. If the queue is full, packets will be dropped. BTW, we are doing traffic shaping. I.e. If the user is sending traffic above contracted rate, we will queue the packets and release them at contracted rate. Traffic will be policed/dropped (as shown in the ‘Poiced’ column) if the use burst above the contracted rate. This is a bit more TCP friendly then strict policing (or UPC using ATM terminology :-).
Search Airheads
Showing results for 
Search instead for 
Did you mean: