To enable Arista switches running EOS to stream telemetry data to ONES controller, API gNMI and eAPI need to be enabled
Enable API gNMI
Arista-DCS-7010T(config)#management api gnmiArista-DCS-7010T(config-mgmt-api-gnmi)#transport grpc defaultArista-DCS-7010T(config-gnmi-transport-default)#port 50052Arista-DCS-7010T(config-gnmi-transport-default)#provider eos-nativeArista-DCS-7010T(config-mgmt-api-gnmi)#endArista-DCS-7010T#show management api gnmiOcta: enabledTransport: GRPCEnabled: yesServer: running on port 50052, in default VRFSSL profile: SELFSIGNEDQoS DSCP: noneAuthorization required: noAccounting requests: noCertificate username authentication: noNotification timestamp: last change timeListen addresses: ::Transport: defaultEnabled: yesServer: running on port 6030, in default VRFSSL profile: noneQoS DSCP: noneAuthorization required: noAccounting requests: noCertificate username authentication: noNotification timestamp: last change timeListen addresses: ::
Enabling eAPI
bash$ ssh username@myswitch Password: <passw0rd> myswitch> enable myswitch# configure terminal myswitch(config)# management api http-commands myswitch(config-mgmt-api-http-cmds)# no shutdown myswitch(config-mgmt-api-http-cmds)# show management api http-commands Enabled: Yes HTTPS server: running, set to use port 443 HTTP server: shutdown, set to use port 80 Local HTTP server: shutdown, no authentication, set to use port 8080 Unix Socket server: shutdown, no authentication VRFs: default