Skip to main content

PAN-OS - Add Static Routes

This Playbook is part of the PAN-OS by Palo Alto Networks Pack.#

Accepts a PAN-OS static route configuration and creates it in the PAN-OS instance.

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

  • PanoramaCommitConfiguration

Integrations#

This playbook does not use any integrations.

Scripts#

This playbook does not use any scripts.

Commands#

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

Playbook Inputs#


NameDescriptionDefault ValueRequired
virtual_router_nameThe name of the virtual router to configure the static routes for.-Required
route_nameThe name to identify the static route (up to 31 characters). The name is case-sensitive and must be unique. The name can contain, letters, numbers, spaces, hyphens, and underscores.-Required
interface_nameThe interface name where the static route will be added.-Optional
destinationThe 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.-Required
nexthop_typeThe type for the nexthop. Can be, "ip-address", "next-vr", "fqdn" or "discard".-Required
nexthop_valueThe next hop value.-Required
AutoCommitWhether to auto-commit the configuration to PAN-OS. Can be, "Yes" or "No".NoOptional

Playbook Outputs#


There are no outputs for this playbook.

Playbook Image#


PAN-OS_Add_Static_Routes