How to exclude lightweight APs from Ciscoworks Discovery

Answered Question
Dec 24th, 2010

Now that Cisco has fixed the "cisco.com" suffix in CDP on lightweight APs, I need another way to exclude these devices from Ciscoworks Discovery (isn't it funny how a "bug" can sometimes be useful?).  I've considered sysobjectid, but since they don't support SNMP this doesn't work.  I can't use IP addresses (practically) because they are DHCP and it's too big a burden managing the exclusion list. I've tried DNS suffix, but that doesn't seem to work . . . but I may be doing something wrong.  Any other ideas?  Thanks!

I have this problem too.
0 votes
Correct Answer by Joseph Clarke about 3 years 3 months ago

I've filed CSCtl48773 requesting that the CAPWAP and LWAPP CDP platform IDs be added to the list of excluded devices.

Correct Answer by Joseph Clarke about 3 years 3 months ago

You can edit NMSROOT/conf/csdiscovery/system-config.xml, and add the CDP IDs of the LWAPPs there.  The CDPID section looks like:

    
     
     
     
     
     
     
     
     
   

This system-config.xml file will only be used for ad hoc discoveries and newly scheduled discovery jobs.  If you need to modify an existing discovery job, you'll have to do that under NMSROOT/objects/csdiscovery/JODIB.

By very careful when editing these files.  If you break the well-formedness, Discovery will not work.

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (3 ratings)
Correct Answer
Joseph Clarke Fri, 12/24/2010 - 08:03

You can edit NMSROOT/conf/csdiscovery/system-config.xml, and add the CDP IDs of the LWAPPs there.  The CDPID section looks like:

    
     
     
     
     
     
     
     
     
   

This system-config.xml file will only be used for ad hoc discoveries and newly scheduled discovery jobs.  If you need to modify an existing discovery job, you'll have to do that under NMSROOT/objects/csdiscovery/JODIB.

By very careful when editing these files.  If you break the well-formedness, Discovery will not work.

kevin_miller@he... Wed, 01/05/2011 - 12:12

Hey Joe.  Since I'm certainly not the only person faced with this, is there any thought given to exempting these devices by default from Ciscoworks Discovery - like you currently do with the IP Phones?

Thanks.
Kevin

Correct Answer
Joseph Clarke Sun, 01/09/2011 - 09:17

I've filed CSCtl48773 requesting that the CAPWAP and LWAPP CDP platform IDs be added to the list of excluded devices.

cwallin Tue, 08/07/2012 - 00:25

Do anyone have a working example of a system-config.xml that excludes LWAPP APs, for exemple these 4 models:

AIR-LAP1131AG-E-K9

AIR-LAP1242AG-E-K9

AIR-LAP1242G-E-K9

AIR-LAP1310G-E-K9

BR /Christian

Joseph Clarke Tue, 08/07/2012 - 09:55

I do not, but if these are the CDP platforms you see when doing a show cdp neighbor, then you can add them as-is to the system-config.xml.  For example:

cwallin Thu, 08/09/2012 - 08:50

Hi and thank you for answering.

did the trick, but only after we got a modified discovery.jar which took care of some bug.

But, it turns out that both lightweight AND autonomous APs was excluded since they both report the same CDP neighbor.

This behaviour started after version X of the autonomous IOS, I have a older autonomous which report "AIR-APxxxxx".

So now im out of ideas on how to exclude the lightweight APs, they make the discovery very slow right now.

I was thinking of doing an export of all the ligthweight APs IP adresses from WCS, and then import it as filter in Ciscoworks, but the filter dialog doesnt support file import like the seed list dialog does.

Is there maybe some other way of importing a filter list, can it be done by modifying some file or similar?

Joseph Clarke Thu, 08/09/2012 - 09:21

Autonomous really uses LAP in the CDP ID?  I thought that was specific to LWAPPs.  My 1242 at home (autonomous) has a platform ID of cisco AIR-AP1242AG-A-K9 and it's running the latest autonomous code (12.4(25d)JA1).

You could add the list of IPs directly to the CSDiscovery-conf.xml file (you could script that), but there is no import mechanism.

cwallin Tue, 08/14/2012 - 01:38

Yeah, im confused right now, the 2 devices I compared use the same software version but report different CDP.
I will upgrade these asap and see if it changes.

Autonomous AP reporting as LAP:

Platform: cisco AIR-LAP1242AG-E-K9  ,  Capabilities: Trans-Bridge IGMP

Interface: FastEthernet0/3,  Port ID (outgoing port): FastEthernet0.1

Holdtime : 125 sec

Version :

Cisco IOS Software, C1240 Software (C1240-K9W7-M), Version 12.4(10b)JDA3, RELEASE SOFTWARE (fc1)

Autonomous AP reporting as AP:

Platform: cisco AIR-AP1242AG-E-K9   ,  Capabilities: Trans-Bridge IGMP

Interface: FastEthernet0/23,  Port ID (outgoing port): FastEthernet0.1

Holdtime : 174 sec

Version :

Cisco IOS Software, C1240 Software (C1240-K9W7-M), Version 12.4(10b)JDA3, RELEASE SOFTWARE (fc1)

Thank you for the tip about CSDiscovery-conf.xml!

Actions

Login or Register to take actions

This Discussion

Posted December 24, 2010 at 7:23 AM
Stats:
Replies:9 Avg. Rating:5
Views:939 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 2,478
2 1,624
3 1,445
4 861
5 578