Refer to the exhibit. Which command is required on router R1 to start receiving RESTCONF requests?
Refer to the exhibit. Which command is required on router R1 to start receiving RESTCONF requests?
To enable a router to start receiving RESTCONF requests, it is necessary to enable the RESTCONF service on the device. The correct command to accomplish this on router R1 is 'R1(config)# restconf'. This command specifically activates the RESTCONF service, which allows the router to handle RESTCONF API requests. Therefore, the required configuration command for router R1 is 'R1(config)# restconf'.
The example is taken exactly from this document: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/167/b_167_programmability_cg/restconf_programmable_interface.pdf Section "Verifying RESTCONF Configuration" "The nginx process gets restrated and DMI process are started, when the restconf command is configured ... After AAA and the RESTCONF interface is configured, and nginx process and relevant DMI processes are running; the device is ready to receive RESTCONF requests."
To enable a router to start receiving RESTCONF requests, you need to enable the RESTCONF service on the router. The correct command to achieve this on router R1 is: C. R1(config)# restconf This command specifically enables the RESTCONF service, allowing the router to handle RESTCONF API requests.
C is correct
C is correct
Device(config)# restconf //Enables the RESTCONF interface on your network device.