Professional Documents
Culture Documents
Question
What are the differences between the port states, reported when I execute the switchshow command (online, offline, no
light, not sync, etc...) ?
I noticed that sometimes a particular port index is set to disable and its state shows "no light" whereas other times its
state says "not sync". Why is this ?
Environment
• Brocade Fiber Channel Switches
Answer
In the switchshow of a Brocade's supportsave data you will see:
https://knowledge.hitachivantara.com/Knowledge/Networking/What_Are_the_Different_Port_States_a_Brocade_Switch_Can_…
Updated: Fri, 03 Jan 2020 06:29:34 GMT
Powered by
1
50:05:07:60:5e:84:53:01
7 1 7 010700 id N8 Online FC F-Port
50:00:09:74:08:2e:35:0c
8 1 8 010800 id N8 Online FC F-Port
10:00:00:05:1e:fd:06:c5
9 1 9 010900 id N8 Online FC F-Port
10:00:00:05:33:26:10:88
10 1 10 010a00 id N8 No_Light FC Disabled (Persistent)
etc.
portshow 0
portDisableReason: None
portCFlags: 0x1
portFlags: 0x10000903 PRESENT ACTIVE E_PORT T_PORT T_MASTER G_PORT
LOGICAL_ONLINE LOGIN
LocalSwcFlags: 0x0
portType: 17.0
portState: 1 Online
Protocol: FC
portPhys: 6 In_Sync portScn: 16 E_Port Trunk master port Flow
control mode 4
port generation number: 0
state transition count: 0
Online/In_Sync
• Normal operating port with a connected device / ISL to other switch. "Online" is the operating state, "In_Sync"
the physical state of the receiver/transmitter. (to see the in_sync you have to issue a portshow, as
a switchshow doesn't display it)
• If a port is showing in-sync, the device is not logged into a fabric. Questions to ask are have any changes
occurred since the last time it worked?
• One problem could be port speed hard set incorrectly. Will the drives log in if you pull/re-insert the SFP/cable?
Offline
No_Module
https://knowledge.hitachivantara.com/Knowledge/Networking/What_Are_the_Different_Port_States_a_Brocade_Switch_Can_…
Updated: Fri, 03 Jan 2020 06:29:34 GMT
Powered by
2
• No module (SFP or other) present / no gbic / sfp inserted
No_Light
No_Card
No_Sync
In_Sync
Laser_Flt
Port_Flt
Diag_Flt
Lock_Ref
Testing
• Running diagnostics
Online
https://knowledge.hitachivantara.com/Knowledge/Networking/What_Are_the_Different_Port_States_a_Brocade_Switch_Can_…
Updated: Fri, 03 Jan 2020 06:29:34 GMT
Powered by
3
portState: unknown(0), online(1), offline(2), testing(3), faulty(4)
At the beginning of the Fabric OS v7.1.0 code releases speed negotiation throttling has been implemented on Gen5
(16 Gbit/sec) switches.
This usually is observed when a host is transmitting un-modulated light when it was rebooted. This un-modulated
light will
These failures will cause the port to be disabled for a two minute time period.
When the port becomes disabled, it will look similar to the following excerpt from a switchshow.
In an environment where devices are booting over SAN, it is recommended/best practice to lock the speed of the
port
on the switch to prevent any excess time during the boot up stage. Additionally, in general making sure that the
topology of the device connecting to the switch are locked to point to point would assist in reducing the time
So setting the FC-speed on the attached Hardware and on the Switch-Port to a "Fixed Speed" can circumvented this.
Additional Notes
Internal Notes
For more information see:
http://www.brocade.com/content/html/en/administration-guide/fos-741-accessgateway/
GUID-5E8E92D7-1416-41C5-82E2-F54DF798F485.html
https://knowledge.hitachivantara.com/Knowledge/Networking/What_Are_the_Different_Port_States_a_Brocade_Switch_Can_…
Updated: Fri, 03 Jan 2020 06:29:34 GMT
Powered by
4