need a script to make this change via NCM
here are the commands from the switch
password encryption aes
key config-key password-encrypt (pwd)
NBP***-(config)#key config-key password-encrypt (pwd)
Old key: (pwd)
here is the script
conf t
password encryption aes
key config-key password-encrypt (pwd)
${CRLF}${CRLF}
(pwd)
end
wr
here is the result from the script
conf t
Enter configuration commands, one per line. End with CNTL/Z.
password encryption aes
key config-key password-encrypt (pwd)
Old key:
%% Key length less than 8 chars
(pwd)
(pwd)
^
% Invalid input detected at '^' marker.
end
wr
Building configuration...
[OK]