Juniper Netconf icon

Juniper Netconf

Interact with Juniper devices via NETCONF

Get Firewall Policers

AI-generated

Summary

Retrieve firewall policer configuration data from a specified Juniper device using NETCONF over SSH.

Inputs

  • Host (required) — The hostname or IP address of the Juniper device to connect to.
  • Port (required) — The NETCONF over SSH port number, defaulting to 830.
  • Include Raw XML — Flag to include the raw XML response of the policers in the output for debugging purposes.

Output shape

a JSON object representing the firewall policers configuration retrieved from the Juniper device, optionally including the raw XML response if enabled.

The operation sends a NETCONF request with a subtree filter targeting the firewall policers configuration. The response XML is parsed into JSON and returned. If 'Include Raw XML' is enabled, the raw XML data is included in the output under the 'rawXml' key.

Discussion