Use this when host-to-target logins fail.
PLOGI
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.
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.
initiator → PLOGI → target → PRLI
Context & applicabilityCommon mistakes · platform/version boundaries
- 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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- PLOGI follows FLOGI.
- Zoning must allow the pair.
- PRLI establishes the upper protocol.
ls /sys/class/fc_remote_ports/— remote ports (targets) after PLOGIcat /sys/class/fc_remote_ports/rport-*/port_state— Onlineshow 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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%