Cisco 3500XL Device Types

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
bmaltais
Posts: 11
Joined: Wed Jun 06, 2007 7:37 am

Cisco 3500XL Device Types

Post by bmaltais »

I am not sure how to configure Mactrack to best track this device type.

Look at the attached file for my current config. This does not appear to work. I do net get any Mac/IP returned from the switches. What should I change.
Attachments
cisco3540.JPG
cisco3540.JPG (89.64 KiB) Viewed 7183 times
gordon
Posts: 11
Joined: Fri May 18, 2007 10:53 am

Post by gordon »

What are you using for your sysDescription Match?

You'll need to put something that the snmp query returns in there so the device finds its device type.

I'm pretty sure it's a regex check on the "System:" line:
SNMP Information
System: Cisco Internetwork Operating System Software IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC17, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2007 by cisco Systems, Inc. Compiled Tue 13-Feb-07 15:04 by antonino
Uptime: 219182365
Hostname: 3524switch
ObjectID: .1.3.6.1.4.1.9.1.287
So just find a string within that line that will be unique to the model/iosversion you have. For the switch I showed, I use:

C3500XL-C3H2S-M

as my sysDescription Match.

As to IP addresses, you won't get any unless you have something with a populated ARP table (layer3 switch, or router). You'll just get port - mac mappings with just layer 2 devices. You may know that already, I'm just throwing it out there, as I wasn't sure from your post. :)
bmaltais
Posts: 11
Joined: Wed Jun 06, 2007 7:37 am

Post by bmaltais »

About the Mac to IP address association on Layer2 switch... can't mactrack figure out the associated IP to Mac by using the arp cache on the core Layer2/Layer3 switch? I can manually track it down... so I was expecting mactrack to do the same...

Essentially you find the mac address on a layer2 switch port and match it to the arp-cache table on the core router (layer2 switches are uplinked to core switch/router). This way you get the associated IP.
gordon
Posts: 11
Joined: Fri May 18, 2007 10:53 am

Post by gordon »

bmaltais wrote:About the Mac to IP address association on Layer2 switch... can't mactrack figure out the associated IP to Mac by using the arp cache on the core Layer2/Layer3 switch? I can manually track it down... so I was expecting mactrack to do the same...

Essentially you find the mac address on a layer2 switch port and match it to the arp-cache table on the core router (layer2 switches are uplinked to core switch/router). This way you get the associated IP.
yes it can. Sorry, I wasn't clear there. To get the IP addresses you need at least one device that has arp information (more depending on network layout, etc.). I saw you other posts after I responded to you on this post, so it seems you are getting ip address info, just not on this switch (type).

Did adding that string help?
bmaltais
Posts: 11
Joined: Wed Jun 06, 2007 7:37 am

Post by bmaltais »

It is not an issue with the Device Types linking back to the polled device per say. The Device Types is properly mapped to the switch.

The issue is that I am not sure what parameter should be put in the MAC Address Scanning Function field.

None seem to provide me with IP address to MAC information... but I know it is in the Core Routers ARP table that I am also polling with mactrack. I can manually map things... but mactrack wont.
gordon
Posts: 11
Joined: Fri May 18, 2007 10:53 am

Post by gordon »

bmaltais wrote:It is not an issue with the Device Types linking back to the polled device per say. The Device Types is properly mapped to the switch.

The issue is that I am not sure what parameter should be put in the MAC Address Scanning Function field.

None seem to provide me with IP address to MAC information... but I know it is in the Core Routers ARP table that I am also polling with mactrack. I can manually map things... but mactrack wont.
Ok. I was just going down that track because your screenshot doesn't show anything in the sysdescription field.

If it is not a layer 3 switch, it should be set to NA - Hub/Switch.
bmaltais
Posts: 11
Joined: Wed Jun 06, 2007 7:37 am

Post by bmaltais »

Tried that. No change. The only IP/Mac address I get reported by the device are bound to Port Number 75 ??? THis is strange as I should get the Mac on every active port on those switches...
gordon
Posts: 11
Joined: Fri May 18, 2007 10:53 am

Post by gordon »

Have you tried it with the .278 taken off of the snmp string?
bmaltais
Posts: 11
Joined: Wed Jun 06, 2007 7:37 am

Post by bmaltais »

Tried this as well. Same result ;-(

Oh well, at least the core switch are reporting just fine ;-) I will stick with the manual query for the floor switch for now.
bmaltais
Posts: 11
Joined: Wed Jun 06, 2007 7:37 am

Post by bmaltais »

I am starting to think that the issue is with mactrack_cisco.php.

My guess is that the switch will need a modification of the snmp collection to properly gather the information. The standard mactrack_functions.php only appear to collect part of the available information.

Let my know if I can provide you with information to allow you to pin point the issue. I can do snmpwalk query against the switch to zero in where the problem might be.

I tried looking at the mactrack_cisco.php but I do not know where to start to modify it to cope with the CIsco 3548XL series IOS requirements.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests