FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
lsilva1
Staff
Staff
Description
This article shows how to change the speed and duplex for individual interfaces under switch mode.

Solution
# config system virtual-switch
(virtual-switch) # edit internal
(internal) # config port
(port) # edit internal1
(internal1) # show full-configuration
config port
    edit "internal1"
        set speed auto
        set status up
        set alias ''
    next
end
(internal1) # set speed
auto        Automatically adjust speed.
10full      10M full-duplex.
10half      10M half-duplex.
100full     100M full-duplex.
100half     100M half-duplex.
1000full    1000M full-duplex.

(internal1) # set speed 100full
(internal1) # end
(internal) # end
#

After changing the speed and duplex, the status of the interface can be checked by using the command “diagnose hardware deviceinfo nic [interface]” as shown below:

# diagnose hardware deviceinfo nic internal1
Driver Name     :Fortinet NP4Lite Driver
Version         :1.0.1
Admin           :up
Current_HWaddr   08:5b:0e:da:4b:26
Permanent_HWaddr 08:5b:0e:da:4b:26
Status          :up
Speed           :100
Duplex          :Full
Host Rx Pkts    :0
Host Rx Bytes   :0
Host Tx Pkts    :0
Host Tx Bytes   :0
Rx Pkts         :12
Rx Bytes        :1050
Tx Pkts         :7
Tx Bytes        :630
rx_buffer_len   :2048
Hidden          :No
cmd_in_list     : 0
promiscuous     : 0
enabled 802.1x  : 0
authorized      : 0
mac bypass      : 0
#

Contributors