mactrack and Cisco Nexus
Moderators: Developers, Moderators
mactrack and Cisco Nexus
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
Just installed mactrack and so far I love it!
Cacti 0.8.7g, PIA 2.8, Mactrack 2.9
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You may need to write a new scanning function. post it when done.
TheWitness
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?
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?
Re: mactrack and Cisco Nexus
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.
I'll need to get the SNMP OIDs for the Nexus switches as well.
Re: mactrack and Cisco Nexus
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?
Re: mactrack and Cisco Nexus
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...
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...
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: mactrack and Cisco Nexus
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
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?
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?
Re: mactrack and Cisco Nexus
TheHack, let me know if you contact Cisco or not. I can also open a TAC case with them.
Re: mactrack and Cisco Nexus
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:
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
Re: mactrack and Cisco Nexus
I have a couple of Nexus 7k with 5.1 software release and I confirm it works normal data gathering with mactrack
Re: mactrack and Cisco Nexus
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
thanks,
craig
-
- Cacti User
- Posts: 89
- Joined: Fri May 25, 2007 1:18 pm
Re: mactrack and Cisco Nexus
what device type settings did you use to get this to work?
I've got 2 pair of N7Ks with 5.1 code...
I've got 2 pair of N7Ks with 5.1 code...
-
- Cacti User
- Posts: 89
- Joined: Fri May 25, 2007 1:18 pm
Re: mactrack and Cisco Nexus
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)
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)
Re: mactrack and Cisco Nexus
Hi all,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)
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.
here my Device-Types:
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!
but 90% of our environement is built on Cisco Nexus switches....
thanks,
davide
Re: mactrack and Cisco Nexus
I too have this problem.
Re: mactrack and Cisco Nexus
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.rmcdonald wrote:I too have this problem.
meanwhile after long waiting we reactivated our old Ciscoworks server and this seems to work.
Who is online
Users browsing this forum: No registered users and 0 guests