mactrack and Cisco Nexus

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

jgrohol
Posts: 26
Joined: Wed Sep 22, 2010 3:55 pm

mactrack and Cisco Nexus

Post by jgrohol »

Has anyone got mactrack to retrieve MAC addresses from Cisco Nexus 5000 or 7000's? I tried several of the scanners, but none work properly. It probably uses a different OID for the MAC table.

Just installed mactrack and so far I love it!

Cacti 0.8.7g, PIA 2.8, Mactrack 2.9
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You may need to write a new scanning function. post it when done.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jgrohol
Posts: 26
Joined: Wed Sep 22, 2010 3:55 pm

Re: mactrack and Cisco Nexus

Post by jgrohol »

Yes I was looking into the cisco.php file for the scanning functions. I will look into it, was just checking to see if anyone already has done it.

I'll need to get the SNMP OIDs for the Nexus switches as well.
jgrohol
Posts: 26
Joined: Wed Sep 22, 2010 3:55 pm

Re: mactrack and Cisco Nexus

Post by jgrohol »

I am poking through the mactrack php files now, but can you help me out on which ones do the MAC address scanning? I know about the mactrack_cisco.php file in the lib folder, but what are the other files that are used for the MAC address collecting?
TheHack
Posts: 28
Joined: Fri Apr 28, 2006 4:02 am

Re: mactrack and Cisco Nexus

Post by TheHack »

If have also looked around for the mac address tables on Nexus switches. Despite that I craweld through the mib tables from Cisco, I could not find any mac address tables. I have only found a reference that the bridge mib is not yet supported.
See also on:
http://web.archiveorange.com/archive/v/ ... FtlVtNPpPz

I will contact Cisco for clarification and post the results...

If the statement is true, MacTrack would support Nexus switches like any other Cisco switches. If not, I assume either it won't work at all or it will work with differed MIBs and therefore the Cisco lib need to be extened for Nexus switches...

I will post the results if any...
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: mactrack and Cisco Nexus

Post by TheWitness »

They may only support in CIM. If thats the case, definately let me know. They did this with thier waas device, so it may be a trend.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jgrohol
Posts: 26
Joined: Wed Sep 22, 2010 3:55 pm

Re: mactrack and Cisco Nexus

Post by jgrohol »

TheHack, let me know if you contact Cisco or not. I can also open a TAC case with them.
TheHack
Posts: 28
Joined: Fri Apr 28, 2006 4:02 am

Re: mactrack and Cisco Nexus

Post by TheHack »

OK! Got a feedback today:
CISCO-BRIDGE-MIB will be supported in the next release (5.0) but no voice vlan (since the 5k does not support it anyway)
So it looks like Nexus will support these mibs in the next release for 7k and 5k with the 5.0 code release (for Nexus 5k it will be in the next couple of weeks and the 7k most likely later).

See also the current supported mibs on:
http://www.cisco.com/en/US/docs/switche ... ml#wp76151

The only current alternative solution would be to pull the information via a telnet script directly from the router and parse the result:

Code: Select all

sh mac address-table < sftp://userid@1.1.1.1/switch-mac-table
dpavani
Posts: 13
Joined: Fri May 21, 2010 8:33 am

Re: mactrack and Cisco Nexus

Post by dpavani »

I have a couple of Nexus 7k with 5.1 software release and I confirm it works normal data gathering with mactrack
grinch
Posts: 12
Joined: Tue Jul 31, 2007 3:57 pm

Re: mactrack and Cisco Nexus

Post by grinch »

Hey - anyone get this working as a router? I've got multiple vrf (not sure if that matters), and can't get any of the arp entries. I work at Cisco, so if someone can help I can get all the resources we need to figure it out :)

thanks,
craig
cdnvballer
Cacti User
Posts: 89
Joined: Fri May 25, 2007 1:18 pm

Re: mactrack and Cisco Nexus

Post by cdnvballer »

what device type settings did you use to get this to work?
I've got 2 pair of N7Ks with 5.1 code...
cdnvballer
Cacti User
Posts: 89
Joined: Fri May 25, 2007 1:18 pm

Re: mactrack and Cisco Nexus

Post by cdnvballer »

ok I got it to work,

device type setup as follows (maybe it's been posted before ,but I couldn't find the info:)

device/type - switch/router
system descr match - n7000-s1-dk9
vendor snmp oid match - .1.3.6.1.4.1.9
mac address scanning function -- get_IOS_dot1d...
IP address scanning function -- get_standard_arp_table

everything else was default..

now I need to figure out why the MACTRACK is not mapping the MACaddrs seen on upstream L2 switches (i.e. Juniper EX4200) to the ARP entries seen on the N7K (acting as the L3 gateway for those ...switch vlans)
oizmai
Posts: 2
Joined: Tue Dec 20, 2011 1:30 am

Re: mactrack and Cisco Nexus

Post by oizmai »

cdnvballer wrote:ok I got it to work,

device type setup as follows (maybe it's been posted before ,but I couldn't find the info:)

device/type - switch/router
system descr match - n7000-s1-dk9
vendor snmp oid match - .1.3.6.1.4.1.9
mac address scanning function -- get_IOS_dot1d...
IP address scanning function -- get_standard_arp_table

everything else was default..

now I need to figure out why the MACTRACK is not mapping the MACaddrs seen on upstream L2 switches (i.e. Juniper EX4200) to the ARP entries seen on the N7K (acting as the L3 gateway for those ...switch vlans)
Hi all,
I was reading this topic due I have a similar problem with Cisco Nexus 7000 and 5000. This topic helped me access the mactrack-tool to the device, but it hasn't gathered any MAC-Address and IP-MAC mapping informations even if the N5k is running as a "router" as you can see in the pic below.
MAC_capt_N5000.png
MAC_capt_N5000.png (10.17 KiB) Viewed 10821 times
here my Device-Types:
device_type_N5000.png
device_type_N5000.png (36.59 KiB) Viewed 10821 times
and as router I took the same settings but declared "Device-Type" as "switch/router" but still no MAC/IP mapping informations gathered...
hmm not sure what it could be but may be this depends on the Cisco NX-OS?
We have currently running the version:

Software
BIOS: version 3.5.0
loader: version N/A
kickstart: version 5.0(3)N2(1)
system: version 5.0(3)N2(1)
power-seq: Module 1: version v3.0
Module 3: version v2.0

Would really appreciate some help, may a hint in which direction I should work to make use of this fantastic tool, I really love it! :roll:
but 90% of our environement is built on Cisco Nexus switches....

thanks,
davide
rmcdonald
Posts: 42
Joined: Wed Dec 22, 2010 4:03 pm
Location: Minnesota

Re: mactrack and Cisco Nexus

Post by rmcdonald »

I too have this problem.
oizmai
Posts: 2
Joined: Tue Dec 20, 2011 1:30 am

Re: mactrack and Cisco Nexus

Post by oizmai »

rmcdonald wrote:I too have this problem.
well, there is not much support in cacti for cisco NX-OS only IOS seems to work fine. Still waiting since longer time for a solution. :( :cry:
meanwhile after long waiting we reactivated our old Ciscoworks server and this seems to work.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest