Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Fabric Login

Direct answer

Fabric login covers the logins a Fibre Channel device performs: FLOGI to the switch for an FC ID, then PLOGI and PRLI to each target. Without completed logins, hosts cannot see LUNs.

When to use this

Use this when hosts cannot see storage due to login problems.

First 30 seconds

1. Fabric login steps: FLOGI to switch, register with name server, PLOGI to targets, PRLI for FCP.

2. No login = cable/SFP/speed/port issue.

3. Check name server for registration.

4. Zoning hides others.

5. Re-login after link bounce.

Operational verification

link up → FLOGI → name server → PLOGI → PRLI

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Port stuck in Initializing or Not connected because of speed mismatch or bad optics.
  • Host logged in (FLOGI) but not registered with the name server.
  • Login succeeds on one fabric only after a change.
  • Duplicate WWPN logins blocked by the switch.
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 vsan 10
Scope / prerequisiteUse this when hosts cannot see storage due to login problems.
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 Checks (Cisco MDS) Verify boundary
show flogi database vsan 10
show fcns database vsan 10
show zoneset active vsan 10

A port that is in FLOGI but not in the FCNS database, or not in the active zone set, will not see its targets.

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 to fabric, then PLOGI and PRLI to targets.
  • All logins must complete before LUNs appear.
  • Zoning blocks PLOGI to unzoned ports.
Key checks
  • show flogi database — fabric logins
  • show fcns database — name server registrations
  • cat /sys/class/fc_host/host*/port_state — Online
ReferenceHow it works1 section · depth on demand

Login sequence

StepBetweenPurpose
FLOGIN_Port → fabric (F_Port)Join fabric, get FC ID (24-bit address)
PLOGI to name serverN_Port → FCNSRegister and query
PLOGIInitiator → targetPort-to-port session
PRLIInitiator → targetAgree on upper protocol (FCP/SCSI, NVMe)

If the host is not in show flogi database, the problem is physical/link or port configuration; if it is but cannot see LUNs, check zoning and LUN masking.

ReferenceImportant terms & boundaries1 section · depth on demand

How it works

An FC port goes through a fixed login sequence before it can do I/O:

1. Link up – speed negotiation and port mode (F, E, NP).

2. FLOGI – fabric login; the switch assigns the FC ID.

3. Name server registration (PLOGI to FFFFFC, then RFT_ID/RFF_ID) – the port announces itself as initiator or target.

4. SCR – registers for state change notifications (RSCN).

5. Name server query – the initiator asks which targets it can see (only those zoned with it).

6. PLOGI – port login to each target.

7. PRLI – process login, establishes the FCP (SCSI) session.

When a host sees no LUNs, find the first step that did not happen: no FLOGI = link/port problem, FLOGI but no target in the name-server query = zoning, PRLI done but no LUNs = LUN masking on the array.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 → Fabric Login. 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?