CCNA • Practice Exam 62
Free CCNA practice exam — 20 questions with explanations. Set 62. No signup required.
You are connected to R1. Use RESTCONF to retrieve all operational interface statistics from the ietf-interfaces YANG module, then modify the description of GigabitEthernet0/1 to 'Link to R2 via RESTCONF' using a PATCH request. The device is reachable at 203.0.113.1 with port 443, username 'admin', password 'cisco123'. Identify the error that would occur if you used a PATCH with Content-Type: application/json instead of application/yang-data+json.
R1# show running-config | section interface GigabitEthernet0/1 interface GigabitEthernet0/1 description Original description ip address 192.0.2.1 255.255.255.252 no shutdown ! R1# show ip interface brief Interface IP-Address Status Protocol GigabitEthernet0/0 203.0.113.1 up up GigabitEthernet0/1 192.0.2.1 up up Loopback0 10.1.1.1 up up
R1# show running-config | section interface GigabitEthernet0/1 interface GigabitEthernet0/1 description Original description ip address 192.0.2.1 255.255.255.252 no shutdown ! R1# show ip interface brief Interface IP-Address Status Protocol GigabitEthernet0/0 203.0.113.1 up up GigabitEthernet0/1 192.0.2.1 up up Loopback0 10.1.1.1 up up