QuestionQ73

VerifiedDevice-Level Network Automation

Which code snippet obtains the IP address of an interface on a Cisco IOS XE router?

Explanation

Netmiko’s Cisco IOS example uses device_type: 'cisco_ios' with ConnectHandler, then calls send_command('show ip int brief'). This IOS command returns a summary that includes each interface’s IP address.

Learn more

Community Discussion

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