QuestionQ103

VerifiedDevice-Level Network Automation

Question Image

Question Image

Refer to the exhibits. An engineer creates a Python script using ncclient to display interface information. The code must be completed so it can be tested.

Which expression completes the highlighted section in the format call?

Explanation

intf_config contains the interface configuration dictionary from the interfaces container, including its name field. Therefore, intf_config["name"] supplies the interface name for the formatted output.

Community Discussion

No comments yet. Be the first to start the discussion!