Back to exam

NSE6_FSW-7.2 Cheatsheet

Fortinet NSE 6 - FortiSwitch 7.2

Download free PDF

FortiLink deployment and management

Discovery and authorization

  • Enable the FortiGate **switch controller** and an active **FortiLink interface** before managing switches. A managed stack contains individually managed FortiSwitch units.
  • **Discovery** finds a candidate switch; **authorization** permits FortiGate management. FortiLink management mode and ongoing heartbeats are separate from initial discovery.
  • With **zero-touch management**, FortiLink auto-discovery is enabled on all ports by default. Check actual port settings when using an existing configuration.
  • Treat **CAPWAP/DTLS** establishment as a separate checkpoint from physical link-up. A discovered serial number alone does not prove a healthy management tunnel.

Management health and migration

  • Use **NTP** to align FortiGate and switch clocks. Incorrect time can disrupt certificate validation and the DTLS handshake; check time again after a reboot.
  • Troubleshoot in order: **link and VLAN**, management IP and route, discovery, authorization, then tunnel and heartbeat state. Read the actual debug failure before choosing a remedy.
  • FortiGate is the configuration authority in **FortiLink mode**. Direct switch changes can be overwritten or lost when the controller reapplies configuration.
  • Before moving from **standalone** operation, back up and map the configuration to supported controller settings. A saved standalone configuration is not automatically a compatible managed configuration.

Reachability and administrative separation

  • For external management tools, use a **routable, non-overlapping management subnet**, a return route, and permitted management services. An isolated FortiLink address range can prevent external access.
  • For **in-band management**, carry the management VLAN across the uplink and switch internal interface. Match native versus tagged treatment at both ends; FortiLink commonly uses management VLAN **4094**.
  • **Multi-tenancy** uses FortiGate VDOMs to separate administration and network ownership. Allocate switch ports through supported **virtual port pools** or place the FortiLink in the target VDOM.
  • An **ISL** joins switches; a **FortiLink** connects the managed fabric to FortiGate. Topology displays may show switch serial numbers for inter-switch connections rather than an endpoint VLAN name.

Remote switch islands

  • **FortiLink over Layer 3** manages a remote switch island across a routed network. Plan controller discovery, IP reachability and supported hardware; NAT between switch and controller is unsupported for this mode.
  • Keep the **management path** separate from the user-data forwarding design. Multiple remote VLANs need a suitable local gateway or explicitly supported transport; controller reachability alone does not extend them.
  • **VXLAN** provides a Layer 2 overlay over IP. In the FortiLink-over-VXLAN management design, the tunnel carries management traffic; do not assume endpoint data follows it automatically.

VLANs and resilient Layer 2 switching

Native, allowed and untagged VLANs

  • A port has one **native VLAN** for classifying untagged ingress traffic. Native-VLAN traffic normally leaves that port untagged; the native VLAN is implicitly permitted.
  • **Allowed VLANs** admit the additional tagged VLANs carried by a port. A VLAN tag identifies a broadcast domain; it does not create an IP gateway.
  • **Untagged VLANs** control tag removal on egress. Keep these VLANs permitted on the port. Changing egress tagging does not give untagged ingress multiple native VLANs.
  • For a tagged uplink and an untagged endpoint, carry the endpoint VLAN across the uplink and configure the access-port membership and egress tagging for that VLAN.

MAC learning and VLAN classification

  • **MAC learning** associates a source MAC and VLAN with a port. The same MAC can appear in different VLANs; interpret the complete MAC/VLAN/port tuple.
  • Known **unicast** follows the learned destination. Unknown unicast and **broadcast** are flooded within the VLAN, subject to forwarding and security controls. Broadcast uses **FF:FF:FF:FF:FF:FF**.
  • **MAC-based**, **IP-based** and **protocol-based VLANs** classify traffic using address or protocol rules instead of only port membership. They do not provide proof of endpoint identity.
  • Keep classification rules and port VLAN membership consistent. Use **802.1X** when authenticated access decisions are required; a spoofable address match is a weaker trust signal.

