Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

FLOGI

Direct answer

FLOGI (fabric login) is the first step when an N_Port joins a fabric: it logs into the switch and receives a 24-bit FC ID. Check it with show flogi database or switchshow.

When to use this

Use this when a Fibre Channel port does not log into the fabric.

First 30 seconds

1. FLOGI: N_Port logs into the fabric and gets an FCID.

2. Fails on speed mismatch, disabled port, bad SFP.

3. Switch port must be F_Port.

4. Check port config and logs.

5. NPIV uses FDISC for additional logins.

Operational verification

N_Port → FLOGI → FCID

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Wrong port mode (forced E or TE on a host port).
  • Port in the wrong VSAN or a VSAN that is suspended.
  • Port security rejecting the WWPN.
  • Speed set manually and mismatched.
Platform / version applicability
SAN and storage networking
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSAN and storage networking
Key commandshow flogi database interface fc1/5
Scope / prerequisiteUse this when a Fibre Channel port does not log into the fabric.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checking FLOGI Verify boundary
show flogi database interface fc1/5          # Cisco MDS
nsshow                                        # Brocade
cat /sys/class/fc_host/host1/port_state       # host: Online

FLOGI failures: wrong port mode (E vs F), speed mismatch, port disabled/errdisabled, NPIV not enabled for NPV switches or virtual HBAs. Check port error counters and light levels.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • FLOGI gives the port an FC ID.
  • No FLOGI means no fabric access.
  • Speed or port configuration mismatches block it.
Key checks
  • show flogi database interface fc1/1 — FLOGI on port
  • cat /sys/class/fc_host/host*/port_id — FCID assigned
  • dmesg | grep -i -e flogi -e 'link up' — host log
ReferenceHow it works1 section · depth on demand

What FLOGI exchanges

The N_Port sends FLOGI to the well-known fabric address FFFFFE. The switch replies with an accept containing the port's assigned 24-bit FC ID (domain-area-port) and service parameters such as buffer-to-buffer credits and supported classes. Failures usually mean a speed, topology or port-mode mismatch, or the port being disabled or in the wrong VSAN.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceImportant terms & boundaries1 section · depth on demand

Worked example

Reading the result of a successful FLOGI on the switch (Cisco MDS):

show flogi database vsan 10
# INTERFACE  VSAN  FCID      PORT NAME                NODE NAME
# fc1/5      10    0x0a0100  21:00:00:24:ff:4c:7a:10  20:00:00:24:ff:4c:7a:10

The FCID 0x0a0100 encodes domain 0x0a (10), area 0x01, port 0x00. Documented example, not captured output.

On the host, cat /sys/class/fc_host/host1/port_id shows the same FCID, and port_state Online confirms the login. After FLOGI the port registers with the name server — show fcns database vsan 10 must list it with FC4 type scsi-fcp:init (host) or :target (array) before zoning can make it reachable.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSAN and storage networking current

Authoritative/upstream documentation reviewed for bounded claims in Fibre Channel → FLOGI. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.snia.org/education/what-is-fibre-channel · confidence 94%
Confirmation

Confirm action

Continue?