Welcome, Guest. Please login or register.

Author Topic: WLAN Cisco connected clients  (Read 3674 times)

ackrst

  • Guest
WLAN Cisco connected clients
« on: August 22, 2012, 09:38:53 AM »
Hi,

Is there an easy way to discover and add the connected clients to a cisco access-point in NEDI ?

If I use the following OID 1.3.6.1.4.1.9.9.272.1.1.1.8.1.2.1, I can find the MAC of the connected clients.

Thank you

ACKRST

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2780
    • View Profile
    • NeDi
Re: WLAN Cisco connected clients
« Reply #1 on: August 22, 2012, 07:52:17 PM »
I took it a step further and use this:

   my $snrO = '1.3.6.1.4.1.9.9.273.1.3.1.1.4';

ifmetric then reflects the SNR of the client. This should work, if you set to OS to IOS (fat AP) in Defgen. What AP model (or sysobjid) are you using?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

ackrst

  • Guest
Re: WLAN Cisco connected clients
« Reply #2 on: August 22, 2012, 09:26:19 PM »
Hi Rickli,

I saw that OID in libsnmp.pl but it does not work with my AP which are Cisco AIRONET 1140.

If I use snmpwalk with OID 1.3.6.1.4.1.9.9.272.1.1.1.8.1.2.1. I get a list of 255 possible mac address, the values are filled with the mac address of the connected clients or 00:00:00:00:00:00 for the other and the last two values are FF:FF:FF:FF:FF:FF.

Thank you for your help.

ACKRST

ackrst

  • Guest
Re: WLAN Cisco connected clients
« Reply #3 on: August 23, 2012, 08:56:15 AM »
Hi,

It works now, I changed the value of 'Bridge' in the def file from 'VLX' to 'CAP'.

It works but when I launch the discovery it returns the following warning/error "Use of uninitialized value $vlan in pattern match (m//) at /usr/local/nedi/inc/libmisc.pm line 949".

ACKRST

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2780
    • View Profile
    • NeDi
Re: WLAN Cisco connected clients
« Reply #4 on: August 23, 2012, 10:30:02 PM »
Can you post a walk output? Or even check out what's off in libsnmp's CAPFwd()? What do you see on lines starting with CAPF: ?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

ackrst

  • Guest
Re: WLAN Cisco connected clients
« Reply #5 on: August 23, 2012, 10:49:38 PM »
Hi Rickli,

If I try a snmpwalk of the OID, I get the following error :
SNMPv2-SMI::enterprises.9.9.273.1.3.1.1.4 = No Such Instance currently exists at this OID

So I try a snmpbulkget of the OID and the results are :
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.1.1 = Gauge32: 14440632
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.1.2 = Gauge32: 2539550417
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.1.3 = Gauge32: 1
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.1.4 = Gauge32: 2539550417
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.1.5 = Gauge32: 2539550418
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.2.1 = Gauge32: 304
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.2.2 = Gauge32: 2539550418
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.2.3 = Gauge32: 6153
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.2.4 = Gauge32: 2539550418
SNMPv2-SMI::enterprises.9.9.276.1.1.1.1.2.5 = Gauge32: 2539550418

In libsnmp, the first line with CAPF:  is line 2053 :
&misc::Prt("CAPF:$mc on $po ($i[14]) SNR:$snr{$k} SSID:$id\n");

The problem may come from the configuration of the access point. No VLAN are configured on the access-point as it is the switchport which is configured in the correct vlan.

Thank you for you help.

ACKRST

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2780
    • View Profile
    • NeDi
Re: WLAN Cisco connected clients
« Reply #6 on: August 24, 2012, 06:18:27 PM »
Seems to be a completely different OID and doesn't look like SNR at all :( I'm afraid if there isn't at least a similar one around, there's not much I can do...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo