IBM Support

SNMP query of MAC database returns incorrect port information - IBM BNT RackSwitch G8052 and G8124E

Troubleshooting


Problem

When using Simple Network Management Protocol (SNMP) to query the Media Access Control (MAC) database of an IBM BNT RackSwitch G8052 or G8124E, MAC addresses that are learned on trunk ports can appear on the wrong port. This occurs on firmware versions 7.7.5 and later. Correct Comment Line Interface (CLI) output: switch29#show mac-address-table address 6c:ae:8b:08:18:80 MAC address 6c:ae:8b:08:18:80 VLAN 101 Port Trnk 53 State TRK Permanent Openflow N Incorrect SNMP output: mn10:~ # snmpwalk -v 1 -c public 10.0.2.29 1.3.6.1.2.1.17.7.1.2.2|grep 24.128 SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.101.108.174.139.8.24.128 = INTEGER: 0 SNMPv2-SMI::mib-2.17.7.1.2.2.1.3.101.108.174.139.8.24.128 = INTEGER: 3 mn10:~ # snmpwalk -v 1 -c public 10.0.2.29 1.3.6.1.2.1.17.1.4.1.2|grep 2.3 SNMPv2-SMI::mib-2.17.1.4.1.2.3 = INTEGER: 131 mn10:~ # snmpwalk -v 1 -c public 10.0.2.29 1.3.6.1.2.1.31.1.1.1.1| grep 131 IF-MIB::ifName.131 = STRING: Ethernet3 Note: Ethernet port 3 is not part of port trunk 53.

Resolving The Problem

Source

RETAIN tip: H212924

Symptom

When using Simple Network Management Protocol (SNMP) to query the Media Access Control (MAC) database of a an IBM BNT RackSwitch G8052 or IBM BNT RackSwitch G8124E, MAC addresses that are learned on trunk ports can appear on the wrong port.

This issue has been noted on firmware versions 7.7.5 and later versions.

Here is the Command Line Interface (CLI) output showing the correct information:

switch29#show mac-address-table address 6c:ae:8b:08:18:80

MAC address VLAN Port Trnk State Permanent Openflow
6c:ae:8b:08:18:80 101   53 TRK   N

This is the SNMP output that is incorrect:

  mn10:~ # snmpwalk -v 1 -c public 10.0.2.29 1.3.6.1.2.1.17.7.1.2.2|grep 24.128
SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.101.108.174.139.8.24.128 = INTEGER: 0
SNMPv2-SMI::mib-2.17.7.1.2.2.1.3.101.108.174.139.8.24.128 = INTEGER: 3
mn10:~ # snmpwalk -v 1 -c public 10.0.2.29 1.3.6.1.2.1.17.1.4.1.2|grep 2.3\
SNMPv2-SMI::mib-2.17.1.4.1.2.3 = INTEGER: 131
mn10:~ # snmpwalk -v 1 -c public 10.0.2.29 1.3.6.1.2.1.31.1.1.1.1| grep 131
IF-MIB::ifName.131 = STRING: Ethernet3

Note: Ethernet port 3 is not part of port trunk 53.

Affected configurations

The system is configured with one or more of the following IBM options:

This tip is not system specific.

This tip is not software specific.

The following system firmware levels are affected:

Solution

This issue is fixed by updating switch firmware to 7.9.0.62 or a later level.

The file is available by selecting the appropriate Product Group, type of System, Product name, Product machine type, and Operating system on IBM Support's Fix Central web page, at the following URL:

http://www.ibm.com/support/fixcentral/

Additional information

Using qbrige MIB to check the Forwarding Database (FDB) entries, the entry that is learned over a trunk shows the port ID as 0.

There was a check done over the port ID to make sure that it is valid. Consequently, if the MAC address is learned over a trunk, the issue occurs. It is not a valid port

The fix is to check whether the MAC is learned over a trunk, and validate the trunk ID accordingly.

Document Location

Worldwide

Operating System

Data Center Ethernet:All operating systems listed

[{"Type":"HW","Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"QUOER78","label":"Data Center Ethernet->IBM RackSwitch G8052- 7309, 1455->1455->48E"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 January 2019

UID

ibm1MIGR-5096011