cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1500
Views
5
Helpful
8
Replies

Cisco MDS 9184S Configuration Issue

JeremieBelpois
Level 1
Level 1

Hello everyone, I am a newbie at SAN and SAN Networking, I have a Cisco 9148s and IBM Storwize V7000G2+, I try to config cisco 9148S to connect from my HBA Initiator to Target, but after config, nothing happened, my IBM Storage appear port still "Offline"

- First, my sw 9148s have assign license acquire for ports

- Second, I created the two-zone and assigned port of HBA and Target (separated 2 candidates)

- Third, I created new zoneset and assign two-zone created above and active zoneset
May I miss something?

update 1: Here is my zone config (generate from quick configuration of Device Manager)

sw9148(config)# sh fcns database 

VSAN 1:
--------------------------------------------------------------------------
FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE
--------------------------------------------------------------------------
0x370600    N     50:05:07:68:0b:21:cd:f1 (IBM)           scsi-fcp:both 
0x370800    N     50:05:07:68:0b:21:cd:f0 (IBM)           scsi-fcp:both 
0x370d00    N     21:00:00:0e:1e:2b:44:01 (Qlogic)        scsi-fcp:init 
0x370e00    N     21:00:00:0e:1e:2b:44:00 (Qlogic)        scsi-fcp:init 

Total number of entries = 4
sw9148(config)# sh zoneset 
zoneset name ZONESET_V1 vsan 1
  zone name Z_FC1_3_FC1_2_V1 vsan 1
    interface fc1/3 swwn 20:00:8c:60:4f:4d:33:d0
    interface fc1/2 swwn 20:00:8c:60:4f:4d:33:d0

  zone name Z_FC1_4_FC1_1_V1 vsan 1
    interface fc1/4 swwn 20:00:8c:60:4f:4d:33:d0
    interface fc1/1 swwn 20:00:8c:60:4f:4d:33:d0

update 2: i am using fcping to HBA Initiator and Target:
Target port 1:

sw9148(config)# fcping pwwn 50:05:07:68:0b:21:cd:f0 vsan 1
28 bytes from 50:05:07:68:0b:21:cd:f0 time = 730 usec
28 bytes from 50:05:07:68:0b:21:cd:f0 time = 727 usec
28 bytes from 50:05:07:68:0b:21:cd:f0 time = 731 usec
28 bytes from 50:05:07:68:0b:21:cd:f0 time = 728 usec
28 bytes from 50:05:07:68:0b:21:cd:f0 time = 729 usec

5 frames sent, 5 frames received, 0 timeouts
Round-trip min/avg/max = 727/729/731 usec

Target port 2:

sw9148(config)# fcping pwwn 50:05:07:68:0b:21:cd:f1 vsan 1
28 bytes from 50:05:07:68:0b:21:cd:f1 time = 733 usec
28 bytes from 50:05:07:68:0b:21:cd:f1 time = 732 usec
28 bytes from 50:05:07:68:0b:21:cd:f1 time = 732 usec
28 bytes from 50:05:07:68:0b:21:cd:f1 time = 735 usec
28 bytes from 50:05:07:68:0b:21:cd:f1 time = 1283 usec

 

HBA port 1:

 

sw9148(config)# fcping pwwn 21:00:00:0e:1e:2b:44:00 vsan 1
28 bytes from 21:00:00:0e:1e:2b:44:00 time = 1029 usec
28 bytes from 21:00:00:0e:1e:2b:44:00 time = 778 usec
28 bytes from 21:00:00:0e:1e:2b:44:00 time = 783 usec
28 bytes from 21:00:00:0e:1e:2b:44:00 time = 768 usec
28 bytes from 21:00:00:0e:1e:2b:44:00 time = 777 usec

HBA port 2:

sw9148(config)# fcping pwwn 21:00:00:0e:1e:2b:44:01 vsan 1
28 bytes from 21:00:00:0e:1e:2b:44:01 time = 687 usec
28 bytes from 21:00:00:0e:1e:2b:44:01 time = 692 usec
28 bytes from 21:00:00:0e:1e:2b:44:01 time = 689 usec
28 bytes from 21:00:00:0e:1e:2b:44:01 time = 662 usec
28 bytes from 21:00:00:0e:1e:2b:44:01 time = 689 usec

5 frames sent, 5 frames received, 0 timeouts
Round-trip min/avg/max = 662/683/692 usec

 

1 Accepted Solution

Accepted Solutions

JeremieBelpois
Level 1
Level 1

Solved ! That problem cause the nxos of my MDS 9184S, after upgrade to 8.4.2 firmware, it's working fine !

View solution in original post

8 Replies 8

jaton
Level 1
Level 1

If the ports on the switch is all in shutdown you need to up them.

 

Do a:

HEH-MDS-MS1-FAB1# show interface fc1/1
fc1/1 is down (Link failure or not-connected)

To see the status the above i active but not working the below:

HEH-MDS-MS1-FAB1# show interface fc1/2
fc1/2 is down (Administratively down)

Is not working and is not activated in the configuration.

Try this to activate the port:

conf terminal
interface fc1/2
no shut
end
exit


 

actually, i had enabled them, all port are noshut and on state

sw9148(config-if)# sh int br

-----------------------------------------------------------------------------------------
Interface Vsan Admin Admin Status SFP Oper Oper Port Logical
Mode Trunk Mode Speed Channel Type
Mode (Gbps)
-----------------------------------------------------------------------------------------
fc1/1 1 F off up swl F 16 -- edge
fc1/2 1 F off up swl F 16 -- edge
fc1/3 1 F off up swl F 16 -- edge
fc1/4 1 F off up swl F 16 -- edge

jaton
Level 1
Level 1

Hi

 

Could you send information from the SVC og IBM storage:

lsportfc

From the cisco switch could you send information about the port that is Connected to the storage:

show interface fc?/?

 Just to be sure it sees any information from the connect device.

 

/JT

Sure,

IBM_Storwize:MGC:superuser>lsportfc
id fc_io_port_id port_id type port_speed node_id node_name WWPN             nportid status                attachment cluster_use   adapter_location adapter_port_id 
0  1             1       fc   16Gb       1       node1     500507680B21CDF0 370800  active                switch     local_partner 2                1               
1  2             2       fc   16Gb       1       node1     500507680B22CDF0 DA0100  inactive_configured   host       local_partner 2                2               
2  3             3       fc   N/A        1       node1     500507680B23CDF0 000000  inactive_unconfigured none       local_partner 2                3               
3  4             4       fc   N/A        1       node1     500507680B24CDF0 000000  inactive_unconfigured none       local_partner 2                4               
16 1             1       fc   16Gb       2       node2     500507680B21CDF1 370600  active                switch     local_partner 2                1               
17 2             2       fc   16Gb       2       node2     500507680B22CDF1 DA0100  inactive_configured   host       local_partner 2                2               
18 3             3       fc   N/A        2       node2     500507680B23CDF1 000000  inactive_unconfigured none       local_partner 2                3               
19 4             4       fc   N/A        2       node2     500507680B24CDF1 000000  inactive_unconfigured none 
sw9148(config)# sh int fc1/1-4
fc1/1 is up
    Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
    Port WWN is 20:01:8c:60:4f:4d:33:d0
    Admin port mode is F, trunk mode is off
    snmp link state traps are enabled
    Port mode is F, FCID is 0x370800
    Port vsan is 1
    Admin Speed is auto
    Operating Speed is 16 Gbps
    Rate mode is dedicated
    Port flow-control is R_RDY

    Transmit B2B Credit is 40
    Receive B2B Credit is 64
    B2B State Change: Admin(on), Oper(up), Negotiated Value(14)
    Receive data field Size is 2112
    Beacon is turned off
    Logical type is edge
    5 minutes input rate 0 bits/sec,0 bytes/sec, 0 frames/sec
    5 minutes output rate 0 bits/sec,0 bytes/sec, 0 frames/sec
      5204 frames input,344396 bytes
        0 discards,0 errors
        0 invalid CRC/FCS,0 unknown class 
        0 too long,0 too short
      2879 frames output,204888 bytes
        0 discards,0 errors
      1 input OLS,1  LRR,2 NOS,0 loop inits
      1 output OLS,2 LRR, 1 NOS, 0 loop inits
    64 receive B2B credit remaining
    40 transmit B2B credit remaining
    40 low priority transmit B2B credit remaining
    Interface last changed at Thu Sep 17 01:10:33 2020

    Last clearing of "show interface" counters :  never

fc1/2 is up
    Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
    Port WWN is 20:02:8c:60:4f:4d:33:d0
    Admin port mode is F, trunk mode is off
    snmp link state traps are enabled
    Port mode is F, FCID is 0x370d00
    Port vsan is 1
    Admin Speed is auto
    Operating Speed is 16 Gbps
    Rate mode is dedicated
    Port flow-control is R_RDY

    Transmit B2B Credit is 6
    Receive B2B Credit is 64
    B2B State Change: Admin(on), Oper(down)
    Receive data field Size is 2112
    Beacon is turned off
    Logical type is edge
    5 minutes input rate 0 bits/sec,0 bytes/sec, 0 frames/sec
    5 minutes output rate 0 bits/sec,0 bytes/sec, 0 frames/sec
      845 frames input,51544 bytes
        0 discards,0 errors
        0 invalid CRC/FCS,0 unknown class 
        0 too long,0 too short
      1616 frames output,105372 bytes
        0 discards,0 errors
      4 input OLS,4  LRR,1 NOS,0 loop inits
      4 output OLS,0 LRR, 6 NOS, 0 loop inits
    64 receive B2B credit remaining
    6 transmit B2B credit remaining
    6 low priority transmit B2B credit remaining
    Interface last changed at Thu Sep 17 02:48:58 2020

    Last clearing of "show interface" counters :  never

fc1/3 is up
    Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
    Port WWN is 20:03:8c:60:4f:4d:33:d0
    Admin port mode is F, trunk mode is off
    snmp link state traps are enabled
    Port mode is F, FCID is 0x370600
    Port vsan is 1
    Admin Speed is auto
    Operating Speed is 16 Gbps
    Rate mode is dedicated
    Port flow-control is R_RDY

    Transmit B2B Credit is 40
    Receive B2B Credit is 64
    B2B State Change: Admin(on), Oper(up), Negotiated Value(14)
    Receive data field Size is 2112
    Beacon is turned off
    Logical type is edge
    5 minutes input rate 0 bits/sec,0 bytes/sec, 0 frames/sec
    5 minutes output rate 0 bits/sec,0 bytes/sec, 0 frames/sec
      453 frames input,61860 bytes
        0 discards,0 errors
        0 invalid CRC/FCS,0 unknown class 
        0 too long,0 too short
      453 frames output,56624 bytes
        0 discards,0 errors
      1 input OLS,1  LRR,1 NOS,0 loop inits
      1 output OLS,2 LRR, 0 NOS, 0 loop inits
    64 receive B2B credit remaining
    40 transmit B2B credit remaining
    40 low priority transmit B2B credit remaining
    Interface last changed at Thu Sep 17 01:10:34 2020

    Last clearing of "show interface" counters :  never

fc1/4 is up
    Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
    Port WWN is 20:04:8c:60:4f:4d:33:d0
    Admin port mode is F, trunk mode is off
    snmp link state traps are enabled
    Port mode is F, FCID is 0x370e00
    Port vsan is 1
    Admin Speed is auto
    Operating Speed is 16 Gbps
    Rate mode is dedicated
    Port flow-control is R_RDY

    Transmit B2B Credit is 6
    Receive B2B Credit is 64
    B2B State Change: Admin(on), Oper(down)
    Receive data field Size is 2112
    Beacon is turned off
    Logical type is edge
    5 minutes input rate 0 bits/sec,0 bytes/sec, 0 frames/sec
    5 minutes output rate 0 bits/sec,0 bytes/sec, 0 frames/sec
      1648 frames input,99696 bytes
        0 discards,0 errors
        0 invalid CRC/FCS,0 unknown class 
        0 too long,0 too short
      3198 frames output,205664 bytes
        2 discards,0 errors
      4 input OLS,4  LRR,0 NOS,0 loop inits
      4 output OLS,0 LRR, 7 NOS, 0 loop inits
    64 receive B2B credit remaining
    6 transmit B2B credit remaining
    6 low priority transmit B2B credit remaining
    Interface last changed at Thu Sep 17 02:49:09 2020

    Last clearing of "show interface" counters :  never

Ok so this is the active ports in the switch:

0  1             1       fc   16Gb       1       node1     500507680B21CDF0 370800  active                switch     local_partner 2                1 
16 1             1       fc   16Gb       2       node2     500507680B21CDF1 370600  active                switch     local_partner 2                1               

Look at the number from the SVC:

370800

370600

 

Seen from switch:

fc1/1 is up
...    Port mode is F, FCID is 0x370800
fc1/3 is up
    Port mode is F, FCID is 0x370600

 

So all say the fiber is working seen from at SVC and cisco point of view.

And the zoneset is activated?

 

https://www.cisco.com/c/en/us/support/docs/storage-networking/storage-networking/200230-SAN-How-To-Zoning-Methods.html

 

/JT

Thank for replying, but my zoneset is actived !

sw9148(config)# sh zoneset active vsan 1
zoneset name ZONESET_V1 vsan 1
  zone name Z_FC1_3_FC1_2_V1 vsan 1
  * fcid 0x370600 [interface fc1/3 swwn 20:00:8c:60:4f:4d:33:d0]
  * fcid 0x370d00 [interface fc1/2 swwn 20:00:8c:60:4f:4d:33:d0]

  zone name Z_FC1_4_FC1_1_V1 vsan 1
  * fcid 0x370e00 [interface fc1/4 swwn 20:00:8c:60:4f:4d:33:d0]
  * fcid 0x370800 [interface fc1/1 swwn 20:00:8c:60:4f:4d:33:d0]

But it's still not working

JeremieBelpois
Level 1
Level 1

Solved ! That problem cause the nxos of my MDS 9184S, after upgrade to 8.4.2 firmware, it's working fine !