Get quick access to YANG data models that you can use to configure NetFlow and sFlow protocols for traffic monitoring.
Use YANG data models to configure and retrieve the operational status of NetFlow and sFlow on Cisco 8000 and Cisco ASR 9000 Series Routers.
-
Enable programmatic management of NetFlow and sFlow features.
-
Support both CLI and YANG-based configuration methods.
YANG data models provide a programmatic interface for configuring and monitoring NetFlow and sFlow features on Cisco 8000 and Cisco ASR 9000 Series Routers.
Cisco IOS XR supports both traditional CLI and YANG-based configuration for NetFlow and sFlow. Refer to the official documentation for guidance on accessing and using these models.
-
Consult Cisco IOS XR documentation for supported YANG models and operational guidance.
Before you begin
Ensure you have access to Cisco 8000 or Cisco ASR 9000 Series Routers running IOS XR with NetFlow and sFlow features enabled.
-
Verify that you have administrative privileges to configure YANG data models.
Follow these steps to configure YANG data models for NetFlow and sFlow.
Procedure
Access the router using a supported management interface (CLI or NETCONF). Example:
YANG data models allow you to configure NetFlow and sFlow programmatically, providing flexibility and automation for network management.
NetFlow and sFlow are configured and operational status can be retrieved using the selected method. |
NetFlow and sFlow are successfully managed using YANG data models or CLI, enabling programmatic configuration and monitoring on Cisco 8000 and Cisco ASR 9000 Series Routers.
What to do next
Verify the configuration and monitor NetFlow and sFlow operational status using YANG or CLI as needed.
-
Review logs and statistics to ensure proper operation.
List of YANG data models for NetFlow and sFlow
Lists the YANG data models available for configuring and managing NetFlow and sFlow on Cisco routers.
Access data models
Explains the available options for accessing data models and describes their configuration context.
IOS XR YANG data models
Explains the IOS XR YANG data models that enable programmatic management and remote configuration of network devices.