Custom Parser for Cisco Nexus Mac Address Table?
Gents (and ladies),
Per some of the other posts I've read, it seems like the QAPP sharing center was decommissioned, so not sure if this is the proper forum for this question or not.
However, I'm looking for a simple parser that would gather table data from a 'show mac address' command against a Cisco Nexus 9K router. I don't have a lot of experience in writing parsers, but from the few I did, I have not run into the issue where the direct underneath column data is not properly associated with the proper column header (like with this case). In the included picture, you can see I have the mac address column defined as a variable, but the 'type' field (most of which are dynamic values) are showing up under the mac address column. I'm not sure how to correct this without writing my own Python script, but that seems overkill to gather a simple table from the switch.
|