Juniper Netconf icon

Juniper Netconf

Interact with Juniper devices via NETCONF

Get Interface Operations

AI-generated

Summary

Query detailed information about Juniper device interfaces using various interface operation types over a NETCONF connection.

Inputs

  • Host (required) — Juniper device host address or IP
  • Port (required) — NETCONF over SSH connection port (default 830)
  • Interface Operation Type (required) — Type of interface operation information to retrieve (e.g., summary, controller, mc-ae, optics-diagnostics, queue)
  • Interface Name — Name of the interface (required for most operation types except summary and mc-ae-revertive)
  • MC-AE ID — MC-AE identifier (required for mc-ae and mc-ae-revertive operation types)
  • Unit Number — Logical interface unit number (0-16385), applicable for mc-ae operation type
  • Extensive — Whether to show detailed MC-AE information (boolean, only for mc-ae operation type)
  • Forwarding Class — Name of forwarding class (only for queue operation type)
  • Traffic Direction — Traffic direction (ingress, egress, both) applicable only for queue operation type
  • Include Raw XML — Whether to include raw XML response in output for debugging

Output shape

a single JSON object per input item containing parsed XML response data of the requested interface operation; optionally includes raw XML if requested.

Selecting the Interface Operation Type changes which additional input parameters are relevant and required. The output includes detailed structured data matching the requested operation subtype and can be used to inspect interface statuses, diagnostics, configurations, queues, and other interface-related details on Juniper devices. Errors during the operation will cause node execution failure unless 'Continue on Fail' is enabled.

Examples

Example 1: Get summary of all interfaces

Set 'Interface Operation Type' to 'summary' and optionally specify the device Host and Port.

Example 2: Get controller information for a specific interface

Set 'Interface Operation Type' to 'controller' and specify the 'Interface Name'.

Discussion