Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

YANG

YANG is a data modeling language to describe and operate network equipment using NETCONF

It can be thought of as schema to configuring the perfect vendor neutral router.

To configure an IP address, use this schema:

ModulePurpose
openconfig-if-ethernet.yangduplex, speed, flow control
openconfig-interfaces.yangif-name, if-type, shutdown
openconfig-if-ip.yangv4-addr, v6-addr

References

OpenConfig YANG models

RFC 6020 - YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)

Last Modified • Wednesday, May 27, 2026. 9:54 pm UTC+00:00 • Commit: 60da35a