QuestionQ33

VerifiedPython/PyEZ

Click the Exhibit button.

Question Image

What would cause the error shown in the exhibit to occur?

Explanation

The traceback shows an SSHError indicating the socket connection to port 830 (the standard NETCONF-over-SSH port) could not be opened, which results in a ConnectRefusedError from the Junos PyEZ library. This occurs because the Junos device does not have the NETCONF service enabled, so nothing is listening on port 830 to accept the SSH connection. Enabling NETCONF over SSH requires the configuration statement 'set system services netconf ssh' on the Junos device.

Learn more

Community Discussion

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