Pcornel
Storage · Fibre Channel

FLOGI

Cheat sheet · https://pcornel.dk/topic.php?topic=4086

Back to the Topic

Answer

FLOGI (fabric login) is the first step when an N_Port joins a fabric: it logs into the switch and receives a 24-bit FC ID. Check it with show flogi database or switchshow.

Remember

  • FLOGI gives the port an FC ID.
  • No FLOGI means no fabric access.
  • Speed or port configuration mismatches block it.

First checks

  • show flogi database interface fc1/1 — FLOGI on port
  • cat /sys/class/fc_host/host*/port_id — FCID assigned
  • dmesg | grep -i -e flogi -e 'link up' — host log

Commands

show fcns database vsan 10

Verify in this order

N_Port → FLOGI → FCID

Where it usually breaks

First mismatch in initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4086

Confirmation

Confirm action

Continue?