Skip to content

MDT Subscription

Model Driven Telemetry (MDT) is a push-based streaming telemetry mechanism that provides real-time, structured data from network devices using YANG data models and protocols such as gRPC, enabling continuous monitoring and analytics. It supports both periodic data collection and event-driven notifications with configurable update policies, allowing network operators to receive precise operational data including interface statistics, routing table changes, and system health metrics. MDT subscriptions eliminate the need for polling-based monitoring by delivering high-frequency, low-latency data streams that can be consumed by network management systems, analytics platforms, and automated monitoring tools.

Diagram

Diagram

Classes

configuration (iosxe.devices)

NameTypeConstraintMandatoryDefault Value
mdt_subscriptionsList[mdt_subscriptions]No

mdt_subscriptions (iosxe.devices.configuration)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 0, max: 2147483647No
streamStringNo
encodingStringNo
source_vrfStringNo
source_ipIPNo
update_policy_periodicIntegermin: 0, max: 4294967295No
update_policy_on_changeBooleantrue, falseNo
filter_xpathStringNo
receiversList[receivers]No

receivers (iosxe.devices.configuration.mdt_subscriptions)

NameTypeConstraintMandatoryDefault Value
ipIPYes
portIntegermin: 0, max: 65535Yes
protocolStringYes

Examples

iosxe:
devices:
- name: Device1
configuration:
mdt_subscriptions:
- id: 202
stream: yang-notif-native
encoding: encode-kvgpb
source_vrf: Mgmt-test
source_ip: 1.2.9.10
update_policy_on_change: true
filter_xpath: /ios-events-ios-xe-oper:ospf-neighbor-state-change
receivers:
- ip: 9.8.3.2
port: 57600
protocol: grpc-tcp
- id: 203
stream: yang-push
encoding: encode-json
update_policy_periodic: 30000
filter_xpath: /interfaces-ios-xe-oper:interfaces/interface
receivers:
- ip: 192.168.1.100
port: 50051
protocol: grpc-tcp