CCNP 350-401 ENCOR Question 323 DISCUSSION

  • 587 views
  • 2023-06-25
« Back to Main Menu

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.101.0 bestpathin')
print (stdout)

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

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.101.0 bestpathin')
print (stdout)

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

Correct Answer: A

Support AceITCert.com by buying stuff you need!

1 Comments

ohhhvictor

it connects cisco devices throught SSH to shows BGP table best path 

2024-04-23 17:05:08
In order to participate in the comments you need to be logged-in.
You can sign-up or login (it's free).