Juniper Netconf icon

Juniper Netconf

Interact with Juniper devices via NETCONF

Remove Interface Rate Limit

AI-generated

Summary

Remove bandwidth rate limiting settings from a specified interface and unit on a Juniper device via NETCONF, optionally committing the configuration change automatically.

Inputs

  • Host (required) — The hostname or IP address of the Juniper device.
  • Port (required) — The NETCONF over SSH port to connect to (default is 830).
  • Interface Name (required) — The name of the physical interface (e.g., ge-1/2/7) to remove the rate limit from.
  • Unit Number — The logical interface unit number (defaults to 0 if not specified).
  • Direction — The direction of the rate limit to remove: input, output, both input and output, or all (removing entire Layer2-Policer). Defaults to 'all'.
  • Auto Commit — Whether to automatically commit the configuration change after removal (default is false).
  • Commit Timeout (Ms) — If auto commit is enabled, the timeout in milliseconds to wait for the commit operation to complete (default is 120000 ms).

Output shape

a single JSON object indicating success or failure of the removal operation and optional commit, including parsed XML response data.

If 'Auto Commit' is enabled, the operation attempts to commit the configuration after removing the rate limit and includes both edit and commit RPC results in the output. The output includes a parsed XML-to-JSON representation of the NETCONF response, with an optional raw XML string if debugging is enabled (not shown in inputs here). Errors during operation result in exceptions unless 'Continue On Fail' is enabled.

Examples

Example 1: Removing all rate limits from interface ge-1/2/7 unit 0 and auto committing

Set 'Host' to target Juniper device, 'Interface Name' to 'ge-1/2/7', 'Unit Number' to 0, 'Direction' to 'all', and enable 'Auto Commit' with an optional commit timeout.

Discussion