This WWN format validator checks World Wide Names and port names, converts them between common formats and decodes the NAA type and OUI. Paste a list of WWNs, one per line, and it flags typos, normalizes the rest and shows which company the OUI is registered to. Use it to clean a list before you build aliases or zones, and to double-check a value copied from a switch, an HBA utility or an array screen.
Result
The result updates automatically as you change any input.
Formula and worked steps
Formulas used
- WWN = 16 hex digits (64-bit) or 32 hex digits (128-bit, NAA 6); separators and a 0x prefix are ignored
- NAA type = first hex digit: 1 = IEEE 48-bit, 2 = IEEE extended, 3 = locally assigned, 5 = IEEE registered, 6 = IEEE registered extended
- NAA 1 and 2: OUI = hex digits 5-10 (the first 24 bits of the 48-bit MAC)
- NAA 5 and 6: OUI = hex digits 2-7, then 36 vendor-specific bits (9 hex digits); NAA 6 adds a 64-bit extension
- The vendor name is the organisation registered for the OUI in the IEEE registry, not necessarily the product line or the current owner. Notes are added where the registered name is historical.
- The built-in OUI table is short (43 storage and SAN related entries) and taken from the IEEE registry as republished in the Nmap MAC prefix table, retrieved 2026-11-06. A missing OUI does not mean the OUI is unregistered.
- A WWNN and a WWPN look the same; the tool cannot tell which one a value is.
- Colon-separated input must be whole bytes (50:06:...), or dotted groups of four (5006.0160....).
What is a WWN?
A World Wide Name is a globally unique identifier for a Fibre Channel node or port. A WWNN names the device and a WWPN names one port on it. Zoning, LUN masking and host registration all use WWPNs, so a single wrong digit means a device that does not appear.
Structure
A standard WWN is 64 bits, written as 16 hexadecimal digits, usually in eight colon-separated pairs. Some identifiers, notably NAA 6 names used for storage volumes, are 128 bits and have 32 digits.
NAA types
The first hex digit is the Network Address Authority type. Type 1 holds an IEEE 48-bit MAC address. Type 2 adds a 12-bit field before the MAC. Type 5 holds a 24-bit registered OUI followed by 36 vendor-specific bits. Type 6 is the 128-bit version of type 5. Type 3 is locally assigned and has no OUI.
The OUI
An Organizationally Unique Identifier is a 24-bit number the IEEE registers to a company. In types 1 and 2 it is the first half of the MAC address, and in types 5 and 6 it follows the type digit.
How the WWN format validator works
The WWN format validator removes separators and any 0x prefix, checks that only hexadecimal digits remain, and requires 16 or 32 of them. It then reads the NAA type and extracts the OUI from the right position.
Accepted and output formats
Input can use colons, dashes, dotted groups of four, a 0x prefix or no separators at all. Output can be colon-separated in lower or upper case, dash-separated, plain or 0x-prefixed. Brocade and Cisco command lines use colon pairs, while the Linux sysfs port_name file shows a 0x prefix with no separators.
Where the OUI sits
For NAA 1 and 2, the OUI is hex digits 5 to 10. For NAA 5 and 6 it is digits 2 to 7. Reading the wrong position is a common mistake when decoding by eye, and it is the reason a type 5 name such as 50:06:01:60 decodes to OUI 00:60:16.
Worked examples
| WWN | NAA | OUI | Registered to |
|---|---|---|---|
| 50:06:01:60:3b:20:12:34 | 5 | 00:60:16 | Clariion (an EMC product line, now Dell EMC) |
| 10:00:00:05:1e:aa:bb:cc | 1 | 00:05:1E | Brocade Communications Systems |
| 21:00:00:e0:8b:05:05:04 | 2 | 00:E0:8B | QLogic |
| 50:0a:09:81:12:34:56:78 | 5 | 00:A0:98 | NetApp |
In the QLogic example the second and third digits, 100, are the vendor-specific field of an NAA 2 name, which often encodes a port number. A 32-digit name such as 600a098038303053453f4c5a4f5a5a5a is NAA 6, with OUI 00:A0:98 and a 64-bit vendor extension.
Reading the result table
Each line of the result shows the input as you typed it, the normalized value in your chosen format, the NAA type, the OUI and the registered organization, plus the vendor-specific part of the name. A line that fails shows the reason instead, such as the wrong digit count or a character that is not hexadecimal, so you can fix it in the source list.
The built-in OUI table
The tool includes 43 storage and SAN related OUIs, with names taken from the IEEE registry as republished in the Nmap MAC prefix table. An OUI that is not in the table is reported as such. That does not mean it is unregistered.
Why it matters for SAN and storage admins
Most zoning problems that trace back to naming are typos. A WWPN with a transposed pair is still valid hex, so the switch accepts it and the device simply never shows up. A WWN format validator catches length and character errors before the commands reach the fabric, and the OUI decode gives a second check: if a host HBA WWPN decodes to a storage vendor, the line is probably in the wrong list.
It also helps when you inherit a fabric. Exported alias and zone lists come in mixed formats, and normalizing them makes duplicates and near-duplicates visible. Pair it with the alias generator to turn a clean list into commands.
Use it when you:
- Check a WWPN list from a spreadsheet before building aliases.
- Convert between the formats different tools print.
- Identify which vendor a device in a zone belongs to.
- Verify a 128-bit NAA 6 volume identifier.
Best practices and common mistakes
- Keep one canonical format in documentation. Lowercase colon pairs are the easiest to read and compare.
- Never mix WWNN and WWPN in a zone. Most arrays and HBAs show both, and the tool cannot tell which a value is.
- Copy from the source system instead of retyping, and validate every list.
- Do not treat the OUI as the product. It is the registered company, and a vendor can use another company’s OUI after a merger.
- Check the length first. 15 or 17 digits usually means a dropped or doubled character.
- Keep a record of which port each WWPN belongs to, not only the number.
A frequent mistake is to read the NAA digit as part of the OUI. For type 5 names, the OUI starts one digit later than the first pair suggests.
FAQs
How many digits does a WWN have?
A standard World Wide Name has 16 hexadecimal digits (64 bits). NAA 6 identifiers used for some LUN names have 32 digits (128 bits).
What does the first digit of a WWN mean?
It is the NAA type. 1 and 2 carry an IEEE MAC address, 5 carries a registered OUI with vendor-specific bits, 6 is the 128-bit form of NAA 5, and 3 is locally assigned.
Does the OUI tell me which product a WWN belongs to?
No. It identifies the company registered for that OUI in the IEEE registry, which can differ from the product line or current owner.
Next, try the SAN zone alias generator, the SAN zoning naming convention generator and the SAN fan-out ratio calculator, or browse the full list of storage calculators.