You might come across a scenario where you have created a Virtual Switch/Hardware Switch on your FortiGate and you need to set a specific port within that switch to a different speed

In our case we had a 4 port switch, 1 of those ports connected to another appliance, the other device was set as 100mb Full – by default all of the ports on the FortiGate virtual-switch were set to auto, so this 1 port ultimately fell down to 100mb Half

Below are the steps to set a port to the correct speed within a FortiGate switch

config system virtual-switch
edit <switch name>
config port
edit <port>
set speed <speed>

Speed options:

  • auto
  • 10full
  • 10half
  • 100full
  • 100half
  • 1000full

The steps needed to set an interface speed for a port that isnotin a virtual-switch are slightly different, for that you use:

config system interface
edit <port>
set speed <speed>

You can use theshowcommand to show available ports/switches that you can edit

Within the FortiGate web console under Network > Interfaces, if you hover over the Interface image you can see the speed of a port

2015 03 31 14 46 50 fortigate cc dc01 fgt200d 01

2015 03 31 14 48 38 fortigate cc dc01 fgt200d 01

Share to TwitterShare to FacebookShare to LinkedinShare to PocketCopy URL address
Written by

Sam Perrin@samperrin

Automation Consultant, currently working at Xtravirt. Interested in all things automation/devops related.

Related Posts