Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller custom-command

config switch-controller custom-command

Configure the FortiGate switch controller to send custom commands to managed FortiSwitch devices.

config switch-controller custom-command

Description: Configure the FortiGate switch controller to send custom commands to managed FortiSwitch devices.

edit <command-name>

set description {string}

set command {var-string}

next

end

config switch-controller custom-command

Parameter

Description

Type

Size

description

Description.

string

Maximum length: 35

command

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).

var-string

Maximum length: 4095

config switch-controller custom-command

config switch-controller custom-command

Configure the FortiGate switch controller to send custom commands to managed FortiSwitch devices.

config switch-controller custom-command

Description: Configure the FortiGate switch controller to send custom commands to managed FortiSwitch devices.

edit <command-name>

set description {string}

set command {var-string}

next

end

config switch-controller custom-command

Parameter

Description

Type

Size

description

Description.

string

Maximum length: 35

command

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).

var-string

Maximum length: 4095