Users Guide

Table Of Contents
sflow max-header-size............................................................................................................................................1721
sflow polling-interval................................................................................................................................................1721
sflow sample-rate.................................................................................................................................................... 1722
sflow source-interface........................................................................................................................................... 1722
show sflow.................................................................................................................................................................1723
Chapter 26: Telemetry ............................................................................................................ 1724
Telemetry terminology..................................................................................................................................................1724
YANG-modeled telemetry data.................................................................................................................................. 1724
Configure telemetry...................................................................................................................................................... 1726
View telemetry configuration..................................................................................................................................... 1728
Telemetry commands................................................................................................................................................... 1730
debug telemetry.......................................................................................................................................................1730
telemetry....................................................................................................................................................................1730
enable.......................................................................................................................................................................... 1731
destination-group (telemetry)...............................................................................................................................1731
destination..................................................................................................................................................................1731
subscription-profile..................................................................................................................................................1732
destination-group (subscription-profile)............................................................................................................1732
sensor-group (subscription-profile).................................................................................................................... 1733
encoding.....................................................................................................................................................................1734
transport.................................................................................................................................................................... 1735
source-interface.......................................................................................................................................................1735
show telemetry.........................................................................................................................................................1736
Example: Configure streaming telemetry................................................................................................................ 1739
Chapter 27: RESTCONF API..................................................................................................... 1742
Configure RESTCONF API.......................................................................................................................................... 1742
RESTCONF request of CLI command...................................................................................................................... 1743
Obtain RESTCONF API documentation from OS10........................................................................................ 1744
Translated RESTCONF requests example.........................................................................................................1745
REST Token-Based Authentication...........................................................................................................................1747
Acquire new token...................................................................................................................................................1748
Access token.............................................................................................................................................................1748
Refresh token........................................................................................................................................................... 1748
CLI commands for RESTCONF API.......................................................................................................................... 1749
rest api restconf.......................................................................................................................................................1749
rest https cipher-suite............................................................................................................................................1749
rest https server-certificate................................................................................................................................. 1749
rest https session timeout.....................................................................................................................................1750
cli mode rest-translate........................................................................................................................................... 1750
no cli mode................................................................................................................................................................ 1750
show cli mode............................................................................................................................................................1751
rest authentication token validity.........................................................................................................................1751
rest authentication token max-refresh.............................................................................................................. 1752
rest authentication token algorithm....................................................................................................................1752
RESTCONF API tasks...................................................................................................................................................1752
View XML structure of CLI commands.............................................................................................................. 1753
RESTCONF API Examples..................................................................................................................................... 1754
26
Contents