PAN-OS - Add Static Routes

This playbook accepts a PAN-OS static route configuration and creates it in the PAN-OS instance.

PAN-OS by Palo Alto Networks · 12 tasks · 7 inputs · 0 outputs

Inputs

  • virtual_router_name — Name of the virtual router to configure the static routes for.
  • route_name — Enter a name to identify the static route (up to 31 characters). The name is case-sensitive and must be unique. Use only letters, numbers, spaces, hyphens, and underscores.
  • interface_name — Interface name where the static route will be added.
  • destination — Enter an IP address and network mask in CIDR notation: ip_address/mask (for example, 192.168.2.0/24 for IPv4 or 2001:db8::/32 for IPv6).
  • nexthop_type — The type for the nexthop. Can be: "ip-address", "next-vr", "fqdn" or "discard".
  • nexthop_value — The next hop value.
  • AutoCommit — This input determines whether to auto-commit the configuration to PAN-OS. Specify Yes/No.

Commands used

pan-os-add-static-route pan-os-list-static-routes

Flowchart

yes yes yes yes Start Start Done Done Auto commit configuration? Auto commit configuration? PAN-OS - add static route - pan-os-add-static-route PAN-OS - add static route pan-os-add-static-route Route already exists? Route already exists? Manually commit PAN-OS configuration Manually commit PAN-OS co... PAN-OS - list static routes - pan-os-list-static-routes PAN-OS - list static routes pan-os-list-static-routes Is the static route committed? Is the static route commi... Auto commit configuration? Auto commit configuration? Manually commit PAN-OS configuration Manually commit PAN-OS co... PAN-OS Commit Configuration - PAN-OS Commit Configuration PAN-OS Commit Configuration PAN-OS Commit Configuration PAN-OS Commit Configuration - PAN-OS Commit Configuration PAN-OS Commit Configuration PAN-OS Commit Configuration