![]() |
|
|
|
|
|
|
|
|
|
|
|
|
|
![]()
How to export MAC addresses using Cisco's Flexible NetFlow
It might sound like it's just a couple clues, but this information could mean the difference between a one-minute troubleshoot and a one-hour troubleshoot. Here's a good tutorial on how to use MAC address export best practices using Cisco's Flexible Netflow: Learn the 4 steps of an FNF configuration Destination MAC address report When you shouldn't First of all, it's probably unwise to bother with MAC exports unless you're configuring an edge device. Routers remove the original MAC and replace it with their own when they route a packet. If a router is only connected to other routers and firewalls, you'll only be seeing one MAC for all the IPs coming in on an interface. This amounts to between 10 and 40 (useless) Bytes per flow that must be stored by your collector. Secondly, serial interfaces have no MAC. If you configure a serial interface to export a NetFlow record with a MAC, it will send 00:00:00:00:00 (it has to send something). When you should Now that we've gotten the "Don'ts" out of the way, let's look at the "Dos." In a Flexible Netflow configuration you can specify which MAC you want to send for a flow. When assembling your flow record, you can ask the router for a source MAC and/or a destination MAC address. Before you can know what to do, you'll need to understand how the configuration works within Flexible NetFlow. Here are your options for exporting MAC addresses with NetFlow:
For more information, view Plixer's video below on how to configure Cisco Flexible NetFlow (FnF) which includes exporting MAC addresses:
The good, the bad and the ugly Here's an example of both input and output (i.e. post) source MAC addresses being exported from a Cisco 2800 running IOS v15.1: Source MAC address with NetFlow Notice that the "postSourceMacAddress" is the same for all the source IP addresses on the 10.1.0.0 network. That's because they're the MAC address of the router. Flows that went nowhere got 00:00:00:00:00. Also, "sourceMacAddress" shows unique MAC addresses because these devices are on the same network as the gateway router. In the example above, it makes much more sense to use the "input" MAC since these are the actual MAC addresses on the devices on the network. Not just Cisco Although we often think of Cisco as being the innovators in NetFlow, other vendors are also proving to bring new ideas to the NetFlow / IPFIX table. Enterasys, SonicWall, nProbe and Juniper are all exporting MAC addresses. Some even export VLANs, URLs, latency and much more. Filtering for MAC addresses Network performance measurement vendor - Plixer's NetFlow Analyzer, can filter for the MAC addresses by using the Advanced Filter option which lets you filter on any field exported by the NetFlow Template. Hopefully, this does a good job of illustrating how you need to think about exporting MAC addresses and where its most appropriate. Give Plixer's Mike Patterson a call at 207-324-8805 ext. 222 or email Mike if you need any help with this. Visit Brad's how to archive.
|
| |||||
|
©2011 BradReese.Com - Home - About - Repair - Power Supplies - Refurbished - Blog - Quick Links - Site Map - Contact Us | |||||||