Port link state:

CONFIG_WAIT (1) - configuration wait;
ALPA_WAIT (2) - ALPA wait;
LOGIN_WAIT (3) - login wait;
READY (4) - link is ready;
LOSS_SYNC (5) - link is loss sync;
ERROR_STATE (6) - in error state;
XXX (7) - xxx;
NONPARTICIPATE (8) - link did not participate;
COREDUMP (9) - taking coredump;
OFFLINE (10) - link is offline;
FWDEAD (11) - firmware is dead;
IDLE_FOR_RESET (12) - link is idle for reset;
DHCP_IN_PROGRESS (13) - DHCP is in progress;
PENDING_RESET (14) - link reset is pending;
NEW (15) - link in new. This value is applicable for only virtual ports;
DISABLED (16) - link in disabled. This value is applicable for only virtual ports;
DOWN (17) - link in down. This value is applicable for only virtual ports;
FAILED (18) - link in failed. This value is applicable for only virtual ports;
PURGING (19) - link in purging. This value is applicable for only virtual ports.