10-27-2023 03:50 PM
Hi experts,
I'm trying to execute the efa login from an external server with an automation script, but EFA is giving an error that I cannot recognize:
operator@lab01cn01sdimcn01(active:running) ~$ ssh extreme@10.111.64.55 "/apps/bin/efa login --username extreme --password passwordtest"
Error : CLI is not registered as a client. Please run 'source /etc/profile' to update your environment.
Login to the EFA application
Usage:
efa login [flags]
Flags:
--username string Name of the user to login
--password string Password of the user
-h, --help help for login
--- Time Elapsed: 34.836499ms ---
operator@lab01cn01sdimcn01(active:running) ~$
If I try to login directly on efa (efa login) it works without any problem as expected but trying from an external server isn't.:
Highlights:
-I tried to login using a new user as in the following KB wiht no success:
https://extreme-networks.my.site.com/ExtrArticleDetail?an=000110404
-The node from trying to login to EFA is directly connected and the credentials are correct.
-If other commands are required to be executed by the script thew work as "ls -l" "whoami" "pwd" with the tool.
Thanks for the comments.
Solved! Go to Solution.
10-28-2023 09:54 AM
The possible causes for seeing "EFA Login" issues are:-
10-30-2023 06:51 AM
Alberto,
I would see this as working as designed. EFA|XCO is designed to be managed by REST for external integration with other apps. I would recommend you look into doing this another way.
https://extreme-networks.my.site.com/ExtrArticleDetail?an=000097386
10-30-2023 06:51 AM
Alberto,
I would see this as working as designed. EFA|XCO is designed to be managed by REST for external integration with other apps. I would recommend you look into doing this another way.
https://extreme-networks.my.site.com/ExtrArticleDetail?an=000097386
10-28-2023 09:54 AM
The possible causes for seeing "EFA Login" issues are:-