search cancel error showing - An error occurred writing one or more port attributes Error reading attribute


Article ID: 128645


Updated On:


CA Spectrum DX NetOps


When running the script to address the "Different Type Model" alarms, the following error is seen:

Error reading attribute 1006a 

 ---=== ERROR ===
--- Error Code = 1
An error occurred writing one or more port attributes
Model Handle: 0x1057f50
Attr ID: 0x11dd8

Or ""ERROR : Attribute xxxxx is invalid"


Release: All Supported Releases
Component: SPCCSS - SpectroSERVER Core


Policy Manager blocked the configuration of the attribute.  This is functioning as designed.


Review the attribute ID to see what it is on the port.  In this example, the attribute id is 0x11dd8.  Open OneClick, select a device, navigate to the Interfaces tab, right click an interface and open the "Component Detail" of the interface.  Select the Attributes tab and enter the handle in the left hand search.

Attribute ID 0x11dd8 is for ok_to_poll

In this instance, the script was unable to set ok_to_poll on the new interfaces of the devices.  This is because there was a policy used which would configure this attribute, which would not allow the script to update it.  Given this policy, the error is benign.

We have also seen this for attribute 12d7f which is network_address - this can be ignored.

Most of these errors occur due to a policy and can be ignored.