MSTP and port roles

  • **STP** removes forwarding loops by selecting a root bridge and blocking redundant paths. A lower bridge ID wins; bridge priority is considered before the MAC address.
  • **MSTP** maps VLANs to spanning-tree instances. Region name, revision and VLAN-to-instance mapping must agree for switches to belong to the same region.
  • Root and designated **port roles** determine forwarding paths. **Discarding** can be a normal redundant-path state; it does not by itself indicate failed switch authorization.
  • **Edge ports** accelerate endpoint attachment. Use **BPDU guard** where receiving a BPDU indicates an unexpected switch connection; avoid edge assumptions on inter-switch links.

Aggregation and loop protection

  • **LAG** bundles compatible physical links into one logical interface. **LACP** negotiates membership; STP evaluates the logical aggregate rather than treating its members as independent parallel paths.
  • **MCLAG** extends an aggregate across two peer switches. The **ICL** exchanges peer information; downstream links form one logical aggregate when the peer and client configuration agree.
  • Ordinary dual uplinks without a valid aggregate can create a loop, so **STP may discard one path**. Authorizing another core switch does not automatically create MCLAG.
  • FortiSwitch **loop guard** sends detection frames and can shut a port when its own frame returns through a loop. Distinguish this mechanism from BPDU-based spanning-tree protection.

IGMP snooping, proxy and querier

  • **IGMP snooping** observes membership reports and limits multicast delivery to interested receiver ports and multicast-router paths, instead of flooding every port.
  • An **IGMP querier** periodically asks receivers to refresh membership. Entries age out without refreshes; enabling snooping alone does not create a querier.
  • **IGMP snooping proxy** consolidates membership reporting toward the upstream querier. Report flooding and unknown-multicast flooding control different forwarding behavior.
  • Use **fast leave** only where removing a port immediately cannot disconnect other receivers behind that port. Check shared downstream segments before enabling it.

Endpoint access and containment

802.1X and MAC-based authentication

  • **802.1X** involves a supplicant, a switch acting as authenticator, and an authentication server, commonly **RADIUS**. Apply the managed-switch security policy to the intended ports.
  • **Port-based authentication** opens access at port scope after successful authentication. Consider every device behind a hub, phone or downstream switch when selecting this mode.
  • **MAC-based authentication mode** tracks authorization per device, allowing different access results on a shared physical port. Distinguish this granularity from opening the whole port.
  • **MAC authentication bypass (MAB)** supports endpoints without an 802.1X supplicant, using their MAC identity. It is distinct from certificate or user authentication and is vulnerable to MAC spoofing.
  • Keep **guest**, authentication-failure and **quarantine VLAN** roles distinct. A failed login and a threat-detection quarantine are different events with independently configured handling.

DHCP snooping and trust

  • Enable **DHCP snooping** on the relevant VLAN and trust only ports leading to legitimate DHCP servers or relays. Server replies on untrusted paths are blocked.
  • Client-request forwarding is a separate setting from server-port trust. Check whether requests may be forwarded toward **untrusted ports**, especially in chained-switch designs.
  • **Option 82** adds relay-agent circuit or remote information. Coordinate insertion and server behavior; managed-switch advanced DHCP snooping controls are available through the CLI.
  • **Verify MAC** checks the client source MAC against the DHCP client hardware address. This is not destination-MAC validation and does not replace rate limits or other exhaustion defenses.

MAC quarantine and enforcement

  • **Quarantine by VLAN** steers quarantined-device traffic through a separate quarantine VLAN. Ensure the VLAN and intended controller path exist wherever enforcement is required.
  • **Quarantine by redirect** sends the quarantined device traffic toward FortiGate on its received VLAN. This differs from changing the device to a separate VLAN.
  • Combine switch enforcement for **local traffic** with explicit FortiGate policies for routed traffic and permitted remediation services. A quarantine label alone is not a complete access policy.
  • For **automatic MAC quarantine**, connect a detection event to the quarantine action and verify that the controller applies it to the access switch. Test enforcement and release of the correct endpoint MAC.

Discovery, monitoring and packet visibility

LLDP-MED and PoE

  • **LLDP** exchanges neighbor information. **LLDP-MED TLVs** add endpoint information and policies useful for phones and other media devices.
  • **Inventory management** TLVs identify endpoint characteristics. **Network policy** communicates settings such as voice VLAN and QoS; it serves a different purpose from inventory.
  • **Location** TLVs advertise endpoint location information useful for emergency services. Configure accurate location data rather than treating neighbor discovery as a location database.
  • **Power management** TLVs exchange PoE information. Advertise the appropriate TLVs in the applied LLDP profile and check switch power budget, port limits and endpoint demand.

