AnsweredAssumed Answered

mgmt_cli login works but add host fails

Question asked by Rajesh Tripathi on May 4, 2018
Latest reply on May 8, 2018 by Rajesh Tripathi

mgmt_cli login works but add host fails any idea why?

 

[Expert@AGSXXXXX:0]# mgmt_cli login -c /opt/CPshrd-R80/bin/cpcert.p12 -p 1234
uid: "8c8c0d3b-8c0a-475e-914f-323b3b6c9d99"
sid: "_5dcgLCSa4YG_wYruWP51HEbhnqpVyxMOlL9idxYMtM"
url: "https://127.0.0.1:443/web_api"
session-timeout: 600
last-login-was-at:
posix: 1525430286
iso-8601: "2018-05-04T11:38+0100"
read-only: false
standby: false
api-server-version: "1.1"
[Expert@AXXXXXX:0]# mgmt_cli add host name blacklist_test_47.31.77.184 ip-address 47.31.77.184 -c /opt/CPshrd-R80/bin/cpcert.p12 -p 1234
code: "generic_server_error"
message: "Management server failed to execute command"

Executed command failed. Changes are discarded.
[Expert@AXXXXXXX:0]#

Outcomes