Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

WWPN

Direct answer

A WWPN (World Wide Port Name) uniquely identifies one Fibre Channel port. It is the value used in zoning and LUN masking, so record it for every HBA and storage port.

When to use this

Use this when zoning or masking needs exact port identifiers.

First 30 seconds

1. WWPN identifies one FC port.

2. Used in zoning and LUN masking.

3. Replacing an HBA changes WWPNs — update zones/masking.

4. NPIV creates virtual WWPNs.

5. Keep inventory current.

Operational verification

port → WWPN → zones/masks

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Using the WWNN in zones or host groups instead of the WWPN.
  • Typos when entering WWPNs manually — use device aliases.
  • Replacing an HBA and forgetting to update zones and array host mappings.
  • NPIV virtual WWPNs not zoned for every host the VM can run on.
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 zoning or masking needs exact port identifiers.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
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
  • A WWPN is unique per port.
  • Zoning and LUN masking use it.
  • Record it when replacing HBAs.
Key checks
  • cat /sys/class/fc_host/host*/port_name — host WWPNs
  • show flogi database — logged in WWPNs
  • show device-alias database — aliases
ReferenceHow it works1 section · depth on demand

Using WWPNs

Zone and mask by WWPN: the switch zones use them to decide which ports see each other, and the array maps LUNs to host WWPNs (initiator groups). When an HBA is replaced, its WWPNs change — update zoning and host groups, or use virtual WWPNs (Cisco UCS, Synergy profiles) that stay with the server profile.

ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

The WWPN is the address a Fibre Channel port uses for zoning and LUN masking

Each FC port has a World Wide Port Name (WWPN), a 64-bit identifier written as 16 hex digits. The node (adapter or array) has a World Wide Node Name (WWNN). Switches zone by WWPN, and arrays mask LUNs to WWPNs.

Reading them on Linux

The kernel FC transport documentation describes FC hosts under /sys/class/fc_host/ and remote ports under /sys/class/fc_remote_ports/, with attributes including node_name, port_name, port_id and port_state.

$ cat /sys/class/fc_host/host*/port_name
0x2100000e1e123456
0x2100000e1e123457
$ cat /sys/class/fc_host/host*/node_name
$ for r in /sys/class/fc_remote_ports/rport-*; do echo "$(cat $r/port_name) $(cat $r/port_state)"; done
0x500a098188a1b2c3 Online

On other platforms

PlatformCommand
WindowsGet-InitiatorPort | ft NodeAddress,PortAddress,ConnectionType
VMware ESXiesxcli storage san fc list
Cisco MDSshow flogi database, show fcns database
Brocadeswitchshow, nsshow

Format and use

ItemExample
Linux sysfs0x2100000e1e123456
Zoning (colon form)21:00:00:0e:1e:12:34:56
Zoning practiceSingle-initiator zones: one host WWPN with the target WWPNs
AliasesName WWPNs on the switch (host01_hba0) to avoid typing errors

Pitfalls

  • Replacing an HBA changes its WWPN. Zoning and array host groups must be updated, or the host loses its LUNs.
  • Virtual WWPNs (NPIV) on hypervisors are separate from the physical port's WWPN.
  • Copying WWPNs by hand is a common source of zoning errors. Read them from the switch name server and compare.

Illustrative example (not a system capture).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Worked example

The WWPN (port name) is unique per physical or virtual port and is what zoning, LUN masking and host groups reference. A typical dual-fabric host has two WWPNs: one zoned in fabric A, one in fabric B.

Worked example: host esx01 has WWPNs 21:00:00:24:ff:4c:7a:10 (fabric A) and 21:00:00:24:ff:4c:7a:11 (fabric B). The array has controller ports CT0.FC0/CT1.FC0 in fabric A and CT0.FC1/CT1.FC1 in fabric B. Result: two single-initiator zones, one per fabric, each containing one host WWPN and the two array ports in that fabric — four paths in total.

Device aliases (Cisco MDS)

device-alias database
  device-alias name ESX01-HBA0 pwwn 20:00:00:25:b5:aa:00:01
  device-alias name ARRAY-CTRL-A0 pwwn 50:06:01:60:3e:a0:12:34
device-alias commit
show device-alias database

Documented example, not captured output. Aliases make zones readable and survive HBA moves between ports.

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