IOS-XE APIs Flashcards
what APIs IOS-XE supports
NETCONF and RESTCONF
how is RESTCONF different from NETCONF
HTTPS transport and supports JSON in addition to XML
what is the content-type and accept header
application/vnd.yang.data+json (or +xml)
what must be done after config change is made
exit from conf t to make it visible for RESTCONF
what is the difference between REST and RESTCONF
URL and content is dictated by YANG and headers are specific
how do you enable RESTCONF on IOS-XE
restconf
username cisco privilege 15 password cisco
ip http server
ip http secure-server
what HTTPS methods are supported
GET, POST, PUT, PATCH, DELETE
which port is used for NETCONF on IOS-XE
830
what flag might be needed to use NETCONF
-s netconf