Skip to main content
PacketMentor logo
Open menu
← All automation labs
Cisco Platforms Lab · Foundational ~5 min · 4 objectives · CCNA Automation 3.6 / 3.8

RESTCONF: read and change an interface

A canned Cisco IOS XE router serves RESTCONF on 10.0.0.1 with the ietf-interfaces YANG module. GET all interfaces, filter to one, PATCH its enabled state. Watch the URL-encoding of GigabitEthernet0/1 become GigabitEthernet0%2F1.

Hands-on lab · real engine

curl GET and PATCH against RESTCONF

0 / 4

Demo IOS XE at 10.0.0.1. Use admin:cisco123 Basic auth. Accept: application/yang-data+json (RESTCONF-specific content type).

you@laptop:~$

Stuck on a lab, or not sure what to practice next?

Talk it through with a mentor on a free 20-minute call. We look at your lab, your exam date and your weak spots, and you leave with a plan.

Book a free session