🔥 3-day streak
Cisco CCNP Automation AUTOCOR (350-901)111 / 136
Question 111 of 136

You are writing a Python script that uses RESTCONF (RFC 8040) against a Cisco IOS-XE device to administratively disable a single interface, GigabitEthernet2, by setting its 'enabled' leaf to false in the ietf-interfaces YANG model. The interface already has an IPv4 address and description configured that must be preserved. Which HTTP method and target URL combination correctly modifies only the 'enabled' leaf without risking removal of the other existing configuration on that interface?

Reviewed for accuracy · Report an issueNext question