A port authority is automating VLAN and interface configuration on Catalyst IOS XE and must target the correct config tree. Which practice best ensures the script edits the intended YANG model family?
Select an answer to reveal the explanation.
Short Explanation
YANG models are like filing cabinets—native Cisco and OpenConfig keep VLAN papers in different drawers. Confirm which cabinets the switch actually supports, then write to that exact path. Guessing or stuffing CLI into RESTCONF is how you edit the wrong tree.
Full Explanation
Automation against IOS XE succeeds when the client addresses a YANG module the platform advertises—often Cisco native models and, when enabled, OpenConfig equivalents—for interfaces and VLANs. Paths differ across model families, so discovery via capabilities or documentation precedes edits. RESTCONF and NETCONF expect structured YANG payloads, not arbitrary CLI. SNMP MIBs are a separate management plane and do not replace choosing the correct YANG tree.