Huawei
H12-811_V1.0 · Question #524
Now you need to implement a Python automation script Telnet to the device to view the running configuration of the device. What is wrong with the following statement? ()
The correct answer is D. Telnet.close() is used every time a command is entered, and the function is that the user waits for. See the full explanation below for the reasoning.
Question
Now you need to implement a Python automation script Telnet to the device to view the running configuration of the device. What is wrong with the following statement? ()
Options
- ATelnetliB. can achieve this function.
- BUse telnet.Telnet (host) to connect to the Telnet server.
- CYou can use telnet.write (b) to input the command to view the current configuration of the device.
- DTelnet.close() is used every time a command is entered, and the function is that the user waits for
How the community answered
(68 responses)- A3% (2)
- B12% (8)
- C7% (5)
- D78% (53)
Community Discussion
No community discussion yet for this question.