Use this when checking end-device Fibre Channel ports.
N_Port
An N_Port (node port) is the Fibre Channel port on an end device, such as a host HBA or a storage array port, that connects to a switch F_Port and logs into the fabric.
1. N_Port = end device port (HBA or storage).
2. Connects to F_Port on switch.
3. NPIV allows multiple virtual N_Ports.
4. Identified by WWPN.
5. Check link and login.
N_Port ↔ F_Port
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show flogi database interface fc1/5Verification & 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 Checks Verify boundary
cat /sys/class/fc_host/host*/port_state # Online
cat /sys/class/fc_host/host*/port_type # NPort (fabric)
show flogi database interface fc1/5 # on the switch
LPort or Point-to-Point port types point to direct-attach or loop configurations.
Step 2 Common mistakes Narrow the fault
- Confusing N_Port, F_Port and E_Port roles.
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.
cat /sys/class/fc_host/host*/port_type— NPortshow flogi database— N_Ports logged insystool -c fc_host -v— details
ReferenceHow it works1 section · depth on demand
Login sequence
1. FLOGI: the N_Port logs in to the fabric and gets an FC ID.
2. Registers with the name server (FCNS).
3. Queries the name server for targets in its zone.
4. PLOGI/PRLI to each target port, then SCSI LUN discovery.
On a Cisco MDS: show flogi database (logged-in N_Ports), show fcns database. On Brocade: switchshow, nsshow.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
An N_Port is the end-point port on a host HBA or an array. It sends FLOGI to the fabric and then PLOGI/PRLI to its peers. With NPIV (N_Port ID Virtualization) one physical N_Port can perform additional logins (FDISC) and obtain several FC IDs, each with its own virtual WWPN — used for virtual HBAs in VMs and by NPV/Access Gateway switches. NPIV must be enabled on the F_Port side (feature npiv on Cisco MDS).
Port types
| Port | Connects |
|---|---|
| N_Port | Host or storage port |
| F_Port | Switch port facing an N_Port |
| E_Port | Switch-to-switch ISL |
| TE_Port | Trunking E_Port (Cisco, carries several VSANs) |
| NP_Port | NPV edge switch uplink |
| VN/VF_Port | FCoE equivalents |
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 → N_Port. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/education/what-is-fibre-channel · confidence 94%