Welcome, Guest. Please login or register.

Author Topic: About MSM controlled AP CDP discovery  (Read 5125 times)

lorenzo

  • Newbie
  • *
  • Posts: 19
    • View Profile
About MSM controlled AP CDP discovery
« on: May 21, 2013, 10:46:09 AM »
With new 1.08 version of NeDI i see all my AP as device, not as controller module anymore: that's good.
Now, it would be nice to see them linked to the correctly switch port.
All our AP was discovered as CDP neighbour on the switches as serial number (i see into port desctiption the row GigabitEthernet1/0/5 CDP:SGxxxxxxxxxx)
Anyway, that AP was discoverd with the devicename assigned by us, and wasn't linked to the router port.

Are there any way to let NeDi autmatically link the AP to the correct switch port?

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2686
    • View Profile
    • NeDi
Re: About MSM controlled AP CDP discovery
« Reply #1 on: May 24, 2013, 07:06:09 PM »
Make sure there's a .def for the controller (copy MSM760's, if not) and discover the controller. The AP information should be mapped to the discovered APs and clients connected to them as well. I've only tested with MSM5.7.x though...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

lorenzo

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: About MSM controlled AP CDP discovery
« Reply #2 on: May 27, 2013, 06:23:26 PM »
Of course: we have MSM760 and MSM410 AP and all was correctly discovered as device.
The AP is renamed by us in MSM760 from the standard name (the serial number) with our businness naming convention.
What is appened is that:
MSM410 was discovered as device with correct name we gave to it (MSM760 report it) and also serial is present into its info too.
BUT the port the AP was connected to report in the commend "CDP: SGxxxxxxxxxx" (SGxxxxxx is the serial).
The switch and the AP wasn't linked automatically.
Hope this is more clear explained now

best
Lorenzo

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2686
    • View Profile
    • NeDi
Re: About MSM controlled AP CDP discovery
« Reply #3 on: May 28, 2013, 03:57:18 PM »
Do you end up with 2 APs per real one? If you add the mode column, they'd show up with 15 (nosmmp AP) and 16 (controlled AP). The first would be discovered by CDP or LLDP the latter via controller. Unfortunately CDP cannot be turned off on the APs and if they send a name, which is not the same as the one used in the controller you end up with 2 APs...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

lorenzo

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: About MSM controlled AP CDP discovery
« Reply #4 on: May 28, 2013, 06:09:57 PM »
Correct:
We have more than 60 AP, but we enable LLDP only on 2 of this: They also change her name too into MSM (!!!!!, we recange them)
those AP, were discovered twice:
one with correct name, mode "Controlled AP", not linked.
the second with name = MAC, same serial, same IP, mode "Wlan AP" but this is correct linked.

the other non LLDP enabled AP was all discovered with correct name mode "Controlled AP", not linked.

I suspect that if I was able to tell LLDP to use the MSM760 name.... all will work well....
 

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2686
    • View Profile
    • NeDi
Re: About MSM controlled AP CDP discovery
« Reply #5 on: May 28, 2013, 08:15:40 PM »
This will be possible with an MSM SW update. Don't know exactly which release, but it's tested successfully. Hopefully it will fix this issue...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

lorenzo

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: About MSM controlled AP CDP discovery
« Reply #6 on: June 11, 2013, 02:34:55 PM »
I got some test, and i can see after configuring LLDP, MSM410 send always CDP & LLDP info.
HP switch, see what you get (I hope, cannot have a completely test because I can do test only in our all cisco site)
In the mixed switched site, I've got a MSM410 connected to HP switch, then the HP switch to a Cisco switch.
I see in the interface description the MSM410 twice: in the HP with the LLDP description set into MSM760 controller, and also in the Cisco interface, in the same port where HP switch was connected, with CDP name as serial.
I've test anything, the MSM410 was always discovered by Cisco switches by it's serial number with CDP protocol. HP see MSM410 with LLDP protocol and the name assigned by the MSM760 controller (I suppose, i'm not able to change this settings where we have HP switches - I only get the situation as is.)

EDIT: I can provide you every snmpwalk/info you need about this problem. I'm searching some HP firmware changelog, but i cannot find anything about CDP indentification: every document talk only about enable/disable feature:
« Last Edit: June 12, 2013, 09:25:08 AM by lorenzo »

lorenzo

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: About MSM controlled AP CDP discovery
« Reply #7 on: June 13, 2013, 04:41:11 PM »
At the moment, I found a workaround running this query after the discovery process.
This will change the neighbor name in the links table, from serial to the device name into devices table, linked with serial.
This works for my AP, in my environmen: I think it's not for everyone..... anyway, every rediscovery time, links will be rebuild, so nothing was lost.
There's some little problem: some AP was discovered twice or tree time, from different switch by LLDP and CDP and results was not correct....




UPDATE
links,devices
SET
links.neighbor = devices.device
where
(links.neighbor = devices.serial ) and
(devmode = 16 or devmode = 15)


rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2686
    • View Profile
    • NeDi
Re: About MSM controlled AP CDP discovery
« Reply #8 on: June 14, 2013, 07:03:33 PM »
Problem is you cannot turn off CDP nor can you change propagating SN to name. Good you have a  workaround, ideally you should not have any mode 15 APs, if they're fetched from the controller as mode 16. Perhaps a better approach would be to prevent discovery of the CDP "ghosts" using border. If memory serves correctly you only have the SW revision to match on (e.g. 5.7.3 or so).
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

lorenzo

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: About MSM controlled AP CDP discovery
« Reply #9 on: June 19, 2013, 02:26:17 PM »
after the discovery of the query, in Nedi, I'd prefer solve problem here.
We have planned to have 3 MSM760, and only one site have the Mixed arch: other site have all Cisco or All HP, but same AP connected to different controller: too caothics to solve the problem IN Access point word:
I think i will solve the problem better with query inside nedi.
Could be a good feature the ability to save your own queries inside Nedi and the ability to schedule directly.
Maybe, directly as text into configuration file :)