

Fabric and Base Backplane Communications Guide

This FortiSwitch-5003A and 5003 Fabric and Base Backplane Communications Guide describes using the FortiSwitch-5003A board and FortiSwitch-5003 board for FortiGate-5000 series base and fabric backplane switching. This document also contains the FortiSwitch-5003A CLI reference.
The most recent versions of this and all FortiGate-5000 series documents are available from the FortiGate-5000 page of the Fortinet Technical Documentation web site (http://docs.forticare.com).
Visit http://support.fortinet.com to register your FortiSwitch-5003A and 5003 security system. By registering you can
receive product updates, technical support, and FortiGuard services.

Only trained and qualified personnel should be allowed to install or maintain FortiGate-5000 series equipment. Read and comply with all warnings, cautions and notices in this document.
01-30000-85717-20081205



Introduction About this document
This FortiSwitch-5003A and 5003 Fabric and Base Backplane Communications Guide contains information, instructions and example configurations for the base and fabric backplane channels and interfaces of FortiGate-5000 ATCA chassis and security systems.
FortiGate-5020 chassis is a 2-slot ATCA chassis. The FortiGate-5020 base backplane provides 2 base backplane channels for the base backplane interfaces of FortiGate-5000 boards installed in the chassis. The FortiGate-5020 chassis does not include fabric backplane channels.
The FortiGate-5140 chassis is a 14-slot ATCA chassis and the FortiGate-5050 chassis is a 5-slot ATCA chassis. To support base backplane layer-2 switching for FortiGate-5000 boards in slots 3 and up you can install FortiSwitch-5003A or FortiSwitch-5003 boards in the first and second hub/switch base slots of these chassis.To support fabric backplane layer-2 switching for FortiGate-5001A and 5005FA2 boards in slots 3 and up you can install FortiSwitch-5003A boards in the first and second hub/switch fabric slots. For most versions of the FortiGate-5140 and 5050 chassis the hub/switch base and fabric slots are slots 1 and 2. For more information about each chassis see the FortiGate-5140 Chassis Guide and the FortiGate-5140 Chassis Guide.
FortiSwitch-5003A and 5003 boards can be used for fabric and base backplane layer-2 switching within a single chassis and between multiple chassis.
Usually you would use the base channel for management traffic (for example, HA heartbeat traffic) and the fabric channel for data traffic although this is not a requirement.
This section includes the following topics:
This document includes the following chapters:

Revision history Introduction

The FortiSwitch-5003A board provides 10/1-gigabit fabric backplane channel layer-2 switching and 1-gigabit base backplane channel layer-2 switching in a dual star architecture for the FortiGate-5140 and FortiGate-5050 chassis. The FortiSwitch-5003A board provides a total capacity of 200 Gigabits per second (Gbps) throughput.
The FortiGate-5140 chassis is a 14-slot ATCA chassis and the FortiGate-5050 chassis is a 5-slot ATCA chassis. In both chassis the FortiSwitch-5003A board is installed in the first and second hub/switch fabric slots. For most versions of the FortiGate-5140 and 5050 chassis the hub/switch fabric slots are slots 1 and 2. For more information about these chassis see the FortiGate-5140 Chassis Guide and the FortiGate-5140 Chassis Guide.
You can use the FortiSwitch-5003A board for fabric and base backplane layer-2 switching for FortiGate-5000 boards installed in slots 3 and up in FortiGate-5140 and FortiGate-5050 chassis. Usually you would use the base channel for management traffic (for example, HA heartbeat traffic) and the fabric channel for data traffic. FortiSwitch-5003A boards can be used for fabric and base backplane layer-2 switching within a single chassis and between multiple chassis.
The FortiSwitch-5003A system also supports 802.3ad static mode layer-2 link aggregation, 802.1q VLANs, and 802.1s Multi-Spanning Tree Protocol (MSTP) for the fabric channels. You can use these features to configure link aggregation and support redundant FortiSwitch-5003A switch configurations to distribute traffic to multiple FortiGate-5000 boards. The FortiGate-5000 boards must operate in Transparent mode, all are managed separately and all must have the same configuration.
A FortiSwitch-5003A board in hub/switch fabric slot 1 provides communications on fabric channel 1 and base channel 1. A FortiSwitch-5003A board in hub/switch fabric slot 2 provides communications on fabric channel 2 and base channel 2. If your chassis includes one FortiSwitch-5003A board you can install it in hub/switch fabric slot 1 or 2 and configure the FortiGate-5000 boards installed in the chassis to use the correct fabric and base backplane interfaces.
For a complete 10-gigabit fabric backplane solution you must install FortiGate-5000 hardware that supports 10-gigabit connections. For example, a FortiGate-5001A board combined with a FortiGate-RTM-XB2 module provides two 10-gigabit fabric interfaces. You can install the FortiGate-5001A boards in chassis slots 3 and up and FortiGate-RTM-XB2 modules in the corresponding RTM slots on the back of the chassis.
The FortiSwitch-5003A board includes the following features:
FortiSwitch-5003A system

Front panel LEDs and connectors FortiSwitch-5003A system
Activity LEDs Fabric Network
B1 B2 Base 1G
14/F8 F7 F6 F5 F4 F3 F2 F1 Fabric 10G Optical or Copper SFP
MGMT 1G
From the FortiSwitch-5003A font panel you can view the status of the board LEDs to verify that the board is functioning normally. The front panel includes a reset switch for restarting the FortiSwitch-5003A board.
The front panel also contains connectors to the fabric and base channels, an out of band management ethernet interface, and an RJ-45 RS-232 console port for connecting to the FortiSwitch-5003A CLI.

FortiSwitch-5003A system Front panel LEDs and connectors
Table 2 lists and describes the FortiSwitch-5003A front panel LEDs.

Front panel LEDs and connectors FortiSwitch-5003A system
Table 3 lists and describes the FortiSwitch-5003A base backplane channel interfaces. The base backplane interfaces are not configurable or visible from the FortiSwitch-5003A CLI.

FortiSwitch-5003A system Front panel LEDs and connectors
B1 and B2 Front panel gigabit base channel interfaces B1 and B2. Use these interfaces to connect your network to the base channel, to connect base channel 1 to base channel 2, or to connect a base channel on one chassis to a base channel on another chassis.
BASE 10G Front panel 10-gigabit base channel interface. Use this interface to connect a 10-gigabit network to the base channel. 10-gigabit communication is not supported across the base channels but this interface is still available if you need to connect the base channel to a 10-gigabit network.
Table 4 lists and describes the FortiSwitch-5003A fabric channel interfaces. You can configure fabric interface settings, group fabric interfaces into trunks, and configure MSTP spanning tree settings for fabric interfaces from the FortiSwitch-5003A CLI.
Description Front Panel CLI*
2/1 slot-2/1 Interface between fabric channel 1 and fabric channel 2. If there are two FortiSwitch-5003A boards installed in a chassis this interface can be used to communicate between them. In some configurations you may have to disable this communication. 3 to 13 slot-3 to slot-13
Fabric backplane slots 3 to 13. The 3 to 13 fabric network activity LEDs are lit if there are FortiGate boards in chassis slots 3 to 13. 14/F8 slot-14/f8 Front panel interface 14/F8. Fabric backplane slot 14 and front panel interface 14/F8 share the same FortiSwitch-5003A switch port. By default the the front panel interface 14/F8 is enabled and fabric backplane slot 14 is disabled. You can change this setting using a switch on the FortiSwitch-5003A board. F1 to F7 f1 to f7 Front panel 10-gigabit fabric interfaces F1 to F7. Use these interfaces to connect your network to the fabric channel, to connect fabric channel 1 to fabric channel 2, or to connect a fabric channel on one chassis to a fabric channel on another chassis. * You can configure settings for FortiSwitch-5003A fabric interfaces from the FortiSwitch-5003A CLI. The CLI columns show the names of the interfaces as they appear on the FortiSwitch-5003A CLI.
The fabric network activity LEDs show links and network activity for the interfaces and connections listed in Table 5.
Interface Name · Description · Interface Name

FortiSwitch-5003A configurations FortiSwitch-5003A system
Fabric network activity LED
2/1 Fabric channel connection between fabric channel 1 and fabric channel 2. This LED is lit if there are two FortiSwitch-5003A boards installed in the chassis to indicate fabric backplane communication between them.
3 to 13 Fabric backplane connection to FortiGate-5000 boards in chassis slots 3 to 13.
Table 6 lists and describes the FortiSwitch-5003A front panel connectors.
Connector Type Speed Protocol Description
Ethernet Copper gigabit connection to out of band management interface. COM RJ-45 9600 bps
Serial connection to the command line interface. B1, B2 RJ-45 10/100/1000
Ethernet Copper gigabit connection to the base backplane channel. BASE 10G SFP+ 10 Gbps Ethernet SFP+ 10 gigabit connection to the base backplane channel. FABRIC 10G, 14/F8, F7, F6, F5, F4, F3, F2, F1
SFP+ 10 Gbps Ethernet SFP+ 10 gigabit connection to the fabric backplane channel.
You can operate the FortiSwitch-5003A board as a fabric and base channel layer-2 switch for any FortiGate-5000 board. The FortiSwitch-5003A board is compatible with all FortiGate-5000 boards.
Figure 4 shows a FortiGate-5050 chassis with a FortiSwitch-5003A board in slot 1 and two FortiGate-5001A boards in slots 3 and 4. In this configuration the FortiGate-5001A boards are using base channel 1 for HA heartbeat communication. The FortiGate-5001A boards use base1 as the HA heartbeat interface.

FortiSwitch-5003A system FortiSwitch-5003A configurations
Base channel 1 HA Heartbeat Communication
SMC
5000SM
STATUS
5050SAP
5000SM
STATUS
SMC
ETH0 ETH1
ETH0
RESET
SERIAL
1 SERIAL
ALARM
ETH0 ETH1
ETH0
RESET
Fabric 10-gigabit switching within a chassis
One FortiGate-RTM-XB2 provides 10-gigabit connections to both FortiGate-5001A fabric channels. The FortiGate-RTM-XB2 also provides NP2 packet acceleration for each fabric channel. To effectively use NP2 acceleration, packets must be received by the FortiGate-5001A board on one fabric channel and exit from the FortiGate-5001A board on the same fabric channel or on the other fabric channel. See the FortiGate-RTM-XB2 System Guide for more information.
Figure 5 shows a FortiGate-5050 chassis containing two FortiSwitch-5003A boards and one FortiGate-5001A board. Using these components this chassis supplies 10-gigabit connectivity between the external and internal network.
FortiGate-RTM-XB2 module installed in RTM slot 3 provides two 10-gigabit fabric channels and NP2 acceleration for the FortiGate-5001A board
Internal 10-gigabit Network Connected to Fabric Channel 2
FortiGate-5001A Board Installed in FortiGate-5050 front panel slot 3
Fabric Channel 2 10-gigabit Data Communication
Fabric Channel 1 10 Gigabit Data Communication
SMC
5000SM
ETH0 ETH1
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SMC
External 10-gigabit Network Connected to Fabric Channel 1

FortiSwitch-5003A configurations FortiSwitch-5003A system
The FortiSwitch-5003A board supports 802.3ad static mode layer-2 link aggregation, 802.1q VLANs, and 802.1s Multi-Spanning Tree Protocol (MSTP) for the fabric channels. You can use these features to configure link aggregation and support redundant FortiSwitch-5003A configurations to distribute traffic to multiple FortiGate-5001A or 5005FA2 boards.
Figure 6 shows a basic link aggregation configuration using a single FortiSwitch-5003A board. In this configuration the external switch is connected to FortiSwitch-5003A front panel f5 interface. The switch adds VLAN tags to traffic from the internal and external networks.
10-gigabit networks connected to FortiSwitch-5003A front panel interface F7
and to fabric channel 1
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
Six FortiGate-RTM-XB2 modules installed in RTM slots 6, 8, 9, 10, 11, and 13 to provide 10-gigabit fabric interfaces and NP2 acceleration for each FortiGate-5001A board
5000SM
RESET
STATUS
ETH0 ETH1
5000SM
RESET
STATUS
FILTER
FAN TRAY
FAN TRAY
FAN TRAY
Distributed 10-gigabit data communication on fabric channel 1

FortiSwitch-5003 system Front panel LEDs and connectors
The FortiSwitch-5003 board provides base backplane interface switching for the FortiGate-5140 chassis and the FortiGate-5050 chassis. You can use this switching for data communication or HA heartbeat communication between the base backplane interfaces of FortiGate-5000 series boards installed in slots 3 and up in these chassis. FortiSwitch-5003 boards can be used for base backplane communication in a single chassis or between multiple chassis.
Install FortiSwitch-5003 boards in chassis slots 1 and 2. A FortiSwitch-5003 board in slot 1 provides communications on base backplane interface 1. A FortiSwitch-5003 board in slot 2 provides communications on base backplane interface 2.
If your configuration includes only one FortiSwitch-5003 board you can install it in slot 1 or slot 2 and configure the FortiGate-5000 boards installed in the chassis to use the correct base backplane interface.
The FortiSwitch-5003 board includes the following features:
From the FortiSwitch-5003 font panel you can view the status of the board LEDs to verify that the board is functioning normally. You can also connect the FortiSwitch-5003 board in one chassis to a FortiSwitch-5003 board in another chassis through the front panel ethernet connections. The front panel also includes and out of band management ethernet interface and the RJ-45 console port for connecting to the FortiSwitch-5003 CLI.

Front panel LEDs and connectors FortiSwitch-5003 system
ZRE Network Activity LEDs (ZRE 0 to 15)
MANAGEMENT
E
T
H
O
SYSTEM
CONSOLE
R
S
Z
R
E
Z
R
E
Z
R
E
E1
OK CLK
INT EXT
FLT
LED MODE
ZRE
RESET
E0
FLT
ZRE0 ZRE1 ZRE2 base backplane interfaces
Lever Out of Service LED
LEDs
Table 7 lists and describes the FortiSwitch-5003 board front panel LEDs.
Off Normal operation.
Red Out of service. The LED turns on if the FortiSwitch-5003 board fails. The LED may also flash briefly when the board is powering on.
Green The FortiSwitch-5003 board is powered on and operating normally.
Yellow Caution status. Caution status is indicated by the fault condition of the CLOCK, OK or INT FLT LEDs.
Off The board is not connected to power.
System Off Normal operation.
E0, E1 Yellow or Green
Link status of out of band management interfaces (not used).
ZRE 0-15 (ZRE network activity LEDs, LED Mode switch changes mode)
Green Link/Activity mode: Blinking to indicate network traffic on this interface. Table 8 on page 19 lists the ZRE LEDs and the interface that each represents. Link/Speed mode: 100 Mbps connection.
Yellow Link/Activity mode: The interface is disabled and cannot forward packets. (not used) Link/Speed mode: 1000 Mbps connection.
Off Link/Activity mode: No link. Link/Speed mode: 10 Mbps connection.
Change the ZRE network activity LED display mode. Normally the ZRE network activity LEDs operate in Link/Activity mode. In this mode the LEDs flash green to indicate a link and to indicate network traffic. Press this button to switch the ZRE LEDs to Link/Speed mode. In Link/Speed mode the ZRE LEDs use a solid color to indicate a link. The color of the LED indicates the speed of the link.
Initialization completed successfully.
OK Green Initialization completed successfully.

FortiSwitch-5003 system Front panel LEDs and connectors
EXT FLT Off Normal operation.
Yellow Cannot establish a link to a configured interface or another connection problem external to the FortiSwitch-5003 board. This LED may indicate issues that do not affect normal operation.
INT FLT Off Normal operation.
Yellow Failure of internal tests. Indicates a hardware or software problem with the FortiSwitch-5003 board.
Hot Swap Blue Indicates the FortiSwitch-5003 board is ready to be hot swapped. During a hot swap, the LED is on. The LED turns off when the FortiSwitch-5003 board is correctly installed.
Press and hold Reset for three seconds to restart the FortiSwitch-5003 board.
The ZRE network activity LEDs show links and network activity for the interfaces and connections listed in Table 8.
ZRE network activity LED
0 ZRE0 front panel interface.
1 ZRE1 front panel interface.
2 ZRE2 front panel interface.
3 to 14 Base backplane connection to FortiGate-5000 series boards in chassis slots 3 to 14.
15 Base backplane link. Indicates that the FortiSwitch-5003 board can connect to the base backplane interface.
LED State Description · Reset switch · Interface or connection

Base backplane communications FortiSwitch-5003 system
Table 9 lists and describes the FortiSwitch-5003 front panel connectors.
Connector Type Speed Protocol Description
ETH0 RJ-45 100Base-T Ethernet Front panel out of band management interface. A second out of band management interface, ETH1, connects to the shelf managers. Neither of the out of band management interfaces are used. CONSOLE RJ-45 9600 bps RS-232 serial
Serial connection to the command line interface. ZRE0, ZRE1, ZRE2
Ethernet Redundant connections to another FortiSwitch-5003 board in an different FortiGate-5140 or FortiGate-5050 chassis. Use these interfaces for base backplane interface connections between FortiGate-5000 series chassis.
This section provides a brief introduction to using FortiSwitch-5003 boards for base backplane communication.
FortiSwitch-5003 boards installed in a FortiGate-5140 or FortiGate-5050 chassis in slot 1 or slot 2 provide base backplane switching for all of the FortiGate-5000 series boards installed in chassis slots 3 and above. Base backplane switching can be used for HA heartbeat communication and for data communication between FortiGate-5000 series boards.
The FortiGate-5000 series boards can all be installed in the same chassis, or you can use the FortiSwitch-5003 front panel ZRE interfaces for base backplane communication among multiple FortiGate-5140 and FortiGate-5050 chassis. The communication can be among a collection of the same chassis (for example, multiple FortiGate-5050 chassis) or among a mixture of FortiGate-5140 and FortiGate-5050 chassis. In most cases you would connect the same base backplane interfaces together, but you can also use the FortiSwitch-5003 front panel ZRE interfaces for connections between base backplane interface 1 and base backplane interface 2. Again these connections can be within the same chassis or among multiple chassis.
A FortiSwitch-5003 board in slot 1 provides communications on base backplane interface 1. The FortiGate-5001SX and the FortiGate-5001FA2 boards communicate with base backplane interface 1 using the interface named port9. The FortiGate-5005FA2 board communicates with base backplane interface 1 using the interface named base1.
A FortiSwitch-5003 board in slot 2 provides communications on base backplane interface 2. The FortiGate-5001SX and the FortiGate-5001FA2 boards communicate with base backplane interface 2 using the interface named port10. The FortiGate-5005FA2 board communicates with base backplane interface 2 using the interface named base2.
Base-T

FortiSwitch-5003 system Base backplane communications
In a single chassis, more than one cluster can use the same base backplane interface for HA heartbeat communication. To separate heartbeat communication for multiple clusters on the same base backplane interface, configure a different HA group name and password for each cluster.
In a single chassis, you can also use the same base backplane interface for data and HA heartbeat communication. If you are operating multiple clusters and multiple data paths on the same base backplane interface you may experience some bandwidth limitations. To increase the amount of bandwidth available you can add a second FortiSwitch-5003 board and use both backplane interfaces for HA heartbeat and data communication.
If you have two FortiSwitch-5003 boards and two backplane interfaces available you can balance the traffic between the base backplane interfaces by how you configure your FortiGate-5000 board data interfaces and HA heartbeat interfaces. For example, if you have two busy FortiGate-5001SX clusters you might configure one cluster to use port9 for HA heartbeat traffic and the other to use port10. If you have a number of data paths that use the same base backplane interfaces you can change the configuration to distribute traffic between both base backplane interfaces.

Base backplane communications FortiSwitch-5003 system

FortiGate-5140 fabric backplane communication
The FortiGate-5140 chassis has two fabric backplane Ethernet channels that can operate at 1 Gbps or 10 Gbps. Available connections to these channels vary by chassis hub/switch slot number.
Because of the fabric backplane dual star topology, connecting to or through the fabric backplane requires FortiSwitch-5003A boards installed in hub/switch slot 1, hub/switch slot 2, or both. FortiSwitch-5003A front panel fabric interfaces can also connect the chassis fabric backplane channels to external devices, such as a management computer, the network, or the fabric backplane of another chassis.
FortiGate-5001A boards and FortiGate-5005FA2 boards can connect to the fabric backplane at 1 Gbps. With the addition of a FortiGate-RTM-XB2 modules, FortiSwitch-5001A boards can also connect to the fabric backplane at 10 Gbps. The FortiGate-5001SX board and FortiGate-5001FA2 board do not include fabric backplane interfaces.
Model Name of fabric backplane interface 1 (to slot 1)
Name of fabric backplane interface 2 (to slot 2)

Fabric gigabit switching within a chassis FortiGate-5140 fabric backplane communication
This section describes:
You can use FortiSwitch-5003A fabric channel switching for communication between the fabric backplane interfaces of FortiGate-5001A or 5005FA2 boards installed in a FortiGate-5140 chassis.
Figure 9 shows a FortiGate-5140 chassis with a FortiSwitch-5003A board in hub/switch slot 1, and FortiGate-5001A boards in 6 other slots. In this configuration the FortiSwitch-5003A board provides 1-gigabit fabric backplane switching for the FortiGate-5001A fabric1 interfaces. The FortiSwitch-5003A boards operate as layer-2 switches and the FortiGate-5001A boards operate as typical standalone FortiGate units.
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
5000SM
RESET
STATUS
ETH0 ETH1
5000SM
RESET
STATUS
FILTER
FAN TRAY
FAN TRAY
FAN TRAY
Fabric channel 1 data communication

FortiGate-5140 fabric backplane communication Fabric gigabit switching within a chassis
The chassis can be connected to the network using any of the FortiGate-5001A front panel interfaces. You can also connect FortiSwitch-5003A front panel fabric interfaces to the network. You can also install FortiGate AMC modules in the FortiGate-5001A boards and connect the network to the AMC front panel interfaces. The AMC modules and the network connections are not shown in Figure 9.
For the FortiGate-5001A boards to use the fabric channel 1 for data communication you must show backplane interfaces on the FortiGate-5001A web-based manager and then configure firewall polices and routing for the fabric1 interfaces.
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tags 201 to 210 on slots 9, 11, and 13 from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,201-210 next edit "slot-11"
set allowed-vlans 1,201-210 next edit "slot-13"
set allowed-vlans 1,201-210 end
For more information about the FortiSwitch-5003A CLI, see “FortiSwitch-5003A CLI reference” on page 89.
Figure 10 shows a FortiGate-5140 chassis with FortiSwitch-5003A boards in hub/switch slots 1 and 2 and FortiGate-5001A and 5005FA2 boards in all of the other slots. The FortiGate boards can use fabric channels 1 and 2 for data communication among the FortiGate boards. In this configuration the FortiSwitch-5003A boards are operating as layer-2 switches for fabric channels 1 and 2 and the FortiGate boards are operating as typical standalone FortiGate units.
The chassis can be connected to the network using any of the FortiGate front panel interfaces. You can also connect FortiSwitch-5003A front panel fabric interfaces to the network. You can also install FortiGate AMC modules in the FortiGate-5001A boards and connect the network to the AMC front panel interfaces. The AMC modules and the network connections are not shown in Figure 10.
edit "slot-9"

Fabric gigabit switching within a chassis FortiGate-5140 fabric backplane communication

13 11 9 7 5 3 1 2 4 6 8 10 12 14
For the FortiGate boards to use the fabric channels 1 and 2 for data communication you must show backplane interfaces on the FortiGate web-based manager and then configure firewall polices and routing for the fabric1 and fabric2 interfaces.
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tag 400 on slots 4 and 12 from the FortiSwitch-5003A CLI enter:

FortiGate-5140 fabric backplane communication Fabric channel connections between FortiSwitch-5003A boards
When two FortiSwitch-5003A boards are installed in a single chassis their fabric channels are connected together. This means there is a data connection between fabric channel 1 and fabric channel 2. Unless you are going to use this connection you should disable it.
If one or more of the FortiGate-5001A or 5005FA2 boards are operating in transparent mode, the connection between the fabric channels can cause looping. If you have one or more FortiGate-5001A or 5005FA2 boards operating in transparent mode with two FortiSwitch-5003A boards in the same chassis you must disable communication between the FortiSwitch-5003A boards.
The fabric channel connection between the FortiSwitch-5003A boards uses an internal FortiSwitch-5003A interface called slot-2/1. To disable the fabric channel connection between two FortiSwitch-5003A boards you should set the status of slot-2/1 to down for one of the boards. Connect to the CLI of one of the FortiSwitch-5003A boards and enter the following command:
config switch fabric-channel physical-port
set status down end
You can use the FortiSwitch-5003A front panel fabric interfaces to provide 10-gigabit data communications between the fabric channels of any combination of FortiGate-5050 and FortiGate-5140 chassis.
Note: Its not required, but in most cases you would connect the same fabric channels together. That is you would connect fabric channel 1 on one chassis to fabric channel 1 on another. Usually you would not connect fabric channel 1 on one chassis to fabric channel 2 on another chassis. Also, you would usually not connect a base channel from one chassis to a fabric channel on another chassis. You should be careful of looping when connecting chassis together if some of the FortiGate boards in the chassis are operating in transparent mode.
Figure 11 shows data communication between two FortiGate-5140 chassis using fabric channel 1. The top chassis in the figure contains a FortiSwitch-5003A board in hub/switch slot 1 and six FortiGate-5001A boards. The bottom chassis contains a FortiSwitch-5003A board also in hub/switch slot 1 and four FortiGate-5005FA2 boards.
The chassis are connected together using the FortiSwitch-5003A F1 front panel interface in the top chassis and the FortiSwitch-5003A F7 front panel interface in the bottom chassis.
In this configuration the FortiSwitch-5003A boards are operating as layer-2 switches for fabric channel 1 and the FortiGate-5001A and 5005FA2 boards are operating as typical standalone FortiGate units.
edit slot-2/1

Fabric gigabit switching between chassis FortiGate-5140 fabric backplane communication
The chassis can be connected to the network using any of the FortiGate front panel interfaces. You can also connect FortiSwitch-5003A front panel fabric interfaces to the network. You can also install FortiGate AMC modules in the FortiGate-5001A boards and connect networks to the AMC front panel interfaces. The AMC modules and the network connections are not shown in Figure 11.
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
RESET
13 11 9 7 5 3 1 2 4 6 8 10 12 14
5000SM
RESET
STATUS
5000SM
ETH0 ETH1
RESET
STATUS
FILTER
FAN TRAY
FAN TRAY
FAN TRAY
Fabric channel 1 data communication
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
ACT
LINK
ACT
LINK
ACT
LINK
ACT
LINK
ACT
LINK
ACT
LINK
ACT
LINK
ACT
FABRIC
BASE
FABRIC
BASE
FABRIC
BASE
FABRIC
BASE
Fabric channel 1 10-gigabit data communication between 2 chassis
CONSOLE
CONSOLE
CONSOLE
OOS
USB USB
OOS
USB USB
OOS
USB USB
OOS
USB USB
ACC
ACC
ACC
ACC
STATUS
3 4 1 2 5 6
3 4 1 2 5 6
3 4 1 2 5 6
3 4 1 2 5 6
5000SM
RESET
STATUS
IPM
IPM
IPM
IPM
ETH0 ETH1
5000SM
RESET
STATUS
FILTER
FAN TRAY
FAN TRAY
FAN TRAY
Fabric channel 1 data communication
For the FortiGate-5001A and 50005FA2 boards to use fabric channel 1 for data communication you must show backplane interfaces on the FortiGate web-based manager and then configure firewall polices and routing for the fabric1 interfaces.

FortiGate-5140 fabric backplane communication Fabric gigabit switching to the network
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tags 201 to 210 on slots 8 and 10 and the F7 front panel interface, from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,201-210 next edit "slot-10"
set allowed-vlans 1,201-210 next edit "f7"
set allowed-vlans 1,201-210 end
You can use the FortiSwitch-5003A fabric front panel interfaces to connect the fabric channel of a chassis to your network. Most often you would do this for data communication between the network and a fabric channel. For a simple 10-gigabit connection from your network to a fabric channel you can connect your network directly to a FortiSwitch-5003A fabric channel front panel interface. This connection provides data communication to the fabric1 or fabric2 interfaces of the FortiGate-5000 boards installed in the chassis.
Figure 12 shows a FortiGate-5140 chassis containing two FortiSwitch-5003A boards and 6 FortiGate-5001A boards. The chassis is connected to internal and an external networks using FortiSwitch-5003A front panel fabric interfaces:
In this configuration the FortiSwitch-5003A boards are operating as layer-2 switches and the FortiGate-5001A boards are operating as standalone FortiGate units.
The chassis can also be connected to the network using any of the FortiGate front panel interfaces. You can also install FortiGate AMC modules in the FortiGate-5001A boards and connect networks to the AMC front panel interfaces. The AMC modules and network connections to the AMC modules and FortiGate boards are not shown in Figure 12.
If you have two FortiSwitch-5003A boards installed in a chassis you may need to block communication between fabric channel 1 and fabric channel 2. See “Fabric channel connections between FortiSwitch-5003A boards” on page 27 for more information.
edit "slot-8"

Fabric gigabit switching to the network FortiGate-5140 fabric backplane communication
connected to an external network
Fabric channel 2 data communication
Internal network connected to the F7 front panel fabric interface to connect to fabric channel 2
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
5000SM
RESET
STATUS
5000SM
ETH0 ETH1
RESET
STATUS
FILTER
External network connected to the F1 front panel fabric interface to connect to fabric channel 1
FAN TRAY
FAN TRAY
Fabric channel 1 data communication
For the FortiGate-5001A boards to use the fabric channels for data communication you must show backplane interfaces on the FortiGate web-based manager and then configure firewall polices and routing for the fabric1 and fabric2 interfaces.
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tags 201 to 210 on slots 6, 8, and 10 and the F1 front panel interface, from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,201-210 next edit "slot-8"
set allowed-vlans 1,201-210 next edit "slot-10"
set allowed-vlans 1,201-210 next edit "f1"
set allowed-vlans 1,201-210 end

FortiGate-5140 fabric backplane communication Fabric 10-gigabit switching within a chassis
All of the FortiSwitch-5003A fabric front panel interfaces are 10-gigabit interfaces and the FortiSwitch-5003A board supports 10-gigabit communication across the fabric backplane channels. The FortiGate-5001A board also supports 10-gigabit communication on the fabric backplane with the addition of a FortiGate-RTM-XB2 module. You require one FortiGate-RTM-XB2 module for each FortiGate-5001A board. The FortiGate-RTM-XB2 module must be installed in the chassis rear transition module (RTM) slot that corresponds to the front panel slot containing the FortiGate-5001A board. For example, if you install a FortiGate-5001A board in slot 3 you must also install a FortiGateRTM-XB2 module in RTM slot 3. The RTM slots are at the back of the FortiGate-5140 chassis.
One FortiGate-RTM-XB2 module provides 10-gigabit connections to both fabric channels. The FortiGate-RTM-XB2 also provides NP2 packet acceleration for both fabric channels. To effectively use NP2 acceleration, packets must be received by the FortiGate-5001A board on one fabric channel and must exit from the FortiGate-5001A board on the same fabric channel or on the other fabric channel. See the FortiGate-RTM-XB2 System Guide for more information about the FortiGate-RTM-XB2.
Figure 13 shows a FortiGate-5140 chassis containing two FortiSwitch-5003A boards and six FortiGate-5001A boards. Using these components this chassis supplies 10-gigabit connectivity between the external and internal networks. The external network is connected to the F1 10-gigabit front panel interface of the FortiSwitch-5003A board in slot 1, which connects the external network to fabric channel 1. The internal network is connected to the F7 10-gigabit front panel interface of the FortiSwitch-5003A board in slot 2, which connects the internal network to fabric channel 2.
10-gigabit traffic from the external network enters the F1 10-gigabit FortiSwitch-5003A front panel interface, passes through the FortiSwitch-5003A board and through the FortiGate-RTM-XB2 modules to the fabric1 interfaces of the FortiGate-5001A boards. Traffic accepted at the fabric1 interfaces is processed by each FortiGate-5001A board. Traffic destined for the internal network exits the fabric2 interfaces of the FortiGate-5001A boards, passes through the FortiGate-RTM-XB2 modules and through the FortiSwitch-5003A board and exits the F7 10-gigabit FortiSwitch-5003A front panel interface and is received by the internal network.
The configuration shown in Figure 13 requires no configuration changes to the FortiSwitch-5003A boards except to disable communication between the FortiSwitch-5003A boards (if required, see “Fabric channel connections between FortiSwitch-5003A boards” on page 27).
On the FortiGate-5001A boards, to allow traffic to pass between the internal and external networks, the FortiGate-5001A boards would operate in NAT/Route mode and you must configure firewall policies and routing for the fabric1 and fabric2 interfaces. No configuration changes are required to use the FortiGate-RTM-XB2 module. NP2 acceleration is automatically applied to traffic passing between the internal and external networks by the FortiGate-RTM-XB2 module.

Fabric 10-gigabit switching within a chassis FortiGate-5140 fabric backplane communication
FortiGate-RTM-XB2 modules installed in RTM slots 6, 8, and 10 provide two 10-gigabit fabric channels and NP2 acceleration for each FortiGate-5001A board
Fabric channel 2 10-gigabit data communication
Internal 10-gigabit network connected to fabric channel 2
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
modules installed in RTM slots 9, 11, and 13 provide two
10-gigabit fabric channels and NP2
5000SM
RESET
STATUS
ETH0 ETH1
5000SM
RESET
STATUS
FILTER
External 10-gigabit network connected to fabric channel 1
FAN TRAY
FAN TRAY
Fabric channel 1 10-gigabit data communication
Note: On some versions of the FortiGate-5001A firmware, when a FortiGate-5001A board starts up with a FortiGate-RTM-XB2 module installed, the fabric1 and fabric2 interfaces are replaced with interfaces that are named RTM/1 and RTM/2 to indicate the presence of the FortiGate-RTM-XB2 module. Configuration settings that include the fabric1 and fabric2 interface names will have to be changed to use the RTM/1 and RTM/2 interface names.
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tags 300 to 305 on slots 9, 11, and 13 and the F7 front panel interface, from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,300-305 next edit "slot-11"
set allowed-vlans 1,300-305 next edit "slot-13"
set allowed-vlans 1,300-305 next edit "f7"
set allowed-vlans 1,300-305 end

FortiGate-5140 fabric backplane communication Fabric channel layer-2 link aggregation
FortiSwitch-5003A boards support 802.3ad static mode layer-2 link aggregation and 802.1q VLANs for the fabric channels. You can use these features to configure link aggregation to distribute traffic to multiple FortiGate-5001A or 5005FA2 boards. Link aggregation configurations also support IPv6 traffic and traffic with jumbo frames up to 16 kbytes.
You can use link aggregation to increase the bandwidth capacity of a FortiGate-5000 configuration by distributing network traffic among multiple FortiGate-5001A or 5005FA2 boards. Adding a new FortiGate-5000 board to a trunk results in an almost linear increase in performance. Link aggregation is configured and functions the same way for 1-gigabit and 10-gigabit fabric backplane networks. You can configure 1-gigabit configurations with FortiGate- 5001A or 5005FA2 boards. You can configure 10-gigabit configurations with FortiGate-5001A boards combined with FortiGate-RTM-XB2 modules. FortiGate- RTM-XB2 modules also increase performance by added NP2 acceleration to the configuration.
You configure link aggregation by adding FortiSwitch-5003A interfaces to a link aggregation trunk. The FortiSwitch-5003A board uses a hash algorithm based on source and destination IP addresses to distribute sessions to the interfaces added to the trunk. Each interface in the trunk usually corresponds to a slot in the chassis in which a FortiGate-5001A or 5005FA2 board is installed. You can also include FortiSwitch-5003A front panel interfaces in a trunk and distribute sessions to FortiGate-5000 boards installed in multiple chassis.
You can add up to 8 interfaces to a trunk to distribute sessions among up to 8 FortiGate-5000 boards. You can also add multiple trunks to a single FortiSwitch-5003A board. The total number of FortiGate-5000 boards in a trunk is limited by the amount of bandwidth you are processing and the capacity of the FortiSwitch-5003A board. Fortinet does not support mixing FortiGate-5001A and 5005FA2 boards in the same trunk.
If you add a FortiGate-5000 board to a trunk, or if you remove a FortiGate-5000 board from a trunk the link aggregation hash algorithm recalculates the session distribution. If the FortiSwitch-5003A system is processing traffic when you add or remove a FortiGate-5000 board, after sessions are redistributed the FortiGate-5000 boards in the trunk will not necessarily continue to process the same sessions. The same happens if a FortiGate-5000 board in a trunk fails. The FortiSwitch-5003A system does not maintain a session table, so changes to a trunk can result in communication being temporarily interrupted. As a result you should only add or remove FortiGate-5000 boards from a trunk during off-peak hours.
The FortiGate-5000 boards in a trunk must operate in transparent mode. All the FortiGate-5000 boards in a trunk are managed separately and all must have the same configuration. You can use the FortiManager system to maintain the same configuration on the FortiGate-5000 boards.
Note: Due to the way the hash algorithm works, FortiGate-5000 boards in the lower numbered chassis slots in a trunk may receive more traffic. The order of the interfaces in the trunk does not matter, the numerically lowest slots will always be the ones to receive more traffic if the number of interfaces in the trunk is not a power of 2.

Fabric channel layer-2 link aggregation FortiGate-5140 fabric backplane communication
Because the FortiGate-5000 boards in a link aggregation configuration operate in transparent mode, any routing, VPN or NAT requirements should be handed by an external device (such as a router), before or after the traffic reaches the FortiSwitch-5003A board.
If the traffic that you are distributing contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces and to the trunks that will handle the VLAN-tagged traffic.
Figure shows a basic link aggregation configuration using a single FortiSwitch-5003A board. In this configuration the external switch is connected to the FortiSwitch-5003A F7 front panel interface. The external switch adds VLAN tags to traffic from the internal and external networks. Packets from the internal network are tagged as 100 and packets from the external network are tagged as 101.
10-gigabit networks connected to FortiSwitch-5003A front panel interface F7
and to fabric channel 1
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
Six FortiGate-RTM-XB2 modules installed in RTM slots 6, 8, 9, 10, 11, and 13 to provide 10-gigabit fabric interfaces and NP2 acceleration for each FortiGate-5001A board
5000SM
RESET
STATUS
ETH0 ETH1
5000SM
RESET
STATUS
FILTER
FAN TRAY
FAN TRAY
FAN TRAY
Distributed 10-gigabit data communication on fabric channel 1

FortiGate-5140 fabric backplane communication Fabric channel layer-2 link aggregation
The FortiSwitch-5003A configuration consists of adding a trunk named trunk_6 that aggregates backplane slots 6, 8, 9, 10, 11, and 13:
config switch fabric-channel trunk
set members "slot-6" "slot-8" "slot-9" "slot-10"
"slot-11" "slot-13" end Allow VLAN packets on the FortiSwitch-5003A F7 front panel interface and the trunk:
config switch fabric-channel interface
set allowed-vlans 1,100-101 next edit "trunk_6"
set allowed-vlans 1,100-101 end
The traffic enters and exits the FortiGate-5001A boards using the fabric1 interface. You must add two VLAN interfaces to the fabric1 interface, one for traffic from the Internal network and one for traffic from the external network. Then you must add firewall policies for traffic between these VLAN interfaces.
For example, you could name the VLAN interfaces vlan_fab1_100 and vlan_fab1-101. From the FortiGate-5001A CLI enter:
set interface fabric1 set vlanid 100 set vdom root etc... next edit vlan_fab1_101
set interface fabric1 set vlanid 101 set vdom root etc... end
Then you can add vlan_fab1_100 to vlan_fab1-101 firewall policies the data traffic.
Note: On some versions of the FortiGate-5001A firmware, when a FortiGate-5001A board includes a FortiGate-RTM-XB2 module, the fabric1 and fabric2 interfaces are replaced with interfaces that are named RTM/1 and RTM/2 to indicate the presence of the FortiGate-RTM-XB2 module. Configuration settings that include the fabric1 and fabric2 interface names will have to be changed to use the RTM/1 and RTM/2 interface names.
You should also configure the FortiGate-5001A boards to send heartbeat packets over the fabric1 channel so that the FortiSwitch-5003A board can verify that the FortiGate-5001A boards are functioning. Each FortiGate-5001A board sends 10 heartbeat packets per second from each fabric interface. The packets are type 255 bridge protocol data unit (BPDU) packets. From the FortiGate-5001A CLI enter:
set fortiswitch-heartbeat enable end

Fabric channel layer-2 link aggregation and redundancy FortiGate-5140 fabric backplane communication
You must also enable the FortiSwitch-5003A board to listen for heartbeat packets on all of the interfaces connected to FortiGate-5001A boards:
config switch fabric-channel physical-port
set heartbeat enable next edit "slot-8"
set heartbeat enable next edit "slot-9"
set heartbeat enable next edit "slot-10"
set heartbeat enable next edit "slot-11"
set heartbeat enable next edit "slot-13"
set heartbeat enable end
In addition to 802.3adstatic mode layer-2 link aggregation and 802.1q VLANs the FortiSwitch-5003A board also supports 802.1s Multi-Spanning Tree Protocol (MSTP) for the fabric channels. You can use MSTP to add redundancy to a link aggregation configuration. Redundancy consists of redundant FortiSwitch-5003A boards that both distribute traffic to multiple FortiGate-5001A or 5005FA2 boards.
To be able to use redundant FortiSwitch-5003A boards in one chassis you must configure MSTP to eliminate loops. You can also use MSTP settings to control traffic flow and create different kinds of redundant configurations:
Redundant configurations require a third-party switch that supports MSTP and is used to connect the FortiSwitch-5003A boards to the networks. You configure MSTP on the third-party switch and on the FortiSwitch-5003A boards to create spanning tree instances on all three devices. All three devices must have the same spanning tree instances. Depending on the requirement, the spanning tree instances can have different priorities on each device. You can also use the third-party switch to add and remove VLAN tags from incoming and outgoing traffic.
edit "slot-6"

FortiGate-5140 fabric backplane communication Example active-passive redundant link configuration
The configuration of the spanning tree instances determines whether you create an active-passive or active-active configuration:
In both active-passive or active-active configurations, if one of the FortiSwitch-5003A boards fails, sessions are temporarily interrupted because the FortiSwitch-5003A boards do not store session information.
Figure 15 shows an example redundant link aggregation configuration. In this configuration an external switch is connected to two FortiSwitch-5003A front panel F7 interfaces. The switch adds VLAN tags to traffic from two internal and two external networks. Packets from each network get different VLAN tags. Packets from internal networks are tagged as 103 and 104 and packets from the external networks are tagged as 105 and 106.
To make this an active-passive configuration, the spanning tree instances on the FortiSwitch-5003A board in slot 1 should have a higher priority than the spanning tree instances on the FortiSwitch-5003A board in slot 2. The FortiSwitch-5003A board in slot 1 becomes the root for both spanning tree instances. Because of the priority settings, MSTP sends all packets to the FortiSwitch-5003A board in slot 1. If this board fails, MSTP re-directs all packets to the FortiSwitch-5003A board in slot 2.
For a given spanning tree instance, MSTP directs packets to the device with the lowest priority value. To give a spanning tree instance a higher priority on a device you must configure the instance on that device with a lower priority value. The lower priority value gives the device a higher spanning tree priority for a given spanning tree instance.
In this example the spanning tree priority values on the FortiSwitch-5003A board in slot 1 are both set to 4096 and the spanning tree priority values on the FortiSwitch-5003A board in slot 2 are both set to 40960. So spanning tree directs all traffic to the FortiSwitch-5003A board in slot 1.

Example active-passive redundant link configuration FortiGate-5140 fabric backplane communication
All of the FortiGate-5001A boards must be operating in transparent mode and all must have the same configuration. In this redundant configuration, traffic can be re-directed from one fabric channel to another after a FortiSwitch-5003A fails or if you change the MSTP configuration. To make sure the FortiGate-5001A boards can continue to process traffic after a failure or MSTP configuration change you must add redundant configurations to both fabric interfaces. This means adding 4 VLAN interfaces to each fabric interface (one for each VLAN tag) and configuring duplicate firewall policies and routing for both sets of VLAN interfaces.
10-gigabit networks connected to FortiSwitch-5003A front panel interface F7
and to fabric channels
Distributed 10-gigabit data communication on fabric channel 2
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
5000SM
Six FortiGate-RTM-XB2 modules installed in RTM slots 6, 8, 9, 10, 11, and 13 to provide 10-gigabit fabric interfaces and NP2 acceleration for each FortiGate-5001A board.
STATUS
ETH0 ETH1
5000SM
RESET
STATUS
FILTER
Distributed 10-gigabit data communication on fabric channel 1
FAN TRAY
FAN TRAY
External switch configuration
The external switch requires the following configuration settings. Example commands are shown for an HP procurve 3500yl switch with interfaces A1 and A4 connected to the FortiSwitch-5003A boards. The external switch acts as the root for spanning tree instance 0.
1 Create an MSTP configuration that includes a name and a revision. For example, if the name is tree_1 and the revision is 1:
spanning-tree config-name "tree_1" spanning-tree config-revision 1

FortiGate-5140 fabric backplane communication Example active-passive redundant link configuration
2 Configure the switch to add VLAN tag 103 and 104 to packets from the internal networks and VLAN tag 105 and 106 to packets from the external networks and to send packets from all of these networks to the FortiSwitch-5003A board.
name "VLAN103" tagged 6,8,19,A1,A4 exit vlan 104
name "VLAN104" tagged 5,7,20,A1,A4 no ip address exit vlan 105
name "VLAN105" tagged 6,8,19,A1,A4 no ip address exit vlan 106
name "VLAN106" tagged 5,7,20,A1,A4 no ip address exit
3 Add spanning tree instance 3 for packets from the internal networks. Add VLAN tags 103 and 104 to this spanning tree instance. Set the priority of this spanning tree instance to 5.
spanning-tree instance 3 vlan 103 104 spanning-tree instance 3 priority 5
4 Add spanning tree instance 5 for packets from the external networks. Add VLAN tags 105 and 106 to this spanning tree instance. Set the priority of this spanning tree instance to 5, the same as instance 3.
spanning-tree instance 5 vlan 105 106 spanning-tree instance 5 priority 5
The FortiSwitch-5003A board in slot 1 requires the following configuration settings:
1 Disable communication between the FortiSwitch-5003A boards:
config switch fabric-channel physical-port
set status down end
2 Create an MSTP configuration that includes the same name and revision as was added to the external switch. For example, if the name is tree_1 and the revision is 1:
config switch fabric-channel stp settings
set name "tree_1" set revision 1 end
vlan 103 · edit slot-2/1

Example active-passive redundant link configuration FortiGate-5140 fabric backplane communication
3 Add two spanning tree instances numbered the same as the instances added to the switch (3 and 5). Add the VLAN tags to the instances and set their priority values to 4096:
config switch fabric-channel stp instance
set priority 4096 set vlan-range 103-104 next edit 5
set priority 4096 set vlan-range 105-106 end
4 Add a trunk named trunk_6 that aggregates backplane slots 6, 8, 9, 10, 11, and 13: config switch fabric-channel trunk
set members "slot-6" "slot-8" "slot-9" "slot-10"
"slot-11" "slot-13" end 5 Allow VLAN packets on the FortiSwitch-5003A F7 front panel interface and the trunk:
config switch fabric-channel interface
set allowed-vlans 1,103-106 next edit "trunk_6"
set allowed-vlans 1,103-106 end 6 Enable the FortiSwitch-5003A board to listen for heartbeat packets on all of the interfaces connected to FortiGate-5001A boards:
config switch fabric-channel physical-port
set heartbeat enable next edit "slot-8"
set heartbeat enable next edit "slot-9"
set heartbeat enable next edit "slot-10"
set heartbeat enable next edit "slot-11"
set heartbeat enable next edit "slot-13"
set heartbeat enable end

FortiGate-5140 fabric backplane communication Example active-passive redundant link configuration
Enter diagnose spanning-tree mst-config fabric-channel to display the FortiSwitch-5003A fabric channel MSTP configuration.
diagnose spanning-tree mst-config fabric-channel
MST Configuration Identification Information
Unit: Fabric MST Configuration Name: tree_1 MST Configuration Revision: 1 MST Configuration Digest: d397441fd8666b0abb8f5fab64b9d18a
Instance ID Mapped VLANs 3 103 104 5 105 106
Enter diagnose spanning-tree instance fabric-channel to display the configuration of a spanning tree instance for an interface. For example, to display the configuration of spanning tree instance 3 for the FortiSwitch-5003A F7 interface enter:
diagnose spanning-tree instance fabric-channel 3 f7
MST Instance Information, Fabric-Channel:
Instance ID : 3 Mapped VLANs : 103 104 Switch Priority : 4096 Regional Root MAC Address : 003064058f87 Regional Root Priority: 4096 Regional Root Path Cost: 0 Regional Root Port: slot-2/1 Remaining Hops: 20
Port Speed Cost Priority Role State
f7 10G 2000 128 DESIGNATED FORWARDING

Example active-passive redundant link configuration FortiGate-5140 fabric backplane communication
The FortiSwitch-5003A board in slot 2 requires the same configuration settings as the FortiSwitch-5003A board in slot 1 except that the priority values of both spanning tree instances is set higher for the FortiSwitch-5003A board in slot 2:
config switch fabric-channel stp instance
set priority 40960 set vlan-range 103-104 next edit 5
set priority 40960 set vlan-range 105-106 end
Enter diagnose spanning-tree mst-config fabric-channel to display the FortiSwitch-5003A fabric channel MSTP configuration.
diagnose spanning-tree mst-config fabric-channel
MST Configuration Identification Information
Unit: Fabric MST Configuration Name: tree_1 MST Configuration Revision: 1 MST Configuration Digest: 86a2448b88448fb7dbe0f8680e2d0fb5
Instance ID Mapped VLANs 3 103 104 5 105 106
To display the configuration of spanning tree instance 5 for the FortiSwitch-5003A F7 interface enter:
diagnose spanning-tree instance fabric-channel 5 f7
MST Instance Information, Fabric-Channel:
Instance ID : 5 Mapped VLANs : 105 106 Switch Priority : 40960 Regional Root MAC Address : 00306407a1da Regional Root Priority: 40960 Regional Root Path Cost: 0 Regional Root Port: slot-2/1 Remaining Hops: 20
Port Speed Cost Priority Role State f7 10G 2000 128 DESIGNATED FORWARDING
edit 3

FortiGate-5140 fabric backplane communication Example active-passive redundant link configuration
All of the FortiGate-5001A boards must be operating in transparent mode and all must have the same configuration.
The spanning tree instances can send traffic to fabric channel 1 or fabric channel 2. As a result, traffic can enter and exit the FortiGate-5001A boards using the fabric1 interface or the fabric2 interface. So you should create redundant configurations for each fabric interface. For each fabric interface you must add four VLAN interfaces, two for traffic from both Internal networks and two for traffic from both external networks. Then for each fabric interface you must add firewall policies for traffic between the four VLAN interfaces.
For example, for the fabric1 interface you could name the VLAN interfaces vlan_fab1_103, vlan_fab1-104, vlan_fab1_105, and vlan_fab1-106. From the FortiGate-5001A CLI enter:
set interface fabric1 set vlanid 103 set vdom root etc... next edit vlan_fab1_104
set interface fabric1 set vlanid 104 set vdom root etc... edit vlan_fab1_105
set interface fabric1 set vlanid 105 set vdom root etc... next edit vlan_fab1_106
set interface fabric1 set vlanid 106 set vdom root etc... end For the fabric2 interface you could name the VLAN interfaces vlan_fab2_103, vlan_fab2-104, vlan_fab2_105, and vlan_fab2-106. From the FortiGate-5001A CLI enter:
set interface fabric2 set vlanid 103 set vdom root etc... next edit vlan_fab2_104
set interface fabric2 set vlanid 104 set vdom root etc...

Example active-active redundant link configuration FortiGate-5140 fabric backplane communication
set interface fabric2 set vlanid 105 set vdom root etc... next edit vlan_fab2_106
set interface fabric2 set vlanid 106 set vdom root etc... end
You should also configure the FortiGate-5001A boards to send heartbeat packets over the fabric1 and fabric2 channels so that the FortiSwitch-5003A board can verify that the FortiGate-5001A boards are functioning. Each FortiGate-5001A board sends 10 heartbeat packets per second from each fabric interface. The packets are type 255 bridge protocol data unit (BPDU) packets. From the FortiGate-5001A CLI enter:
set fortiswitch-heartbeat enable end
You can make the previous example an active-active redundant link configuration that sends all traffic from the internal networks to one FortiSwitch-5003A board and all traffic from the external networks to the other FortiSwitch-5003A board by changing the priorities of the spanning tree instances added to the FortiSwitch-5003A boards. No other configuration changes are required.
To send all traffic from the internal networks to the FortiSwitch-5003A board in slot 1 configure the spanning tree instances on this board with a lower priority value for instance 3 which is used for VLAN 103 and 104 packets.
config switch fabric-channel stp instance
set priority 4096 set vlan-range 103-104 next edit 5
set priority 40960 set vlan-range 105-106 end
To send all traffic from the external networks to the FortiSwitch-5003A board in slot 2 configure the spanning tree instances on this board with a lower priority value for instance 5 which is used for VLAN 105 and 106 packets.
config switch fabric-channel stp instance
set priority 40960 set vlan-range 103-104 next

FortiGate-5140 fabric backplane communication Example active-active redundant link configuration
set priority 4096 set vlan-range 105-106 end
To display the configuration of spanning tree instance 3 for the FortiSwitch-5003A F7 interface enter:
diagnose spanning-tree instance fabric-channel 3 f7
MST Instance Information, Fabric-Channel:
Instance ID : 3 Mapped VLANs : 103 104 Switch Priority : 4096 Regional Root MAC Address : 00306407a1da Regional Root Priority: 4096 Regional Root Path Cost: 0 Regional Root Port: slot-2/1 Remaining Hops: 20
Port Speed Cost Priority Role State
f7 10G 2000 128 DESIGNATED FORWARDING
edit 5

Example active-active redundant link configuration FortiGate-5140 fabric backplane communication

FortiGate-5050 fabric backplane communication
The FortiGate-5505 chassis has two fabric backplane Ethernet channels that can operate at 1 Gbps or 10 Gbps. Available connections to these channels vary by hub/switch slot number.
Because of the fabric backplane dual star topology, connecting to or through the fabric backplane requires FortiSwitch-5003A boards installed in hub/switch slot 1, hub/switch slot 2, or both. FortiSwitch-5003A front panel fabric interfaces can also connect the chassis fabric backplane channels to external devices, such as a management computer, the network, or the fabric backplane of another chassis.
FortiGate-5001A boards and FortiGate-5005FA2 boards can connect to the fabric backplane at 1 Gbps. With the addition of a FortiGate-RTM-XB2 modules, FortiSwitch-5001A boards can also connect to the fabric backplane at 10 Gbps. The FortiGate-5001SX board and FortiGate-5001FA2 board do not include fabric backplane interfaces.
Model Name of fabric backplane interface 1 (to slot 1)
Name of fabric backplane interface 2 (to slot 2)

Fabric gigabit switching within a chassis FortiGate-5050 fabric backplane communication
This section describes:
You can use FortiSwitch-5003A fabric channel switching for communication between the fabric backplane interfaces of FortiGate-5001A or 5005FA2 boards installed in a FortiGate-5050 chassis.
Figure 16 shows a FortiGate-5050 chassis with a FortiSwitch-5003A board in hub/switch slot 2, and FortiGate-5001A boards in slots 3, 4, and 5. In this configuration the FortiSwitch-5003A board provides 1-gigabit fabric backplane switching for the FortiGate-5001A fabric2 interfaces. The FortiSwitch-5003A boards operate as layer-2 switches and the FortiGate-5001A boards operate as typical standalone FortiGate units.
The chassis can be connected to the network using any of the FortiGate-5001A front panel interfaces. You can also connect FortiSwitch-5003A front panel fabric interfaces to the network. You can also install FortiGate AMC modules in the FortiGate-5001A boards and connect the network to the AMC front panel interfaces. The AMC modules and the network connections are not shown in Figure 16.
Fabric channel 2 data communication
SMC
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
5000SM
ETH0 ETH1
ETH0
RESET
STATUS
SMC

FortiGate-5050 fabric backplane communication Fabric gigabit switching within a chassis
For the FortiGate-5001A boards to use the fabric channel 2 for data communication you must show backplane interfaces on the FortiGate-5001A web-based manager and then configure firewall polices and routing for the fabric2 interfaces.
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tag 34 on slot 5 from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,34 end
For more information about the FortiSwitch-5003A CLI, see “FortiSwitch-5003A CLI reference” on page 89.
Figure 17 shows a FortiGate-5050 chassis with FortiSwitch-5003A boards in hub/switch slots 1 and 2 and FortiGate-5001A boards in slots 3, 4, and 5. In this configuration the FortiSwitch-5003A boards are operating as layer-2 switches for fabric channels 1 and 2 and the FortiGate-5001A boards are operating as typical standalone FortiGate units. The FortiGate-5001A boards can use fabric channels 1 and 2 for data communication among the FortiGate boards.
The chassis can be connected to the network using any of the FortiGate-5001A front panel interfaces. You can also connect FortiSwitch-5003A front panel fabric interfaces to the network. You can also install FortiGate AMC modules in the FortiGate-5001A boards and connect the network to the AMC front panel interfaces. The AMC modules and the network connections are not shown in Figure 17.
Fabric channel 2 data communication Fabric channel 1 data communication
SMC
5000SM
ETH0 ETH1
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SMC
For the FortiGate-5001A boards to use the fabric channels 1 and 2 for data communication you must show backplane interfaces on the FortiGate-5001A web-based manager and then configure firewall polices and routing for the fabric1 and fabric2 interfaces.

Fabric channel connections between FortiSwitch-5003A boards FortiGate-5050 fabric backplane communication
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tags 200 to 205 on slots 3, 4, and 5 from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,200-205 next edit "slot-4"
set allowed-vlans 1,200-205 next edit "slot-5"
set allowed-vlans 1,200-205 end
When two FortiSwitch-5003A boards are installed in a single chassis their fabric channels are connected together. This means there is a data connection between fabric channel 1 and fabric channel 2. Unless you are going to use this connection you should disable it.
If one or more of the FortiGate-5001A or 5005FA2 boards are operating in transparent mode, the connection between the fabric channels can cause looping. If you have one or more FortiGate-5001A or 5005FA2 boards operating in transparent mode with two FortiSwitch-5003A boards in the same chassis you must disable communication between the FortiSwitch-5003A boards.
The fabric channel connection between the FortiSwitch-5003A boards uses an internal FortiSwitch-5003A interface called slot-2/1. To disable the fabric channel connection between two FortiSwitch-5003A boards you should set the status of slot-2/1 to down for one of the boards. Connect to the CLI of one of the FortiSwitch-5003A boards and enter the following command:
config switch fabric-channel physical-port
set status down end
You can use the FortiSwitch-5003A front panel fabric interfaces to provide 10-gigabit data communications between the fabric channels of any combination of FortiGate-5050 and FortiGate-5140 chassis.
Note: Its not required, but in most cases you would connect the same fabric channels together. That is you would connect fabric channel 1 on one chassis to fabric channel 1 on another. Usually you would not connect fabric channel 1 on one chassis to fabric channel 2 on another chassis. Also, you would usually not connect a base channel from one chassis to a fabric channel on another chassis. You should be careful of looping when connecting chassis together if some of the FortiGate boards in the chassis are operating in transparent mode.
edit "slot-3" · edit slot-2/1

FortiGate-5050 fabric backplane communication Fabric gigabit switching between chassis
Figure 18 shows data communication between two FortiGate-5050 chassis using fabric channel 2. The top chassis in the figure contains a FortiSwitch-5003A board in hub/switch slot 2 and three FortiGate-5001A boards. The bottom chassis contains a FortiSwitch-5003A board also in hub/switch slot 2 and two FortiGate-5005FA2 boards. The chassis are connected together using their respective FortiSwitch-5003A F1 front panel interfaces.
In this configuration the FortiSwitch-5003A boards are operating as layer-2 switches for fabric channel 2 and the FortiGate-5001A and 5005FA2 boards are operating as typical standalone FortiGate units.
The chassis can be connected to the network using any of the FortiGate front panel interfaces. You can also connect FortiSwitch-5003A front panel fabric interfaces to the network. You can also install FortiGate AMC modules in the FortiGate-5001A boards and connect networks to the AMC front panel interfaces. The AMC modules and the network connections are not shown in Figure 18.
SMC
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
5000SM
ETH0 ETH1
ETH0
RESET
STATUS
SMC
Fabric channel 2 10-figabit data ccommunication between 2 chassis
LINK
FABRIC
BASE
USB USB
3 4 1 2 5 6
LINK
CONSOLE
ACT
OOS
USB USB
ACC
STATUS
IPM
ACT
LINK
FABRIC
BASE
3 4 1 2 5 6
CONSOLE
OOS
ACC
STATUS
IPM
POWER
SMC
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
5050SAP
ALARM
5000SM
ETH0 ETH1
ETH0
RESET
STATUS
SMC
SERIAL
1 SERIAL
For the FortiGate-5001A and 50005FA2 boards to use fabric channel 2 for data communication you must show backplane interfaces on the FortiGate web-based manager and then configure firewall polices and routing for the fabric2 interfaces.

Fabric gigabit switching to the network FortiGate-5050 fabric backplane communication
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tags 201 to 210 on slots 3, 4, and 5 and the F1 front panel interface, from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,201-210 next edit "slot-4"
set allowed-vlans 1,201-210 next edit "slot-5"
set allowed-vlans 1,201-210 next edit "f1"
set allowed-vlans 1,201-210 end
You can use the FortiSwitch-5003A fabric front panel interfaces to connect the fabric channel of a chassis to your network. Most often you would do this for data communication between the network and a fabric channel. For a simple 10-gigabit connection from your network to a fabric channel you can connect your network directly to a FortiSwitch-5003A fabric channel front panel interface. This connection provides data communication to the fabric1 or fabric2 interfaces of the FortiGate-5000 boards installed in the chassis.
Figure 19 shows a FortiGate-5050 chassis containing two FortiSwitch-5003A boards and three FortiGate-5001A boards. The chassis is connected to internal and an external networks using FortiSwitch-5003A front panel fabric interfaces:
In this configuration the FortiSwitch-5003A boards are operating as layer-2 switches and the FortiGate-5001A boards are operating as standalone FortiGate units.
The chassis can also be connected to the network using any of the FortiGate front panel interfaces. You can also install FortiGate AMC modules in the FortiGate-5001A boards and connect networks to the AMC front panel interfaces. The AMC modules and network connections to the AMC modules and FortiGate boards are not shown in Figure 19.
edit "slot-3"

FortiGate-5050 fabric backplane communication Fabric gigabit switching to the network
connected to an external network
Internal network connected to the F7
front panel fabric interface to connect to fabric channel 2
Fabric channel 1 Data Communication
Fabric channel 2 Data Communication
SMC
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SMC
External network connected to the F1
front panel fabric interface to connect to fabric channel 1
If you have two FortiSwitch-5003A boards installed in a chassis you may need to block communication between fabric channel 1 and fabric channel 2. See “Fabric channel connections between FortiSwitch-5003A boards” on page 50 for more information.
For the FortiGate-5001A boards to use the fabric channels for data communication you must show backplane interfaces on the FortiGate web-based manager and then configure firewall polices and routing for the fabric1 and fabric2 interfaces.
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tags 80 to 90 on slots 3, 4, and 5 and the F7 front panel interface, from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,80-90 next edit "slot-4"
set allowed-vlans 1,80-90 next edit "slot-5"
set allowed-vlans 1,80-90 next edit "f7"
set allowed-vlans 1,80-90 end

Fabric 10-gigabit switching within a chassis FortiGate-5050 fabric backplane communication
All of the FortiSwitch-5003A fabric front panel interfaces are 10-gigabit interfaces and the FortiSwitch-5003A board supports 10-gigabit communication across the fabric backplane channels. The FortiGate-5001A board also supports 10-gigabit communication on the fabric backplane with the addition of a FortiGate-RTM-XB2 module. You require one FortiGate-RTM-XB2 module for each FortiGate-5001A board. The FortiGate-RTM-XB2 module must be installed in the chassis rear transition module (RTM) slot that corresponds to the front panel slot containing the FortiGate-5001A board. For example, if you install a FortiGate-5001A board in slot 3 you must also install a FortiGateRTM-XB2 module in RTM slot 3. The RTM slots are at the back of the FortiGate-5050 chassis.
One FortiGate-RTM-XB2 module provides 10-gigabit connections to both fabric channels. The FortiGate-RTM-XB2 also provides NP2 packet acceleration for both fabric channels. To effectively use NP2 acceleration, packets must be received by the FortiGate-5001A board on one fabric channel and must exit from the FortiGate-5001A board on the same fabric channel or on the other fabric channel. See the FortiGate-RTM-XB2 System Guide for more information about the FortiGate-RTM-XB2.
Figure 20 shows a FortiGate-5050 chassis containing two FortiSwitch-5003A boards and one FortiGate-5001A board. Using these components this chassis supplies 10-gigabit connectivity between the external and internal networks. The external network is connected to the F1 10-gigabit front panel interface of the FortiSwitch-5003A board in slot 1, which connects the external network to fabric channel 1. The internal network is connected to the F7 10-gigabit front panel interface of the FortiSwitch-5003A board in slot 2, which connects the internal network to fabric channel 2.
10-gigabit traffic from the external network enters the F1 10-gigabit FortiSwitch-5003A front panel interface, passes through the FortiSwitch-5003A board and through the FortiGate-RTM-XB2 module to the fabric1 interface of the FortiGate-5001A board. Traffic accepted at the fabric1 interface is processed by the FortiGate-5001A board. Traffic destined for the internal network exits the fabric2 interface of the FortiGate-5001A board, passes through the FortiGate-RTM-XB2 module and through the FortiSwitch-5003A board and exits the F7 10-gigabit FortiSwitch-5003A front panel interface and is received by the internal network.

FortiGate-5050 fabric backplane communication Fabric 10-gigabit switching within a chassis
FortiGate-RTM-XB2 module installed in RTM slot 3 provides two 10-gigabit fabric channels and NP2 acceleration for the FortiGate-5001A board
Internal 10-gigabit Network Connected to Fabric Channel 2
FortiGate-5001A Board Installed in FortiGate-5050 front panel slot 3
Fabric Channel 2 10-gigabit Data Communication
Fabric Channel 1 10 Gigabit Data Communication
SMC
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SMC
External 10-gigabit Network Connected to Fabric Channel 1
The configuration shown in Figure 20 requires no configuration changes to the FortiSwitch-5003A boards except to disable communication between the FortiSwitch-5003A boards (if required, see “Fabric channel connections between FortiSwitch-5003A boards” on page 50).
On the FortiGate-5001A board, to allow traffic to pass between the internal and external networks, the FortiGate-5001A board would operate in NAT/Route mode and you must configure firewall policies and routing for the fabric1 and fabric2 interfaces. No configuration changes are required to use the FortiGate-RTM-XB2 module. NP2 acceleration is automatically applied to traffic passing between the internal and external networks by the FortiGate-RTM-XB2 module.
Note: On some versions of the FortiGate-5001A firmware, when a FortiGate-5001A board starts up with a FortiGate-RTM-XB2 module installed, the fabric1 and fabric2 interfaces are replaced with interfaces that are named RTM/1 and RTM/2 to indicate the presence of the FortiGate-RTM-XB2 module. Configuration settings that include the fabric1 and fabric2 interface names will have to be changed to use the RTM/1 and RTM/2 interface names.
If the data traffic contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces that will handle the VLAN-tagged traffic. For example, to allow VLAN tags 80 to 90 on slots 1 and the F7 front panel interface, from the FortiSwitch-5003A CLI enter:
config switch fabric-channel interface
set allowed-vlans 1,80-90 next edit "f7"
set allowed-vlans 1,80-90 end

Fabric channel layer-2 link aggregation FortiGate-5050 fabric backplane communication
FortiSwitch-5003A boards support 802.3ad static mode layer-2 link aggregation and 802.1q VLANs for the fabric channels. You can use these features to configure link aggregation to distribute traffic to multiple FortiGate-5001A or 5005FA2 boards. Link aggregation configurations also support IPv6 traffic and traffic with jumbo frames up to 16 kbytes.
You can use link aggregation to increase the bandwidth capacity of a FortiGate-5000 configuration by distributing network traffic among multiple FortiGate-5001A or 5005FA2 boards. Adding a new FortiGate-5000 board to a trunk results in an almost linear increase in performance. Link aggregation is configured and functions the same way for 1-gigabit and 10-gigabit fabric backplane networks. You can configure 1-gigabit configurations with FortiGate- 5001A or 5005FA2 boards. You can configure 10-gigabit configurations with FortiGate-5001A boards combined with FortiGate-RTM-XB2 modules. FortiGate- RTM-XB2 modules also increase performance by added NP2 acceleration to the configuration.
You configure link aggregation by adding FortiSwitch-5003A interfaces to a link aggregation trunk. The FortiSwitch-5003A board uses a hash algorithm based on source and destination IP addresses to distribute sessions to the interfaces added to the trunk. Each interface in the trunk usually corresponds to a slot in the chassis in which a FortiGate-5001A or 5005FA2 board is installed. You can also include FortiSwitch-5003A front panel interfaces in a trunk and distribute sessions to FortiGate-5000 boards installed in multiple chassis.
You can add up to 8 interfaces to a trunk to distribute sessions among up to 8 FortiGate-5000 boards. You can also add multiple trunks to a single FortiSwitch-5003A board. The total number of FortiGate-5000 boards in a trunk is limited by the amount of bandwidth you are processing and the capacity of the FortiSwitch-5003A board. Fortinet does not support mixing FortiGate-5001A and 5005FA2 boards in the same trunk.
If you add a FortiGate-5000 board to a trunk, or if you remove a FortiGate-5000 board from a trunk the link aggregation hash algorithm recalculates the session distribution. If the FortiSwitch-5003A system is processing traffic when you add or remove a FortiGate-5000 board, after sessions are redistributed the FortiGate-5000 boards in the trunk will not necessarily continue to process the same sessions. The same happens if a FortiGate-5000 board in a trunk fails. The FortiSwitch-5003A system does not maintain a session table, so changes to a trunk can result in communication being temporarily interrupted. As a result you should only add or remove FortiGate-5000 boards from a trunk during off-peak hours.
The FortiGate-5000 boards in a trunk must operate in transparent mode. All the FortiGate-5000 boards in a trunk are managed separately and all must have the same configuration. You can use the FortiManager system to maintain the same configuration on the FortiGate-5000 boards.

FortiGate-5050 fabric backplane communication Fabric channel layer-2 link aggregation
Note: Due to the way the hash algorithm works, FortiGate-5000 boards in the lower numbered chassis slots in a trunk may receive more traffic. The order of the interfaces in the trunk does not matter, the numerically lowest slots will always be the ones to receive more traffic if the number of interfaces in the trunk is not a power of 2.
Because the FortiGate-5000 boards in a link aggregation configuration operate in transparent mode, any routing, VPN or NAT requirements should be handed by an external device (such as a router), before or after the traffic reaches the FortiSwitch-5003A board.
If the traffic that you are distributing contains VLAN-tagged packets, you must add the VLAN tags to the FortiSwitch-5003A interfaces and to the trunks that will handle the VLAN-tagged traffic.
Figure 21 shows a basic link aggregation configuration using a single FortiSwitch-5003A board. In this configuration the external switch is connected to the FortiSwitch-5003A F5 front panel interface. The external switch adds VLAN tags to traffic from the internal and external networks. Packets from the internal network are tagged as 100 and packets from the external network are tagged as 101.
10-gigabit networks connected to FortiSwitch-5003A front panel interface F5
and to fabric channel 2
Three FortiGate-RTM-XB2 modules installed in RTM slots 3, 4, and 5 to provide 10-gigabit fabric interfaces and NP2 acceleration for each FortiGate-5001A board.
Distributed 10-gigabit data communication on fabric channel 2
SMC
5000SM
5050SAP
5000SM
SMC
ETH0 ETH1
ETH0
RESET
STATUS
SERIAL
1 SERIAL
ALARM
ETH0 ETH1
ETH0
RESET
STATUS

Fabric channel layer-2 link aggregation FortiGate-5050 fabric backplane communication
The FortiSwitch-5003A configuration consists of adding a trunk named trunk_345 that aggregates backplane slots 3, 4, and 5:
config switch fabric-channel trunk
set members "slot-3" "slot-4" "slot-5" end
Allow VLAN packets on the FortiSwitch-5003A F5 front panel interface and the trunk:
config switch fabric-channel interface
set allowed-vlans 1,100-101 next edit "trunk_345"
set allowed-vlans 1,100-101 end
The traffic enters and exits the FortiGate-5001A boards using the fabric2 interface. You must add two VLAN interfaces to the fabric2 interface, one for traffic from the Internal network and one for traffic from the external network. Then you must add firewall policies for traffic between these VLAN interfaces.
For example, you could name the VLAN interfaces vlan_fab2_100 and vlan_fab2-101. From the FortiGate-5001A CLI enter:
set interface fabric2 set vlanid 100 set vdom root etc... next edit vlan_fab2_101
set interface fabric2 set vlanid 101 set vdom root etc... end
Then you can add vlan_fab2_100 to vlan_fab2-101 firewall policies the data traffic.
Note: On some versions of the FortiGate-5001A firmware, when a FortiGate-5001A board includes a FortiGate-RTM-XB2 module, the fabric1 and fabric2 interfaces are replaced with interfaces that are named RTM/1 and RTM/2 to indicate the presence of the FortiGate-RTM-XB2 module. Configuration settings that include the fabric1 and fabric2 interface names will have to be changed to use the RTM/1 and RTM/2 interface names.
You should also configure the FortiGate-5001A boards to send heartbeat packets over the fabric1 channel so that the FortiSwitch-5003A board can verify that the FortiGate-5001A boards are functioning. Each FortiGate-5001A board sends 10 heartbeat packets per second from each fabric interface. The packets are type 255 bridge protocol data unit (BPDU) packets. From the FortiGate-5001A CLI enter:
set fortiswitch-heartbeat enable end

FortiGate-5050 fabric backplane communication Fabric channel layer-2 link aggregation and redundancy
You must also enable the FortiSwitch-5003A board to listen for heartbeat packets on all of the interfaces connected to FortiGate-5001A boards:
config switch fabric-channel physical-port
set heartbeat enable next edit "slot-4"
set heartbeat enable next edit "slot-5"
set heartbeat enable end
In addition to 802.3ad static mode layer-2 link aggregation and 802.1q VLANs the FortiSwitch-5003A board also supports 802.1s Multi-Spanning Tree Protocol (MSTP) for the fabric channels. You can use MSTP to add redundancy to a link aggregation configuration. Redundancy consists of redundant FortiSwitch-5003A boards that both distribute traffic to multiple FortiGate-5001A or 5005FA2 boards.
To be able to use redundant FortiSwitch-5003A boards in one chassis you must configure MSTP to eliminate loops. You can also use MSTP settings to control traffic flow and create different kinds of redundant configurations:
Redundant configurations require a third-party switch that supports MSTP and is used to connect the FortiSwitch-5003A boards to the networks. You configure MSTP on the third-party switch and on the FortiSwitch-5003A boards to create a spanning tree region consisting of spanning tree instances on all three devices. All three devices must have the same spanning tree instances. Depending on the requirement, the spanning tree instances can have different priorities on each device. You can also use the third-party switch to add and remove VLAN tags from incoming and outgoing traffic.
The configuration of the spanning tree instances on each device determines whether you create an active-passive or active-active configuration:
edit "slot-3"

Example active-passive redundant link configuration FortiGate-5050 fabric backplane communication
In both active-passive or active-active configurations, if one of the FortiSwitch-5003A boards fails, sessions are temporarily interrupted because the FortiSwitch-5003A boards do not store session information.
Figure 22 shows an example redundant link aggregation configuration. In this configuration an external switch is connected to two FortiSwitch-5003A front panel F5 interfaces. The switch adds VLAN tags to traffic from the internal and external networks. Packets from the internal network are tagged as 100 and packets from the external network are tagged as 101.
To make this an active-passive configuration, the spanning tree instances on the FortiSwitch-5003A board in slot 1 should have a higher priority than the spanning tree instances on the FortiSwitch-5003A board in slot 2. The FortiSwitch-5003A board in slot 1 becomes the root for both spanning tree instances. Because of the priority settings, MSTP sends all packets to the FortiSwitch-5003A board in slot 1. If this board fails, MSTP re-directs all packets to the FortiSwitch-5003A board in slot 2.
For a given spanning tree instance, MSTP directs packets to the device with the lowest priority value. To give a spanning tree instance a higher priority on a device you must configure the instance on that device with a lower priority value. The lower priority value gives the device a higher spanning tree priority for a given spanning tree instance.
In this example the spanning tree priority values on the FortiSwitch-5003A board in slot 1 are both set to 4096 and the spanning tree priority values on the FortiSwitch-5003A board in slot 2 are both set to 40960. Spanning tree directs all traffic to the FortiSwitch-5003A board in slot 1.
All of the FortiGate-5001A boards must be operating in transparent mode and all must have the same configuration. In this redundant configuration, traffic can be re-directed from one fabric channel to another after a FortiSwitch-5003A fails or if you change the MSTP configuration. To make sure the FortiGate-5001A boards can continue to process traffic after a failure or NSTP configuration change you must add redundant configurations to both fabric interfaces. This means adding 2 VLAN interfaces to each fabric interface (one for each VLAN tag) and configuring duplicate firewall policies and routing for both sets of VLAN interfaces.

FortiGate-5050 fabric backplane communication Example active-passive redundant link configuration
10-gigabit networks connected to FortiSwitch-5003A front panel interface F5
and to fabric channels
Three FortiGate-RTM-XB2 modules installed in RTM slots 3, 4, and 5 to provide 10-gigabit fabric interfaces and NP2 acceleration for each FortiGate-5001A board.
Distributed 10-gigabit data communication on fabric channels 2 and 3
SMC
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SMC
External switch configuration
The external switch requires the following configuration settings. Example commands are shown for an HP procurve 3500yl switch with interfaces A1 and A4 connected to the FortiSwitch-5003A boards. This external switch acts as the root for spanning tree instance 0.
1 Create an MSTP configuration that includes a name and a revision. For example, if the name is tree_1 and the revision is 11:
spanning-tree config-name "tree_1" spanning-tree config-revision 1
2 Configure the switch to add VLAN tag 100 to packets from the internal network and VLAN tag 101 to packets from the external network and to send packets from both networks to the FortiSwitch-5003A board.
name "VLAN100" tagged 6,8,19,A1,A4 exit vlan 101
name "VLAN101" tagged 5,7,20,A1,A4 no ip address exit
3 Add spanning tree instance 3 for packets from the internal network. Add VLAN tag 100 to this spanning tree instance. Set the priority of this spanning tree instance to 5. spanning-tree instance 3 vlan 100 spanning-tree instance 3 priority 5

Example active-passive redundant link configuration FortiGate-5050 fabric backplane communication
4 Add spanning tree instance 5 for packets from the external networks. Add VLAN tags 101 to this spanning tree instance. Set the priority of this spanning tree instance to 5, the same as instance 3.
spanning-tree instance 5 vlan 101 spanning-tree instance 5 priority 5 Example configuration for the FortiSwitch-5003A board in slot 1
The FortiSwitch-5003A board in slot 1 requires the following configuration settings:
1 Disable communication between the FortiSwitch-5003A boards:
config switch fabric-channel physical-port
set status down end
2 Create an MSTP configuration that includes the same name and revision as was added to the external switch. For example, if the name is tree_1 and the revision is 1:
config switch fabric-channel stp settings
set name "tree_1" set revision 1 end
3 Add two spanning tree instances numbered the same as the instances added to the switch (3 and 5). Add the VLAN tags to the instances and set their priority values to 4096:
config switch fabric-channel stp instance
set priority 4096 set vlan-range 100 next edit 5
set priority 4096 set vlan-range 101 end
4 Add a trunk named trunk_345 that aggregates backplane slots 3, 4, and 5:
config switch fabric-channel trunk
set members "slot-3" "slot-4" "slot-5" end
5 Allow VLAN packets on the FortiSwitch-5003A F5 front panel interface and the trunk:
config switch fabric-channel interface
set allowed-vlans 1,100-101 next edit "trunk_345"
set allowed-vlans 1,100-101 end

FortiGate-5050 fabric backplane communication Example active-passive redundant link configuration
6 Enable the FortiSwitch-5003A board to listen for heartbeat packets on the interfaces connected to FortiGate-5001A boards:
config switch fabric-channel physical-port
set heartbeat enable next edit "slot-4"
set heartbeat enable next edit "slot-5"
set heartbeat enable end
Enter diagnose spanning-tree mst-config fabric-channel to display the FortiSwitch-5003A fabric channel MSTP configuration.
diagnose spanning-tree mst-config fabric-channel
MST Configuration Identification Information
Unit: Fabric MST Configuration Name: tree_1 MST Configuration Revision: 1 MST Configuration Digest: d397441fd8666b0abb8f5fab64b9d18a
Instance ID Mapped VLANs 3 100 5 101
Enter diagnose spanning-tree instance fabric-channel to display the configuration of a spanning tree instance for an interface. For example, to display the configuration of spanning tree instance 5 for the FortiSwitch-5003A F5 interface enter:
diagnose spanning-tree instance fabric-channel 5 f5
MST Instance Information, Fabric-Channel:
Instance ID : 5 Mapped VLANs : 101 Switch Priority : 4096 Regional Root MAC Address : 003064058f87 Regional Root Priority: 4096 Regional Root Path Cost: 0 Regional Root Port: slot-2/1 Remaining Hops: 20
Port Speed Cost Priority Role State
f5 10G 2000 128 DESIGNATED FORWARDING
edit "slot-3"

Example active-passive redundant link configuration FortiGate-5050 fabric backplane communication
The FortiSwitch-5003A board in slot 2 requires the same configuration settings as the FortiSwitch-5003A board in slot 1 except that the priority values of both spanning tree instances are set higher for the FortiSwitch-5003A board in slot 2:
config switch fabric-channel stp instance
set priority 40960 set vlan-range 100 next edit 5
set priority 40960 set vlan-range 101 end
Enter diagnose spanning-tree mst-config fabric-channel to display the FortiSwitch-5003A fabric channel MSTP configuration.
diagnose spanning-tree mst-config fabric-channel
MST Configuration Identification Information
Unit: Fabric MST Configuration Name: tree_1 MST Configuration Revision: 1 MST Configuration Digest: 86a2448b88448fb7dbe0f8680e2d0fb5
Instance ID Mapped VLANs 3 100 5 101
To display the configuration of spanning tree instance 3 for the FortiSwitch-5003A F5 interface enter:
diagnose spanning-tree instance fabric-channel 3 f5
MST Instance Information, Fabric-Channel:
Instance ID : 3 Mapped VLANs : 100 Switch Priority : 40960 Regional Root MAC Address : 00306407a1da Regional Root Priority: 40960 Regional Root Path Cost: 0 Regional Root Port: slot-2/1 Remaining Hops: 20
Port Speed Cost Priority Role State f5 10G 2000 128 DESIGNATED FORWARDING
edit 3

FortiGate-5050 fabric backplane communication Example active-passive redundant link configuration
All of the FortiGate-5001A boards must be operating in transparent mode and all must have the same configuration.
The spanning tree instances can send traffic to fabric channel 1 or fabric channel 2. As a result, traffic can enter and exit the FortiGate-5001A boards using the fabric1 interface or the fabric2 interface. So you should create redundant configurations for each fabric interface. For each fabric interface you must add two VLAN interfaces, one for traffic from the Internal network and one for traffic from the external network. Then for each fabric interface you must add firewall policies for traffic between the VLAN interfaces.
For example, for the fabric1 interface you could name the VLAN interfaces vlan_fab1_100 and vlan_fab1-101. From the FortiGate-5001A CLI enter:
set interface fabric1 set vlanid 100 set vdom root etc... next edit vlan_fab1_101
set interface fabric1 set vlanid 101 set vdom root etc... end
For the fabric2 interface you could name the VLAN interfaces vlan_fab2-100 and vlan_fab2-101. From the FortiGate-5001A CLI enter:
set interface fabric2 set vlanid 100 set vdom root etc... next edit vlan_fab2_101
set interface fabric2 set vlanid 104 set vdom root etc... end
You should also configure the FortiGate-5001A boards to send heartbeat packets over the fabric1 and fabric2 channels so that the FortiSwitch-5003A board can verify that the FortiGate-5001A boards are functioning. Each FortiGate-5001A board sends 10 heartbeat packets per second from each fabric interface. The packets are type 255 bridge protocol data unit (BPDU) packets. From the FortiGate-5001A CLI enter:
set fortiswitch-heartbeat enable end

Example active-active redundant link configuration FortiGate-5050 fabric backplane communication
You can make the previous example an active-active redundant link configuration that sends all traffic from the internal network to one FortiSwitch-5003A board and all traffic from the external network to the other FortiSwitch-5003A board by changing the priorities of the spanning tree instances added to the FortiSwitch-5003A boards.
To send all traffic from the internal network to the FortiSwitch-5003A board in slot 1 configure the spanning tree instances on this board with a lower priority value for instance 3 which is used for VLAN 100 packets.
config switch fabric-channel stp instance
set priority 4096 set vlan-range 100 next edit 5
set priority 40960 set vlan-range 101 end
To send all traffic from the external network to the FortiSwitch-5003A board in slot 2 configure the spanning tree instances on this board with a lower priority value for instance 5 which is used for VLAN 101 packets.
config switch fabric-channel stp instance
set priority 40960 set vlan-range 100 next edit 5
set priority 4096 set vlan-range 101 end
To display the configuration of spanning tree instance 3 for the FortiSwitch-5003A F5 interface enter:
diagnose spanning-tree instance fabric-channel 3 f5
MST Instance Information, Fabric-Channel:
Instance ID : 3 Mapped VLANs : 100 Switch Priority : 4096 Regional Root MAC Address : 00306407a1da Regional Root Priority: 4096 Regional Root Path Cost: 0 Regional Root Port: slot-2/1 Remaining Hops: 20
Port Speed Cost Priority Role State
f5 10G 2000 128 DESIGNATED FORWARDING
edit 3 · edit 3

FortiGate-5140 and 5050 base backplane communication
The FortiGate-5140 chassis and the FortiGate-5050 chassis have two base backplane Ethernet channels. Available connections to these channels vary by hub/switch slot number.
Because of the base backplane dual star topology, connecting to or through the base backplane requires FortiSwitch-5003A or 5003 boards installed in hub/switch slot 1, hub/switch slot 2, or both.
FortiSwitch-5003A boards switch base backplane traffic between boards in other slots. FortiSwitch-5003A front panel base interfaces can also connect the chassis base backplane to external entities, such as a management computer, the network, or the base backplane of another chassis.
FortiSwitch-5003 boards switch base backplane traffic between boards in other slots. FortiSwitch-5003 front panel ZRE interfaces can also connect the chassis base backplane to external entities, such as a management computer, the network, or the base backplane of another chassis.
Model Name of base backplane interface 1 (to slot 1)
Name of base backplane interface 2 (to slot 2)

Base channel connections between FortiSwitch-5003A boards FortiGate-5140 and 5050 base backplane communication
This section contains example base channel HA and network configurations for each hardware combination. It also discusses how to choose an appropriate amount and slot number of FortiSwitch boards for base backplane HA.
This section describes:
Two FortiSwitch-5003A boards in the same chassis are connected together across the base backplane channel. For some versions of the FortiSwitch-5003A firmware, this connection cannot be disabled. The base channel connection between the FortiGate boards is not usually a problem if the FortiGate-5000 boards in the chassis are operating in NAT/Route mode and the base channels are being used for HA heartbeat packets. However, you should avoid using the base channels for data traffic unless it is acceptable for traffic to go between the base channels.
If the FortiGate-5000 boards are operating in transparent mode, the connection between the base channels can cause looping. So if you have FortiGate-5000 boards operating in transparent mode with two FortiSwitch-5003A boards you should disable the base interfaces on the FortiGate boards and you should not use the FortiSwitch-5003A boards for HA traffic. Alternatively, you could disable just one of the base interfaces on all of the FortiGate-5000 boards and use the other base interface for the HA heartbeat.
Valid HA hardware configurations can be formed from FortiGate boards located in either the same or multiple FortiGate-5050 or FortiGate-5140 chassis, with either one or two FortiSwitch boards per chassis.
Inter-chassis HA configuration requirements are identical to HA configuration within the same chassis, except for these additional requirements.
If you do not install each FortiSwitch board in matching slot numbers, instead of forming a single cluster, this forms multiple clusters, some using port9 or base1 for HA heartbeat communication, and some using port10 or base2.

FortiGate-5140 and 5050 base backplane communication Base backplane HA configurations
It makes no difference which FortiSwitch-5003A base front panel interfaces you use to link the base channels. You can connect an Ethernet cable, either straight- through or crossover, from any base front panel interface on one FortiSwitch-5003A board to any base front panel interface on another FortiSwitch-5003A board installed in the other chassis. You can also use the base front panel interfaces to connect more than two chassis together. The same applies to the FortiSwitch-5003 ZRE0, ZRE1, or ZRE2 interfaces and to connections between FortiSwitch-5003A and FortiSwitch-5003 boards.
Default heartbeat interfaces vary by the model of the FortiGate boards, and are not always base backplane interfaces. For example, FortiGate-5005FA2 boards use fabric1 and fabric2, the fabric backplane rather than the base backplane, as the default heartbeat interfaces. To send heartbeat communications through the base backplane, you must enable and configure the priority of base1 and base2 as heartbeat interfaces.
interfaces (through FortiSwitch-5003A boards in hub/switch slots 1 and 2)
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
5000SM
RESET
STATUS
ETH0 ETH1
5000SM
RESET
STATUS
FILTER
FAN TRAY
FAN TRAY
FAN TRAY
Two FortiSwitch boards per chassis
Installing two FortiSwitch-5003 boards provides two base backplane HA heartbeat channels and two configuration options:

Base backplane HA configurations FortiGate-5140 and 5050 base backplane communication
interfaces (through FortiSwitch-5003A boards in hub/switch slots 1 and 2)
Base channel 2 HA heartbeat Base channel 1
SMC
5000SM
ETH0 ETH1
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SMC
heartbeat interfaces (through FortiSwitch-5003A boards in hub/switch slots 1 and 2)
POWER
SMC
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SMC
SMC
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
ETH0 ETH1
5000SM
ETH0
RESET
STATUS
SMC
Slot 1 inter-chasis heartbeat
Slot 2 inter-chasis heartbeat

FortiGate-5140 and 5050 base backplane communication Base backplane HA configurations
heartbeat interfaces (through FortiSwitch-5003A boards in hub/switch slots 1 and 2)
CRITICAL
5140SAP SERIAL 1 SERIAL 2 ALARM
MAJOR
MINOR
USER1
USER2
USER3
RESET
CRITICAL
5140SAP SERIAL 1 SERIAL 2 ALARM
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
13 11 9 7 5 3 1 2 4 6 8 10 12 14
5000SM
ETH0 ETH1
5000SM
RESET
STATUS
RESET
STATUS
ETH0 ETH1
5000SM
ETH0 ETH1
5000SM
RESET
STATUS
RESET
STATUS
FILTER
FILTER
FAN TRAY
FAN TRAY
FAN TRAY
FAN TRAY
FAN TRAY
FAN TRAY
Slot 1 inter-chasis heartbeat
Slot 2 inter-chasis heartbeat
To configure your HA cluster with a heartbeat that fails over between the two base channels, both base backplane interfaces must be enabled and:
If you also want to specify which FortiSwitch board is used as the primary or backup, its priority must be greater than the failover interface, or it must have a higher position in the heartbeat Interface list. Position in the heartbeat interface list varies by the model of the FortiGate boards.
You can satisfy these requirements in multiple ways by adjusting interface priority or by disabling heartbeats over other interfaces. Required steps vary by the model of your FortiGate boards, and the number and heartbeat interface list position of other interfaces enabled as HA heartbeat interfaces.

Base backplane HA configurations FortiGate-5140 and 5050 base backplane communication
hub/switch slot 2 (base2)

slot 2 (port10) to hub/switch slot 1 (port9)


FortiGate-5140 and 5050 base backplane communication Base backplane HA configurations
1 Insert the FortiSwitch boards into chassis hub/switch slot 1 and hub/switch slot 2.
If you want to form an HA cluster between FortiGate boards in separate chassis, link the base backplanes of each chassis by connecting FortiSwitch boards front panel base or ZRE interfaces with an Ethernet cable.
For example hardware installations, see Figure 23 on page 69, Figure 24 on page 70, Figure 25 on page 70, and Figure 26 on page 71.
2 Insert FortiGate boards into the required chassis slots.
3 On each FortiGate board to be included in the HA cluster, go to System > Config > HA.
4 Select the HA Mode, then enter the Group Name, and Password.
5 Set other HA options as required.
6 Configure the base backplane interfaces as heartbeat interfaces.
7 Set the priority of the base backplane interfaces to be higher than the priority of all other interfaces so that they are selected as the primary and first failover heartbeat interfaces.
8 If you want to select a different base backplane interface as the primary heartbeat interface, increase its priority.
9 Select OK.
Installing a single FortiSwitch board provides a single base backplane HA heartbeat and synchronization channel.
Unlike hardware configurations involving two FortiSwitch boards per chassis, when installing only one FortiSwitch board per chassis, the slot position of the FortiSwitch board becomes an important consideration. A single FortiSwitch board should usually be installed in hub/switch slot 1 for FortiGate-5001A or FortiGate5005FA2 clusters and hub/switch slot 2 for FortiGate-5001SX and FortiGate-5001FA2 clusters. For details on the effects of slot positioning of a single FortiSwitch board in HA configurations, see “Slot position and HA heartbeat interface precedence” on page 77.

Base backplane HA configurations FortiGate-5140 and 5050 base backplane communication
interface (through a FortiSwitch-5003A board in slot 2)
Base channel 2 HA heartbeat
SMC
5000SM
ETH0 ETH1
ETH0
RESET
STATUS
SERIAL
1 SERIAL
5050SAP
ALARM
5000SM
ETH0 ETH1
ETH0
RESET
STATUS
SMC
interface (through a FortiSwitch-5003A board in slot 1)
RESET
CRITICAL
MAJOR
MINOR
USER1
USER2
USER3
13 11 9 7 5 3 1 2 4 6 8 10 12 14
5000SM
RESET
STATUS
ETH0 ETH1
5000SM
RESET
STATUS
FILTER
FAN TRAY
FAN TRAY
FAN TRAY

FortiGate-5140 and 5050 base backplane communication Base backplane HA configurations
To configure your HA cluster to use the base backplane interface connected through a single FortiSwitch, the base backplane interface must be enabled as a heartbeat interface and:
You can satisfy these requirements in multiple ways by adjusting interface priority or by disabling heartbeats for other interfaces. Required steps vary by the slot position of the FortiSwitch board, the model of your FortiGate boards, and the number and heartbeat interface list position of other interfaces enabled as heartbeat interfaces.

backplane interface (port1)

Base backplane HA configurations FortiGate-5140 and 5050 base backplane communication
failover to a non-base backplane interface (port8)

1 Insert the FortiSwitch board into chassis hub/switch slot 1 or hub/switch slot 2.
When installing only one FortiSwitch board per chassis, recommended slot number varies by the model of the FortiGate boards. For details on the effects of slot number, see “Slot position and HA heartbeat interface precedence” on page 77.
If you want to form HA clusters between FortiGate boards in separate chassis, install each FortiSwitch board into the matching slot number in each chassis, then link the base backplanes of each chassis by connecting FortiSwitch boards front panel base or ZRE interfaces with an Ethernet cable.
For example hardware installations, see Figure 30 on page 74 and Figure 29 on page 74.
2 Insert FortiGate boards into the required chassis slots.
3 On each FortiGate board to be included in the HA cluster, go to System > Config > HA.
4 Select the HA Mode, then enter the Group Name, and Password.
5 Set other HA options as required.
6 Enable the appropriate base backplane interfaces as heartbeat interfaces.
7 If the base backplane interface does not have heartbeat interface precedence, increase the precedence of the base backplane interface so that it is selected as the primary heartbeat interface.

FortiGate-5140 and 5050 base backplane communication Base backplane HA configurations
8 Select OK.
Depending on the types of communications, HA or other, that you want to pass through the base channels, you may choose to install FortiSwitch boards in different slots: base hub/switch slot 1, base hub/switch slot 2, or both.
When using FortiSwitch boards to provide a network connection to the base channels, hub/switch slot position does not matter. However, you can improve robustness by installing FortiSwitch boards in both slots and providing a redundant link.
For all types of communication, using both slots has the advantage of improving reliability of communications through or to the base backplane because no FortiSwitch is a single point of failure. Using both slots also provides the option of separating multiple sensitive or high volume communications, such as HA communications for multiple clusters.
However, if you install only one FortiSwitch board, in addition to fault tolerance considerations, the slot position has additional effects specific to HA.
When installing only one FortiSwitch board with an HA cluster of FortiGate-5001A or FortiGate-5005FA2 boards, it is usually preferable to use hub/switch slot 1. This allows you to connect one or more of the other FortiGate-5001A or FortiGate-5005FA2 interfaces as backup HA heartbeat interfaces.
The preferred FortiSwitch board slot is different for FortiGate-50051SX and FortiGate-5001FA2 board HA clusters. In this case, it is usually preferable to use hub/switch slot 2.
The reason for selecting different slots is related to the mechanism for heartbeat interface selection, which is indirectly tied to slot number.
During heartbeat interface selection, the heartbeat interface with the highest priority is selected first. If multiple heartbeat interfaces have highest priority, including when all have equal priority, the HA cluster chooses a heartbeat interface using the Heartbeat Interface list.

Base backplane HA configurations FortiGate-5140 and 5050 base backplane communication
This list is sorted into hash map order, rather than purely by alphabetical order or purely by interface number value comparisons. As a result, the list is sorted primarily alphabetical by interface name (for example, base1 is before port1), then secondarily by index numbers:
Because interface names, and therefore sort order, vary by FortiGate model, the preferred slot number for single FortiSwitch boards varies by FortiGate model.
For example, a FortiGate-5001SX or FortiGate-5001FA2 board has interfaces named port1 through port10; port9 and port10 are equally weighted heartbeat interfaces, connected to the hub/switch slot 1 FortiSwitch and the hub/switch slot 2 FortiSwitch, respectively. In the Heartbeat Interface list, port1 is first. However, port10 is not last: due to hash map lookup,port10 is selected after port1 and before port2, not after port9. Failover passes heartbeat communications from the FortiSwitch board in hub/switch slot 2 to hub/switch lot 1.
There are additional considerations if you create additional heartbeat backup interfaces connecting FortiGate board interfaces port2 through port8. In this case, if the FortiSwitch board in hub/switch slot 2 fails or is removed, the FortiGate cluster could fail over to port2 through port8, and lastly fail over to the interface connected to the FortiSwitch board in hub/switch slot 1.
Because of this behavior, if you install a single FortiSwitch board in hub/switch slot 1 with those two models of FortiGate boards, and want to give heartbeat selection precedence to the base backplane interface, you must set its heartbeat interface priority to a greater value than the other interfaces. Otherwise, by default, when priorities are equal, the heartbeat link through the base backplane interface will be used only in failover, rather than primary, conditions. This is typically the inverse of intended behavior.
For FortiGate-5001A and FortiGate-5005FA2 boards, the base backplane interfaces are named base1 and base2. These interface names are always sorted to the top of the interface list. So for a cluster of these boards, if you have a single FortiSwitch board it doesn’t matter which slot you install it in because both base interfaces are sorted to the top of the interface list.
• 1 · • 9

FortiGate-5140 and 5050 base backplane communication Base backplane data configurations
In addition to HA traffic, FortiSwitch boards can pass other traffic types through or to the base backplane.
Like HA scenarios, network configurations can involve one or two FortiSwitch boards per chassis, and one or more chassis.
However, unlike HA scenarios, boards connecting to transfer other traffic types need not use identical interface numbers on each side of the connection, and therefore they do not require FortiSwitch boards installed in the same slot numbers. Because of this, by connecting one of the front panel base or ZRE interfaces on each slot’s FortiSwitch board to another, you can send data traffic between FortiGate boards that use different base backplane interfaces.
For example, if an HA cluster of FortiGate-5005FA2 boards using hub/switchbase1 (hub/switch slot 1) for heartbeat traffic need to send some traffic to a second HA cluster of boards in the same chassis that use base2 (hub/switch slot 2) for their heartbeat traffic, you can connect the two clusters across the two base backplane channels by linking one of the front panel base or ZRE interfaces on the hub/switch slot 1 FortiSwitch board to one of the front panel base or ZRE interfaces on the hub/switch slot 2 FortiSwitch board.
In addition to linking base backplane traffic between FortiGate boards, you can use FortiSwitch boards to link traffic between FortiGate base backplane interfaces and your network. Connecting a front panel base or ZRE interface to the network links the base backplane, and any connected FortiGate boards, to the network.
Required steps vary by whether you want to use the base backplane interfaces to connect FortiGate boards to each other, or to the network. These scenarios are not mutually exclusive; you can simultaneously provide both.
By installing one or two FortiSwitch boards per chassis, you can connect FortiGate boards to each other through their base backplane interfaces.
Hardware configurations are identical to single and multiple chassis configurations for HA traffic, except the additional possibility of connecting FortiSwitch boards that have been installed in different slot numbers. Connecting FortiSwitch boards located in different slot numbers allows communication between the two base backplane channels.
Configure FortiGate boards to communicate through the base backplane interfaces as you would other interfaces.

Base backplane data configurations FortiGate-5140 and 5050 base backplane communication
By installing one or two FortiSwitch boards per chassis, you can connect FortiGate boards to the network or Internet through their base backplane interfaces.
There are several ways you can connect FortiGate boards to the network, depending on your available hardware and other goals such as hardware redundancy.
Configure FortiGate boards to communicate with the network through the base backplane interfaces as you would other interfaces.

FortiGate-5020 base backplane communication HA configurations
The FortiGate-5020 chassis has two base backplane Ethernet channels. FortiGate modules installed in each slot can directly connect to the other slot through either channel.
Because of the base backplane’s topology, connecting FortiGate modules to each other through the base backplane does not require any additional hardware (that is, FortiSwitch modules are not required). Modules connect to each other directly through the base backplane as soon as they are installed.
The FortiGate-5020 base backplane can only be used to connect FortiGate modules located in the same chassis. You cannot link the base backplanes of multiple chassis to form inter-chassis HA clusters, and you cannot connect FortiGate modules to the network through their base backplane interfaces.
Instead, inter-chassis HA or network traffic must pass through a FortiGate module front panel interface. In these cases, additional hardware, such as an external switch or Ethernet cables, may be required.
This section includes the following topics:
For a single FortiGate-5020 chassis, configuring HA between two FortiGate modules through their base backplane interfaces is identical to configuring HA between their front panel interfaces, except that their base backplane interfaces are used. No additional hardware or cabling is required.
Because there are two available base backplane interfaces, you can configure heartbeat interface failover to maintain communications through the base backplane in the event of interface failure. For example, if you have a FortiGate-5001SX cluster, you could configure the cluster to use port10 as the primary heartbeat interface, and port9 as a backup if port10 fails.
Heartbeat interface failover order is contingent on heartbeat interface Priority and/or position in the Heartbeat Interface list. For details, see “Slot position and HA heartbeat interface precedence” on page 77.

HA configurations FortiGate-5020 base backplane communication
To configure your HA cluster with a heartbeat that fails over between the two base backplane interfaces, both base backplane interfaces must be enabled and:
If you also want to specify which base backplane channel is used as the primary or failover, its priority must be greater than the failover interface, or it must have a higher position in the Heartbeat Interface list. Position in the Heartbeat Interface list varies by the model of the FortiGate modules.
You can satisfy these requirements in multiple ways by adjusting interface priority or by disabling heartbeats over other interfaces. Required steps vary by the model of your FortiGate modules, and the number and Heartbeat Interface list position of other interfaces enabled as heartbeat interfaces.
Default heartbeat interfaces vary by the model of the FortiGate modules, and are not always base backplane interfaces. For example, FortiGate-5005FA2 modules use the fabric backplane (fabric1 and fabric2), rather than the base backplane, by default. If this is the case, to send heartbeat traffic through the base backplane, you must enable and adjust the priority of the base backplane interfaces. Conversely, FortiGate-5001SX and FortiGate-5001FA2 modules use base backplane heartbeat interfaces by default, and do not require modification.
(directly connected through the base backplane)
PSU B
CONSOLE USB 1 2 3 4 5 6 7 8
ACC
base backplane channel 2
CONSOLE USB 1 2 3 4 5 6 7 8
ACC
base backplane · channel 1

FortiGate-5020 base backplane communication HA configurations
1 Insert FortiGate modules into the chassis slots.
For details on hardware installation and related warnings and cautions, see the FortiGate-5000 Series Introduction.
2 Power on each chassis.
backplane channels

Inter-chassis HA configurations FortiGate-5020 base backplane communication
3 On each FortiGate module to be included in the HA cluster, go to System > Config > HA.
4 Select the Mode, then enter the Group Name, and Password.
You may also want to set other options, such as the Device Priority or session pick-up. For detailed instructions, see the FortiGate HA Guide.
5 If the base backplane interfaces do not have heartbeat interface precedence, increase the precedence of the base backplane interfaces so that they are selected as the primary and first failover heartbeat interface.
6 If you want to select a different base backplane interface as the primary heartbeat interface, increase its priority.
7 Select OK.
Base backplane HA clustering between multiple FortiGate-5020 chassis is not supported. To configure HA for FortiGate modules installed in separate FortiGate-5020 chassis, you must instead connect the heartbeat through FortiGate module front panel interfaces.
Figure 36 on page 85 shows an HA cluster of four FortiGate-5001SX modules installed in two separate FortiGate-5020 chassis. For each FortiGate module in the example cluster:

FortiGate-5020 base backplane communication Inter-chassis HA configurations

CONSOLE USB 1 2 3 4 5 6 7 8
CONSOLE USB 1 2 3 4 5 6 7 8
CONSOLE USB 1 2 3 4 5 6 7 8
CONSOLE USB 1 2 3 4 5 6 7 8
By default, FortiGate-5001SX modules use port9 and port10 (the base backplane interfaces) as heartbeat interfaces. Because base backplane interfaces cannot be used in inter-chassis configurations, if you want to form an inter-chassis HA cluster, these default heartbeat interfaces should be disabled. In the above example, the front panel interfaces port7 and port8 are enabled as heartbeat interfaces, and port9 and port10 are disabled.

Network configurations FortiGate-5020 base backplane communication
In addition to HA traffic, the FortiGate-5020chassis base backplane can pass other traffic types, including VLAN tagged network traffic.
FortiGate modules do not necessarily have to be the same model. For example, if you install a FortiGate-5005FA2 and a FortiGate-5001SX module in the same FortiGate-5020 chassis, you can send network traffic between base1 of the FortiGate-5005FA2 module and port9 of the FortiGate-5001SX module. You can also send network traffic between base2 of the FortiGate-5005FA2 and port10 on the FortiGate-5001SX module.
Traffic cannot traverse base backplane channels. For example, if you have installed two FortiGate-5001SX modules in the same FortiGate-5020 chassis, port9 on the module in slot1 can only send traffic to port9 in slot 2; port9 in slot 1 cannot send traffic to port10 in slot 2.
The FortiGate-5020 chassis base backplane only supports networking between FortiGate modules located in the same FortiGate-5020 chassis. Unlike FortiGate-5140 and FortiGate-5050 chassis, you cannot use the FortiGate-5020 base backplane to connect FortiGate modules to modules in another chassis, or to the network, through their base backplane interfaces. Inter-chassis traffic and traffic with the Internet or internal network must pass through a FortiGate module front panel interface. In these cases, additional hardware, such as an external switch or Ethernet cables, may be required.
Configure FortiGate modules to send network traffic through the base backplane interfaces as you would other interfaces.
and to the internal network

PSU B
PSU A
PSU B
CONSOLE USB 1 2 3 4 5 6 7 8
CONSOLE USB 1 2 3 4 5 6 7 8
ACC
PWR STA IPM
ACC
CONSOLE USB 1 2 3 4 5 6 7 8
CONSOLE USB 1 2 3 4 5 6 7 8
ACC
PWR STA IPM
ACC

FortiGate-5020 base backplane communication Network configurations

CONSOLE USB 1 2 3 4 5 6 7 8
CONSOLE USB 1 2 3 4 5 6 7 8

Network configurations FortiGate-5020 base backplane communication

FortiSwitch-5003A CLI reference Connecting to the CLI
This chapter describes the FortiSwitch-5003A CLI config, execute, and get commands and some diagnose commands. This chapter also describes how to connect to the FortiSwitch-5003A CLI.
Working with the FortiSwitch-5003A CLI is the same as working with the FortiOS CLI. For information about CLI command syntax, CLI objects and other CLI basics see the FortiGate CLI Reference.
This chapter describes:
You can use a direct console connection, SSH, Telnet or the web-based manager to connect to the FortiSwitch-5003A CLI. Using SSH or Telnet you connect to the CLI through the mgmt interface.
Connect to the FortiSwitch-5003A console using the FortiSwitch-5003A front panel COM port. You need:
1 Connect the FortiSwitch-5003A RJ-45 COM port to the available communications port on your computer.
2 Make sure the FortiSwitch-5003A board is powered on.
3 Start HyperTerminal, enter a name for the connection, and select OK.
4 Configure HyperTerminal to connect directly to the communications port on the computer to which you have connected the FortiSwitch-5003A COM port.
5 Select OK.

Connecting to the CLI FortiSwitch-5003A CLI reference
6 Select the following port settings and select OK.
Bits per second 9600
7 Press Enter to connect to the FortiSwitch-5003A CLI.
A prompt similar to the following appears.
FS5A033E08000111 login:
The prompt includes the FortiSwitch-5003A host name. The default host name is the FortiSwitch-5003A serial number.
8 Type a valid administrator name and press Enter.
The default administrator name is admin.
9 Type the password for this administrator and press Enter.
The default is no password.
A prompt similar to the following appears:
Setting administrative access on the mgmt interface
To perform administrative functions through a the FortiSwitch-5003A mgmt network interface, you must enable the required types of administrative access. Access to the CLI requires SSH or Telnet access.
1 Connect and log into the FortiSwitch-5003A console.
2 Use the following command to configure the mgmt interface to accept SSH connections:
set allowaccess ping ssh telnet end
3 To confirm that you have configured SSH or Telnet access correctly, enter the following command to view the access settings for the interface:
get system interface mgmt
The CLI displays the settings, including allowaccess, for the named interface:

FortiSwitch-5003A CLI reference Connecting to the CLI
Secure Shell (SSH) provides strong secure authentication and secure communications to the FortiSwitch-5003A CLI from your internal network or the internet. Once the FortiSwitch-5003A board is configured to accept SSH connections, you can run an SSH client on your management computer and use this client to connect to the FortiSwitch-5003A CLI.
1 Install and start an SSH client.
2 Connect to the FortiSwitch-5003A mgmt interface.
3 Type a valid administrator name and press Enter.
4 Type the password for this administrator and press Enter.
A prompt similar to the following appears:
You have connected to the FortiSwitch-5003A CLI, and you can enter CLI commands.

config FortiSwitch-5003A CLI reference
The following config commands are available:
Use this command to add and configure FortiSwitch-5003A administrator accounts. You cannot set different access levels for FortiSwitch-5003A administrators.
set description set password end
Enter a new administrator name to add or enter the name of an administrator to edit. The can be up to 35 characters.
Describe the administrator account. The description can be up to 128 characters.
Enter the password for this administrator. The password can be up to 19 characters.
This example shows how to add a new administrator called new_admin.
set description "A new administrator" set password 123456 end

FortiSwitch-5003A CLI reference config
Use this command to add, edit, or delete static routes for the mgmt interface.
set device set dst set gateway end
edit Enter a sequence number to identify the static route. No default.
device The device name is always mgmt because you cannot configure routing for other FortiSwitch-5003A interfaces.
Enter the destination IP address and network mask for this route. You can enter 0.0.0.0 0.0.0.0 to create a default route.
0.0.0.0 0.0.0.0
Enter the IP address of the next-hop router to which traffic is forwarded by this route.
0.0.0.0
This example shows how to add a default route for the mgmt interface that points to 192.168.22.44.
set device mgmt set dst 0.0.0.0 0.0.0.0 set gateway 192.168.22.44 end

config FortiSwitch-5003A CLI reference
Use this command to configure the VLANs allowed on FortiSwitch-5003A fabric channel interfaces. You can also change the native VLAN for each interface and disable or enable MSTP for each interface.
config switch fabric-channel interface
set native-vlan set allowed-vlans set stp-state {disable | enable} end
native-vlan Change the IEEE 802.1Q native VLAN ID for this interface. Packets tagged with the native VLAN ID are not modified when sent or received by the interface. If an untagged packet is received by the interface, the packet is tagged with the native VLAN ID.
Specify the IEEE 802.1Q VLAN IDs that can be added to VLAN-tagged packets that this interface can receive and transmit. Packets tagged with other VLAN IDs are dropped by the interface. Untagged packets are not affected. You can enter any combination of single VLAN IDs and ranges of VLAN IDs. Use a hyphen to specify ranges. Separate each single ID or range with a comma. Do not include spaces. For example: 1,3-4,6,7,9-100.
stp-state {disable | enable}
Enable or disable Multi-Spanning Tree Protocol (MSTP) for this interface. If MSTP is disabled you cannot use this interface in MSTP configurations.

FortiSwitch-5003A CLI reference config
This example shows how to allow VLAN tags 201 to 210 on slots 6, 8, and 10 and the F1 front panel interface.
config switch fabric-channel interface
set allowed-vlans 1,201-210 next edit "slot-8"
set allowed-vlans 1,201-210 next edit "slot-10"
set allowed-vlans 1,201-210 next edit "f1"
set allowed-vlans 1,201-210 end
edit "slot-6"

config FortiSwitch-5003A CLI reference
Use this command to change the administrative status of FortiSwitch-5003A fabric channel interfaces (bring each interface up or down) and configure each fabric channel interface to receive heartbeat packets from FortiGate-5001A or 5005FA2 fabric channel interfaces.
config switch fabric-channel physical-port
set native-vlan set allowed-vlans set stp-state {disable | enable} end
heartbeat {disable | enable}
Enable or disable listening for heartbeat packets from FortiGate-5001A or 5005FA2 fabric interfaces. If you enable listening for heartbeat packets on interfaces added to link aggregation trunks the FortiSwitch-5003A board can detect if a FortiGate-5001A or 5005FA2 board is no longer available. You must configure the FortiGate-5001A or 5005FA2 board to send heartbeat packets using the following FortiGate-5001A or 5005FA2 CLI command: config system global
set fortiswitch-heartbeat enable end
status {down | up} Bring the interface up or down. up
edit · Variables Description Default · disable

FortiSwitch-5003A CLI reference config
This example shows how to enable the FortiSwitch-5003A board to listen for heartbeat packets on the interfaces for chassis slots 6, 8, and 10:
config switch fabric-channel physical-port
set heartbeat enable next edit "slot-8"
set heartbeat enable next edit "slot-10"
set heartbeat enable end
This example shows how to bring down the slot-2/1 FortiSwitch-5003A interface. You may need to bring this interface down to disable communication between fabric channel 1 and fabric channel 2.
config switch fabric-channel physical-port
set status down end
edit "slot-6" · edit slot-2/1

config FortiSwitch-5003A CLI reference
Use this command to add and configure 802.1s Multi-Spanning Tree Protocol (MSTP) spanning tree instances. A spanning tree instance consists of the following:
config switch fabric-channel stp instance
set priority set vlan-range config stp-port
set cost set priority end end
edit Enter a numeric spanning tree instance number in the range 0 to 15. All devices participating in an MSTP region must have the same spanning tree instances. The default configuration includes spanning tree instance 0 that has a of 32768 and does not include a vlan-range setting. The stp-port configuration of spanning tree instance 0 sets the cost of all FortiSwitch-5003A interfaces to 0 and the priority of all interfaces to 128.
priority The priority value of the FortiSwitch-5003A spanning tree
instance. MSTP regions include multiple devices with the same spanning tree instances. The different priority values of the same instances on different devices determines how spanning tree routes packets to the different devices. The device with the spanning tree instance with the lowest priority value is more likely to be the root device and to process all packets. The range is 0 to 61440 in increments of 4096. Valid priority values are: 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, and 61440.
vlan-range Specify the IEEE 802.1Q VLAN IDs that can be added to VLAN-tagged packets that this spanning tree instance can receive and transmit. Only packets with these VLAN IDs are affected by this spanning tree instance. You can enter any combination of single VLAN IDs and ranges of VLAN IDs. Use a hyphen to specify ranges. Separate each single ID or range with a comma. Do not include spaces. For example: 1,3-4,6,7,9-100.
No default.
edit · edit · Variables Description Default

FortiSwitch-5003A CLI reference config
Use this command to change the spanning tree cost and priority for each FortiSwitch-5003A interface in a spanning tree instance. When you add a new spanning tree instance the cost of each interface in the spanning tree instance is set to 0 and the priority is set to 128.
set cost set priority end
edit Enter the name of the FortiSwitch-5003A fabric channel interface to configure. You cannot edit an interface that has been added to a trunk. Edit the interface to change its spanning tree cost and priority.
priority The priority value of the FortiSwitch-5003A interface in the
spanning tree instance. Spanning tree selects the interface with the lowest priority. The range is 0 to 240 in increments of 16. Valid priority values are 0, 16, 32, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, and 240.
This example shows how to add spanning tree instance 10 with priority 4096 and with a VLAN ID range that includes 1, 200-210, and 23, 54, and 68. This instance also changes the cost and priority of interface slot-13.
config switch fabric-channel stp instance
set priority 4096 set vlan-range 1,200-210,23,54,68
set cost 2000 set priority 16 end end

config FortiSwitch-5003A CLI reference
Use this command to change MSTP spanning tree timers, specify an MSTP region name and use a revision number to track changes to the MSTP configuration. All of these MSTP settings should be the same on all of the devices in an MSTP region. These settings apply to all MSTP instances added to a FortiSwitch-5003A board.
config switch fabric-channel stp settings
set forward-time set hello-time set max-age set max-hops set name set revision end
The MSTP forward delay time in seconds. The forward delay time is the number of seconds that spanning tree spends in the listening and learning state. The range is 4 to 30 seconds.
Enter the time between sending bridge protocol data units (BPDUs). The range is 1 to 10 seconds.
The max age timer controls the maximum length of time in seconds that passes before a device saves its configuration BPDU information. The range is 6 to 40 seconds.
max-hops The maximum number of hops in a MSTP region. The range is 1 to 40. The root bridge sends BPDUs with the hop count set to this maximum value. When a device receives a BPDU, it decrements the remaining hop count by one and includes this lower hop count in its BPDUs. When a device receives a BPDU with a hop count of zero, the device discards the BPDU.
name Enter a region name for the spanning tree configuration. The name is optional. All devices in the same MSTP region should have the same name. The region name is added to BPDUs.
Enter a revision number of up to 4 digits. All devices in an MSTP region must have the same revision number. Change the revision number manually whenever you change the MSTP configuration. You can use the revision number to keep track of changes in the MSTP configuration and to help confirm that the MSTP configurations of all of the devices in a region are in sync.
This example shows how to set the name of an MSTP region to "MSTP_test", set the revision to 1 and change the max-hops value to 4.
config switch fabric-channel stp instance
set name "MSTP_test" set revision 1 set max-hops 4 end

FortiSwitch-5003A CLI reference config
Use this command to create a trunk and add FortiSwitch-5003A interfaces to the trunk. You use trunks to group FortiSwitch-5003A interfaces so that you can use 802.3ad static mode layer-2 link aggregation to distribute sessions to the fabric interfaces of the FortiGate-5001A and 5005FA2 boards connected to the FortiSwitch-5003A interfaces in the trunk.
For information about FortiSwitch-5003A link aggregation for FortiGate-5140 chassis, see “Fabric channel layer-2 link aggregation” on page 33. For information about FortiSwitch-5003A link aggregation for FortiGate-5050 chassis, see “Fabric channel layer-2 link aggregation” on page 56.
config switch fabric-channel trunk
set members end
edit Enter the name of a trunk to add or edit. This trunk name appears in fabric channel interface lists.
members Enter the names of the FortiSwitch-5003A fabric channel
This example shows how to add slot-6, slot-7, and slot-8 to a trunk named trunk_678. This trunk can distribute sessions to FortiGate-5001A or 5005FA2 boards in chassis slots 6, 7, and 8.
config switch fabric-channel trunk
set members slot-6 slot-8 slot-7 end
edit · Variables Description Default · edit trunk_678

config FortiSwitch-5003A CLI reference

FortiSwitch-5003A CLI reference config
Use this command to enable daylight saving time and configure the hostname and time zone for a FortiSwitch-5003A board.
set daylightsavetime {disable | enable} set hostname set timezone end
daylightsavetime {disable | enable}
Enable or disable daylight saving time. If you enable daylight saving time, the FortiSwitch-5003A board adjusts the system time when the time zone changes to daylight saving time and back to standard time.
hostname Enter a name to identify this FortiSwitch-5003A board. The
hostname can be up to 36 characters and can include letters, numbers, hyphens, and underlines. Spaces and the following characters are not allowed: \ " > < ( ) ' & ` | ; #.
The number corresponding to your time zone from 00 to 72. Press ? to list time zones and their numbers. Choose the time zone for the FortiSwitch-5003A board from the list and enter the correct number. The default is 04 (GMT-8:00)Pacific Time(US&Canada).
This example shows how to set the time zone to 19 (GMT-3:00) Buenos Aires, Georgetown and how to change the host name to 5003A_slot2.
set timezone 04 (GMT-8:00)Pacific Time(US&Canada) set hostname 5003A_slot2 end

config FortiSwitch-5003A CLI reference
Use this command to change the IP address and management access setting of the FortiSwitch-5003A mgmt (management) interface and to bring the mgmt interface up or down.
set status {down | up} set ip set allowaccess end
status {down | up} Bring the mgmt interface up or down (start or stop the interface). If the interface is down, it does not accept or send packets.
ip Enter the mgmt interface IP address and netmask. 192.168.1.99 255.255.255.0
Enter the types of management access permitted on the mgmt interface. Valid types are: ping ssh telnet. Separate each type with a space. To add or remove an option from the list, retype the complete list as required.
This example shows how to set the mgmt interface IP address and netmask and to configure the mgmt interface to allow ping, ssh, and telnet administrative access.
set ip 172.20.120.178/24 set allowaccess ping ssh telnet end

FortiSwitch-5003A CLI reference execute
The following execute commands are available:
Back up the FortiSwitch-5003A configuration to a TFTP server.
execute backup config
execute backup all-config
Keywords and variables Description
config Back up the system configuration to a file on a TFTP
server.
Back up the system configuration to a file on a TFTP server. all-config encrypts the configuration file.
This example shows how to backup the FortiSwitch-5003A configuration to a file named 5003A_new.cfg on a TFTP server at IP address 192.168.1.23.
execute backup config 5003A_new.cfg 192.168.1.23
all-config

execute FortiSwitch-5003A CLI reference
Use this command to change the firmware image used to start the FortiSwitch-5003A board by switching between the primary or secondary firmware image. To use this command you must install a primary and a secondary firmware image by using the system startup options available when you reboot the FortiSwitch-5003A from a console connection to the FortiSwitch-5003A COM port.
execute bootimage {primary | secondary}

FortiSwitch-5003A CLI reference execute
Display or set the system date.
date_str has the form mm/dd/yyyy, where
If you do not specify a date, the command returns the current system date. Shortened values for the year, such as ‘06’ instead of ‘2006’ are not valid. Shortened values for the month and year are valid.
This example sets the date to 17 September 2009:
execute date [] · execute date 9/17/2009

execute FortiSwitch-5003A CLI reference
Reset the FortiSwitch-5003A configuration to factory default settings.
execute factory-reset

FortiSwitch-5003A CLI reference execute
Send an ICMP echo request (ping) to test the network connection between the FortiSwitch-5003A mgmt interface and another network device. You must add a DNS server to the FortiSwitch-5003A configuration to ping a hostname.
execute ping { | }
should be a fully qualified domain name, for example: www.fortinet.com
This example shows how to ping a host with the IP address 172.20.120.11.
execute ping 172.20.120.11 PING 172.20.120.11 (172.20.120.11): 56 data bytes 64 bytes from 172.20.120.11: seq=0 ttl=128 time=0.454 ms 64 bytes from 172.20.120.11: seq=1 ttl=128 time=0.399 ms 64 bytes from 172.20.120.11: seq=2 ttl=128 time=0.402 ms 64 bytes from 172.20.120.11: seq=3 ttl=128 time=0.431 ms
--- 172.20.120.11 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 0.399/0.421/0.454 ms

execute FortiSwitch-5003A CLI reference
Restart the FortiSwitch-5003A board. While the FortiSwitch-5003A board is rebooting it cannot forward traffic.
execute reboot

FortiSwitch-5003A CLI reference execute
Use this command to restore the FortiSwitch-5003A configuration from a file on a TFTP server or change the FortiSwitch-5003A firmware.
execute restore config
execute restore config
execute restore image tftp
config Restore the system configuration from a file on a TFTP server. The new configuration replaces the existing configuration.
Restore the system configuration from a file on a TFTP server that was saved using the execute backup all-config command. The new configuration replaces the existing configuration.
Upload a firmware image from a TFTP server to the FortiSwitch-5003A board. The system reboots, loading the new firmware.
image tftp
This example shows how to upload a configuration file from a TFTP server and restart the system with this configuration. The name of the configuration file on the TFTP server is backupconfig. The IP address of the TFTP server is 192.168.1.23.
execute restore config backupconfig 192.168.1.23
Variables Description · all-config

execute FortiSwitch-5003A CLI reference
Shut down the FortiSwitch-5003A board now. You will be prompted to confirm the shutdown.
execute shutdown

FortiSwitch-5003A CLI reference execute
Get or set the system time.
time_str has the form hh:mm:ss, where
If you do not specify a time, the command returns the current system time.
You are allowed to shorten numbers to only one digit when setting the time. For example both 01:01:01 and 1:1:1 are allowed.
This example sets the system time to 15:31:03:
execute time 15:31:03
execute time []

execute FortiSwitch-5003A CLI reference
Display a list of processes running on the FortiSwitch-5003A board. The command also displays information about each process.
Mem: 100168K used, 406696K free, 0K shrd, 344K buff, 75092K cached CPU: 0% usr 0% sys 0% nice 100% idle 0% io 0% irq 0% softirq Load average: 0.00 0.00 0.00 PID PPID USER STAT VSZ %MEM %CPU COMMAND 79 49 root S 4276 1% 0% -newcli admin --userfrom=telnet(172.2 46 1 root S 4220 1% 0% /bin/cmdbsvr 50 1 root S 3720 1% 0% /bin/sshd 51 1 root S 3572 1% 0% /bin/switchd 49 1 root S 1884 0% 0% /usr/sbin/telnetd -F 52 1 root S 1880 0% 0% /sbin/getty 38400 /dev/vc/1 53 1 root S 1880 0% 0% /sbin/getty -L /dev/usb/tts/0 9600 vt 80 79 root S 1876 0% 0% sh -c top 81 80 root R 1876 0% 0% top 1 0 root S 1380 0% 0% init 28 2 root SW< 0 0% 0% [bcm-shell] 48 2 root SWN 0 0% 0% [bcmRX] 43 2 root SW< 0 0% 0% [bcmLINK.1] 19 1 root SW 0 0% 0% [usb-storage-0] 2 1 root SW 0 0% 0% [keventd] 3 1 root SWN 0 0% 0% [ksoftirqd_CPU0] 4 1 root SW 0 0% 0% [kswapd] 5 1 root SW 0 0% 0% [bdflush] 6 1 root SW 0 0% 0% [kupdated] 8 1 root SW 0 0% 0% [scsi_eh_0]

FortiSwitch-5003A CLI reference execute
Test the connection between the FortiSwitch-5003A board and an address or hostname and display information about the network hops between the address and the FortiSwitch-5003A board. You must add a DNS server to the FortiSwitch-5003A configuration to trace the rout to a hostname.
execute traceroute { | }
This example shows how to test the connection with 172.20.120.178. In this example the traceroute command times out after the first hop indicating a possible problem.
execute traceroute 172.16.100.149 traceroute to 172.16.100.149 (172.16.100.149), 30 hops max, 38 byte packets 1 * * * 2 * * *

get FortiSwitch-5003A CLI reference
The following get commands are available:
Use this command to display FortiSwitch-5003A CPU usage, memory usage, and USB disk usage.
Example
The output looks like this (for an idle system):
# get system performance
Memory:
USB Disk:
get system performance

FortiSwitch-5003A CLI reference get
Use this command to display FortiSwitch-5003A system status information including:
Example output
Version: FortiSwitch-5003A 3.00,build0026,080911 Serial-Number: FS5A033E08000111 Hostname: FS5A033E08000111 System time: Fri Sep 18 05:02:45 2009 Daylight Time Saving: Yes Time Zone: (GMT-8:00)Pacific Time(US&Canada)
get system status

diagnose FortiSwitch-5003A CLI reference
This section describes some of the available FortiSwitch-5003A diagnose commands.
You can use diagnose commands for debugging the operation of the FortiSwitch-5003A board and to set parameters for displaying different levels of diagnostic information.
This section describes:
You can monitor the status changes of trunk members. To do this, enable debugging for trunk. The console will then display port effective or port ineffective according to the status of the trunk member.
diagnose debug trunk enable diagnose switch fabric-channel trunk
Switch Trunk Information, Fabric-Channel Trunk Name: slot_8_12 Port Selection Algorithm: src-dst-ip Port Serial Number Update Time slot-8 FG5A253E06500030 19:45:31 May-05-2011 slot-6 FG5A253E06500032 19:45:32 May-05-2011
set switch port effective, port(slot-8) set switch port ineffective, port(slot-8) set switch port effective, port(slot-8) set switch port ineffective, port(slot-8) set switch port effective, port(slot-8) set switch port ineffective, port(slot-8)

FortiSwitch-5003A CLI reference diagnose
Display the configuration of a spanning tree instance for an interface. For example, to display the configuration of spanning tree instance 5 for the FortiSwitch-5003A F5 interface enter:
diagnose spanning-tree instance fabric-channel
The number of a spanning tree instance added to the FortiSwitch-5003A board in the range 0 to 15. Enter a number greater than 15 to display all instances.
[] Enter the name of a FortiSwitch-5003A interface to display how the spanning tree instance affects this interface. If you don’t include an interface name the command displays the status of the spanning tree instance for all interfaces.
diagnose spanning-tree instance fabric-channel 5 f5
MST Instance Information, Fabric-Channel:
Instance ID : 5 Mapped VLANs : 101 Switch Priority : 4096 Regional Root MAC Address : 003064058f87 Regional Root Priority: 4096 Regional Root Path Cost: 0 Regional Root Port: slot-2/1 Remaining Hops: 20
Port Speed Cost Priority Role State
f5 10G 2000 128 DESIGNATED FORWARDING
[] · Variables Description

diagnose FortiSwitch-5003A CLI reference
Display the FortiSwitch-5003A fabric channel MSTP configuration.
diagnose spanning-tree mst-config fabric-channel
MST Configuration Identification Information
Unit: Fabric MST Configuration Name: tree_1 MST Configuration Revision: 1 MST Configuration Digest: d397441fd8666b0abb8f5fab64b9d18a
Instance ID Mapped VLANs 3 100 5 101

FortiSwitch-5003A CLI reference diagnose
Filter the FortiSwitch-5003A MAC addresses.
diagnose switch fabric-channel mac-address filter
Where can be:

diagnose FortiSwitch-5003A CLI reference
Verify the FortiSwitch-5003A MAC address table.
diagnose switch fabric-channel mac-address list
MAC: 00:09:0f:09:37:02 VLAN: 904 Trunk: slot_8_12(trunk-id 0) Flags: 0x00000c80 [ trunk ] MAC: 00:09:0f:71:00:61 VLAN: 902 Trunk: slot_8_12(trunk-id 0) Flags: 0x00000c80 [ trunk ] MAC: 00:09:0f:09:33:01 VLAN: 1 Port: slot-3(port-id 1) Flags: 0x00000c00 [ ] MAC: 00:09:0f:91:01:4f VLAN: 1 Port: slot-5(port-id 3) Flags: 0x00000c00 [ ] MAC: 00:09:0f:09:37:02 VLAN: 906 Trunk: slot_8_12(trunk-id 0) Flags: 0x00000c80 [ trunk ] MAC: 00:09:0f:71:03:1d VLAN: 1 Trunk: slot_8_12(trunk-id 0) Flags: 0x00000c80 [ trunk ]

For more information Fortinet documentation
Support for your Fortinet product is available as online help from within the web-based manager, from the Tools and Documentation CD included with the product, on the Fortinet Technical Documentation web site, from the Fortinet Knowledge Center web site, as well as from Fortinet Technical Support.
The most up-to-date publications and previous releases of Fortinet product documentation are available from the Fortinet Technical Documentation web site at http://docs.forticare.com FortiGate-5000 series documentation is located in its own section of the site at http://docs.forticare.com/fgt5k.html
Fortinet documentation is available from the Fortinet Tools and Documentation CD shipped with your Fortinet product. The documents on this CD are current for your product at shipping time. For the latest versions of all Fortinet documentation see the Fortinet Technical Documentation web site at http://docs.forticare.com
Additional information about Fortinet products is available from the Fortinet Knowledge Center. The knowledge center contains troubleshooting and how-to articles, FAQs, technical notes, and more. Visit the Fortinet Knowledge Center at http://kc.forticare.com
Please send information about any errors or omissions in this document, or any Fortinet technical documentation, to techdoc@fortinet.com.
Fortinet Technical Support provides services designed to make sure that your Fortinet systems install quickly, configure easily, and operate reliably in your network.
Please visit the Fortinet Technical Support web site at http://support.fortinet.com to learn about the technical support services that Fortinet provides.
Register your Fortinet product to receive Fortinet customer services such as product updates and technical support. You must also register your product for FortiGuard services such as FortiGuard Antivirus and Intrusion Prevention updates and for FortiGuard Web Filtering and AntiSpam.
Register your product by visiting http://support.fortinet.com and selecting Product Registration.
To register, enter your contact information and the serial numbers of the Fortinet products that you or your organization have purchased. You can register multiple Fortinet products in a single session without re-entering your contact information.

© Copyright 2008 Fortinet, Inc. All rights reserved. No part of this publication including text, examples, diagrams or illustrations may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical or otherwise, for any purpose, without prior written permission of Fortinet, Inc.
Trademarks Fortinet, FortiGate and FortiGuard are registered trademarks and Dynamic Threat Prevention System (DTPS), APSecure, FortiASIC, FortiBIOS, FortiBridge, FortiClient, FortiGate, FortiGate Unified Threat Management System, FortiGuard- Antispam, FortiGuard-Antivirus, FortiGuard-Intrusion, FortiGuard-Web, FortiLog, FortiAnalyzer, FortiManager, FortiOS, FortiPartner, FortiProtect, FortiReporter, FortiResponse, FortiShield, and FortiVoIP, are trademarks of Fortinet, Inc. in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.
FCC Class A, Part 15 CE mark VCCI C-Tick UL/CUL
01-30000-85717-20081205
Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.