June 2017
Intermediate to advanced
446 pages
10h 10m
English
The eAPI agent on the Arista device is disabled by default, so we will need to enable it on the device before we can use it:
arista1(config)#management api http-commandsarista1(config-mgmt-api-http-cmds)#no shutarista1(config-mgmt-api-http-cmds)#protocol https port 443arista1(config-mgmt-api-http-cmds)#no protocol httparista1(config-mgmt-api-http-cmds)#vrf management
As you can see, we have turned off HTTP server and use HTTPS as the transport instead. Starting from a few EOS version ago, the management interfaces is, by default, residing in a VRF called management. In my topology, I am accessing the device via the management interface; therefore, I have specified the VRF specifically. You can check that API management ...
Read now
Unlock full access