How can CA Spectrum reread the MAC_Address of a device?

Document ID : KB000016716
Last Modified Date : 22/05/2018
Show Technical Document Details
Introduction:

Sometimes a MAC_Address needs to be repopulated in CA Spectrum but the reconfiguration option does not read and/or update the MAC_Address attribute. 

Question:

How can Spectrum reread a devices MAC_ADDRESS?

Answer:

Starting in CA Spectrum 10.03.00 there will be a CLI update action code (0x10170) that can be used on the model.

For example:

 

spec01> cd /usr/CA/spectrum/vnmsh

spec01> ./connect

spec01> ./show models | grep SwCiscoIOS

0x1000089   Sim5126  0x2100b2    SwCiscoIOS

spec01> ./update action=0x10170 mh=0x1000089

 

 

 

Additional Information:

You can add the following to the reconfiguration-subview-config.xml to create a "Rediscover MAC" button like the "Reconfigure Model" and "Discover Connections" buttons seen in the Reconfiguration subview of a model.

 

<field-subview expanded="true">
<show-labels>false</show-labels>
<field-column>
<column>
<swing-cell-template>
<renderer-class>
<param name="actionID">0x10170</param>
<param name="text">Rediscover MAC</param>
<param name="toolTipText">Performs a MAC address discovery on the model</param>
<param name="confirmSuccess">true;true</param>
com.aprisma.spectrum.app.topo.client.render.ActionButtonPanelCellRenderer
</renderer-class>
</swing-cell-template>
</column>
</field-column>
</field-subview>