medium
Single Answer
0You are creating a script to directly configure a Cisco switch using the YANG data model. Which network API will you use to perform this task?
Answer Options
A
OpenFlow
B
RESTCONF
C
SNMP
D
REST-based API
Correct Answer: B
Explanation
You will perform this task using the RESTCONF protocol. RESTCONF will encapsulate the YANG data model containing the configuration in a RESTCONF transport protocol. OpenFlow is used with the OpenDayLight Protocol and not commonly used with Cisco switches. The Simple Network Management Protocol (SNMP) does not support the YANG data model. A REST-based API is another API style that switches do not support directly, but Cisco DNA Center does.
restconf
yang
network-automation
cisco-switch