kvmspec.blogg.se

Fortigate show running config
Fortigate show running config









fortigate show running config

Remove the interface name to see a list that includes all the interfaces on the FortiGate device including virtual interfaces such as VLANs. Getting information typically involves only one line of script as the following scripts show.

fortigate show running config

Getting information remotely is one of the main purposes of your FortiManager system, and CLI scripts allow you to access any information on your FortiGate devices. The second type is changing information on your FortiGate device. The first type is getting information from your FortiGate device. For more information, see Troubleshooting Tips. The troubleshooting tips section provides some suggestions on how to quickly locate and fix problems in your CLI scripts. For more information, see Error Messages. Samples of CLI scripts have been included to help get you started writing your own scripts for your network administration tasks.Įrror messages will help you determine the causes of any CLI scripting problems, and fix them. One example of this is any script that includes the specific IP address of a FortiGate device’s interfaces cannot be executed on a different FortiGate device. However, the more complex a CLI script becomes the less it can be used with all FortiGate devices - it quickly becomes tied to one particular device or configuration.

fortigate show running config

These example tasks easily apply to any or all FortiGate devices connected to the FortiManager system. CLI scripts do not include Tool Command Language (Tcl) commands, and the first line of the script is not “#!” as it is for Tcl scripts.ĬLI scripts are useful for specific tasks such as configuring a routing table, adding new firewall policies, or getting system information. CLI scripts include only FortiOS CLI commands as they are entered at the command line prompt on a FortiGate device.











Fortigate show running config