This task configures and activates the device gRPC telemetry server.
device# configure terminal
device(config)# telemetry server
device(config)# telemetry server use-vrf blue_vrf
device(config-server-mgmt-vrf)# port 50000
device(config-server-mgmt-vrf)# activate
device(config-server-mgmt-vrf)# do show telemetry server status Telemetry Server running on port 50051, with VRF mgmt-vrf and transport as tcp. Active Sessions: ---------------- Client Profiles Streamed Interval Uptime Last Streamed ------ ------------------- --------- ---------- --------------- ClientIP1/Host1 default_interface_statistics 120 sec 05/10:23 2017-01-15: :05:07:33 default_system_utilization_statistics 300 sec 05/10:23 2017-01-15: :05:07:33 ClientIP2/Host2 default_system_utilization_statistics 300 sec 05/10:23 2017-01-15: :05:07:33
device(config-server-mgmt-vrf)# do show running-configuration telemetry server telemetry server transport tcp port 50051 activate !
The following is a complete telemetry server configuration example.
device# configure terminal device(config)# telemetry server device(config-server-mgmt-vrf)# activate device(config-server-mgmt-vrf)# do show telemetry server status Telemetry Server running on port 50051, with VRF mgmt-vrf and transport as tcp. Active Sessions: ---------------- Client Profiles Streamed Interval Uptime Last Streamed ------ ------------------- --------- ---------- --------------- ClientIP1/Host1 default_interface_statistics 120 sec 05/10:23 2017-01-15: :05:07:33 default_system_utilization_statistics 300 sec 05/10:23 2017-01-15: :05:07:33 ClientIP2/Host2 default_system_utilization_statistics 300 sec 05/10:23 2017-01-15: :05:07:33 device(config-server-mgmt-vrf)# do how running-configuration telemetry server telemetry server transport tcp port 50051 activate !