Which outcome is achieved with this Python code?

Posted by: Pdfprep Category: 350-401 Tags: , ,

Which outcome is achieved with this Python code?

client.connect (ip, port=22,username=usr,password=pswd)

stdin,stdout,stderr = client.exec_command(‘show ip bgp 192.168.10100 bestpathn’)

print(stdout)
A . displays the output of the show command in a formatted way
B . connects to a Cisco device using SSH and exports the routing table information
C . connects to a Cisco device using Telnet and exports the routing table information
D . connects to a Cisco device using SSH and exports the BGP table for the prefix

Answer: D

Leave a Reply

Your email address will not be published.