NTC Templates

NTC Templates

Introduction

Modern network devices generate large amounts of command-line-based output that is designed for human readability rather than automation. While this format works well for engineers troubleshooting devices manually, it presents challenges when integrating with monitoring systems, inventory tools, and automation platforms.

NTC Templates provides a structured way to solve this problem. NTC Templates is a collection of nearly 1000 reusable parsing templates, that enables consistent data extraction across different vendors and device types. TextFSM is a parsing engine driven by templates that converts unstructured command output into structured, machine-readable data such as tables, dictionaries, CSV, or JSON.

Starting with opConfig 4.8.2, the Command Set Editor in opConfig → System → Manage Command Sets automatically checks in the Command tab if a NTC Template is available for the Command and OS that are entered.

Example

Create a simple Command Set to do Cisco show interfaces

See Also

TextFSM-Based Structured Processing

How to Setup a Command Set for TextFSM-Based Structured Processing