Smarts IP: MAC addresses with no associated 'SystemName' are listed in the Topology Browser Console; MAC addresses of hosts are not part of the Spanning Tree Protocol (STP)
book
Article ID: 303711
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
How to remove the MAC addresses of hosts in Smarts IP that are not part of the Spanning Tree Protocol (STP)
MAC addresses with no associated SystemName are listed in the Smarts IP Topology Browser Console
Environment
VMware Smart Assurance - SMARTS
Resolution
To resolve this issue, do the following:
Use sm_edit to create a copy of the ic-post-create-trunk.asl file in the local/rules/discovery directory.
Open this ic-post-create-trunk.asl file for editing in sm_edit.
Add the macObj->delete(); line to the CREATE_MULTIHOME_CONNECTIVITY section of the ic-post-create-trunk.asl file at the location indicated in the following:
CREATE_MULTIHOME_CONNECTIVITY do { foreach mac (getInstances("MAC")) {
macObj = object("MAC",mac); sysObj = macObj->getSystem(); if (sysObj->isNull()) { if (DEBUG) { print(me.": Systemless MAC hence deleting ".macObj); } macObj->delete(); <----------add this line continue; }
Save and close the ic-post-create-trunk.asl file (see Note statement).
Additional Information
After this change is completed, the only MAC addresses that will remain under the MAC category are those that are part of STP protocol. These MAC addresses are used to form STPNode relationship and can belong to devices that haven't been discovered.