Update NCM device password field dynamically
search cancel

Update NCM device password field dynamically

book

Article ID: 262779

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

User implementing a new security tool called CyberArk Credential Provider. This tool will update/change the passwords of all the network devices periodically (for example, weekly). 

This password can be obtained from CyberArk via a web service call.

How can we have spectrum update its NCM password for the device family automatically without human intervention? Is there a web service or rest call or some other way we can update this password?

Environment

Release : 21.2.8

Resolution

Please install  the patch.

PTF_21.2.818.txt

 

 

Additional Information

NCM_UserName and NCM_Passowrd fields are Octet stings and we have to provide the values in Octet format. For example, to update NCM_UserName (0x12be8) attribute on any device thru CLI, give following command

 

update.exe mh=<device MH> attr=0x12be8,val=41.66.67.23

 

Above action command will set NCM_UserName to Afg# .In the above example, 41.66.67.23 are Hexadecimal equivalent ASCII value of Afg#.  Customer can use any general ASCII table to find out these values.

 

Customer can also use REST PUT command to set these values. REST PUT command is http://<hostname><:portnumber>/spectrum/restful/model/<model_handle>?0x12be8&val=65.66.67.68.69.40

 

Similar procedure has to be followed for NCM_Password (0x12be9) as well. After entering username and password as per above said manner, customer has to use the action code, which we supplied thru patch.  Now customer can perform NCM operations as per his need.