Sniffing and port mirroring

  • A CLI **sniffer** sees traffic available to the CPU. ASIC-switched endpoint traffic may bypass it, so an empty capture does not prove that the port carried no packets.
  • **SPAN** copies eligible source-port ingress or egress traffic to a monitor destination. Connect the analyzer to the destination port on that switch and select the required direction.
  • Check supported capture sources before choosing a method for **trunks, internal or management interfaces**. Capture-profile capabilities and SPAN source restrictions are not interchangeable.
  • **Remote mirroring** requires an explicitly supported remote-mirror design. Ordinary local SPAN does not automatically deliver mirrored frames across multiple switches; oversubscription can also lose capture packets.

Flow tracking and sampling scope

  • **NetFlow/IPFIX** exports flow records to a collector. Sampling provides traffic statistics rather than a full packet trace; configure a reachable collector and matching export format.
  • **Local sampling** uses explicitly selected port sampling settings. Exporting the flow-tracking configuration does not mean sampling has been enabled on every interface.
  • **Perimeter sampling** samples ingress at the fabric boundary, excluding **ISL and ICL** ports. This avoids repeatedly counting traffic at internal fabric links.
  • **Device-ingress sampling** samples ingress across switches for hop-by-hop visibility. Sampling rate, active/inactive flow timeouts and collector reachability affect the resulting observations.

SNMP and local service access

  • **SNMP v2c** needs an enabled agent and community configuration. **SNMPv3** uses users and supports authentication and privacy; a v3 user is not a v2c prerequisite.
  • Permit **SNMP** on the interface actually receiving requests. A local-access profile has separate **mgmt-allowaccess** and **internal-allowaccess** service settings.
  • **Polling sources** and **trap destinations** have separate roles. Configuring a trap receiver does not by itself enable polling; verify source restrictions, routing and UDP service reachability.

Routing, traffic policy and physical ports

Layer 3 interfaces and forwarding

  • A **switch virtual interface (SVI)** supplies Layer 3 presence for a VLAN. **Loopbacks** provide stable logical addresses. Dynamic-routing participation depends on supported model, mode and interface type.
  • Distinguish **FortiGate inter-VLAN routing** in a managed design from routing performed by a standalone Layer 3 FortiSwitch. A management IP alone does not make the switch a user-data router.
  • The **RIB** contains routing candidates; selected usable routes populate the **FIB** and supported hardware forwarding entries. A route shown in protocol output is not necessarily installed for forwarding.
  • For the same prefix, route selection considers **administrative distance** and protocol metrics. A less-preferred candidate may become active when the better route disappears; packet lookup uses longest-prefix matching.
  • **ASIC forwarding** handles eligible packets in hardware. The CPU runs control protocols and handles exceptions; it does not process every hardware-routed packet.

QoS queues, congestion and ACLs

  • **Ingress classification** maps traffic, including **802.1p CoS** or **DSCP** markings, to a traffic class or egress queue. **Marking** changes a priority value; it is a separate action.
  • **Strict priority** serves higher-priority queues first and can starve others. **Weighted round robin** shares service by weight. These are scheduling methods, not packet-drop policies.
  • **Tail drop** discards arriving packets when the applicable queue or buffer is full. **Random early detection (RED)** begins probabilistic dropping before complete exhaustion.
  • **ACL classifiers** match supported packet fields and apply actions at supported processing stages. Check rule order, priority, direction and hardware resources; do not assume every action exists at every stage.

Port breakout and capacity

  • **Breakout** divides a supported high-speed port into lower-speed lanes. A common **40G QSFP+** design provides four 10G lanes using compatible optics or cabling.
  • Breakout support depends on the **switch model, port, transceiver and software**. Check required reboot and configuration impact before changing port mode; not every QSFP-family optic supports breakout.
  • After a split, configure the resulting logical ports with the intended **VLANs**, speed and peer settings. Physical connector count, logical port count and forwarding capacity are different limits.