Fortinet white logo
Fortinet white logo

Devices Managed by FortiOS

Configuring port speed and status

Configuring port speed and status

To set port speed and other base port settings:

config switch-controller managed-switch

edit <FortiSwitch_serial_number>

config ports

edit <port_name>

set description <text>

set speed <speed>

set status {down | up}

end

end

For example:

config switch-controller managed-switch

edit S524DF4K15000024

config ports

edit port1

set description "First port"

set speed auto

set status up

end

end

To check the port properties:

diagnose switch-controller switch-info port-properties [<FortiSwitch_serial_number>] [<port_name>]

If the FortiSwitch serial number is not specified, results for all FortiSwitch units are returned. If the port name is not specified, results for all ports are returned.

For example:

FortiGate-100F # diagnose switch-controller switch-info port-properties S524DF4K15000024 port18

Vdom: root
Switch: S524DF4K15000024
Port: port18
	PoE           : 802.3af/at,30.0W
	Connector     : RJ45
	Speed         : 10Mhalf/10Mfull/100Mhalf/100Mfull/1Gauto/auto

Configuring port speed and status

Configuring port speed and status

To set port speed and other base port settings:

config switch-controller managed-switch

edit <FortiSwitch_serial_number>

config ports

edit <port_name>

set description <text>

set speed <speed>

set status {down | up}

end

end

For example:

config switch-controller managed-switch

edit S524DF4K15000024

config ports

edit port1

set description "First port"

set speed auto

set status up

end

end

To check the port properties:

diagnose switch-controller switch-info port-properties [<FortiSwitch_serial_number>] [<port_name>]

If the FortiSwitch serial number is not specified, results for all FortiSwitch units are returned. If the port name is not specified, results for all ports are returned.

For example:

FortiGate-100F # diagnose switch-controller switch-info port-properties S524DF4K15000024 port18

Vdom: root
Switch: S524DF4K15000024
Port: port18
	PoE           : 802.3af/at,30.0W
	Connector     : RJ45
	Speed         : 10Mhalf/10Mfull/100Mhalf/100Mfull/1Gauto/auto