Juniper Netconf icon

Juniper Netconf

Interact with Juniper devices via NETCONF

Overview

This node enables interaction with Juniper network devices using the NETCONF protocol over SSH. It supports a variety of operations to retrieve configuration and status information, as well as to modify interface rate limits on Juniper devices. Typical use cases include automating network management tasks such as reading full or partial device configurations, checking for uncommitted changes, retrieving interface or protocol status, and applying or removing rate limiting policies on interfaces.

For example, a network engineer can use this node to:

  • Fetch the entire running configuration of a Juniper device for backup or audit purposes.
  • Query specific interface details or protocol statuses like BGP or OSPF.
  • Apply traffic policing rules by setting interface rate limits programmatically.
  • Detect if there are any uncommitted configuration changes before committing them.

Properties

Name Meaning
Host The hostname or IP address of the Juniper device to connect to.
Port The port number for NETCONF over SSH connection (default is 830).
Include Raw XML Whether to include the raw XML response from the device in the output for debugging.

Note: The "Include Raw XML" property is shown only for the "Read Config (All)" operation in this context.

Output

The node outputs JSON data parsed from the XML responses returned by the Juniper device. The structure varies depending on the operation but generally includes:

  • Parsed configuration or status data as JSON objects.
  • For the "Check Uncommitted Changes" operation, it outputs whether uncommitted changes exist, a summary message, and optionally detailed diff information.
  • When "Include Raw XML" is enabled, the raw XML response string is included under the rawXml field for debugging purposes.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating to the Juniper device via NETCONF over SSH.
  • The node depends on a NETCONF client library bundled internally to establish connections and send RPC commands.
  • No additional external services are required beyond access to the Juniper device itself.
  • Proper SSH credentials (username/password or private key) must be configured in the node's credentials.

Troubleshooting

  • Missing Credentials: If the node throws an error about missing credentials, ensure that the required API authentication token or SSH credentials are properly set up.
  • Unsupported Operation or Protocol: Errors indicating unsupported operations or protocols suggest invalid parameter values; verify that the selected operation and parameters are valid.
  • Connection Issues: Connection timeouts or failures may occur if the host, port, or credentials are incorrect or if network connectivity to the Juniper device is blocked.
  • XML Parsing Errors: Malformed XML responses could cause parsing errors; enabling "Include Raw XML" helps diagnose such issues.
  • Permission Denied: Insufficient permissions on the Juniper device for certain operations may result in errors; confirm user privileges.

To resolve errors, check the node parameters, credentials, and network connectivity. Use the raw XML output for deeper debugging when needed.

Links and References

Discussion