cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2325
Views
0
Helpful
3
Replies

How to read number of clients connected ?

Dear All,

I'm a newbie in Cisco Wireless Lan Controller because I've usually used standalone

products, for example Aironet 1100 1200 series and so on but now I'm updating

infrastructure from these old APs to new 1600 and 18500 series with Mobility Express (VWLC). In the past I've used some snmp features to read values from AP: traffic stastistics, users etc. 

Does someone help me to read the numbers of clients connected directly from AP ?

My goal is to pass these informartion to weathermaps to build a chart with these values for each hour of the day.

 

My old bash script:

#!/bin/bash
AP=$1
snmp=`snmpwalk -v 1 -c public $AP 1.3.6.1.4.1.9.9.273.1.1.2.1.1 2>/dev/null`
if [ $? -gt 0 ];
   then
        users=0
   else
	users=` echo $snmp  | cut -d":" -f4`
fi
echo $users
echo 0
exit

Thank you so much !

Best Regards

Enrico

 

3 Replies 3

Sandeep Choudhary
VIP Alumni
VIP Alumni

You can try using OID:

 

1.3.6.1.4.1.14179.2.1.1.1.38.(APIndex)

And  get the index from SNMPv2-SMI::enterprises.14179.2.1.1.1.2.1 = STRING:

 

More info:

https://supportforums.cisco.com/t5/getting-started-with-wireless/cisco-aironet-1100-ap-snmp-associated-clients/td-p/1850453

https://supportforums.cisco.com/t5/security-and-network-management/oid-to-view-clients-connected-to-ap/td-p/1852289

 

Regards

Dont forget to arte helpful posts

Dear Friend,

Can you tell me if I hunderstand you suggestion ?

 

# snmpwalk -v 2c -c public 10.21.0.1 1.3.6.1.4.1.9.9.513.1.1.1.1.72
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.0.176.225.161.64.96 = Gauge32: 1
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.0.176.225.161.72.96 = Gauge32: 2
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.24.139.69.10.228.96 = Gauge32: 4
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.24.139.69.11.92.64 = Gauge32: 2
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.88.10.32.119.199.80 = Gauge32: 2
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.88.10.32.222.97.128 = Gauge32: 2
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.88.10.32.223.72.192 = Gauge32: 10
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.112.243.90.87.132.192 = Gauge32: 2
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.112.243.90.87.135.224 = Gauge32: 4
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.112.243.90.87.136.128 = Gauge32: 1
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.128.232.111.208.157.96 = Gauge32: 5
SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.248.79.87.170.30.96 = Gauge32: 5

10.21.0.1 is the Virtual Wireless Lan Controller. How I can associate the number of client to each AP?

Thanks again

Best Regards

Enrico

 

someone can help me ?

Thanks

Bye

E.

Review Cisco Networking for a $25 gift card