User Tools

Site Tools


paloaltonetworks:configuration:set_commands

This is an old revision of the document!


Set Commands

To set configuration from the command line, you have to enter configuration mode with configure and then use the set command.

When in Panorama, the following is an example of how to set information in a specific template.

set template My_Custom_Template config network virtual-router My_VRrouting-table ip static-route "CLIROUTE" interface tunnel.1121 destination 10.0.0.0/16 metric 110

Alternativly, you can do this over multiple lines

set template My_Custom_Template config network virtual-router My_VRrouting-table ip static-route "CLIROUTE"
set template My_Custom_Template config network virtual-router My_VRrouting-table ip static-route "CLIROUTE" destination 10.0.0.0/16
set template My_Custom_Template config network virtual-router My_VRrouting-table ip static-route "CLIROUTE" metric 100
set template My_Custom_Template config network virtual-router My_VRrouting-table ip static-route "CLIROUTE" nexthop ip-address 10.3.3.25

Don't forget to commit after making the changes.

When creating Tunnel Interfaces, you will need two steps

set template My_Template config network interface tunnel units tunnel.2111 interface-management-profile Allow-Ping comment "21-medium to 11-medium" ip 10.10.21.11
set template My_Template config vsys vsys1 import network interface tunnel.2111
paloaltonetworks/configuration/set_commands.1590052518.txt.gz · Last modified: (external edit)