Configuring telemetry profiles

You configure telemetry profiles by specifying interfaces to monitor, with options to remove one or more attributes and to modify the streaming interval.

  1. In privileged EXEC mode, enter configure terminal.
    device# configure terminal
  2. Enter the telemetry profile command to configure the profile.
    device(config)# telemetry profile interface default_interface_statistics
  3. (For interface profile-type) Enter the interface command, specifying the interface range to monitor.
    device(config-interface-default_interface_statistics)# interface 0/1-2,0/7
  4. (For other profiles that require specifying interfaces) Enter the interface-range command, specifying the interface range to monitor.
    device(config-queue-default_queue_statistics)# interface-range 0/1-2,0/7
  5. To modify the default interval, enter the interval command.
    device(config-interface-default_interface_statistics)# interval 30
  6. To remove a default attribute, enter the no add command.
    device(config-system-utilization-default_system_utilization_statistics)# no add buffers
  7. To restore a default attribute that was previously removed, enter the add command.
    device(config-system-utilization-default_system_utilization_statistics)# add buffers
  8. To restore all default attributes, enter the telemetry reset profile command.
    device(config-system-utilization-default_system_utilization_statistics)# do telemetry reset profile interface-profile
  9. To specify a VRF other than the default mgmt-vrf, enter the use-vrf command.
    device(config-interface-default_interface_statistics)# use-vrf blue_vrf
  10. To exit configuration mode—saving the configuration—enter exit.
    device(config-interface-default_interface_statistics)# exit

Example

The following example specifies the monitored interfaces and changes the default interval.

device# configure terminal
device(config)# telemetry profile interface default_interface_statistics
device(config-interface-default_interface_statistics)# interval 30
device(config-interface-default_interface_statistics)# interface 0/1-2,0/7
device(config-interface-default_interface_statistics)# exit