switch-controller custom-command
Use this command to save collections of commands that you can run on demand on a managed FortiSwitch.
config switch-controller custom-command
edit {command-name}
# Configure the FortiGate switch controller to send custom commands to managed FortiSwitch devices.
set command-name {string} Command name called by the FortiGate switch controller in the execute command. size[35]
set description {string} Description. size[35]
set command {string} String of commands to send to FortiSwitch devices (For example (%0a = return key): config switch trunk %0a edit myTrunk %0a set members port1 port2 %0a end %0a). size[255]
next
end