• You just got promoted to network automation lead.
    Your company has Cisco routers in one site, Juniper in another, and Arista in a third.

    Your first task: add a description on the WAN interface of every router.
    You open your terminal, and there is the problem: each vendor speaks a different dialect.

    Automation server connected to three routers from different vendors showing three incompatible CLI syntaxes for the same task

    Figure 1 – Three vendors, three CLI dialects

    Same task, three incompatible syntaxes.
    To automate this with the CLI, your script has to learn every vendor's dialect, and any future IOS update can break your parsing.

    You need a common vocabulary that every vendor agrees on.

    Answer the question below

    One Model, All Vendors

    This is where YANG comes in.
    Instead of typing vendor-specific commands, you describe the change once using a shared data schema that Cisco, Juniper, and Arista all agree on.

    An automation server sending one JSON payload based on the ietf-interfaces YANG model that successfully applies on all three vendor routers

    Figure 2 – One YANG model, three vendors

    You build your payload using ietf-interfaces, a standard YANG model published by the IETF.

    Every modern device implements it.
    Only the interface name changes: GigabitEthernet0/1 on Cisco, ge-0/0/1 on Juniper, Ethernet1 on Arista.

    Answer the question below

    What is the main benefit of using a data modeling language like YANG instead of vendor-specific CLI?