Prior to onboarding Arista switches, you must enable the Arista switch management SSH and API http commands so that the network APIs can function properly.
Use the following commands to enable the Arista switch management SSH and API http commands:
localhost>enable localhost#configure localhost(config)#management ssh localhost(config-mgmt-ssh)#authentication mode password localhost(config-mgmt-ssh)# no shutdown localhost(config-mgmt-ssh)#exit localhost(config)# management api http-commands localhost(config-mgmt-api-http-cmds)#protocol http localhost(config-mgmt-api-http-cmds)#no shutdown localhost(config-mgmt-api-http-cmds)#exit