Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
AplhaDaph
New Contributor

how to configure #fortiswitch fiber 424e

How to configure the FortiSwitch Fiber 424E as line command interface to connect commutators.

1 REPLY 1
atakannatak
Contributor II

Hi @AplhaDaph ,

 

Quick setup roadmap for an FS-424E-Fiber used as a standalone distribution switch. Below is a straightforward, step-by-step CLI configuration example.

 

1- Initial access: Gives the switch a management IP so you can SSH/GUI in later.

 

config system interface
edit mgmt
set ip 192.0.2.24/24
set allowaccess ping https ssh
next
end

 

2- Set system basics: Hostname, SNMP, NTP, etc.

 

config system global
set hostname Dist-424E
end

 

3- Create user VLANs (L2): Defines VLANs that will be carried over the fibre links.

 

config switch vlan
edit 10

set vlan-id 10

next 

edit 20

set vlan-id 20

next 
end

 

4- Aggregate the 10 Gb fibre ports with LACP: Creates a resilient uplink bundle (LACP) to the core/next switch.

 

config switch trunk
edit uplink
set mode lacp-active
set members "port25" "port26"
next
end

 

5- Tag / allow VLANs on that trunk: Equivalent to “switchport trunk native 10; switchport trunk allowed 10,20” on Cisco.

 

config switch interface
edit uplink
set native-vlan 10 # untagged/default VLAN
set allowed-vlans 10 20 # pass VLAN 10 & 20 tagged
next
end

 

6- Access ports for edge devices: Maps edge ports to the appropriate VLAN.

 

config switch interface
edit port1

set vlan 10

next 
edit port2

set vlan 20

next
end

 

The configurations provided here are only basic examples. For more advanced settings, please refer to the CLI reference link below.

 

https://docs.fortinet.com/document/fortiswitch/7.6.2/fortiswitchos-cli-reference/608648/introduction

 

Tip – if this FS-424E will be FortiLink-managed by a FortiGate, you skip most of the above and instead:

  1. Put the switch in FortiLink mode (set fortilink enable)
  2. Authorize it from the FortiGate, then do port/VLAN work under WiFi & Switch Controller on the FGT.

BR.

 

If my answer provided a solution for you, please mark the reply as solved it so that others can get it easily while searching for similar scenarios.

 

CCIE #68781

Atakan Atak
Atakan Atak
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors