Thursday, August 16, 2012

CISCO fabrics -MDS-2

Major commands to view the details:

show fcns database
show flogi database
show fdmi database
show fcs database

show fcns database  : Gives VASN number: FCID(8bit): Vendor : PWWN details  of all ports in the fabric.- Name server database :
The name server functionality maintains a database containing the attributes for all hosts and storage devices in each VSAN.The name server stores name entries for all hosts in the FCNS database.

show flogi database : Gives interface ,VSAN,fCID,PORT WWN,node wwn of that particular switch
In a Fibre Channel fabric, each host or disk requires an FC ID. Use the show flogi command to verify if a storage device is displayed in the Fabric login (FLOGI). If the required device is displayed in the FLOGI table, the fabric login is successful.

FDMI::

show fdmi database / show fdmi database detail :
Cisco MDS 9000 Family switches provide support for the Fabric-Device Management Interface (FDMI) functionality.FDMI enables management of devices such as Fibre Channel .Host Bus Adapters (HBAs) through in-band communications.Using the FDMI functionality, the SAN-OS software can extract the following management information about attached HBAs and host operating systems without installing proprietary host agents:
•Manufacturer, model, and serial number
•Node name and node symbolic name
•Hardware, driver, and firmware versions
•Host operating system (OS) name and version number

pacdcmdsa1#  show fdmi database
Registered HBA List for VSAN 1
  10:00:00:00:c9:5d:ee:ce
  10:00:00:00:c9:61:1f:05
  21:00:00:1b:32:13:64:ef
  21:00:00:1b:32:82:0e:f4
  21:00:00:1b:32:82:5b:f2
  21:00:00:1b:32:82:66:db
  21:00:00:1b:32:82:8d:f2
  21:00:00:1b:32:82:8f:f5
 pacdcmdsa1#  show fdmi database detail
Registered HBA List for VSAN 1
-------------------------------
HBA-ID: 10:00:00:00:c9:5d:ee:ce
-------------------------------
Node Name                      :20:00:00:00:c9:5d:ee:ce
Manufacturer                     :Emulex Corporation
Serial Num                        :BG65140697
Hardware Ver                    :2057706d
Driver Ver                         :6.10g
ROM Ver                          :1.50a8
Firmware Ver                     :2.50A6 (Z2D2.50A6)
OS Name/Ver                    :SunOS 5.10 Generic_127127-11
CT Payload Len                 :525980
Port-id: 10:00:00:00:c9       :5d:ee:ce
Supported FC4 types         :scsi-fcp fc-gs
Supported Speed                :1G
Current Speed                     :2G
Maximum Frame Size          :2048
OS Device Name                :lpfc

RSCN ::

The Registered State Change Notification (RSCN) is a Fibre Channel service that informs hosts about changes in the fabric. Hosts can receive this information by registering with the fabric controller (through SCR). These notifications provide a timely indication of one or more of the following events:

•Disks joining or leaving the fabric.
•A name server registration change.
•A new zone enforcement.
•IP address change.
•Any other similar event that affects the operation of the host.

switch# show rscn scr-table vsan 1
SCR table for VSAN: 1
---------------------------------------------
FC-ID         REGISTERED FOR
--------------------------------------------
0x1b0300      fabric detected rscns
Total number of entries = 1

FCS::
The Fabric Configuration Server (FCS) provides discovery of topology attributes and maintains a repository of configuration information of fabric elements. A management application is usually connected to the FCS on the switch through an N port. The FCS views the entire fabric

pacdcmdsa1# show fcs database
FCS Local Database in VSAN: 1
------------------------------
Switch WWN               : 20:01:00:0d:ec:2a:65:41
Switch Domain Id         : 0x33(51)
Switch Mgmt-Addresses    : snmp://24.40.61.82/eth-ip
                                            http://24.40.61.82/eth-ip
                                            snmp://24.40.61.82/eth-ip
                                            http://24.40.61.82/eth-ip
Fabric-Name              : 20:01:00:0d:ec:2a:65:41
Switch Logical-Name      : pacdcmdsa1
Switch Information List  : [Cisco Systems, Inc.*DS-C9509*3.1(2)*20:00:00:0d:ec:2a:65:40]
Switch Ports:
-------------------------------------------------------------------
Interface  fWWN                     Type     Attached-pWWNs
-------------------------------------------------------------------
fc1/1      20:01:00:0d:ec:2a:65:40  TE       20:01:00:0d:ec:2d:33:c0
fc1/2      20:02:00:0d:ec:2a:65:40  F        50:06:04:82:d5:2d:b8:86
fc1/3      20:03:00:0d:ec:2a:65:40  Unknown  None
fc1/4      20:04:00:0d:ec:2a:65:40  Unknown  None
fc1/5      20:05:00:0d:ec:2a:65:40  TE       20:05:00:0d:ec:2d:33:c0
fc1/6      20:06:00:0d:ec:2a:65:40  F        50:06:04:82:d5:2d:b8:97
fc1/7      20:07:00:0d:ec:2a:65:40  Unknown  None
fc1/8      20:08:00:0d:ec:2a:65:40  Unknown  None
fc1/9      20:09:00:0d:ec:2a:65:40  F        50:06:04:8a:d5:2d:b8:86
fc1/10     20:0a:00:0d:ec:2a:65:40  F        50:06:01:60:3b:20:10:06
fc1/11     20:0b:00:0d:ec:2a:65:40  Unknown  None
fc1/12     20:0c:00:0d:ec:2a:65:40  Unknown  None
fc1/13     20:0d:00:0d:ec:2a:65:40  F        50:06:04:8a:d5:2d:b8:97
fc1/14     20:0e:00:0d:ec:2a:65:40  TE       21:41:00:0d:ec:a2:40:00
fc1/15     20:0f:00:0d:ec:2a:65:40  TE       21:4d:00:0d:ec:a2:40:00
fc1/16     20:10:00:0d:ec:2a:65:40  F        50:03:08:c0:01:c4:60:68
fc2/1      20:41:00:0d:ec:2a:65:40  F        21:00:00:1b:32:0b:8e:19
fc2/2      20:42:00:0d:ec:2a:65:40  F        21:00:00:1b:32:14:10:f5
fc2/3      20:43:00:0d:ec:2a:65:40  F        50:01:43:80:00:c2:82:80
fc2/4      20:44:00:0d:ec:2a:65:40  F        50:01:43:80:00:c2:83:66
fc2/5      20:45:00:0d:ec:2a:65:40  F        50:01:43:80:00:c2:82:14
fc2/6      20:46:00:0d:ec:2a:65:40  F        50:01:43:80:00:c2:82:4e

No comments:

Post a Comment