Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

PLOGI

Direct answer

PLOGI (port login) is the login between two N_Ports, such as a host and a storage port, after FLOGI. It sets up communication parameters before the upper-layer PRLI and SCSI traffic.

When to use this

Use this when host-to-target logins fail.

First 30 seconds

1. PLOGI: N_Port logs into another N_Port (target).

2. Needs zoning to allow it.

3. Then PRLI for SCSI/NVMe.

4. Missing rports = zoning or target issue.

5. Check after zoning changes.

Operational verification

initiator → PLOGI → target → PRLI

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Zoning correct but array host group missing the WWPN.
  • Target ports offline or in maintenance.
  • LUN masking not including the host.
  • Persistent binding or old target IDs on the host after array changes.
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
Scope / prerequisiteUse this when host-to-target logins fail.
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 PLOGI Verify boundary

After zoning allows it, the initiator logs in to each target port. On the host: cat /sys/class/fc_remote_ports/rport-*/port_name lists targets seen; rescan-scsi-bus.sh or echo "- - -" > /sys/class/scsi_host/hostN/scan discovers new LUNs. No remote ports means zoning or target-side problems.

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
  • PLOGI follows FLOGI.
  • Zoning must allow the pair.
  • PRLI establishes the upper protocol.
Key checks
  • ls /sys/class/fc_remote_ports/ — remote ports (targets) after PLOGI
  • cat /sys/class/fc_remote_ports/rport-*/port_state — Online
  • show fcns database — targets registered
ReferenceHow it works1 section · depth on demand

What PLOGI does

After FLOGI and name server registration, the initiator sends PLOGI to each target it is zoned with, then PRLI to establish the FCP (SCSI) session. If FLOGI works but PLOGI does not, check zoning, target port status and array host access. On the array, a logged-in initiator appears as online in the host group.

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

In depth

PLOGI (port login) is the N_Port-to-N_Port login an initiator sends to each target port it found through the name server. It exchanges service parameters (receive buffer size, credit, supported classes). After PLOGI the initiator sends PRLI to set up the FCP upper-layer session; only then can SCSI commands such as REPORT LUNS flow.

If FLOGI works but PLOGI to a target never happens, the target is usually not in the same active zone, or the zone set was edited but not activated.

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 → PLOGI. 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?