Juniper Netconf icon

Juniper Netconf

Interact with Juniper devices via NETCONF

Get Protocol Status

AI-generated

Summary

Retrieve detailed status information for various network protocols on a Juniper device via NETCONF.

Inputs

  • Host (required) — The hostname or IP address of the Juniper device to query.
  • Port (required) — The NETCONF-over-SSH port to use for the connection (default 830).
  • Protocol (required) — Select the protocol to retrieve status from (e.g., ARP, BGP, OSPF, MPLS).
  • Protocol-specific parameters — Additional optional parameters depending on the selected protocol and query type, such as logical system, instance, verbosity level, interface names, routing instances, filtering options, and query subtypes (e.g., for BGP: summary, neighbor, group information).
  • Include Raw XML — Option to include the raw XML response returned by the Juniper device for debugging.

Output shape

A JSON object representing the parsed XML response from the Juniper device containing protocol status information relevant to the selected protocol and query parameters.

The exact output structure varies widely depending on the selected protocol and query subtype. If 'Include Raw XML' is enabled, the raw XML string is included in the output under 'rawXml'. Errors during protocol queries are surfaced as node execution errors unless 'Continue On Fail' is enabled.

Examples

Example 1: Retrieve BGP summary information

Set Host, Port, Protocol to 'BGP', and BGP Query Type to 'summary'.

Example 2: Get OSPF neighbor details with extensive verbosity

Set Protocol to 'OSPF', OSPF Query Type to 'neighbor', and Verbosity Level to 'extensive'.

Discussion