Skip to content

Method get_mac_address_table failed #28

@davidh2k

Description

@davidh2k

We're using netbox 3.5 with the napalm Plugin. We can't fetch the mac address table (nor the lldp neighbours) for a Aruba 6100 Switch

Napalm reports the following:

{ "get_mac_address_table": { "error": "Method get_mac_address_table failed: list indices must be integers or slices, not str" }

Output from the switch itself:

SW# show mac-address-table
MAC age-time            : 300 seconds
Number of MAC addresses : 366

MAC Address          VLAN     Type                      Port
--------------------------------------------------------------
b0:xx:xx:xx:xx:21    1        dynamic                   1/1/51
90:xx:xx:xx:xx:cc    1        dynamic                   1/1/51
0c:xx:xx:xx:xx:24    1        dynamic                   1/1/51
00:xx:xx:xx:xx:96    1        dynamic                   1/1/51
00:xx:xx:xx:xx:c7    1        dynamic                   1/1/51
00:xx:xx:xx:xx:27    1        dynamic                   1/1/51
00:xx:xx:xx:xx:08    1        dynamic                   1/1/51
00:xx:xx:xx:xx:c2    1        dynamic                   1/1/51
00:xx:xx:xx:xx:2a    1        dynamic                   1/1/51
00:xx:xx:xx:xx:78    1        dynamic                   1/1/51
00:xx:xx:xx:xx:36    1        dynamic                   1/1/51
00:xx:xx:xx:xx:9b    1        dynamic                   1/1/51

Version is above 10.05:

SW# show version
-----------------------------------------------------------------------------
ArubaOS-CX
(c) Copyright 2017-2023 Hewlett Packard Enterprise Development LP
-----------------------------------------------------------------------------
Version      : PL.10.11.1030
Build Date   : 2023-06-20 14:20:37 UTC
Build ID     : ArubaOS-CX:PL.10.11.1030:c67b303ba898:202306201323
Build SHA    : c67b303ba8985a29658cb8694649d2dd3454c4dc
Hot Patches  :
Active Image : secondary

Service OS Version : PL.01.12.0003
BIOS Version       : PL.01.0002

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions