Unsolved
This post is more than 5 years old
2 Intern
•
308 Posts
0
10304
How to check the link connectivity between a host and storage on SAN switches
How to check the link connectivity between a host and storage on SAN switches
Introduction
- How to check the link connectivity between a host and storage on SAN switches.
- How to do a health check on Brocade and Cisco SAN switches.
Detailed Information
In a SAN fabric, a SAN switch is to make the zone members normally communicate with each other, and to provide a stable link at the fibre channel‘s FC-4 layer. To check the link connectivity on SAN switches, you should do the following tasks:
1. Check the physical links
Check if the port is online, the port speed is correct, and the device type is FC_SW/FC_AL.
· Brocade
switchshow
switchshow :
CURRENT CONTEXT -- 0 , 128
switchName: SW_xxx
switchType: 62.3
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 100
switchId: fffc64
switchWwn: 10:xx:xx:xx:xx:xx:xx:xx
zoning: ON (Zone_xxx)
switchBeacon: OFF
FC Router: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Address Mode 0]
Index Slot Port Address Media Speed State Proto
===================================================
0 1 0 640000 id N2 Online FC F-Port 21:00:00:xx:xx:xx:xx:xx
1 1 1 640100 id N2 Online FC F-Port 10:00:00:xx:xx:xx:xx:xx
· Cisco
show interface brief
-------------------------------------------------------------------------------
Interface Vsan Admin Admin Status SFP Oper Oper Port
Mode Trunk Mode Speed Channel
Mode (Gbps)
-------------------------------------------------------------------------------
fc1/1 4 FX off up swl F 4 --
fc1/2 4 FX off up swl F 4 --
fc1/3 4 FX off up swl F 4 --
fc1/4 4 FX off up swl F 4 --
fc1/5 4 FX off up swl F 4 --
fc1/6 3 FX off up swl F 4 --
2. Check device FLOGI, PLOGI login
Check if the devices FLOGI/PLOGI login normally and are successfully registered in Name Server.
· Brocade
nsshow
/fabos/cliexec/nsshow -r
{
Type Pid COS PortName NodeName SCR
N 151100; 3;21:00:00:xx:xx:xx:xx:xx;20:00:00:xx:xx:xx:xx:xx; 3
FC4s: FCP
NodeSymb: [43] "QEM3572 FW:v5.03.01 DVR:v8.03.01.12.10.3-k4"
Fabric Port Name: 20:03:00:xx:xx:xx:xx:xx
Permanent Port Name: 21:00:00:xx:xx:xx:xx:xx
Port Index: 3
Share Area: No
Device Shared in Other AD: No
Redirect: No
· Cisco
o Check FLOGI
show flogi database
--------------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
--------------------------------------------------------------------------------
fc1/1 4 0x0d0104 50:06:04:xx:xx:xx:xx:xx 50:06:04:xx:xx:xx:xx:xx
fc1/2 4 0x0d0100 50:06:04:xx:xx:xx:xx:xx 50:06:04:xx:xx:xx:xx:xx
fc1/3 4 0x0d0101 50:06:04:xx:xx:xx:xx:xx 50:06:04:xx:xx:xx:xx:xx
o Check PLOGI
show fcns database vsan 1-4093
VSAN 3:
--------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
0x0c0000 N 50:06:04:xx:xx:xx:xx:xx (EMC) scsi-fcp 253
3. Check zone settings
Check host and storage are in the same zone. The zone is activated.
· Brocade
cfgshow
/fabos/cliexec/cfgshow:
Defined configuration:
. . .
Effective configuration:
cfg: KH_cfg
zone: zone_test
21:00:00:24:xx:xx:xx:xx
50:06:01:61:xx:xx:xx:xx
· Cisco
show zoneset active vsan 1-4093
zoneset name Test_CFG vsan 3
zone name Test_zone vsan 3
interface fc1/7 swwn 20:00:00:xx:xx:xx:xx:xx
* fcid 0x0c0000 [interface fc1/6 swwn 20:00:00:xx:xx:xx:xx:xx]
If the switch passes the above check items, then the link between host and storage is normal.
Author: Roger
iEMC APJ
Please click here for for all contents shared by us.