Support Show Command Ref SSCRG

362
Publication Number: 53-0000448-01 Publication Date: January 10, 2004 The Official SupportShow Command Reference Guide Version 1.0

Transcript of Support Show Command Ref SSCRG

Page 1: Support Show Command Ref SSCRG

Publication Number: 53-0000448-01Publication Date: January 10, 2004

The Official SupportShowCommand Reference

GuideVersion 1.0

Page 2: Support Show Command Ref SSCRG

Copyright © 2004, Brocade Communications Systems, Incorporated.

ALL RIGHTS RESERVED. Publication Number: 53-0000448-01

Brocade, the Brocade B weave logo, Secure Fabric OS, and SilkWorm are registered trademarks of Brocade Communications Systems, Inc., in the United States and/or in other countries. FICON is a registered trademark of IBM Corporation in the U.S. and other countries. All other brands, products, or service names are or may be trademarks or service marks of, and are used to identify, products or services of their respective owners. Notice: This document is for informational purposes only and does not set forth any warranty, expressed or implied, concerning any equipment, equipment feature, or service offered or to be offered by Brocade. Brocade reserves the right to make changes to this document at any time, without notice, and assumes no responsibility for its use. This informational document describes features that may not be currently available. Contact a Brocade sales office for information on feature and product availability.

The authors and Brocade Communications Systems, Inc. shall have no liability or responsibility to any person or entity with respect to any loss, cost, liability, or damages arising from the information contained in this book or the computer programs that accompany it.

Notice: The product described by this document may contain “open source” software covered by the GNU General Public License or other open source license agreements. To find-out which open source software is included in Brocade products, view the licensing terms applicable to the open source software, and obtain a copy of the programming source code, please visit http://www.brocade.com/support/oscd.

Export of technical data contained in this document may require an export license from the United States Government.

Page 3: Support Show Command Ref SSCRG

Brocade Communications Systems, Incorporated Corporate Headquarters1745 Technology DriveSan Jose, CA 95110T: (408) 487-8000F: (408) 487-8101Email: [email protected]

Asia-Pacific Headquarters9/F, One International Finance Center, 1 Harbour View Street,Central, Hong Kong Tel: +852 2539 0600Fax: +852 2539 0613Email: [email protected]

European Headquarters29, route de l’AeroportCase Postale 105CH-1211 Geneva 15,SwitzerlandT: +41 22 799 56 40F: +41 22 799 56 41Email: [email protected]

Latin America Headquarters5201 Blue Lagoon DriveMiami, FL 33126T: (305) 716-4165Email: [email protected]

Page 4: Support Show Command Ref SSCRG

Document HistoryThe table below lists all versions of the Supportshow Reference Guide.

Document version Publication Number Publication Date

Preliminary Publication 53-0000448-01 2/6/2004

Page 5: Support Show Command Ref SSCRG

Table of Contents

PrefaceAudience 1

Guideline Conventions 1

Formatting 1

Notes and Guidelines 2

Chapter 1 SupportShow Operands1.1. Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1

1.1.1. Operands v3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1

1.1.2. Operands v4.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2

1.2. Fabric OS v3.0.x and 4.0.x SupportShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2

1.3. Fabric OS v3.1.0 and 4.1.0 SupportShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4

1.4. Fabric OS v3.1.2 and 4.2.x SupportShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9

Chapter 2 Fabric OS SupportShow Informationagtcfgshow 2arpshow 4bloomdatashow 5bloomfdetShow 7bloomlistdisplay 8bloomsemsshow 9bloomramdump 10cfgShow 11cfgsize 13ChassisShow 15configShow 20Date 38dbgshow 39diagShow 42ErrDump 45Fablogdump 49Fabportshow 50fabricShow 54fabstateShow 56

Brocade Fabric Watch Guidelines i

Page 6: Support Show Command Ref SSCRG

fabstatsshow 60fabswitchShow 64FanShow 67faShow 68fastcheckheap 69faultshow 70fcplogshow 74fdmicacheshow 76fdmishow 77feiDumpPrint 78feiIterateRFDRings 79Ficondbg log 80Ficonshow ilir 82Ficonshow lirr 83Ficonshow rlir 84Ficonshow rnid 86Ficonshow switchrnid 88Filterportshow 89Filtershow 91firmwareShow 96FspfShow 98Fssadmin -s chassis0 -q 101Fssadmin -s fcsw0 -q 102Fssadmin -s fcsw1 -q 105fwalarmsfiltershow 107fwsamshow 108hadump 110haShow 125HistoryShow 126hostShow 128i 129i557Dump 131ifshow 134inetStatShow 135ipaddrshow 136ipstatshow 138islshow 139licenseShow 140mallocshow 141mbufShow 142medbg -s1 -e1 143memshow 144mii-tool –vv – Link information 145mqshow 147myid 149

ii Brocade Fabric Watch Guidelines

Page 7: Support Show Command Ref SSCRG

nsAllShow 150nscamshow 151nsShow 154Persistent portlogdump 157portcamshow 158portcfgshow 163portErrShow 166Portflagsshow 169portLogDump 171portloginshow 172PortRegshow 174portRouteShow 177portSemShow 179portShow 181portstatsshow 185portstructshow 186PortswapShow 188PortzoneShow 189Printing Proc entries 190ps_dump 201ps_dump -a -n port# 202psShow 203Ptbufshow 204Ptcreditshow 205ptdatashow 206ptphantomshow 209ptpropshow 211ptstatsshow 212qlShow 214rcsinfoshow 216rcsregistryshow 217rcssmshow 218routeShow 223routestatShow 224secFabricShow 225secmodeshow 226secpolicydump 227secStatsShow 228semaShow 230sensorshow 231sfpshow 232SlotShow 236supportshowcfgshow 238switchShow 239switchstatuspolicyshow 245

Brocade Fabric Watch Guidelines iii

Page 8: Support Show Command Ref SSCRG

switchstatusshow 247sysc_dprintf 248tcpstatshow 249tempShow 250timeout 251topologyShow 252traceshow 255TrunkShow 257udpstatshow 259uptime 260Version 262zone stateshow & portzoneshow 264/bin/cat/etc/fstab (Phy File – Mount Points) 268/bin/cat/etc/mtab (Current Mount Points) 269/bin/cat/var/log/dsmg (Serial Boot or MSG File) 270/bin/df – File Systems Available 271/bin/hostname 274/bin/ps -elfH (Process List) 275/bin/rpm –qa 277/sbin/bootenv 280/sbin/ifconfig 281/sbin/route 283/sbin/sin 284/usr/bin/du –xh / | /bin/sort 285

Chapter 3 Non-SupportShow CommandsAgtcfgSet 2configure 3Ficonshow 7FirmwareCommit 14Firmwaredownload 15Firmwaredownloadstatus 16Firmwarerestore 22fwconfigure 23fwfrucfg 28ifModeShow/Set 31ifshow 32ipAddrSet 33killTelnet 34netstat 35portLogShow 36powerofflistset 40savecore 41snmpmibcapset 44

iv Brocade Fabric Watch Guidelines

Page 9: Support Show Command Ref SSCRG

tcpstatshow 45

Brocade Fabric Watch Guidelines v

Page 10: Support Show Command Ref SSCRG

vi Brocade Fabric Watch Guidelines

Page 11: Support Show Command Ref SSCRG

Preface

The Brocade SupportShow Reference Guide is focused on covering detailed “supportshow” information for information gathering and troubleshooting. The Brocade SupportShow Reference Guide is intended to be used in conjunction with existing Brocade manuals, release notes, and related Brocade publications. The Brocade SupportShow Reference Guide is effective at focusing experienced Brocade SAN professionals on a the commands to use to gather pertenant information.

AudienceThe Brocade SupportShow Reference Guide is targeted for use by storage administrators, SAN administrators, system administrators, systems engineers, and SAN operators that are involved with the information gathering and troubleshooting of SANs. The Brocade SupportShow Reference Guide is an advanced document. The reader is expected to have working experience with Brocade products. General computer system level troubleshooting skills are always important when troubleshooting sophisticated enterprise solutions. System administration or storage administration experience is also helpful in comprehending this document.

Guideline ConventionsThe formatting and conventions used in this document are designed to help the reader locate and comprehend information quickly. In addition to the information provided in standard text, there are Guidelines, Notes, and Cautions to help focus the reader on important information.

FormattingThe following table describes the formatting conventions that are used in this book:

Convention Purpose

bold text • identifies GUI elements• identifies keywords/operands• identifies menu selections at the GUI or CLI

italic text • provides emphasis• identifies variables• identifies paths and internet addresses• identifies book titles and cross references

code text • identifies commands in line with text• identifies CLI output

SAN Migration Guide 1

Page 12: Support Show Command Ref SSCRG

Notes and Guidelines

Note: Notes emphasize important information.

Guideline: Guidelines are recommendations for consideration. The adoption of these guidelines is a function of the user’s ability to interpret and correlate relevant SAN information and make decisions based upon their organization and SAN requirements.

Warning: Warnings alert you to potential damage to hardware, firmware, software, or data.

The red circle with a slash through it (shown in Figure 0-1) indicates that a particular action or type of connection is not recommended. While the action or connection may function, there are better ways to perform the action or make the connection.

Figure 0-1

2 SAN Migration Guide

Page 13: Support Show Command Ref SSCRG

The Official SupportShow Command Reference Guide

Chapter

1

SupportShow Operands

Print detailed switch information for debugging purposes.

Note: The output of this command can be very long.

1.1. Operands

1.1.1. Operands v3.0 SupportShow has the following operands in Fabric OS version 3.x:

firstPort Specify the first port of a range of ports to dump information. The default (if no operand specified) is to print state of port 0. If only firstPort is specified, only information for firstPort is printed. This operand is optional for v3.0.

lastPort Specify the last port of range of ports to dump information. If firstPort is specified but lastPort is not specified, only firstPort information is printed for the port based commands (portShow, portRegShow, portRouteShow). If no operand is supplied, firstPort is set to 0 and lastPort is set to maximum port of switch. This operand is optional for v3.0.

nLog Specify the number of lines of portLogDump to print: (This operand is optional.)

• 0 = dump all lines (default)• N = dump the last N lines• <0 = skip portLogDump

Table 1-1

SYNTAX v3.0 supportShow [firstPort, lastPort, nLog]

SYNTAX v4.0 supportShow slotnumber [/port1-port2] [lines]

Availability All users

Release v3.0 and v4.0

Description Use this command to capture the switch information for debugging purposes.

1-1

Page 14: Support Show Command Ref SSCRG

SupportShow Operands1

1.1.2. Operands v4.0 SupportShow has the following operands in Fabric OS version 4.x:

slotnumber Specify the slot number in a Silkworm 12000 switch. The slot number must be followed by a slash ( / ) and the port number. The Silkworm 12000 has a total of 10 slots counted from 1 to 10. Slot number 5 and 6 are control processor cards, and slot 1 through 4 and 7 through 10 are switch cards. On each switch card, there are 16 ports counted from the bottom 0 to 15. A particular port must be represented by both slot number (1 through 4 or 7 through 10), and port number (0 through 15).

port1 Specify the first port of a range of ports to display information. Enter the port area number. The default (if no operand specified) is to print state of port 0. If only port1 is specified, only information for port1 is printed. This operand is required for v4.0.

port2 Specify the last port of range of ports to display information. Enter the port area number. If port1 is specified but port2 is not specified, only port1 information is printed for the port based commands (portShow, portRegShow, portRouteShow). If no operand is supplied, port1 is set to 0 and port2 is set to maximum port of switch. This operand is required for v4.0.

lines Specify the number of lines output from this command. This operand is optional.

Note: A consistent supportShow was captured for each FOS version; these examples (indicated by #x, where x is the order they appear in that versions supportShow output as listed on previous page) were also added to the Brocade FOS Command and/or help <command name> information shared here.

1.2. Fabric OS v3.0.x and 4.0.x SupportShowThis Supportshow is executed in the order as listed by Fabric OS version in Table 1-2 and Table 1-4.Table 1-2 Fabric OS 3.0 and 4.0 Supportshow Command Execution Order

Fabric OS Version 3.0.2c Fabric OS Version 4.0.2c

1. version* 1. fabStateShow

2. uptime* 2. fabSwitchShow

3. tempShow* 3. version

4. psShow 4. uptime

5. licenseShow 5. tempShow

6. diagShow 6. psShow

7. errDump* 7. licenseShow

8. switchShow* 8. errDump –a / -p

9. portFlagsShow 9. switchShow

10. portErrShow 10. fspfShow**

11. mqShow 11. portFlagsShow

12. portSemShow 12. portErrShow

1-2 The Official SupportShow Command Reference Guide

Page 15: Support Show Command Ref SSCRG

SupportShow Operands 1

13. portShow 13. portErrShow

14. portRegShow 14. trunkShow

15. portRouteShow 15. topologyShow

16. portStructShow 16. nsShow

17. bloomDataShow 17. nsAllShow

18. fabricShow 18. cfgShow

19. trunkShow 19. slotShow

20. topologyShow 20. chassisShow

21. qlShow 21. fanShow

22. faShow 22. historyShow

23. portCfgShow 23. /sbin/bootenv (Boot prom parms)

24. nsShow 24. /sbin/sin (CP components)

25. nsAllShow 25. /bin/df (file Sys avail.)

26. nscamShow 26. /sbin/ifconfig (all IP addr.-Eth0 ip of Active CP)

27. cfgShow 27. sbin/route

28. configShow 28. mii-tool –vv (Ethernet type info.)

29. faultShow 29. /usr/bin/du –xh / | /bin/sort (Calc dir sizes)

30. TraceShow 30. /bin/ps –elfH (Process List)

31. memShow 31. /bin/rpm –qa (Redhat Pkg mgr.exe query all)

32. mallocShow 32. /bin/cat/var/log/dmsg (serial boot or msg. File)

33 FastCheckHeap 33. /bin/cat/etc/fstab (phy file - mount points)

34. PortlogDump 34. /bin/cat/etc/mtab (current mount points-file)

35. printing proc entries (all devices and info)

36. configShow

37. portLogDump

38. diagShow

39. portShow (slot#,port#)

40. portRegShow (slot#,port#)

41. portrouteShow (slot#,port#)

Table 1-2 Fabric OS 3.0 and 4.0 Supportshow Command Execution Order

Fabric OS Version 3.0.2c Fabric OS Version 4.0.2c

The Official SupportShow Command Reference Guide 1-3

Page 16: Support Show Command Ref SSCRG

SupportShow Operands1

1.3. Fabric OS v3.1.0 and 4.1.0 SupportShowThe V3.1.0/ 4.1.0 supportshow command has been upgraded to display support information by executing groups of pre-selected Fabric OS and LINUX commands. The grouped information displayed by the supportshow command can be controlled by a set of control commands:

supportshowcfgshow Display which groups of commands are enabled to display under supportshow.

supportshowcfgenable Enable a group of commands to display under supportshow.

supportshowcfgdisable Disable a group of commands from displaying under supportshow.

Fabric OS V3.1.0/ 4.1.0 supportshow commands are grouped into logical categories. These logical categories are called groups and are displayed by invoking supportshowcfgshow:

Switch:admin> supportshowcfgshow os enabled exception enabled port enabled fabric enabled services enabled security enabled network enabled portlog enabled system enabled extend disabled filter disabled perfmon disabled

The extend, filter, and performance command groups are disabled by default in both V3.1.0 and V4.1.0 supportshow outputs.

Fabric OS V3.1.0 and V4.1.0 supportshow commands use the same operands and syntax as V3.0.2c and V4.0.2c discussed previously. The following examples show the command syntax and display outputs described.

Example: SilkWorm 12000 To display all supportshow information, but only specific slot and port information and 10 lines of portLogDump output on slot 2, ports 0 – 2 of a SilkWorm 12000 invoke supportshow [slotnumber[/port1-port2]] [lines]

Switch12k:admin> supportshow 2/0-2 10

Example: Non - SilkWorm 12000To display all supportshow information, but only specific port information and 10 lines of portLogDump output on ports 0 – 2 of any V3.1.SilkWorm switch invoke supportshow [port1-port2], [lines]:

SwitchNon12k:admin> supportshow 0-2, 10

1-4 The Official SupportShow Command Reference Guide

Page 17: Support Show Command Ref SSCRG

SupportShow Operands 1

Table 1-3

Fabric OS v 3.1v3.1.0Switch:admin> supportshow

Fabric OS v 4.1V4.1.0Switch:admin> supportshow

DateVersionSupportShowCfgShow

supportshow groups enabled

portlog Command GroupportLogDump 0, 0portLogDump 0, 1

portlog Command Group portLogDump Persistent portlogdump

OS Command Group

mqShow 0i memShowmallocShowfastCheckHeap

OS Command Group mii-tool -vv /usr/bin/du -xh / | /bin/sort /bin/cat /var/log/dmesg /bin/cat /etc/fstab` /bin/cat /etc/mtab printing proc entries /proc/cmdline /proc/cpuinfo /proc/devices proc/filesystems /proc/interrupts /proc/meminfo/proc/modules /proc/mounts /proc/mtd /proc/partitions /proc/pci /proc/slabinfo /proc/stat /proc/tty/drivers /proc/uptime /proc/version

Exception Command GroupfaultShowtraceShowerrDump 0

Exception Command Grouperrdump -a errdump -p

Port Command Group (for each port)portShow 0portRegShow 0portStructShow 0bloomDataShow 0portRouteShow 0portStatsShow 0

Note: These next outputs are listed once each, with port info for all ports when it fits:

portSemShowbloomSemShowsemaShow 1

Port Command Group (Repeats for all slots or blades) diagshow (of slot) portshow 2 0

portloginshow 2 0 portregshow 2 0 portrouteshow 2 0

The Official SupportShow Command Reference Guide 1-5

Page 18: Support Show Command Ref SSCRG

SupportShow Operands1

Fabric Command GroupfabricShowislShowtrunkShowtopologyShowfaShowqlShowcfgShowfabStatsShowfabLogDump

Fabric Command Groupfabricshow islshow trunkshow topologyshow fabstateshow fabswitchshow fabstatsshow fabportshow (for each slot/port) fspfshow fcplogshow zone stateshow portzoneshow portcamshow cfgsize cfgshow rcssmshow rcsinfoshow rcsregistryshow

Services Command GroupnsShownsAllShownscamShow * see note 5 (output change info)

Services Command Group nsshow nsallshow nscamshow fdmishow fdmicacheshow

Security Command GroupsecModeShow

Note: Subsequent outputs only displayed if secmode is enabled:

Secpolicydump SecstateshowSecfabricshow

Security Command Group secModeShow secPolicyDump secStatsShow secFabricShow

Network Command GroupipAddrShowifShow ipstatShowudpstatShowtcpstatShowinetstatshow mbufShowarpShow routeShow routestatShowhostShowfeiDumpPrint i557DumpfeiIterateRFDRings

Network Command Group /sbin/bootenv /sbin/sin/bin/df /sbin/ifconfig /sbin/route /bin/hostname

Table 1-3

Fabric OS v 3.1v3.1.0Switch:admin> supportshow

Fabric OS v 4.1V4.1.0Switch:admin> supportshow

1-6 The Official SupportShow Command Reference Guide

Page 19: Support Show Command Ref SSCRG

SupportShow Operands 1

System Command GroupversionuptimeswitchShowtempShowpsShowlicenseShowdiagShow 0portFlagsShowportErrShowportCfgShowconfigShow

System Command Group myid version firmwareshow uptime switchstatusshow switchshow hadump hashow ipaddrshow 4 sysc_dprintf medbg -s1 -e1 fssadmin -s chassis0 -q fssadmin -s fcsw0 -q fssadmin -s fcsw1 -q /bin/cat /proc/fss/SWBD10.log tempshow sensorshow psshow fanshow licenseshow portflagsshow portcfgshow sfpshow porterrshow fwsamshow agtcfgshow slotshow chassisshow switchstatuspolicyshow fwalarmsfiltershow timeout historyshow configshow

Table 1-3

Fabric OS v 3.1v3.1.0Switch:admin> supportshow

Fabric OS v 4.1V4.1.0Switch:admin> supportshow

The Official SupportShow Command Reference Guide 1-7

Page 20: Support Show Command Ref SSCRG

SupportShow Operands1

FC port Command Group (Repeats for all slots or blades)

diagshow (of slot) portshow 2 0

portloginshow 2 0 portregshow 2 0 portrouteshow 2 0

Extend Command Groupbloomlistdisplaybloomfdetshow bloomramdump

Extended Command Group Ptbufshow Ptcreditshow Ptdatashow Ptphantomshow Ptpropshow Ptstatsshow

Filter Command Groupfiltershow

Filter Command Groupfilterportshow(per-port)

Performance Command Groupps_dump

Performance Command Group ps_dump -a -n port#

Table 1-3

Fabric OS v 3.1v3.1.0Switch:admin> supportshow

Fabric OS v 4.1V4.1.0Switch:admin> supportshow

1-8 The Official SupportShow Command Reference Guide

Page 21: Support Show Command Ref SSCRG

SupportShow Operands 1

1.4. Fabric OS v3.1.2 and 4.2.x SupportShowFabric OS v3.1.2 and v4.2 supportshow include command groups that allow you to display supportshow output on an as needed basis, the same as Fabric OS v 3.1.0 and 4.1.0. However, additional commands have been added to the Fabric OS 4.2 Supportshow output. For information about controlling supportshow output, refer to Fabric OS v3.1.0 and 4.1.0 SupportShow on page 1-4.

Table 1-4 Fabric OS 3.1.2 and 4.2 Supportshow Command Execution Order

Fabric OS 3.1.2 Fabric OS 4.2

1. Date 1. Date2. Version 2. Version3. SupportShowCfgShow 3. supportshow groups enabled4. portLogDump 0, 0 4. portLogDump5. portLogDump 0, 1 5. Persistent portLogDump6. mqShow 0 6. mii-tool -vv7. i 7. /usr/bin/du -xh / | /bin/sort8. memShow 8. /bin/ps -elfH9. mallocShow 9. /bin/rpm -qa10. fastCheckHeap 10. /bin/cat /var/log/dmesg11. faultShow 11. /bin/cat /etc/fstab12. traceShow 12. /bin/cat /etc/mtab13. errDump 0 13. printing proc entries14. portShow 0 14. /proc/cmdline15. portRegShow 0 15. /proc/cpuinfo16. portStructShow 0 16. /proc/devices17. bloomDataShow 0 17. /proc/filesystems18. portRouteShow 0 18. /proc/interrupts19. portStatsShow 0 19. /proc/meminfoNote: These next outputs are listed once each, with port info for all ports when it fits:

20. /proc/modules

a. portSemShow 21. /proc/mountsb. bloomSemShow 22. /proc/mtdc. semaShow 1 23. /proc/partitions

20. fabricShow 24. /proc/pci21. islShow 25. /proc/slabinfo22. trunkShow 26. /proc/stat23. topologyShow 27. /proc/tty/drivers24. faShow 28. /proc/uptime25. qlShow 29. /proc/version

The Official SupportShow Command Reference Guide 1-9

Page 22: Support Show Command Ref SSCRG

SupportShow Operands1

26. cfgShow 30. errdump -a27. fabStatsShow 31. errdump -p28. fabLogDump 32. fabricshow29. nsShow 33. islshow30. nsAllShow 34. trunkshow31. nscamShow 35. topologyshow32. secModeShow 36. fabstateshowNote: subsequent outputs only displayed if secmode is enabled:

37. fabswitchshow

a. Secpolicydump 38. fabstatsshowb. Secstateshow 39. fabportshowc. Secfabricshow 40. fspfshow

33. ipAddrShow 41. fcplogshow34. ifShow 42. zone stateshow35. ipstatShow 43. portzoneshow36. udpstatShow 44. portcamshow37. tcpstatShow 45. cfgsize38. inetstatshow 46. cfgshow39. mbufShow 47. rcssmshow40. arpShow 48. rcsinfoshow41. routeShow 49. rcsregistryshow42. routestatShow 50. nsShow43. hostShow 51. nsallshow44. feiDumpPrint 52. nscamShow45. i557Dump 53. fdmishow46. feiIterateRFDRings 54. fdmicacheshow47. version 55. ficonshow rnid 48. uptime 56. ficonshow lirr49. switchShow 57. ficonshow rlir50. tempShow 58. ficonshow ilir51. psShow 59. ficonshow switchrnid52. licenseShow 60. ficondbg log53. diagShow 0 61. secModeShow54. portFlagsShow 62. secPolicyDump55. portErrShow 63. secStatsShow56. portCfgShow 64. secFabricShow57. configShow 65. /sbin/bootenv

Table 1-4 Fabric OS 3.1.2 and 4.2 Supportshow Command Execution Order

Fabric OS 3.1.2 Fabric OS 4.2

1-10 The Official SupportShow Command Reference Guide

Page 23: Support Show Command Ref SSCRG

SupportShow Operands 1

58. bloomlistdisplay 66. /sbin/sin59. bloomfdetshow 67. /bin/df60. bloomramdump 68. /sbin/ifconfig61. filtershow 69. /sbin/route62. ps_dump 70. /bin/hostname

71. myid72. firmwareshow73. dbgshow74. uptime75. switchstatusshow76. switchshow77. hadumpa. haShowb. ipaddrshow c. sysc_dprintfd. medbg -s1 -e1i. fssadmin -s chassis0 -qii. fssadmin -s fcsw0 -qiii. fssadmin -s fcsw1 -q78. tempshow79. sensorshow80. psshow81. fanshow82. licenseshow83. portflagsshow84. portcfgshow85. sfpshow86. portErrShow87. fwsamshow88. agtcfgShow89. slotShow90. chassisShow91. switchstatuspolicyshow92. fwalarmsfiltershow93. timeout94. historyshow95. portswapshow

Table 1-4 Fabric OS 3.1.2 and 4.2 Supportshow Command Execution Order

Fabric OS 3.1.2 Fabric OS 4.2

The Official SupportShow Command Reference Guide 1-11

Page 24: Support Show Command Ref SSCRG

SupportShow Operands1

96. configshow97. diagshow98. portshow 1 0 (per port)99. portloginshow 1 0 (per port)100. portrouteshow 1 0 (per port)101. Ptbufshow102. Ptcreditshow103. Ptdatashow104. Ptphantomshow105. Ptpropshow106. Ptstatsshow107. filterportshow(per-port)108. ps_dump -a -n port#

Table 1-4 Fabric OS 3.1.2 and 4.2 Supportshow Command Execution Order

Fabric OS 3.1.2 Fabric OS 4.2

1-12 The Official SupportShow Command Reference Guide

Page 25: Support Show Command Ref SSCRG

The Official SupportShow Command Reference Guide

Chapter

2

Fabric OS SupportShow Information

This chapter defines the output of SupportShow output for Fabric OS v3.1.2 and v4.2, but also contain information that pertains to v3.0, 3.1, 4.0 and 4.1. Each command used by supportshow is listed in alphabetical order. The commands contain the following information:

Available in Fabric OS versions: Version Differences: Troubleshooting Use: Additional Example/Case Studies/Information:

Operands used by each command are not listed in this chapter. For information about operands used by a command please refer to Chapter 1, SupportShow Operands.

For a list of non-supportshow commands that relate to troubleshooting commands used in supportshow, refer to Chapter 3, Non-SupportShow Commands.

Note: Command Syntax and operands are not provided for the commands listed in this document. For information about syntax and operands for a command, refer to the Brocade Fabric OS Command Reference for the specific version of Fabric OS on your switch.

2-1

Page 26: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

agtcfgshowAvailable in Fabric OS versions: 4.1, 4.2Version Differences: This command is a non-supportshow command in all other Fabric OS versions.Troubleshooting Use: Use this command to display the configuration of the SNMP agent in the switch. Check

snmpmibcapset output to ensure MIB or TRAP you are attempting to use is enabled. Additional Example/Case Studies/Information: SNMP problems can also be caused by MIB dependencies - there is

an order that MIBs/TRAPs need to be loaded to accurately get and set object identifiers (OID’s). MIB Browser TOV values are typically set to 2-3 seconds, most MIBs have no problem with this but SW 5.0 MIBs go into flash thus using access times of up to 4 seconds. If SW 5.0 MIBs are used SNMP browsers need TOVs of at least 5 seconds. TOV’s may need to be increased in fabrics with WANs or if additional delays exist in the fabric.

On the SilkWorm 12000, there is one SNMP agent per logical switch. This command is specific to the logical switch you are logged into. The following information is displayed: sysDescr The system description. The default value is Fibre Channel Switch.sysLocation The location of the system. The default value is End User Premise.sysContact The contact information for the system. The default value is Field Support.swEventTrapLevel The event trap level in conjunction with the event's severity level. When an event occurs and if its

severity level is at or below the set value, the SNMP trap, swEventTrap, is sent to configured trap recipients. By default, this value is set at 0, implying that no swEventTrap is sent. Possible values are:

• 0 - none

• 1 - critical

• 2 - error

• 3 - warning

• 4 - informational

• 5 - debug

authTraps The default value is 0 (off). When enabled the authentication trap, authenticationFailure, is transmitted to a configured trap recipient in the event the agent received a protocol message that is not properly authenticated. In the context of SNMPv1 and SNMPv2c, this means that a request contains a community string that is not known to the agent. The default value for this parameter is 0 (disabled). There are six communities and respective trap recipients supported by the agent. The first three communities are for read-write access (rw) and the last three are for read-only access (ro). The default value for the trap recipient of each community is “0.0.0.0”. The default values for the community strings are:

• Community 1: Secret Code• Community 2: OrigEquipMfr• Community 3: private• Community 4: public• Community 5: common• Community 6: FibreChannel

In order for an SNMP Management Station to receive a trap generated by the agent, the administrator must configure a trap recipient to correspond to the IP address of the Management Station. In addition, the trap recipient must be able to pass the access control list (ACL) check. The ACL check is as follows: There are six ACLs to restrict SNMP get/set/trap operations to hosts under a host-subnet-area. Host-subnet-area is defined by comparing non-zero IP octets. For example, an ACL of '192.168.64.0' enables access by any hosts that start with the specified octets. The connecting host is enabled to set each host-subnet-area to be read-write or read-only. Highest privilege matched out of six entries is given to the access. The ACL check is turned off when all six entries contain '0.0.0.0'.

2-2 The Official SupportShow Command Reference Guide

Page 27: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Note: When secure mode is enabled, the Access Control List feature is incorporated into the WSNMP and RSNMP security policies. Community strings can be changed on the primary FCS switch only and will propagate changes across the fabric.

v4.2 Example Output

Example 2-1: Display SNMP agent configuration information:agtcfgshow: sysDescr = Fibre Channel Switch. sysLocation = End User Premise sysContact = Field Support. swEventTrapLevel = 0 authTraps = 0 (OFF)

SNMPv1 community and trap recipient configuration: Community 1: Secret C0de (rw) No trap recipient configured yet Community 2: OrigEquipMfr (rw) No trap recipient configured yet Community 3: private (rw) No trap recipient configured yet Community 4: public (ro) No trap recipient configured yet Community 5: common (ro) No trap recipient configured yet Community 6: FibreChannel (ro) No trap recipient configured yet

SNMP access list configuration:Entry 0: No access host configured yetEntry 1: No access host configured yetEntry 2: No access host configured yetEntry 3: No access host configured yetEntry 4: No access host configured yetEntry 5: No access host configured yet

The Official SupportShow Command Reference Guide 2-3

Page 28: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

arpshowAvailable in Fabric OS versions: v3.1.0, 3.1.2v4.2 Example Output: NATroubleshooting Use: Use this command to view the current Address Resolution Protocol table entries.

Example 2-1: SW3800_12:user> arpshow 10.64.64.1 at 0:0:c:7:ac:47

ARP (Address Resolution Protocol) builds a table that associates an IP address with the MAC address that presents it. You can check your workstation’s arp table with the command arp –a. This works on almost any operating system. An example is provided below.

Example: C:\>arp -aInterface: 192.168.5.100 on Interface 0x1000003 Internet Address Physical Address Type 192.168.5.25 00-60-69-60-03-ba dynamic

Dynamic ARP entries will timeout after about 5 minutes. This timeout value can be adjusted in most operating systems. Entries can be removed from the ARP table with the ‘arp –d’ command.

If the management workstation and the switch are on different subnets, the dynamic ARP entry timeout value at the router may need to be verified. Most Switch/routers can be configured to hold dynamic ARP entries for extended periods of time. Many can also be configured for Proxy ARP, which allows a device (switch/router) to respond to ARP broadcasts on behalf of another device. In this scenario a switch/router that has dynamic ARP entries for the SW12000 can respond to the management workstation’s ARP broadcast. This can cause problems after a failover because the dynamic ARP entries listed in the switch/router can be incorrect. In that case the management workstation will place an invalid IP to MAC entry in the local ARP table. Disabling the Proxy ARP service and decreasing the dynamic ARP entry timeout value at the switch/router can help to avoid this issue.

2-4 The Official SupportShow Command Reference Guide

Page 29: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

bloomdatashow

Note: Internal bit maps

Available in Fabric OS versions: v3.0.2, 3.1.0, 3.1.2 (port command group)v4.2 Example Output: NATroubleshooting Use: This command is designed for internal debugging purposes.

Example 2-2: bloomDataShow 0

Note: Use for internal debug purposes only.

Example 2-3: v3.1.2 output with extend group turned on.sw3800_28:admin> bloomdatashow 0initialized : 0x01 init_retry : 0x00copper : 0x00 lli_tov : 0x00bufbusy_tov : 0x01 fault_reason : 0x00linit_ct : 0x00 liphold_ct : 0x02type : 0x00 lflags : 0x00008601rxlipa : 0x80000000 0x00000000 0x00000000 0x00000000rxliha : 0x00000000 0x00000000 0x00000000 0x00000000alpamap : 0x80000000 0x00000000 0x00000000 0x00000000lifamap : 0x80000000 0x00000000 0x00000000 0x00000000lipamap : 0x00000000 0x00000000 0x00000000 0x00000000qllipa : 0x00000000 0x00000000 0x00000000 0x00000000qlliha : 0x00000000 0x00000000 0x00000000 0x00000000qllisa : 0x00000000 0x00000000 0x00000000 0x00000000qlzone : 0x00000000 0x00000000 0x00000000 0x00000000pltmap : 0x00000000 0x00000000 0x00000000 0x00000000lilpmap : 0x00000000 0x00000000 0x00000000 0x00000000lilpmap : 0x00000000 0x00000000 0x00000000 0x00000000lilpmap : 0x00000000 0x00000000 0x00000000 0x00000000lilpmap : 0x00000000 0x00000000 0x00000000 0x00000000lilpmap : 0x00000000 0x00000000 0x00000000 0x00000000lilpmap : 0x00000000 0x00000000 0x00000000 0x00000000lilpmap : 0x00000000 0x00000000 0x00000000 0x00000000lilpmap : 0x00000000 0x00000000 0x00000000 0x00000000lli : 0x00000000 lli_pending : 0x00000003ftx : 0x000307b8 dl_ftx : 0x00000000dl_frx : 0x00000000 tov : 0x0000 open_tov : 0x0000fault1 : 0x00000000 fault2 : 0x0000fltreset_time : 0x00000000fault_tov : 0x0000 credit : 0x0000buf_state : 0x0000 lstate : 0xffff0002timer : 0x103047f0 tofunc : 0x0lpsm_iu : 0x00000000 fla_iu : 0x00000000rxbi : 0x0041 rxbo : 0x0041negotiating : 0x00000000 nego_done : 0x00000000members : 0x00000001tgrpPorts : 0x0000 0x0000 0x0000 0x0000tgrpMinPort : 0x0000 tgrpMaxPort : 0x0000mdelay : 0x00000000 adelay : 0x00a8a95bmark_tm : 0x3bbdd2c4 rtbl_flag : 0x00000009bcast_rtbl : 0x00010000 EtoE_head : 0x0000EtoE_next : 0x0001 0x0002 0x0003 0x0004EtoE_next : 0x0005 0x0006 0x0007 0x0008

The Official SupportShow Command Reference Guide 2-5

Page 30: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

EtoE_next : 0x0009 0x000a 0x000b 0x000cEtoE_next : 0x000d 0x000e 0x000f 0xfffflism_bufno : 0x00000000lism_rxbd : 0x00000001 0x0031d500fltIuHead : 0xffffffff fltIuTail : 0xffffffffsn_state : 0x32 sn_inprogress : 0x00sn_txsp_list : 0x01 0x00 0x00 0x00sn_txsp_count : 0x02sn_curr_tx : 0x01 sn_rxsp_list : 0x01 0x00 0x00 0x00sn_rxsp_count : 0x02 sn_curr_rx : 0x01 sn_rx_mem : 0xffsn_rxsp_recorded: 0x00 0x00 0x00 0x00sn_rxsp_rec_count: 0x00 sn_time_nc : 0x0a22f200 sn_time_tx : 0x0a22f200sn_time_neg : 0xffffffff sn_time_sync : 0x0a22f1f0sn_speed : 0x01 sn_retries : 0x00 rxsig_loss_time : 0x00enable_arbvc : 0x00 save_enc_out : 0x00encout_valid : 0x00 tfrctl_changed : 0x0000 tfrctl_shadow : 0x0000msg_online : 0x0001unwanted_lisms : 0x00000000 unw_lisms_since_boot: 0x00000000

2-6 The Official SupportShow Command Reference Guide

Page 31: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

bloomfdetShowAvailable in Fabric OS versions: v3.1.0, 3.1.2 (port command group)v4.2 Example Output: NATroubleshooting Use: This command is designed for internal debugging purposes.:

Note: Use for internal debug purposes only.

Example 2-4: v3.1.2 output with extend group turned on.sw3800_28:admin> bloomfdetshowfaildet_pstat 0x81002d2c: 0x0000 0x81102d2c: 0x0000frmtrk_mode 0x81002d26: 0xfffe 0x81102d26: 0xfffefrmtrk_prtstat 0x81002d2e: 0x0000 0x81102d2e: 0x0000frmtrk_failinfo[0] 0x81002d18: 0x00000000 0x81102d18: 0x00000000frmtrk_failinfo[1] 0x81002d1c: 0x00000000 0x81102d1c: 0x00000000ministatechk_stat 0x81002d20: 0x0fff01ff 0x81042d20: 0x0fff01ff 0x81102d20: 0x0fff01ff 0x81142d20: 0x0fff01fffaildet_pctl 0x81002d2a: 0x0007 0x81102d2a: 0x0007frmtrk_ctl 0x81002d28: 0xffff 0x81102d28: 0xfffffaildet_ctl 0x81002d24: 0f37 0x81042d24: 0f37 0x81102d24: 0f37 0x81142d24: 0f37frmtrk_failinfo[0]:C0,R0: frTrkNumErrPt=0 isTrkNum=0 sbTrkNum=0C1,R0: frTrkNumErrPt=0 isTrkNum=0 sbTrkNum=0frmtrk_failinfo[1]:C0,R1: rxPtQuad=0 finMsgE=0 frTrkNumE=0 txQNumE=0 mbStCkE=0 invEMsg=0 flPtMode=0 rptFrTx=0 trunkMprt=0 bufrNum=0 txQnumb=0 txPtNum=0C1,R1: rxPtQuad=0 finMsgE=0 frTrkNumE=0 txQNumE=0 mbStCkE=0 invEMsg=0 flPtMode=0 rptFrTx=0 trunkMprt=0 bufrNum=0 txQnumb=0 txPtNum=0Buffer Tag Mismatch (+0x2c64): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0ministatechk_stat:Q0: mbStCkE=0 finE=0 rxQParE=0 rxQFrTrkE=0 isSubSt=3 sbSS=3 isSt=f sbS=f mb#=1ffQ1: mbStCkE=0 finE=0 rxQParE=0 rxQFrTrkE=0 isSubSt=3 sbSS=3 isSt=f sbS=f mb#=1ffQ2: mbStCkE=0 finE=0 rxQParE=0 rxQFrTrkE=0 isSubSt=3 sbSS=3 isSt=f sbS=f mb#=1ffQ3: mbStCkE=0 finE=0 rxQParE=0 rxQFrTrkE=0 isSubSt=3 sbSS=3 isSt=f sbS=f mb#=1fffaildet_ctl:Q0: frcR2TqIntParE=0 frcProcRqdBufNumE=0 frcPutMsgE=0 frcBufTagE=0 bufTagCkEn=f frcFinMessageE=0 frcTrkNumCkEnable=1 txQNumCkEn=1 mbufStCkEn=1 finMsgCkEn=1 rxQParityChkEn=1Q1: frcR2TqIntParE=0 frcProcRqdBufNumE=0 frcPutMsgE=0 frcBufTagE=0 bufTagCkEn=f frcFinMessageE=0 frcTrkNumCkEnable=1 txQNumCkEn=1 mbufStCkEn=1 finMsgCkEn=1 rxQParityChkEn=1Q2: frcR2TqIntParE=0 frcProcRqdBufNumE=0 frcPutMsgE=0 frcBufTagE=0 bufTagCkEn=f frcFinMessageE=0 frcTrkNumCkEnable=1 txQNumCkEn=1 mbufStCkEn=1 finMsgCkEn=1 rxQParityChkEn=1Q3: frcR2TqIntParE=0 frcProcRqdBufNumE=0 frcPutMsgE=0 frcBufTagE=0 bufTagCkEn=f frcFinMessageE=0 frcTrkNumCkEnable=1 txQNumCkEn=1 mbufStCkEn=1 finMsgCkEn=1 rxQParityChkEn=1sw3800_28:admin>

The Official SupportShow Command Reference Guide 2-7

Page 32: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

bloomlistdisplayAvailable in Fabric OS versions: v3.1.0, v3.1.2 (extend command group - not enabled by default)v4.2 Example Output: N/ATroubleshooting Use: This command is designed for internal debugging purposes.:

Note: Use for internal debug purposes only.

Example 2-5: v3.1.2 output with extend group turned on.bloomListDisplayPt 0: putq_list_stat is empty (0xffffffff == NO_BUFFER)Pt 0: tolist_stat is empty (0xffffffff == NO_BUFFER)Pt 0: plist_stat is empty (0xffffffff == NO_BUFFER)Pt 0: aulist_stat is empty (0xffffffff == NO_BUFFER)Pt 0: piq_stat: head=0x0 tail=0x0Pt 0: piq_stat: number of mini-buffers = 1Pt 0: flist_stat : head=0x10 tail=0x37e (quad 0)0x010 0x012 0x014 0x016 0x018 0x01a 0x01c 0x01e 0x020 0x022 0x024 0x026 0x028 0x02a 0x02c 0x02e 0x030 0x032 0x034 0x036 0x038 0x03a 0x03c 0x03e 0x040 0x042 0x044 0x046 0x048 0x04a 0x04c 0x04e 0x050 0x052 0x054 0x056 0x058 0x05a 0x05c 0x05e 0x060 0x062 0x064 0x066 0x068 0x06a 0x06c 0x06e 0x070 0x072 0x074 0x076 0x078 0x07a 0x07c 0x07e 0x080 0x082 0x084 0x086 0x088 0x08a 0x08c 0x08e 0x090 0x092 0x094 0x096 0x098 0x09a 0x09c 0x09e 0x0a0 0x0a2 0x0a4 0x0a6

<output truncated>

2-8 The Official SupportShow Command Reference Guide

Page 33: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

bloomsemsshowAvailable in Fabric OS versions: v3.1.0, v3.1.2 (extend command group - not enabled by default)v4.2 Example Output: N/ATroubleshooting Use: This command is designed for internal debugging purposes.:

Note: Use for internal debug purposes only.

Example 2-6: v3.1.2 output with extend group turned on.bloomSemShow

port 0 buf_rdy: 1 bRdy0 max:0 NONE Id 0x102fe310 BINARY owner: tSwitch queued_tasks: none

port 1 buf_rdy: 1 bRdy1 max:0 NONE Id 0x102fe2e0 BINARY owner: tSwitch queued_tasks: none

port 2 buf_rdy: 1 bRdy2 max:0 NONE Id 0x102fe2b0 BINARY owner: tSwitch queued_tasks: none

port 3 buf_rdy: 1 bRdy3 max:0 NONE Id 0x102fe280 BINARY owner: tSwitch queued_tasks: none

port 4 buf_rdy: 1 bRdy4 max:0 NONE Id 0x102fe250 BINARY owner: tSwitch queued_tasks: none

port 5 buf_rdy: 1 bRdy5 max:0 NONE Id 0x102fe220 BINARY owner: tSwitch queued_tasks: none

port 6 buf_rdy: 1 bRdy6 max:0 NONE Id 0x102fe1f0 BINARY owner: tSwitch queued_tasks: none

port 7 buf_rdy: 1 bRdy7 max:0 NONE Id 0x102fe1c0 BINARY owner: tSwitch queued_tasks: none

SwitchSem: 1 phantom max:0 NONE Id 0x10366d00 BINARY owner: none queued_tasks: none

The Official SupportShow Command Reference Guide 2-9

Page 34: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

bloomramdumpAvailable in Fabric OS versions: v3.1.0, v3.1.2 (extend command group - not enabled by default)v4.2 Example Output: N/ATroubleshooting Use: This command is designed for internal debugging purposes.:

Note: Use for internal debug purposes only.

Example 2-7: v3.1.2 output with extend group turned on.bloomRamDump

blm_txb_ldesc (port0 size=136 inc=4)

81001800: 00000000 00000000 00000000 00000000

81001810: 00000000 00000000 00000000 00000000

81001820: 00000000 00000000 00000000 00000000

81001830: 00000000 00000000 00000000 00000000

81001840: 00000000 00000000 00000000 00000000

<output truncated>

2-10 The Official SupportShow Command Reference Guide

Page 35: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

cfgShowAvailable in Fabric OS versions: AllVersion Differences: cfgshow output is the same in all Fabric OS versionsTroubleshooting Use: Use this command in the “devices do not see each other” scenerio. Verify that they are both in

the same enabled zone cfg.

Use this command to display zone configuration information. If no operand is specified, all zone configuration information (both Defined and Effective) is displayed. If an operand is specified, it is used as a pattern to match zone configuration names in the defined configuration; those that match the pattern are displayed.

The Defined configuration is the complete set of all zone objects that have been defined in the fabric. There can be multiple zone configurations defined, but only one can be enabled at a time. There may be inconsistencies in the definitions, zones or aliases that are referenced but not defined, or there may be duplicate members. The Defined configuration is the current state of the administrator input.

The Effective configuration is the single zone configuration that is currently enabled. The devices that an initiator sees in the fabric are based on this configuration. The Effective configuration is built when a specific zone configuration is enabled

Note: In example 2-2, the backup Compaq_DL_380 and the ATL_P1000_svr2 do not see each other because the zone they are in (backup) is not part of the enabled cfg (config1). If you want this zone to be part of this cfg you would have to add the zone to the cfg (CLI: cfgadd “config1”, “backup”) and then re-enable it to get new information read in (cfgenable “config1”). You could alternately create a new cfg and put in zones that you wanted enabled and enable new cfg over existing cfg.

v3.x Example Output:

Example 2-2: Defined configuration: cfg:config1sifsan1_svr1; sifsan2_svr2 zone:backupCompaq_DL_380; ATL_P1000_PRISM zone:sifsan1_svr1

svr1; clariion zone:sifsan2_svr2

svr2; clariion alias: ATL_P1000_PRISM

50:05:08:40:00:26:f0:00 alias: Compaq_DL_380

10:00:00:00:c9:28:64:3b alias: clariion

50:06:01:68:20:03:0b:9c alias: svr110:00:00:00:c9:21:83:2b alias: svr210:00:00:00:c9:22:ad:60

Effective configuration: cfg:config1 zone:sifsan1_svr1

10:00:00:00:c9:21:83:2b50:06:01:68:20:03:0b:9c

zone:sifsan2_svr210:00:00:00:c9:22:ad:6050:06:01:68:20:03:0b:9c

The Official SupportShow Command Reference Guide 2-11

Page 36: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Note: When devices in a Fabric have good connections to their local switches and are seen by the Fabric in nsallshow but still do not see each other check to make sure they are not security blocked using zoning in the Fabric or lun masking at the at the end nodes. If zoning is enabled, only devices that are in the same enabled zone will see each other.

Default Access when zoning is not active

In Firmware versions 2.5 and 2.6, a new parameter was introduced for security. This will provide the option to disable access to any devices in the Fabric unless zoning is enabled. The setting that controls this feature is under “zoning operation parameters” in “configure”. It's called “Default Access when zoning is not active”. When set to 0 and zoning is disabled, the switch automatically creates a NULL_ZONE with a dummy WWN of 00:00:00:00:00:00:00:00 and propagates it across the Fabric. If one switch in the Fabric has this feature enabled, the entire Fabric will see the NULL_ZONE when zoning is disabled and in essence is secure. A setting of 1 will disable this feature and allow all nodes to see all other nodes when zoning is disabled.

configure example output used to configure default access when zoning is not enabled:

Example 2-8: admin> configureConfigure... Fabric parameters (yes, y, no, n): [no] Virtual Channel parameters (yes, y, no, n): [no] Zoning Operation parameters (yes, y, no, n): [no] y Disable NodeName Zone Checking: (0..1) [0] Default Access when zoning is not active: (0..1) [0] RSCN Transmission Mode (yes, y, no, n): [no] NS Operation Parameters (yes, y, no, n): [no] Arbitrated Loop parameters (yes, y, no, n): [no] System services (yes, y, no, n): [no] Portlog events enable (yes, y, no, n): [no]No changes.

v4.2 Example Output:cfgshow:Defined configuration: no configuration defined

Effective configuration: no configuration in effect

2-12 The Official SupportShow Command Reference Guide

Page 37: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

cfgsizeAvailable in Fabric OS versions: v4.1, v4.2

Note: This command requires a Zoning license.

Troubleshooting Use: Use this command to display size details of the zone database.

Use this command to display the size details of the zone database. The size details include the Zone DB max size, the committed size, and the transaction size. All sizes are in bytes. The 'Zone DB max size' is the upper limit for the Defined configuration, determined by the amount of flash memory available for storing the Defined configuration. The 'committed size' is the size of the Defined configuration currently stored in flash. The 'transaction size' is the size of the uncommitted Defined configuration. This value will be non-zero if the Defined configuration is being modified by telnet, API etc.; otherwise it is 0.

Note: When security is enabled, this command can be issued from any switch in the fabric.

Example 2-3: To display size details of the Defined configuration:switch:admin> cfgsizeZone DB max size - 127726 bytescommitted - 8812transaction - 0switch:admin> cfgsize 1Zone DB flash size - 131028 bytesswitch:admin>

Note: cfgsize can be used to ascertain a zone memory crunch.

v4.2 Example Output:cfgsize:Zone DB max size - 127726 bytes committed - 0 transaction - 0

value = 0

cfgshow:Defined configuration: no configuration defined

Effective configuration: no configuration in effect

Note: The zone data base flash size on VxWorks switches is ~98304 bytes. The zone data base flash size on a Linux switch is ~127726 bytes.

The Official SupportShow Command Reference Guide 2-13

Page 38: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

How can zone DB sizes be calculated?

It would make sense for a WWN to be 8 bytes. If we stored it as a binary number, that's what it would be. However, it is stored as ASCII text. Each digit in the string is a byte, rather than having each two digits be a byte. That gets us to 16 bytes for a WWN. Then, of course, we also store the colons between the bytes and the semicolon delimiters between WWNs which gets up to 24 bytes for a WWN. Similarly, while one might think that a port zone entry would be 4 bytes, in fact it's stored as 6 bytes. Also note that having a second cfg doesn't double the size of the database. It can make between ~0.1% and 100% difference in the size. It depends on how many aliases and zones you need to add vs. reuse between the two configs.

If you make reasonable assumptions about alias name sizes, number of configs, how many elements in each zone, etc., you end up with something like this:

It is critical to note that this is a ballpark number. That could be off by a factor of ten if you used different assumptions. (E.g. longer alias names, lots of JBODs in the fabric, multiple zones per initiator, etc.) A Zbd calculator spreadsheet yields between ~45k and ~918k (!) Zdb size for a 1024 port fabric.

Finally, there are some protocol issues that need to be taken into account. “So in a mixed Fabric with SW12000 in the core and 2xxx on the edge, the maximum zoning configuration size will be limited to 96KB.” That is not, at present, true. You should not exceed ~34k (I think; it might be as high as ~36k.) in any fabric with a 2xxx switch at this time. This is noteworthy because it is possible to get a zone db size of ~57k with only 64 ports if you use aggressive assumptions (long alias names, etc.).

Ports Zdb Size64 ~6k256 ~22k512 ~44k1024 ~88k

2-14 The Official SupportShow Command Reference Guide

Page 39: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

chassisShowAvailable in Fabric OS versions: v4.0.2c, v4.1, v4.2Version Differences: noneTroubleshooting Use: Use this command to display all field replaceable units (FRUs)

Use this command to inventory and display the field replaceable unit (FRU) header content for each object in the chassis. On some platforms for certain FRU types, a few items may not be available. In these cases the lines will be suppressed. Possibly affected are lines 2, 3, 4, 5, 6, 8, and 10 through 13. In addition, for lines 10 through 13, if there is no data set, these lines will be suppressed. The header data is formatted into a record consisting of (up to) 13 lines. The lines and their meaning are described below:

Line # This line displays --- Definition

1. The first line of each record contains the object ID: Object type: CHASSIS, FAN, POWER SUPPLY, SW BLADE (switch), CP BLADE (control processor), WWN (world wide name), or UNKNOWN; and Object number: Slot <nn> (for blades), Unit <nn> (for everything else). If the FRU is part of an assembly, a brief description in parenthesis will be displayed.

2. FRU header version number: Header Version: <x>

3. Value used to calculate the object's power consumption, positive for power supplies, negative for consumers: Power Consume Factor: <-xxx>

4. Brocade part number (up to 14 characters): Brocade Part Num: <xx-yyyyyyy-zz>

5. Brocade serial number (up to 12 characters): Brocade Serial Num:<xxxxxxxxxx>

6. Date the FRU was manufactured: Manufacture: Day: <dd> Month: <mm> Year: <yyyy>

7. Date the FRU header was last updated: Update: Day: <dd> Month: <mm> Year: <yyyy>

8. Cumulative time, in days, that the FRU has been powered on: Time Alive: <dddd> days

9. Current time, in days, since the FRU was last powered on: Time Awake: <ddd> days

10. Externally supplied ID (up to 10 characters): ID: <xxxxxxxxxx>

11. Externally supplied part number (up to 20 characters): Part Num: <xxxxxxxxxxxxxxxxxxxx>

12. Externally supplied serial number (up to 20 characters): Serial Num: <xxxxxxxxxxxxxxxxxxxx>

13. Externally supplied revision number (up to 4 characters): Revision Num: <xxxx>

Example Notice embedded notes and notes at the end of this truncated output.

Example 2-4: chassisshow

SW BLADE Slot: 1Header Version: 2Power Consume Factor: -180 Note: This is a normal pwr consumption value for port blade. See note 1.Brocade Part Num: 60-0001532-04Brocade Serial Num: FQ000000496 Note: Most post GA sn’s start with FQ01 or higher. This was captured from a pre GA switch.Manufacture: Day: 8 Month: 5 Year: 2002Update: Day: 16 Month: 10 Year: 2002Time Alive: 193 days Note: Cummulative time blade pwrd up. Time Awake: 0 days Note: This FRU has been powered on for less than 1 day, if low like this and no fru insertion in historyshow it could imply blade reset itself. This correlates with line 9 notes above.

SW BLADE Slot: 2

The Official SupportShow Command Reference Guide 2-15

Page 40: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Header Version: 2Power Consume Factor: -180Brocade Part Num: 60-0001532-04Brocade Serial Num: FQ000000790Manufacture: Day: 22 Month: 5 Year: 2002Update: Day: 16 Month: 10 Year: 2002Time Alive: 199 daysTime Awake: 0 days

CP BLADE Slot: 5Header Version: 2Power Consume Factor: -40 Note: This is a normal power consumption value for a CP blade. Brocade Part Num: 60-0001604-03Brocade Serial Num: fp00x6003a0Manufacture: Day: 5 Month: 12 Year: 2001Update: Day: 16 Month: 10 Year: 2002Time Alive: 207 daysTime Awake: 0 days

<truncated output>CHASSIS/WWN Unit: 1Header Version: 2Power Consume Factor: -3 Note: 03 represent normal power consumption value for WWN cards. Brocade Part Num: 40-0000031-03Brocade Serial Num: FT00X8004B2 See note 2 below.Manufacture: Day: 6 Month: 12 Year: 2001Update: Day: 16 Month: 10 Year: 2002Time Alive: 175 daysTime Awake: 0 daysID: 1Serial Num: FT00x8004b2

Note: When random errors occur look at power consumption values which are normally: - 180 for a port blade prior to v4.2 and - 40 after v4.2 - -40 for a cp blades prior to v4.2 and - 140 after v4.2 - 0-3 for a WWN card- 60 for a blowerIf the power consumption on a port blade is high look at time awake values, they should match historyshow output. If they don’t blade could be resetting it self. DC converters have been known to cause this problem. You can test/ make it fail by executing slotoff/sloton, slotpoweroff will not work as it doesn’t exercise the dc convertor the same way.

Note: The CHASSIS/WWN Unit: 1 serial number’s last 3 bytes are the same as the last 3 bytes displayed when the licenseId command is executed.

v4.2 Example Output:

Example 2-9: chassisshow:

SW BLADE Slot: 1Header Version: 2Power Consume Factor: -50Factory Part Num: 40-0300909-01Factory Serial Num: KP000000786Manufacture: Day: 19 Month: 11 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 14 daysTime Awake: 1 days

2-16 The Official SupportShow Command Reference Guide

Page 41: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

SW BLADE Slot: 2Header Version: 2Power Consume Factor: -50Factory Part Num: 40-0300909-01Factory Serial Num: KP000000676Manufacture: Day: 6 Month: 11 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 15 daysTime Awake: 1 days

SW BLADE Slot: 4Header Version: 2Power Consume Factor: -50Factory Part Num: 40-0300909-01Factory Serial Num: KP000000795Manufacture: Day: 19 Month: 11 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 15 daysTime Awake: 1 days

CP BLADE Slot: 5Header Version: 2Power Consume Factor: -140Factory Part Num: 40-0300911-03Factory Serial Num: KN00XD00428Manufacture: Day: 16 Month: 12 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 8 daysTime Awake: 1 days

CP BLADE Slot: 6Header Version: 2Power Consume Factor: -140Factory Part Num: 40-0300911-03Factory Serial Num: KN00XD0040CManufacture: Day: 16 Month: 12 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 8 daysTime Awake: 1 days

SW BLADE Slot: 7Header Version: 2Power Consume Factor: -50Factory Part Num: 40-0300909-01Factory Serial Num: KP000000764Manufacture: Day: 15 Month: 11 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 14 daysTime Awake: 1 days

SW BLADE Slot: 8Header Version: 2Power Consume Factor: -50Factory Part Num: 40-0300909-01Factory Serial Num: KP000000816Manufacture: Day: 15 Month: 11 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 12 daysTime Awake: 1 days

SW BLADE Slot: 9Header Version: 2Power Consume Factor: -50Factory Part Num: 40-0300909-01Factory Serial Num: KP000000729

The Official SupportShow Command Reference Guide 2-17

Page 42: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Manufacture: Day: 10 Month: 11 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 13 daysTime Awake: 1 days

SW BLADE Slot: 10Header Version: 2Power Consume Factor: -50Factory Part Num: 40-0300909-01Factory Serial Num: KP000000726Manufacture: Day: 23 Month: 11 Year: 2003Update: Day: 31 Month: 12 Year: 2003Time Alive: 15 daysTime Awake: 1 days

POWER SUPPLY Unit: 1Header Version: 2Power Consume Factor: 1000Factory Part Num: 23-0000006-02Factory Serial Num: FL2L0002037Manufacture: Day: 13 Month: 5 Year: 2002Update: Day: 31 Month: 12 Year: 2003Time Alive: 400 daysTime Awake: 1 days

POWER SUPPLY Unit: 2Header Version: 2Power Consume Factor: 1000Factory Part Num: 23-0000006-02Factory Serial Num: FL2L0002031Manufacture: Day: 13 Month: 5 Year: 2002Update: Day: 31 Month: 12 Year: 2003Time Alive: 394 daysTime Awake: 0 days

POWER SUPPLY Unit: 3Header Version: 2Power Consume Factor: 1000Factory Part Num: 23-0000006-02Factory Serial Num: FL2L0002040Manufacture: Day: 13 Month: 5 Year: 2002Update: Day: 31 Month: 12 Year: 2003Time Alive: 399 daysTime Awake: 1 days

POWER SUPPLY Unit: 4Header Version: 2Power Consume Factor: 1000Factory Part Num: 23-0000006-02Factory Serial Num: FL2L0002046Manufacture: Day: 13 Month: 5 Year: 2002Update: Day: 31 Month: 12 Year: 2003Time Alive: 394 daysTime Awake: 0 days

FAN Unit: 1Header Version: 2Power Consume Factor: -50Factory Part Num: 60-0001662-01Factory Serial Num: FM3E0001872Manufacture: Day: 13 Month: 5 Year: 2002Update: Day: 31 Month: 12 Year: 2003Time Alive: 399 daysTime Awake: 1 days

2-18 The Official SupportShow Command Reference Guide

Page 43: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

FAN Unit: 2Header Version: 2Power Consume Factor: -50Factory Part Num: 60-0001662-01Factory Serial Num: FM3E0001888Manufacture: Day: 13 Month: 5 Year: 2002Update: Day: 31 Month: 12 Year: 2003Time Alive: 399 daysTime Awake: 1 days

FAN Unit: 3Header Version: 2Power Consume Factor: -50Factory Part Num: 60-0001536-03Factory Serial Num: FM3E0000211Manufacture: Day: 27 Month: 9 Year: 2001Update: Day: 31 Month: 12 Year: 2003Time Alive: 429 daysTime Awake: 1 days

CHASSIS/WWN Unit: 1(in same assembly as WWN Unit: 2)Header Version: 2Power Consume Factor: -3Factory Part Num: 60-0001501-04Factory Serial Num: FT02X802D4AManufacture: Day: 13 Month: 5 Year: 2002Update: Day: 31 Month: 12 Year: 2003Time Alive: 399 daysTime Awake: 1 days

WWN Unit: 2(in same assembly as WWN Unit: 1)Header Version: 2Power Consume Factor: -3Factory Part Num: 40-0000031-03Factory Serial Num: FS010001130Manufacture: Day: 13 Month: 5 Year: 2002Update: Day: 31 Month: 12 Year: 2003Time Alive: 399 daysTime Awake: 1 days

The Official SupportShow Command Reference Guide 2-19

Page 44: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

configShowAvailable in Fabric OS versions: AllVersion Differences: Output information varies by platformTroubleshooting Use: Use this command to display system configuration settings

Use this command to view the system configuration settings set by the configure command. This command is particularly useful when troubleshooting fabric segmentation and distance extended fabric problems. The following information that could be helpful when troubleshooting can also be found: Boot information; diagnostic status; switchstatus that leads to error reports faulty or marginal and their corresponding Web Tools red or amber error reporting methodology; fabric parameters that need to be the same on all fabric switches; there are also numerous parameters indicating switch behaviors or outputs including SNMP and Fabric Watch. Notes are embedded with associated outputs.

Note: Not all values shown are applicable to all system models and configurations.

In following configShow output Italicized notes and explanations follow output. Additional information depicted on the same line will be preceded with a “//” or will be indented.

See configure information later in this reference guide for information on parameters not discussed here and for additional information on parameters that are discussed here.

v3.x Example Output:

Example 2-10: switch:admin> configShowEthernet addresses: 0:60:69:50:12:dc

The switch Ethernet address (the last 6.5 bytes of the switch WWN)

Nvram data: fei(0,0)host:/usr/switch/firmware e=192.168.66.9:ffffff00 g=192.168.66.1 u=user tn=cylon

The default location of switch firmware, the switch IP address, along with the default subnetmask and gateway which you need to be logged in as to set – in this case user and the switch name, in this case cylon.

diag.postDisable:0 // toggle type diagDisablePost or diagEnablePost

To toggle the following values type configure (switch must first be disabled using switchDisable command) and then yes to Fabric Parameters:

cylon:admin> configureConfigure... Fabric parameters (yes, y, no, n): [no] yfabric.domain:9

// Each switch in a Fabric must have a unique domain IDfabric.ops.BBCredit:16

//default buffer to buffer credit allocated to each switch portfabric.ops.E_D_TOV:2000

Used to detect frames sent through switch port without a response within this timeout value. Switch port will typically retry (depends on traffic and need to stay within R_A_TOV) before forcing link down and re-attempting link connection. End devices do the same thing, they may or may not be set to retry.

fabric.ops.R_A_TOV:10000

Used for end-to-end error detection by ULP – Host sends I/O to target, if no response within R_A_TOV (regardless of E_D_TOV) then ULP either retries or does whatever it is configured to do (it could discard). This value should be increased in switch and on end devices in remote switch Fabrics to compensate for long distance carrier time.

2-20 The Official SupportShow Command Reference Guide

Page 45: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

A special note on E_D_TOV and R_A_TOV values: E_D_TOV and R_A_TOV values are internally used in Brocade switches to optimize how long a frame will get queued if there is no credit forwarded.

fabric.ops.dataFieldSize:2112fabric.ops.mode.SeqSwitching:0fabric.ops.mode.fcpProbeDisable:0fabric.ops.mode.isolate:0

//no E_Port communication allowed, can be toggled using portcfgEport command.fabric.ops.mode.longDistance:0

// In Fabrics with version 2.x switches this command is used in conjunction with the portCfgLongDistance command to extend ISL capability (extended switch license required).

fabric.ops.mode.noClassF:0

Class F frames will not be used for inter-switch communications - Class 2 is used Ex: CNT box does not understand Class F, so it is suppressed when a CNT box is used. Toggle using “Suppress Class F Traffic” under configure_Fabric Parameters.

fabric.ops.mode.pidFormat:0fabric.ops.mode.sync:0fabric.ops.mode.sync under configure_Fabric Parameters will toggle.

Used to prevent time out delays in remote Fabrics.fabric.ops.mode.unicastOnly:0

// This applies only to SilkWorm 1600 where they don't support broadcast or multicast. Choices are 1/0 which means on/off. It is changed using configure - “Unicast-only Operation”, only SilkWorm 1600’s will have this option.

fabric.ops.mode.useCsCtl:0fabric.ops.mode.vcEncode:0

The following outputs relate to Virtual Channel (vc) settings for establishing communication priority over ISLs and are configurable only when VC Encoded Address Mode is set. Like all fabric.ops parameters, the must be the same all on fabric switches.

There are not any direct corresponding commands to toggle the vc information depicted in this slide. There are two groups of parameters associated with virtual channels and priorities for same. The bit map in the fabric.ops.vc.config maps vc’s to priorities. The rest of the information shows that class 2 traffic is mapped to vc 2, class 3 is mapped to vc 3, link control frames are mapped to vc 0 and multicast frames are mapped to vc 7. Typically, the higher the VC value the lower the priority, but this can be changed.

The default priorities have been set to maximize throughput and should not be changed. The priority settings can be viewed using the configure command: type configure (switch must first be disabled using switchDisable command) and then yes to Virtual Channel parameters:

switchname:admin> configureConfigure... Fabric parameters (yes, y, no, n): [no] Virtual Channel parameters (yes, y, no, n): [no] y VC Priority 2: (2..3) [2] VC Priority 3: (2..3) [2] VC Priority 4: (2..3) [2] VC Priority 5: (2..3) [2] VC Priority 6: (2..3) [3] VC Priority 7: (2..3) [3]

The Official SupportShow Command Reference Guide 2-21

Page 46: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

The switch enables fine-tuning for a specific application, by configuring the parameters for eight virtual channels. The first two virtual channels are reserved for switch internal functions and are not available for modification. The default virtual channel settings have already been optimized for switch performance. Changing the default values can improve switch performance, but can also degrade performance. Do not change these settings without fully understanding the effects of the changes.

fabric.ops.vc.class.2:2fabric.ops.vc.class.3:3fabric.ops.vc.config:0xc0fabric.ops.vc.linkCtrl:0fabric.ops.vc.multicast:7fabric.ops.wan_tov:0

To toggle fc4.fcIp.address and fc4.fcIp.mask values, invoke ipAddrSet

To toggle the rest of the values depicted, invoke configure (the switch must first be disabled by invoking the switchDisable command) and then enter y to the Arbitrated Loop parameters query:

cylon:admin> configureConfigure... Fabric parameters (yes, y, no, n): [no] Switch Operating Mode (yes, y, no, n): [no] Zoning Operation parameters(yes, y, no, n):[no]RSCN Transmission Mode (yes, y, no, n): [no] NS Pre-zoning Mode (yes, y, no, n): [no] Arbitrated Loop parameters (yes, y, no, n): [no] ySend FAN frames?: (0..1) [0] //fcAL.fanFrameDisable Always Send RSCN?: (0..1) [0] //fcAL.alwaysSendRSCN Enable CLOSE on OPEN received?: (0..1) [0]//fcAL.openSendCLS

Note: fcAL.useAltBBCredit cannot be toggled.

Invoke configure and then enter y to the Arbitrated Loop parameters query. This enables you to disallow ALPA 0 from being used (and reserves 0 for the FL_Port).

//Do Not Allow AL_PA 0x00?

fc4.fcIp.address:0.0.0.0 // To toggle fc4.fcIp.address value type ipAddrSetfc4.fcIp.mask:0.0.0.0//To toggle fc4.fcIp.mask value type ipAddrSetfcAL.alwaysSendRSCN:0fcAL.fanFrameDisable:1fcAL.openSendCLS:0fcAL.useAltBBCredit:0

These control contrast on 2800 LCD’s:lcdContrast:128lcdContrast.orange:208

licenseKey:SbczcSQbRRTcd0dw // licenseShow and licenseAdd can be used to view and set route.delayReroute:0// IodSet will toggleroute.embeddedPortBcast:1 route.stickyRoutes:0// DlsSet will toggle

v4.1 Example Output:

Example 2-11:

1. To toggle the rpc values, type configure, then yes to Service Parameters.

rpc.rapid:1rpc.rstatd:0rpc.rusersd:0shell.delete:0 // backspace 1 will toggle

2-22 The Official SupportShow Command Reference Guide

Page 47: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

shell.quiet:0 // Quietmode 1 will toggle shell.timeout:0 // Timeout <# of minutes> will toggle syslog.errDisplayLevel:5 //errDisplayFilter 4 will toggle this to syslog.errDisplayLevel:4 syslog.errsOnConsole:1 // errConsoleDisable will toggle this to syslog.errsOnConsole:0 thresh.alarmsfilter:1 // fwAlarmsFilterSet 1 will togglethresh.thad:1 // To toggle this, type configure, then yes to Service Parameters.xlativeModeDisable:0

Note: If you see thresh.cust.xxxx this means that custom Fabric Watch parameters have been set.

2. Configure, then yes to Fabric Parameters – change VC Encoded Address Mode to 1 and another selection that says Disable Translative Mode will appear. Change this value (0 or 1/ off or on) to toggle.

3. Use configure, then yes to Portlog events enable to toggle:Displaying enabled/disabled portlog events start(a switch start or re-start event ): Enableddisable(a port is disabled ): Enabledenable(a port is enabled ): Enabledioctl(a port I/O control is executed ): EnabledTx(a frame is transmitted ): EnabledTx1(a frame is transmitted, class 1 ): EnabledTx2(a frame is transmitted, class 2 ): EnabledTx3(a frame is transmitted, class 3 ): EnabledRx(a frame is received ): EnabledRx1(a frame is received, class 1 ): EnabledRx2(a frame is received, class 2 ): EnabledRx3(a frame is received, class 3 ): Enabledstats(port status or statistics ): Enabledscn(a state change notification ): Enabledpstate(a port changes physical state ): Enabledreject(a received frame is rejected ): Enabledbusy(a received frame is busied ): Enabledctin(a CT based request is received ): Enabledctout(a CT based response is transmitted ): Enablederrlog(a message is added to the error log): Enabledloopscn(a loop state change notification ): Enabledcreate(a task is created ): Enableddebug(generic debug info ): Disablednbrfsm(neighbor state transition ): Enabledtimer(timer ): Enabledsn(speed negotiation ): Enabled NOTES

Note: If portlog events are disabled the outputs associated with those events will not be available in the portlogdump.

Example 2-5: configshowRSCN.end-device.TransmissionMode:0alpaList:1diag.loopID:125diag.mode.burnin:0diag.mode.esd:0diag.mode.lab:0diag.mode.mfg:0diag.postDisable:1diag.retryDisable:0diag.script.SWITCH.BURNIN:switchburnin.shdiag.script.SWITCH.POST1:switchpost1.shdiag.script.SWITCH.POST2:switchpost2.sh

The Official SupportShow Command Reference Guide 2-23

Page 48: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

diag.test.crossPort.passes:5000diag.test.passes:0diag.test.portLoopback.passes:1000diag.test.silkScreen.passes:180diag.test.spinSilk.passes:120ether.link.mode:AUTOfabric.domain:1fabric.ops.BBCredit:16fabric.ops.E_D_TOV:2000fabric.ops.R_A_TOV:10000fabric.ops.dataFieldSize:2112fabric.ops.mode.fcpProbeDisable:0fabric.ops.mode.isolate:0fabric.ops.mode.longDistance:0fabric.ops.mode.noClassF:0fabric.ops.mode.tachyonCompat:0fabric.ops.mode.unicastOnly:0fabric.ops.mode.useCsCtl:0fabric.ops.mode.vcEncode:0fabric.ops.vc.class.2:2fabric.ops.vc.class.3:3fabric.ops.vc.config:0xc0fabric.ops.vc.linkCtrl:0fabric.ops.vc.multicast:7fc4.fcIp.address:0.0.0.0fc4.fcIp.mask:0.0.0.0fc4.fcp.productId:FC Switchfc4.fcp.vendorId:BROCADEfcAL.alwaysSendRSCN:0fcAL.fanFrameDisable:0fcAL.openSendCLS:0fcAL.useAltBBCredit:0flannel.ops.frameColMethod:pilingflannel.ops.openBBCredit:4gen.fabos:0gen.zone:0http.javaplugin.homeURL:http://java.sun.com/products/pluginhttp.javaplugin.version:1,2,2lcdContrast:128lcdContrast.orange:208ms.PlatEnable:0ms.TDEnable:0ns.prezonemode:0oemLogo:0portCfg:0,0x10000000;1,0xd0000000;2,0x10000000;3,0x10000000;4,0x10000000;5,0x10000000;6,0x10000000;7,0x10000000;8,0x10000000;9,0x10000000;10,0x10000000;11,0x10000000;12,0x10000000;13,0x10000000;14,0x10000000;15,0x10000000;16,0x10000000;17,0x10000000;18,0x10000000;19,0x10000000;20,0x10000000;21,0x10000000;22,0x10000000;23,0x10000000;24,0x10000000;25,0x10000000;26,0x10000000;27,0x10000000;28,0x10000000;29,0x10000000;30,0x10000000;31,0x10000000;32,0x10000000;33,0x10000000;34,0x10000000;35,0x10000000;36,0x10000000;37,0x10000000;38,0x10000000;39,0x10000000;40,0x10000000;41,0x10000000;42,0x10000000;43,0x10000000;44,0x10000000;45,0x10000000;46,0x10000000;47,0x10000000;48,0x10000000;49,0x10000000;50,0x10000000;51,0x10000000;52,0x10000000;53,0x10000000;54,0x10000000;55,0x10000000;56,0x10000000;57,0x10000000;58,0x10000000;59,0x10000000;60,0x10000000;61,0x10000000;62,0x10000000;63,0x10000000;quickLoop.holdOpenInit:0quickLoop.noAlpaZero:0quickLoop.peerWWN:00:00:00:00:00:00:00:00quickLoop.portBitmap:0x0000000000000000quickLoop.softInit:0rlsDisable:1route.delayReroute:0route.embeddedPortBcast:1route.stickyRoutes:0rpc.rapid:1rpc.rstatd:0rpc.rusersd:0

2-24 The Official SupportShow Command Reference Guide

Page 49: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

shell.delete:0shell.quiet:0snmp.accessList.0.address:0.0.0.0snmp.accessList.0.rw:1snmp.accessList.1.address:0.0.0.0snmp.accessList.1.rw:1snmp.accessList.2.address:0.0.0.0snmp.accessList.2.rw:1snmp.accessList.3.address:0.0.0.0snmp.accessList.3.rw:1snmp.accessList.4.address:0.0.0.0snmp.accessList.4.rw:1snmp.accessList.5.address:0.0.0.0snmp.accessList.5.rw:1snmp.agtParty.0.address:0.0.0.0snmp.agtParty.0.authPrivSecret:Secret C0desnmp.agtParty.0.index:1snmp.agtParty.0.port:162snmp.agtParty.1.address:0.0.0.0snmp.agtParty.1.authPrivSecret:OrigEquipMfrsnmp.agtParty.1.index:2snmp.agtParty.1.port:162snmp.agtParty.2.address:0.0.0.0snmp.agtParty.2.authPrivSecret:privatesnmp.agtParty.2.index:3snmp.agtParty.2.port:162snmp.agtParty.3.address:0.0.0.0snmp.agtParty.3.authPrivSecret:publicsnmp.agtParty.3.index:4snmp.agtParty.3.port:162snmp.agtParty.4.address:0.0.0.0snmp.agtParty.4.authPrivSecret:commonsnmp.agtParty.4.index:5snmp.agtParty.4.port:162snmp.agtParty.5.address:0.0.0.0snmp.agtParty.5.authPrivSecret:FibreChannelsnmp.agtParty.5.index:6snmp.agtParty.5.port:162snmp.authentTraps:0snmp.mibCap:103snmp.swEventTrapLevel:0snmp.sysContact:Field Support.snmp.sysDescription:Fibre Channel Switch.snmp.sysLocation:End User Premisesnmp.sysObjectID:1588.2.1.1.1switch.interopMode:0switch.largeEntry.cap:0switch.mail.agent_0.item_112:NONEswitch.mail.agent_10.item_112:NONEswitch.status.policy.Fans.down:2switch.status.policy.Fans.marginal:1switch.status.policy.FaultyPorts.down:2switch.status.policy.FaultyPorts.marginal:1switch.status.policy.ISLStatus.down:0switch.status.policy.ISLStatus.marginal:0switch.status.policy.MissingSFPs.down:0switch.status.policy.MissingSFPs.marginal:0switch.status.policy.PortStatus.down:0switch.status.policy.PortStatus.marginal:0switch.status.policy.PowerSupplies.down:2switch.status.policy.PowerSupplies.marginal:1switch.status.policy.Temperatures.down:2switch.status.policy.Temperatures.marginal:1thresh.alarmsfilter:1thresh.cust.env.Fan.above:3

The Official SupportShow Command Reference Guide 2-25

Page 50: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

thresh.cust.env.Fan.below:3thresh.cust.env.Fan.high:3400thresh.cust.env.Fan.inbetween:1thresh.cust.env.Fan.unit:RPMthresh.cust.port.Signal.high:120thresh.cust.port.Signal.low:1thresh.cust.port.Signal.unit:Error(s)thresh.cust.port.State.above:1thresh.cust.port.State.below:1thresh.cust.port.State.exceeded:0thresh.cust.port.State.high:120thresh.cust.port.State.low:1thresh.cust.port.State.tb:2thresh.cust.port.State.unit:Change(s)thresh.envFan.actLevel:1thresh.envFan.thLevel:1thresh.portSignal.actLevel:1thresh.portSignal.thLevel:1thresh.portState.actLevel:1thresh.portState.thLevel:1thresh.thad:1xlativeModeDisable:0zoning.check.nodeNameDisabled:0zoning.standardMode:0Licenses:RcyzeSbeSgdz0fk

Additional information about the above listed configshow parameters in order listed:RSCN.end-device.TransmissionMode:0

To toggle RSCN.end-device.TransmissionMode:0 invoke configure (the switch must first be disabled by invoking the switchDisable command) and then enter y to the RSCN Transmission Mode query. Example:

RSCN Transmission Mode (yes, y, no, n): [no] yesEnd-device RSCN Transmission Mode(0 = RSCN with single PID, 1 = RSCN with multiplePIDs, 2 = Fabric RSCN): (0..2) [0]

alpaList:1

diag.loopID:125 is a vestigial remnant of Flannel ASIC support and early Loom ASIC validation that serves no useful purpose in any of our currently supported platforms. It sets the ALI to be used for test frames in diagnostics tests that meet the following conditions:

1. They are not run on an online switch (these use ALI 0 which is the normal loop id for the switch)

2. They are run in FL mode with internal loopback.

3. They do not set the ALPA as part of the test.

There is no user accessible test that meets these criteria. The possible outputs are 1 - 127, the default is 125. It should never be changed but it is conceivable but unlikely that we may use it again in the future. It can only be changed using the configDownload command.

diag.mode.burnin:0 is toggled using the diagSetBurnin command. This sets up the blade burn-in parameters for the registered burn-in script. The name of burn-in script can be set with burninname command alternatively. The burn-in will start at the next run of POST (Power-On Self-Test) on the designated blade(s). See help diagSetBurnin for more information.

diag.mode.esd:0 is toggled using diagSetEsdMode which allows the test to continue if the port fails.diag.mode.lab:0 is toggled using setLabMode which allows panic data to be gathered. Set after a switch panic to allow

future panic troubleshooting. diag.mode.mfg:0 is not used

2-26 The Official SupportShow Command Reference Guide

Page 51: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

diag.postDisable invoke diagDisablePost. diag.retryDisable:0 invoke diagRetry - when enabled modifies the behavior of the diagnostic test methods, POST

(Power-On Self-Test), and burn-in scripts. The exact behavior depends on the tests and scripts that are runBurn-in script files set with diagSetBurin command:

diag.script.SWITCH.BURNIN:switchburnin.sh diag.script.SWITCH.POST1:switchpost1.shdiag.script.SWITCH.POST2:switchpost2.sh

These are obsolete, they were in the very first version of the file as an example of the kind of variables that could be in the configShow database, but have never been used:

diag.test.crossPort.passes:5000diag.test.passes:0diag.test.portLoopback.passes:1000diag.test.silkScreen.passes:180diag.test.spinSilk.passes:120

ether.link.mode:AUTO displays Ethernet speed negotiation setting, toggle with ifModeSet command

To toggle the following values, invoke configure (the switch must first be disabled by invoking the switchDisable command) and then enter y to the Fabric Parameters query (configShow settings that correspond to configure output follows //):

fabric.domain:1 Type configure then yes to Fabric parameters to toggle Domain: (1..239) [9] //fabric.domain (This must be unique for each switch in the Fabric)

The following parameters represent fabric.ops parameters and need to be the same on all Fabric switches:fabric.ops.BBCredit:16

fabric.ops.R_A_TOV:10000 Type configure then yes to Fabric parameters to toggle R_A_TOV: (4000..120000) [10000] //fabric.ops.E_D_TOV (R_A_TOV = Resource Allocation Time Out Value). Used for end-to-end error detection by ULP.

fabric.ops.E_D_TOV:2000 Type configure then yes to Fabric parameters to toggle E_D_TOV: (1000..5000) [2000] //fabric.ops.R_A_TOV (E_D_TOV = Error Detect Time Out Value) Counts Fabric frames that exceed this value. Switch port will typically retry before forcing link down and re-attempting link connection.

fabric.ops.dataFieldSize:2112 Type configure then yes to Fabric parameters to toggle Data field size:(256..2112)[2112] //fabric.ops.dataFieldSize Sometimes toggled when using Remote Switch.

fabric.ops.mode.fcpProbeDisable:0 Type configure then yes to Fabric parameters to toggle Disable Device Probing: (0..1) [0] //fabric.ops.mode.fcpProbeDisable Disables auto discovery process on switches, the switches use this process to get private storage device information into name server data base. This process is not disabled (it’s enabled) by default. There is a correlation with RlsDisable, discussed later, a function that is now configurable on V4.X switches.

fabric.ops.mode.isolate:0 This fabric.ops parameter is not changed using configure. No E_Port communication allowed, used on 1st generation switches.

fabric.ops.mode.longDistance:0 This fabric.ops parameter is not changed using configure in v4.X switches. This configure long distance setting is needed for 2XXX switches in Fabrics where the portCfgLongDistance command is used. This setting is not required for 3XXX or above switches.

fabric.ops.mode.noClassF:0 Type configure then yes to Fabric parameters to toggle // fabric.ops.mode.noClassF

Class F frames will not be used for inter-switch communications - Class 2 is used - needed by some gateways.

fabric.ops.mode.tachyonCompat:0 Type configure then yes to Fabric parameters to toggle: Sequence Level Switching: (0..1) [0]

The Official SupportShow Command Reference Guide 2-27

Page 52: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Used to allow frame interweaving. If a Tachyon is in the middle of receiving a multiple frame (non-SCSI) sequences from one source and it receives a frame from a different source, it may either respond with a P_BSY to the second source, or it may require its attached host to perform sequence reassembly manually (causing a large amount of overhead on the host machine). Tachyon mode is phrased as “Sequence Level Switching” in the configure command. If this feature is set to 1, frames of the same sequence from a particular source are transmitted together as a group. When this feature is set to 0, frames are transmitted interleaved among multiple sequences. Bottom line is Tachyon mode will have big performance impact.

fabric.ops.mode.unicastOnly:0 // This applies only to Silkworm 1600 where they don't support broadcast or multicast. Choices are 1/0 which means on/off. It is changed using configure - “Unicast-only Operation”, is only found in the Silkworm 1600.

fabric.ops.mode.useCsCtl:0 Type configure then yes to Fabric parameters and toggle Per-frame Route Priority: (0..1) [0] to change fabric.ops.mode.useCsCtl Creates additional Virtual Channel ID for per-frame based prioritization, using existing VC’s plus frame header information.

fabric.ops.mode.vcEncode:0 Type configure then yes to Fabric parameters and toggle VC Encoded Address Mode: (0..1) [0] *//fabric.ops.mode.vcEncode

This will allow communication with an address format compatible with some first-generation switches

The following outputs relate to Virtual Channel (vc) settings for establishing communication priority over ISLs and are configurable only when VC Encoded Address Mode is set:

fabric.ops.vc.class.2:2 // Specifies the VC used for class 2 frame traffic. fabric.ops.vc.class.3:3 // Specifies the VC used for class 3 frame traffic. fabric.ops.vc.config:0xc0 fabric.ops.vc.linkCtrl:0 // Specifies the virtual channel used for N_Port- generated, Class 2 link control frames (ACKs, P_BSYs, P_RJTs). Forces N_Port-generated link control frames to be sent using a Class 2 data Virtual Channel when set to 0. When set to 1, the control frames are sent using a Virtual Channel normally reserved for Fabric-internal traffic. fabric.ops.vc.multicast:7 // Specifies the VC used for multicast frame traffic.

There are not any direct corresponding commands to toggle the vc information depicted in this slide. There are two groups of parameters associated with virtual channels and priorities for same. The bit map in the fabric.ops.vc.config maps vc’s to priorities. The rest of the information in this slide shows that class 2 traffic is mapped to vc 2, class 3 is mapped to vc 3, link control frames are mapped to vc 0 and multicast frames are mapped to vc 7. Typically, the higher the vc value the lower the priority, but this can be changed. The default priorities have been set to maximize throughput and should not be changed. The priority settings can be viewed using the configure command: type configure (switch must first be disabled using switchDisable command) and then yes to Virtual Channel parameters:

Example 2-6: switchname:admin> configureConfigure... Fabric parameters (yes, y, no, n): [no] Virtual Channel parameters (yes, y, no, n): [no] y VC Link Control: (0..1) [0] VC Class 2: (2..5) [2] VC Class 3: (2..5) [3] VC Multicast: (6..7) [7] VC Priority 2: (2..3) [2] VC Priority 3: (2..3) [2] VC Priority 4: (2..3) [2] VC Priority 5: (2..3) [2] VC Priority 6: (2..3) [3] VC Priority 7: (2..3) [3]

The switch enables fine tuning for a specific application, by configuring the parameters for eight virtual channels. The first two virtual channels are reserved for switch internal functions and are not available for modification. The default virtual channel settings have already been optimized for switch performance. Changing the default values can improve switch performance, but can also degrade performance. Do not change these settings without fully understanding the effects of the changes. Ports are assigned to VCs based on the last two bits of the middle byte of the 24-bit address. There are four possible combinations, 00, 01, 10 and 11. These correspond to VC2, 3, 4 and 5 respectively. In our course materials, we used to say ASIC/Quad 0 was assigned to VC2 and so on.

2-28 The Official SupportShow Command Reference Guide

Page 53: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fc4.fcIp.address:0.0.0.0fc4.fcIp.mask:0.0.0.0

Corresponding commands to toggle settings include:

To toggle fc4.fcIp.address and fc4.fcIp.mask values, invoke ipAddrSet

fc4.fcp.productId:FC Switch is a product identification for FCP Inquiry changed using configdownload

fc4.fcp.vendorId:BROCADE is a vendor identification for FCP Inquiry changed using configdownload

To toggle the fcAL values depicted below, invoke configure (the switch must first be disabled by invoking the switchDisable command) and then enter y to the Arbitrated Loop parameters query, information displayed after // will tell you what configure command will toggle output, comments are curved:

fcAL.alwaysSendRSCN:0fcAL.fanFrameDisable:0fcAL.openSendCLS:0fcAL.useAltBBCredit:0

Descriptions of these Arbitrated Loop Parameter fields that can either be a 1 or a 0 are as follows:Send FAN frames? Specifies that fabric address notification (FAN) frames be sent to public loop devices to notify them of

their node ID and address. When set to 1, frames are sent; when set to 0 frames are not sent.Enable CLOSE on OPEN received? If this is set, a CLS is returned immediately to an OPN if no buffers are available. This is

required for TachLite.Always send RSCN? Following the completion of loop initialization, a remote state change notification (RSCN)

is issued when FL_Ports detect the presence of new devices or the absence of pre-existing devices. When set, a RSCN is issued upon completion of loop initialization, regardless of the presence or absence of new or pre-existing devices.

Do Not Allow AL_PA 0x00? This option disables ALPA values from being 0x00.

These two parameters are “left overs” that represent 1st generation switch capabilities:flannel.ops.frameColMethod:pilingflannel.ops.openBBCredit:4

These two outputs are left over from the early design phase, and should be deleted; they will be removed from configuration database in 4.1. In 4.0 they are combined into one generation number, stored in the /etc/fabos/pdata.gen file (not in the switch configuration any more!). Every time a change of switch configuration or zoning configuration, generation number will increment by 1. Please refer the generationSet and generationShow for details.

gen.fabos:0 is the generation number of the switch configuration. Default value is zero, and will increment by 1 every time switch configuration changes. There is no need to change it, unless customer wants to reset the generation number to begin with a specific number or reset to 0.

gen.zone:0 is the generation number of the zoning configuration. Default value is zero, and will increment by 1 every time zoning configuration changes.

To toggle http settings execute httpCfgSet from a root account or edit configUpload text file:http.javaplugin.homeURL:http://java.sun.com/products/pluginhttp.javaplugin.version:1,2,2

These two parameters change the 2800 front panel LCD contrast levels:

lcdContrast:128

lcdContrast.orange:208

Management server related outputs:

ms.PlatEnable:0 //msplmgmtactivate command toggles this. This indicates whether MS Platform Service is enabled or not in the “entire” fabric. If it is 1, it's enabled in the entire fabric. Users can turn it off or disable in the entire fabric by issuing 'msPlMgmtDeactivate' from a switch

The Official SupportShow Command Reference Guide 2-29

Page 54: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Example 2-7: Value was changed to 0 after de-activating:RSL_12K8_SW0:admin> configshow msms.PlatEnable:1ms.TDEnable:0

RSL_12K8_SW0:admin> msplatshow*MS Platform Management Service DB is empty.RSL_12K8_SW0:admin> msplmgmtdeactivateMS Platform Management Service is currently enabled.This will erase Platform configuration informationas well as Platform databases in the entire fabric.Would you like to continue disabling? (yes, y, no, n): [no] y

Deactivating Platform Management Service is in progress......

*Completed deactivating Platform Management Service in the fabric!RSL_12K8_SW0:admin> configshow msms.PlatEnable:0ms.TDEnable:0

ms.TDEnable:0 indicates whether MS Topology Discovery Service is enabled or not in a "local" switch. 1 means enabled in this switch, 0 means disabled. Each switch in the fabric can be configured differently unlike Platform Service. Users can disable w/ 'msTdDisable' in each switch or 'msTdDisable ALL' will disable all switches in the fabric.

ns.prezonemode:0 To toggle ns.prezonemode type configure, then NS Operation Parameters (yes, y, no, n): [no] y

Pre-zoned responses Mode

(0 = Standard Mode, 1 = Pre-zoning On): (0..1) [0]

Specifies Name Server operating mode. If Pre-zoned responses Mode is enabled, the Name Server checks only the lot list when responding to requests from hosts.

oemLogo:0

portCfg:0,0x10000000;1,0xd0000000;2,0x10000000;3,0x10000000;4,0x10000000;5,0x10000000;6,0x10000000;7,0x10000000;8,0x10000000;9,0x10000000;10,0x10000000;11,0x10000000;12,0x10000000;13,0x10000000;14,0x10000000;15,0x10000000;16,0x10000000;17,0x10000000;18,0x10000000;19,0x10000000;20,0x10000000;21,0x10000000;22,0x10000000;23,0x10000000;24,0x10000000;25,0x10000000;26,0x10000000;27,0x10000000;28,0x10000000;29,0x10000000;30,0x10000000;31,0x10000000;32,0x10000000;33,0x10000000;34,0x10000000;35,0x10000000;36,0x10000000;37,0x10000000;38,0x10000000;39,0x10000000;40,0x10000000;41,0x10000000;42,0x10000000;43,0x10000000;44,0x10000000;45,0x10000000;46,0x10000000;47,0x10000000;48,0x10000000;49,0x10000000;50,0x10000000;51,0x10000000;52,0x10000000;53,0x10000000;54,0x10000000;55,0x10000000;56,0x10000000;57,0x10000000;58,0x10000000;59,0x10000000;60,0x10000000;61,0x10000000;62,0x10000000;63,0x10000000;Displays a bitmap of portCfgShow options, changes made in this file will cause the switch to not come up!!!

Quickloop parameter mappings, read from attached switches in Quickloop:

Example 2-8: quickLoop.holdOpenInit:0quickLoop.noAlpaZero:0quickLoop.peerWWN:00:00:00:00:00:00:00:00quickLoop.portBitmap:0x0000000000000000quickLoop.softInit:0

To toggle the following commands type configure, then: System services (yes, y, no, n): [no] y rstatd (on, off): [off] rusersd (on, off): [off] rapid (on, off): [on] thad (on, off): [on] Disable RLS probing (on, off): [on]

2-30 The Official SupportShow Command Reference Guide

Page 55: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

rlsDisable:1 To toggle the following commands type configure, then: System services (yes, y, no, n): [no] y //Disable RLS probing (on, off): [on] By default, this disables Read Link Error Status probing of the ALPAs. When this feature is enabled the switch will collect new Link Error Status from the devices (both F_Port and L_Port) every 4 seconds. Link Error Status contains data such as: link fail loss sync loss sig prtc err bad word crc err. This information can be displayed with fcpRlsShow telnet command. For L_Port it will show all ALPAs on that port.

route.delayReroute:0 iodSet will toggle the route.delayReroute value. In the event of a Fabric routing change, there will be a 2 second hold down period to allow frames already in transit to reach their destination ahead of frames needing rerouting route.embeddedPortBcast:1

route.stickyRoutes:0 dlsSet will toggle the route.stickyRoutes value. This setting enables dynamic load sharing by default. In the event of a Fabric routing change, routes will be reallocated so that all available equal link cost ISLs are shared.

To toggle the rpc values invoke configure, then enter y to the Service Parameters query.

rpc.rapid:1 Rapid stands for RPC API daemon. It handles the RPC requests for the API server.

rpc.rstatd:0 Dynamically enables or disables a server that returns information about system operation information through remote procedure calls (RPC). The protocol provides for a wide-range of system statistics. The retrieval of this information is supported by a number of operating systems which support RPC. Most UNIX-based systems (HP-UX, Irix, Linux, Solaris, etc.) use the rup and rsysinfo commands to retrieve the information. See your local system documentation for the appropriate usage of the these or equivalent commands.

rpc.rusersd:0 Dynamically enables or disables a server that returns information about the user logged into the system through remote procedure calls (RPC). The information returned includes user login name, the system name, login protocol or type, login time, idle time, and remote login location (if applicable). The retrieval of this information is supported by a number of operating systems which support RPC. On most UNIX-based systems (HP-UX, Irix, Linux, Solaris, etc.) the command to retrieve the information is rusers. See your local system documentation for the appropriate usage of this or equivalent command.

shell.delete:0 To toggle shell.delete from 0 to 1, press backSpace 1. The backSpace character is now BACKSPACE (hexadecimal 08).

shell.quiet:0 This is a v3.X functionality only. quietmode 1 will toggle shell.quiet: 0 to shell.quiet: 1 If quietmode is turned on then no error messages will be forwarded anywhere!

Example 2-9: All of these SNMP parameters are configured using the agtCfgSet command:snmp.accessList.0.address:0.0.0.0snmp.accessList.0.rw:1snmp.accessList.1.address:0.0.0.0snmp.accessList.1.rw:1snmp.accessList.2.address:0.0.0.0snmp.accessList.2.rw:1snmp.accessList.3.address:0.0.0.0snmp.accessList.3.rw:1snmp.accessList.4.address:0.0.0.0snmp.accessList.4.rw:1snmp.accessList.5.address:0.0.0.0snmp.accessList.5.rw:1snmp.agtParty.0.address:0.0.0.0snmp.agtParty.0.authPrivSecret:Secret C0desnmp.agtParty.0.index:1snmp.agtParty.0.port:162snmp.agtParty.1.address:0.0.0.0snmp.agtParty.1.authPrivSecret:OrigEquipMfrsnmp.agtParty.1.index:2snmp.agtParty.1.port:162snmp.agtParty.2.address:0.0.0.0snmp.agtParty.2.authPrivSecret:privatesnmp.agtParty.2.index:3snmp.agtParty.2.port:162snmp.agtParty.3.address:0.0.0.0

The Official SupportShow Command Reference Guide 2-31

Page 56: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

snmp.agtParty.3.authPrivSecret:publicsnmp.agtParty.3.index:4snmp.agtParty.3.port:162snmp.agtParty.4.address:0.0.0.0snmp.agtParty.4.authPrivSecret:commonsnmp.agtParty.4.index:5snmp.agtParty.4.port:162snmp.agtParty.5.address:0.0.0.0snmp.agtParty.5.authPrivSecret:FibreChannelsnmp.agtParty.5.index:6snmp.agtParty.5.port:162snmp.authentTraps:0snmp.mibCap:103snmp.swEventTrapLevel:0snmp.sysContact:Field Support.snmp.sysDescription:Fibre Channel Switch.snmp.sysLocation:End User Premisesnmp.sysObjectID:1588.2.1.1.1

switch.interopMode:0 To toggle interopeMode: sw0:admin> interopeMode; InteropMode: Off ; Usage: InteropMode 0|1; 0: to turn it off; 1: to turn it on. Enables or disables connection to other vendor switches

switch.largeEntry.cap:0switch.mail.agent_0.item_112:NONEswitch.mail.agent_10.item_112:NONE

Example 2-10: To toggle switch.status.policy parameters type switchStatusPolicySet at CLI.switch.status.policy.Fans.down:2switch.status.policy.Fans.marginal:1switch.status.policy.FaultyPorts.down:2switch.status.policy.FaultyPorts.marginal:1switch.status.policy.ISLStatus.down:0switch.status.policy.ISLStatus.marginal:0switch.status.policy.MissingSFPs.down:0switch.status.policy.MissingSFPs.marginal:0switch.status.policy.PortStatus.down:0switch.status.policy.PortStatus.marginal:0switch.status.policy.PowerSupplies.down:2switch.status.policy.PowerSupplies.marginal:1switch.status.policy.Temperatures.down:2switch.status.policy.Temperatures.marginal:1

thresh.alarmsfilter:1 fwAlarmsFilterSet 1 will toggle thresh.alarmsfilter

Use fwConfigure, Web Tools Fabric Watch (FW) configuration tool, or edit configUpload text FW configuration parameters to set FW thresholds:

thresh.cust.env.Fan.above:3thresh.cust.env.Fan.below:3thresh.cust.env.Fan.high:3400thresh.cust.env.Fan.inbetween:1thresh.cust.env.Fan.unit:RPMthresh.cust.port.Signal.high:120thresh.cust.port.Signal.low:1thresh.cust.port.Signal.unit:Error(s)thresh.cust.port.State.above:1thresh.cust.port.State.below:1thresh.cust.port.State.exceeded:0thresh.cust.port.State.high:120thresh.cust.port.State.low:1thresh.cust.port.State.tb:2thresh.cust.port.State.unit:Change(s)thresh.envFan.actLevel:1thresh.envFan.thLevel:1thresh.portSignal.actLevel:1thresh.portSignal.thLevel:1

2-32 The Official SupportShow Command Reference Guide

Page 57: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

thresh.portState.actLevel:1thresh.portState.thLevel:1

thresh.thad:1 To toggle thresh.thad type configure, then yes to Service Parameters.

xlativeModeDisable:0 To toggle xlativeModeDisable execute configure, then yes to Fabric Parameters – change Disable Translative Mode: (0..1) [0] to 1. To toggle this value change to 0 (on – it’s not disabled) or 1 (off). This parameter is used in conjunction with VC_Encoding to communication with 1st generation 1XXX series switches.

To toggle zoning.check.nodeNameDisabled and zoning.standardMode execute configure, then yes to Zoning Operation parameters.

Standard Mode: (0..1) [0]Disable NodeName Zone Checking: (0..1) [0]

zoning.check.nodeNameDisabled:0 Disable NodeName Zone Checking. Specify 1 to disable using Node WWN when specifying nodes in the zone database, or specify 0 to enable using Node WWN when specifying nodes in the zone data. The default value is 0. This value must be set to 1 for interoperability.

zoning.standardMode:0

Licenses:RcyzeSbeSgdz0fk

The License output here is the same output displayed from licenceshow and lutil (lutil adds, displays, and removes such licenses):

admin> licenseshow:RcyzeSbeSgdz0fk: Web license Zoning license Fabric Watch license Performance Monitor license Trunking licenseadmin> lutil –v (verbose)

RcyzeSbeSgdz0fk: Web license Zoning license Fabric Watch license Performance Monitor license Trunking license

v4.2 Example Output:

Example 2-12: configshow:RSCN.end-device.TransmissionMode:0alpaList:1cer.internal_port_code:1diag.burnin.bisr_bad_row:0diag.burnin.bisr_every:0diag.burnin.bisr_no_consist:0diag.burnin.bisr_npass:100diag.burnin.bisr_on:0diag.burnin.bisr_red_row:0diag.burnin.bplb_on:0diag.burnin.bpt_all_nframes:0diag.burnin.cam_on:1diag.burnin.cmi_on:1diag.burnin.cntmem_on:1diag.burnin.debug_on:1diag.burnin.flt_passes:50diag.burnin.frcslv_on:0

The Official SupportShow Command Reference Guide 2-33

Page 58: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

diag.burnin.label:SYSTEMVERIFICATIONdiag.burnin.log_length:600diag.burnin.margin_on:0diag.burnin.mcy1_nmegs:7diag.burnin.mcy2_nmegs:7diag.burnin.mcy5_nmegs:7diag.burnin.mcy7_nmegs:7diag.burnin.mcy7_splb_nmegs:0diag.burnin.min_lb_mode:2diag.burnin.mnc_lb_mode1:1diag.burnin.mnc_lb_mode2:2diag.burnin.mnc_lb_mode7:7diag.burnin.number_of_runs:1diag.burnin.plb7_nframes:100diag.burnin.plb_lb_mode1:1diag.burnin.plb_lb_mode2:2diag.burnin.plb_lb_mode7:7diag.burnin.plb_nframes:100diag.burnin.post_screen_delay_minutes:0diag.burnin.prt_on:1diag.burnin.refclk_on:0diag.burnin.reset_every:0diag.burnin.retention_on:1diag.burnin.screen_cmi_minutes:0diag.burnin.screen_cmi_nframes:0diag.burnin.screen_margin_first:0diag.burnin.screen_margin_second:0diag.burnin.scrn_plb_nframes:0diag.burnin.slk_all_nmegs:0diag.burnin.slk_lb_mode1:1diag.burnin.sta_passes:25diag.burnin.tbr_passes:1diag.burnin.thermal:10diag.burnin.txd1_nframes:0diag.burnin.txd2_nframes:0diag.burnin.txd5_nframes:50diag.burnin.txd7_nframes:0diag.burnin.txd_lb_mode1:1diag.burnin.txd_lb_mode2:2diag.burnin.txd_lb_mode7:7diag.burnin.vib:2diag.burnin.xpt_lb_mode1:1diag.burnin.xpt_nframes:0diag.loopID:125diag.mode.burnin:0diag.mode.burnin.1.name:burnindiag.mode.burnin.10.name:burnindiag.mode.burnin.2.name:burnindiag.mode.burnin.3.name:burnindiag.mode.burnin.4.name:burnindiag.mode.burnin.5.name:burnindiag.mode.burnin.6.name:burnindiag.mode.burnin.7.name:burnindiag.mode.burnin.8.name:burnindiag.mode.burnin.9.name:burnindiag.mode.burnin.level:0diag.mode.esd:0diag.mode.lab:0diag.mode.mfg:0diag.postDisable:0diag.retryDisable:0diag.test.crossPort.passes:5000diag.test.passes:0diag.test.portLoopback.passes:1000diag.test.silkScreen.passes:180

2-34 The Official SupportShow Command Reference Guide

Page 59: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

diag.test.spinSilk.passes:120ether.link.mode:AUTOfabric.domain:1fabric.ididmode:0fabric.ops.BBCredit:16fabric.ops.E_D_TOV:2000fabric.ops.R_A_TOV:10000fabric.ops.dataFieldSize:2112fabric.ops.mode.fcpProbeDisable:0fabric.ops.mode.isolate:0fabric.ops.mode.longDistance:0fabric.ops.mode.noClassF:0fabric.ops.mode.pidFormat:1fabric.ops.mode.tachyonCompat:0fabric.ops.mode.unicastOnly:0fabric.ops.mode.useCsCtl:0fabric.ops.mode.vcEncode:0fabric.ops.vc.class.2:2fabric.ops.vc.class.3:3fabric.ops.vc.config:0xc0fabric.ops.vc.linkCtrl:0fabric.ops.vc.multicast:7fabric.principalSwSelMode:0fc4.fcIp.address:0.0.0.0fc4.fcIp.mask:0.0.0.0fc4.fcp.productId:FC Switchfc4.fcp.vendorId:BROCADEfcAL.alwaysSendRSCN:0fcAL.fanFrameDisable:0fcAL.openSendCLS:4fcAL.useAltBBCredit:0flannel.ops.frameColMethod:pilingflannel.ops.openBBCredit:4gen.fabos:0gen.zone:0http.javaplugin.homeURL:http://java.sun.com/products/pluginhttp.javaplugin.version:1,3,1,4lcdContrast:128lcdContrast.orange:208ms.PlatEnable:0ms.TDEnable:0oemLogo:0portCfg:0, 0x10000000; 1, 0x10000000; 2, 0x10000000; 3, 0x10000000; 4, 0x10000000; 5, 0x10000000; 6, 0x10000000; 7, 0x10000000; 8, 0x10000000; 9, 0x10000000; 10, 0x10000000; 11, 0x10000000; 12, 0x10000000; 13, 0x10000000; 14, 0x10000000; 15, 0x10000000; 16, 0x10000000; 17, 0x10000000; 18, 0x10000000; 19, 0x10000000; 20, 0x10000000; 21, 0x10000000; 22, 0x10000000; 23, 0x10000000; 24, 0x10000000; 25, 0x10000000; 26, 0x10000000; 27, 0x10000000; 28, 0x10000000; 29, 0x10000000; 30, 0x10000000; 31, 0x10000000; 32, 0x10000000; 33, 0x10000000; 34, 0x10000000; 35, 0x10000000; 36, 0x10000000; 37, 0x10000000; 38, 0x10000000; 39, 0x10000000; 40, 0x10000000; 41, 0x10000000; 42, 0x10000000; 43, 0x10000000; 44, 0x10000000; 45, 0x10000000; 46, 0x10000000; 47, 0x10000000; 48, 0x10000000; 49, 0x10000000; 50, 0x10000000; 51, 0x10000000; 52, 0x10000000; 53, 0x10000000; 54, 0x10000000; 55, 0x10000000; 56, 0x10000000; 57, 0x10000000; 58, 0x10000000; 59, 0x10000000; 60, 0x10000000; 61, 0x10000000; 62, 0x10000000; 63, 0x10000000; 64, 0x10000000; 65, 0x10000000; 66, 0x10000000; 67, 0x10000000; 68, 0x10000000; 69, 0x10000000; 70, 0x10000000; 71, 0x10000000; 72, 0x10000000; 73, 0x10000000; 74, 0x10000000; 75, 0x10000000; 76, 0x10000000; 77, 0x10000000; 78, 0x10000000; 79, 0x10000000; 80, 0x10000000; 81, 0x10000000; 82, 0x10000000; 83, 0x10000000; 84, 0x10000000; 85, 0x10000000; 86, 0x10000000; 87, 0x10000000; 88, 0x10000000; 89, 0x10000000; 90, 0x10000000; 91, 0x10000000; 92, 0x10000000; 93, 0x10000000; 94, 0x10000000; 95, 0x10000000; 96, 0x10000000; 97, 0x10000000; 98, 0x10000000; 99, 0x10000000; 100, 0x10000000; 101, 0x10000000; 102, 0x10000000; 103, 0x10000000; 104, 0x10000000; 105, 0x10000000; 106, 0x10000000; 107, 0x10000000; 108, 0x10000000; 109, 0x10000000; 110, 0x10000000; 111, 0x10000000; 112, 0x10000000; 113, 0x10000000; 114, 0x10000000; 115, 0x10000000; 116, 0x10000000; 117, 0x10000000; 118, 0x10000000; 119, 0x10000000; 120, 0x10000000; 121, 0x10000000; 122, 0x10000000; 123, 0x10000000; 124, 0x10000000; 125, 0x10000000; 126, 0x10000000; 127, 0x10000000; 128, 0x10000000; 129, 0x10000000; 130, 0x10000000; 131, 0x10000000; 132, 0x10000000; 133, 0x10000000; 134, 0x10000000; 135, 0x10000000; 136, 0x10000000; 137, 0x10000000; 138, 0x10000000; 139,

The Official SupportShow Command Reference Guide 2-35

Page 60: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

0x10000000; 140, 0x10000000; 141, 0x10000000; 142, 0x10000000; 143, 0x10000000; 144, 0x10000000; 145, 0x10000000; 146, 0x10000000; 147, 0x10000000; 148, 0x10000000; 149, 0x10000000; 150, 0x10000000; 151, 0x10000000; 152, 0x10000000; 153, 0x10000000; 154, 0x10000000; 155, 0x10000000; 156, 0x10000000; 157, 0x10000000; 158, 0x10000000; 159, 0x10000000; 160, 0x10000000; 161, 0x10000000; 162, 0x10000000; 163, 0x10000000; 164, 0x10000000; 165, 0x10000000; 166, 0x10000000; 167, 0x10000000; 168, 0x10000000; 169, 0x10000000; 170, 0x10000000; 171, 0x10000000; 172, 0x10000000; 173, 0x10000000; 174, 0x10000000; 175, 0x10000000; 176, 0x10000000; 177, 0x10000000; 178, 0x10000000; 179, 0x10000000; 180, 0x10000000; 181, 0x10000000; 182, 0x10000000; 183, 0x10000000; 184, 0x10000000; 185, 0x10000000; 186, 0x10000000; 187, 0x10000000; 188, 0x10000000; 189, 0x10000000; 190, 0x10000000; 191, 0x10000000; 192, 0x10000000; 193, 0x10000000; 194, 0x10000000; 195, 0x10000000; 196, 0x10000000; 197, 0x10000000; 198, 0x10000000; 199, 0x10000000; 200, 0x10000000; 201, 0x10000000; 202, 0x10000000; 203, 0x10000000; 204, 0x10000000; 205, 0x10000000; 206, 0x10000000; 207, 0x10000000; 208, 0x10000000; 209, 0x10000000; 210, 0x10000000; 211, 0x10000000; 212, 0x10000000; 213, 0x10000000; 214, 0x10000000; 215, 0x10000000; 216, 0x10000000; 217, 0x10000000; 218, 0x10000000; 219, 0x10000000; 220, 0x10000000; 221, 0x10000000; 222, 0x10000000; 223, 0x10000000; 224, 0x10000000; 225, 0x10000000; 226, 0x10000000; 227, 0x10000000; 228, 0x10000000; 229, 0x10000000; 230, 0x10000000; 231, 0x10000000; 232, 0x10000000; 233, 0x10000000; 234, 0x10000000; 235, 0x10000000; 236, 0x10000000; 237, 0x10000000; 238, 0x10000000; 239, 0x10000000; 240, 0x10000000; 241, 0x10000000; 242, 0x10000000; 243, 0x10000000; 244, 0x10000000; 245, 0x10000000; 246, 0x10000000; 246, 0x10000000; 248, 0x10000000; 249, 0x10000000; 250, 0x10000000; 251, 0x10000000; 252, 0x10000000; 253, 0x10000000; 254, 0x10000000; 255, 0x10000000; quickLoop.holdOpenInit:0quickLoop.noAlpaZero:0quickLoop.peerWWN:00:00:00:00:00:00:00:00quickLoop.portBitmap:0x0000000000000000quickLoop.softInit:0rlsDisable:1route.delayReroute:0route.embeddedPortBcast:1route.stickyRoutes:0rpc.rapid:1rpc.rstatd:0rpc.rusersd:0sec.fstov:5000sec.mode:0sec.versionStamp:0shell.delete:0shell.quiet:0snmp.accessList.0.address:0.0.0.0snmp.accessList.0.rw:1snmp.accessList.1.address:0.0.0.0snmp.accessList.1.rw:1snmp.accessList.2.address:0.0.0.0snmp.accessList.2.rw:1snmp.accessList.3.address:0.0.0.0snmp.accessList.3.rw:1snmp.accessList.4.address:0.0.0.0snmp.accessList.4.rw:1snmp.accessList.5.address:0.0.0.0snmp.accessList.5.rw:1snmp.agtParty.0.address:0.0.0.0snmp.agtParty.0.authPrivSecret:Secret C0desnmp.agtParty.0.index:1snmp.agtParty.0.port:162snmp.agtParty.1.address:0.0.0.0snmp.agtParty.1.authPrivSecret:OrigEquipMfrsnmp.agtParty.1.index:2snmp.agtParty.1.port:162snmp.agtParty.2.address:0.0.0.0snmp.agtParty.2.authPrivSecret:privatesnmp.agtParty.2.index:3snmp.agtParty.2.port:162snmp.agtParty.3.address:0.0.0.0snmp.agtParty.3.authPrivSecret:publicsnmp.agtParty.3.index:4snmp.agtParty.3.port:162

2-36 The Official SupportShow Command Reference Guide

Page 61: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

snmp.agtParty.4.address:0.0.0.0snmp.agtParty.4.authPrivSecret:commonsnmp.agtParty.4.index:5snmp.agtParty.4.port:162snmp.agtParty.5.address:0.0.0.0snmp.agtParty.5.authPrivSecret:FibreChannelsnmp.agtParty.5.index:6snmp.agtParty.5.port:162snmp.authentTraps:0snmp.mibCap:3943snmp.swEventTrapLevel:0snmp.sysContact:Field Support.snmp.sysDescription:Fibre Channel Switch.snmp.sysLocation:End User Premise.snmp.sysObjectID:1588.2.1.1.1switch.interopMode:0switch.largeEntry.cap:0switch.status.policy.Blade.down:0switch.status.policy.Blade.marginal:1switch.status.policy.CP.down:0switch.status.policy.CP.marginal:1switch.status.policy.Fans.down:2switch.status.policy.Fans.marginal:1switch.status.policy.FaultyPorts.down:2switch.status.policy.FaultyPorts.marginal:1switch.status.policy.ISLStatus.down:0switch.status.policy.ISLStatus.marginal:0switch.status.policy.MissingSFPs.down:0switch.status.policy.MissingSFPs.marginal:0switch.status.policy.PortStatus.down:0switch.status.policy.PortStatus.marginal:0switch.status.policy.PowerSupplies.down:3switch.status.policy.PowerSupplies.marginal:0switch.status.policy.Temperatures.down:2switch.status.policy.Temperatures.marginal:1switch.status.policy.WWN.down:0switch.status.policy.WWN.marginal:1thresh.thad:1ts.clockServer:LOCLts.tzh:0ts.tzm:0xlativeModeDisable:0zoning.check.nodeNameDisabled:0zoning.standardMode:0

Licenses:bccSReQd9Q6ddTSF

The Official SupportShow Command Reference Guide 2-37

Page 62: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

DateAvailable in Fabric OS versions: v3.1.0+ and v4.1.0+Version Differences: Linux kernel switches have UTC in outputAdditional Example/Case Studies:v3.1 Example Output:

Example 2-13: DateWed Feb 12 17:17:57 2003

Troubleshooting Use: v4.2 Example Output:

Example 2-14: Date:Wed Dec 31 19:33:35 UTC 2003

Note: The date at the top of diagshow output was the only way to determine the capture date of the supportshow output prior to Fabric OS versions containing date output as part of supportshow

2-38 The Official SupportShow Command Reference Guide

Page 63: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

dbgshowAvailable in Fabric OS versions: v4.2 (system command group)Troubleshooting Use: Turn on debug if you know which module you are investigating.Additional Information:

Note: Generally you should turn on debug if you know which module you are investigating. The command dbgShow will show you all the modules you can enable. In general there are 1-9 levels of debug. Each level enables more debug 1 being for errors to 9 being for important data at which all debug statements are enabled. A word of caution, some modules have lots of debug and enabling them at level 9 may cause the switch to reboot.

Note: VxWorks: setdbg “<module_name>”, <debug_level> Note the double quotes around the module name.

Note: Linux: setdbg <module_name>, <debug_level>

Note: See the help pages for dbgShow and setDbg.

v4.2 Example Output:

Example 2-15: dbgshow:Module FKIO_LIB,debug level = 0, verbose level = 0Module CFGLOADER,debug level = 0, verbose level = 0Module ERRLOG,debug level = 0, verbose level = 0Module SYSC,debug level = 0, verbose level = 0Module FSSME,debug level = 0, verbose level = 0Module PDM,debug level = 0, verbose level = 0Module FSS,debug level = 0, verbose level = 0Module IOT,debug level = 0, verbose level = 0Module uSWD,debug level = 0, verbose level = 0Module ulSWD,debug level = 0, verbose level = 0Module FAB_IPC,debug level = 0, verbose level = 0Module HMON,debug level = 0, verbose level = 0Module DIAGD,debug level = 0, verbose level = 0Module EM,debug level = 0, verbose level = 0Module HAM,debug level = 0, verbose level = 0Module UPG,debug level = 0, verbose level = 0Module HB,debug level = 0, verbose level = 0Module HAMLIB,debug level = 0, verbose level = 0Module IPADMLIBRARY,debug level = 0, verbose level = 0Module FSPF,debug level = 0, verbose level = 0Module FLOOD,debug level = 0, verbose level = 0Module HLO,debug level = 0, verbose level = 0Module MPATH,debug level = 0, verbose level = 0Module UPATH,debug level = 0, verbose level = 0Module MCAST,debug level = 0, verbose level = 0Module UCAST,debug level = 0, verbose level = 0Module NBFSM,debug level = 0, verbose level = 0Module LSDB,debug level = 0, verbose level = 0Module FSPF_HA,debug level = 0, verbose level = 0

The Official SupportShow Command Reference Guide 2-39

Page 64: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Module SYS,debug level = 0, verbose level = 0Module PANIC,debug level = 0, verbose level = 0Module FSPF_IPC,debug level = 0, verbose level = 0Module ARR,debug level = 0, verbose level = 0Module NS,debug level = 0, verbose level = 0Module NSCAM,debug level = 0, verbose level = 0Module NSZNCHK,debug level = 0, verbose level = 0Module NSLIB,debug level = 0, verbose level = 0Module MQ,debug level = 0, verbose level = 0Module FCP_IPC,debug level = 0, verbose level = 0Module NS_RTWR,debug level = 0, verbose level = 0Module NS_PSD,debug level = 0, verbose level = 0Module FC_ASYNC,debug level = 0, verbose level = 0Module FABRIC,debug level = 0, verbose level = 0Module FCLS,debug level = 0, verbose level = 0Module AS,debug level = 0, verbose level = 0Module MS,debug level = 0, verbose level = 0Module SECLIB,debug level = 0, verbose level = 0Module TSLIB,debug level = 0, verbose level = 0Module MS_RTWR,debug level = 0, verbose level = 0Module MS_ARF,debug level = 0, verbose level = 0Module MSFICON,debug level = 0, verbose level = 0Module PATHINFO,debug level = 0, verbose level = 0Module PS,debug level = 0, verbose level = 0Module PSH,debug level = 0, verbose level = 0Module PSR,debug level = 0, verbose level = 0Module PSHA,debug level = 0, verbose level = 0Module PS_PROCLOCK,debug level = 0, verbose level = 0Module PS_RTWR,debug level = 0, verbose level = 0Module RCS,debug level = 0, verbose level = 0Module RCS_RTWR,debug level = 0, verbose level = 0Module EVMD,debug level = 0, verbose level = 0Module FCPD,debug level = 0, verbose level = 0Module SES,debug level = 0, verbose level = 0Module ERRLOGD,debug level = 0, verbose level = 0Module TRACK,debug level = 0, verbose level = 0Module FDMI,debug level = 0, verbose level = 0Module SLAP,debug level = 0, verbose level = 0Module SEC,debug level = 0, verbose level = 0Module PKI,debug level = 0, verbose level = 0Module WEBD,debug level = 0, verbose level = 0Module SNMP,debug level = 0, verbose level = 0Module CMD,debug level = 0, verbose level = 0Module FW,debug level = 0, verbose level = 0Module THA,debug level = 0, verbose level = 0Module PS_FWD,debug level = 0, verbose level = 0Module FWD_PROCLOCK,debug level = 0, verbose level = 0Module ZONE,debug level = 0, verbose level = 0Module ZS,debug level = 0, verbose level = 0Module ZONE_RTWR,debug level = 0, verbose level = 0Module ZONE_SM,debug level = 0, verbose level = 0Module ZONE_MR,debug level = 0, verbose level = 0Module ZONE_PROG,debug level = 0, verbose level = 0Module ZONE_HA,debug level = 0, verbose level = 0Module TS,debug level = 0, verbose level = 0Module HTTPD,debug level = 0, verbose level = 0Module PROXYFCG,debug level = 0, verbose level = 0Module IPADM,debug level = 0, verbose level = 0Module RPCD,debug level = 0, verbose level = 0Module PLATFORM,debug level = 0, verbose level = 0Module FABSYS,debug level = 0, verbose level = 0Module PANIC,debug level = 0, verbose level = 0Module SWITCH,debug level = 0, verbose level = 0Module CER,debug level = 0, verbose level = 0Module CERHA,debug level = 0, verbose level = 0

2-40 The Official SupportShow Command Reference Guide

Page 65: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Module SCN,debug level = 0, verbose level = 0Module PORT,debug level = 0, verbose level = 0Module FCIU,debug level = 0, verbose level = 0Module FCPH,debug level = 0, verbose level = 0Module EXCH,debug level = 0, verbose level = 0Module FCLS,debug level = 0, verbose level = 0Module FCSW,debug level = 0, verbose level = 0Module FCRT,debug level = 0, verbose level = 0Module FCCT,debug level = 0, verbose level = 0Module FCP,debug level = 0, verbose level = 0Module FCIP,debug level = 0, verbose level = 0Module LOGI,debug level = 0, verbose level = 0Module BLADE,debug level = 0, verbose level = 0Module BPORT,debug level = 0, verbose level = 0Module CHIPS,debug level = 0, verbose level = 0Module MINIS,debug level = 0, verbose level = 0Module LOOM,debug level = 0, verbose level = 0Module BLOOM,debug level = 0, verbose level = 0Module INTR,debug level = 0, verbose level = 0Module PHAN,debug level = 0, verbose level = 0Module LOOP,debug level = 0, verbose level = 0Module SPEED,debug level = 0, verbose level = 0Module RCV,debug level = 0, verbose level = 0Module XMT,debug level = 0, verbose level = 0Module DIAG,debug level = 0, verbose level = 0Module FLTR,debug level = 0, verbose level = 0Module HA,debug level = 0, verbose level = 0Module TRUNK,debug level = 0, verbose level = 0Module DMA,debug level = 0, verbose level = 0Module FMF,debug level = 0, verbose level = 0Module ERRLOG,debug level = 0, verbose level = 0Module PORTLOG,debug level = 0, verbose level = 0Module DIAGD,debug level = 0, verbose level = 0Module DBGLOG,debug level = 0, verbose level = 0Module kSWD,debug level = 0, verbose level = 0Module uSWD,debug level = 0, verbose level = 0Module FCMISC,debug level = 0, verbose level = 0Module HAMKERNEL,debug level = 0, verbose level = 0Module SYNC_SWC,debug level = 0, verbose level = 0Module RCVY_SWC,debug level = 0, verbose level = 0Module FSSK,debug level = 0, verbose level = 0Module PORTSWAP,debug level = 0, verbose level = 0

The Official SupportShow Command Reference Guide 2-41

Page 66: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

diagShowAvailable in Fabric OS versions: AllVersion Differences: There are version differences in the format of the output and in the syntax: v3.0: diagshow [nSeconds]v4.0: diagshow [-slot slot][-uports itemlist][-bports itemlist] [-use_bports value]

Troubleshooting Use: Use this command to print diagnostic results since the last boot. It also contains the date of the capture and information on number of frames transmitted (tx) and received (rx) along with associated low level interupts (LLIs).

This command prints the following information since the switch was last rebooted:

1. The state of all ports in the switch based on the results of diagnostic executions since the last reboot. Ports which passed diagnostic testing are marked “OK”. Ports which failed one or more diagnostic tests are marked “BAD”.

Note: Once a port is mark “BAD” it needs to be cleared by executing the diagclearerror command. If it is not cleared subsequent tests will fail, even if the faulty condition is removed.

2. The current state of the ports: active ports are shown as “UP” and inactive ports are shown as “DN”.

3. The Frame counts of active ports. The number of frames transmitted are indicated by “frTx” and the number of frames received are indicated by “frRx”.

The “LLI_errs” is the sum of the port’s eight statistic error counters:ENC_in, CRC_err, TruncFrm, FrmTooLong, BadEOF, Enc_out, BadOrdSet, DiscC3

4. The state of the Central Memory based on the results of diagnostic executions since the last reboot. “OK” is displayed if previous centralMemoryTest executions passed. “FAULTY” is displayed if the switch failed centralMemoryTest.

5. The Total diagnostic frames transmitted and received since last reboot. The sums represent the cumulative number of frames transmitted and received by the diagnostic functional tests (portLoopbackTest, crossPortTest (or spinSilk for the transmitted count only)) for all ports since the last reboot. For example, if the switch is rebooted with POST disabled, diagShow will show the total as 0. The values are not necessarily equal. They are not equal when an error occurs in one of the ports during one of the tests above.

This command may also be executed via the “s” (Stats) option of the – QCSL - diag prompt which is generated when a diagnostic test is keyboard interrupted.

This command may also be looped by specifying the display intervals (in seconds) as the first argument. For example “diagShow 4” executes diagShow every 4 seconds continuously unless stopped by a keyboard interrupt. This may be used to isolate a bad GBIC. A port with changing “LLI_errs” value prefixed by “**” indicates port is detecting more errors.

v3.x Example Output:

Example 2-16: diagShow 0Diagnostics Status: Thu Oct 17 15:24:01 2002 (Note: this is supportShow capture date)port#: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15diags: OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OKstate: UP UP UP UP UP UP UP UP UP DN UP UP UP UP UP UPspeed: 2G 2G 1G 2G 2G 2G 2G 2G 2G 2G 2G 2G 2G 2G 2G 2G

pt0: 43036276 frTx107084405 frRx 38 LLI_errs. pt1: 35673191 frTx107090193 frRx 39 LLI_errs. pt2: 70084586 frTx 29565015 frRx 1619 LLI_errs. pt3: 10575553 frTx 7349761 frRx 95825 LLI_errs. pt4: 3009638 frTx 2011177 frRx 22 LLI_errs. pt5: 1376961 frTx 859950 frRx 35 LLI_errs. pt6:108459734 frTx 36419372 frRx 78 LLI_errs.

2-42 The Official SupportShow Command Reference Guide

Page 67: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

pt7: 8352074 frTx 5070104 frRx 29 LLI_errs. pt8: 8352358 frTx 5074068 frRx 20 LLI_errs. pt10: 103004 frTx 69219 frRx 77 LLI_errs. pt11: 8184489 frTx 4875626 frRx 35 LLI_errs. pt12: 80614266 frTx 10923977 frRx 54 LLI_errs. pt13: 8737327 frTx 20781940 frRx 133 LLI_errs. pt14: 23116364 frTx 46936163 frRx 37 LLI_errs. pt15: 21436681 frTx 47017360 frRx 38 LLI_errs.

Central Memory OKTotal Diag Frames Tx: 3472Total Diag Frames Rx: 5068 Total Diag Frames Rx: 136112

This view is from a production SAN. If diagnostics were running you would see ptx loopback information:pt0: 100 frTx 100 frRx 0 LLI_errs. <looped-7>pt7: 100 frTx 100 frRx 0 LLI_errs. <looped-0>

Note: Ports can be put in loopback mode using the portcfgmcastloopback command.

Look for rapidly rising LLI_errs, check porterrshow output to determine which statistical counters generated the errors. Clear some of the statistical counters on the same quad using portstatsclear <port #>, portstatsclear is an undocumented command so is subject to change by Fabric OS versions: not all Fabric OS versions clear port stats in the same format, some clear 2 or 3 ports per quad. If port statistics continue to rise, move the cable to another port. If the problem follows the cable then suspect a faulty cable or attached media (GBIC/SFP/HBA and/or HBA driver). If the problem disappears, run crossporttest with a loopback plug in online/verbose mode to determine if the GBIC/SFP or port is faulty. Crossporttest, spinsilk and portloopback tests can also be run offline, internally looped to test the port /ASIC.

v4.2 Example Output:

Example 2-17: diagshow of slot 1:

Diagnostics Status: Wed Dec 31 19:34:04 2003

Slot: 1 UPORTSPort BPort Diag Active Speed FrTX FrRX LLI Errs Loopback 1/0 7 OK DN 2G Auto -- -- -- 1/1 6 OK UP 2G Auto 1334895 813241 1306 1/2 5 OK DN 2G Auto -- -- -- 1/3 4 OK DN 2G Auto -- -- -- 1/4 15 OK DN 2G Auto -- -- -- 1/5 14 OK DN 2G Auto -- -- -- 1/6 13 OK DN 2G Auto -- -- -- 1/7 12 OK DN 2G Auto -- -- -- 1/8 23 OK DN 2G Auto -- -- -- 1/9 22 OK DN 2G Auto -- -- -- 1/10 21 OK DN 2G Auto -- -- -- 1/11 20 OK DN 2G Auto -- -- -- 1/12 31 OK DN 2G Auto -- -- -- 1/13 30 OK DN 2G Auto -- -- -- 1/14 29 OK DN 2G Auto -- -- -- 1/15 28 OK DN 2G Auto -- -- --

Central Memory: OKTotal Diag Frames Tx: 0Total Diag Frames Rx: 0

Slot: 2 UPORTS

The Official SupportShow Command Reference Guide 2-43

Page 68: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Port BPort Diag Active Speed FrTX FrRX LLI Errs Loopback 2/0 7 OK DN 2G Auto -- -- -- 2/1 6 OK DN 2G Auto -- -- -- 2/2 5 OK DN 2G Auto -- -- -- 2/3 4 OK DN 2G Auto -- -- -- 2/4 15 OK DN 2G Auto -- -- -- 2/5 14 OK DN 2G Auto -- -- -- 2/6 13 OK DN 2G Auto -- -- -- 2/7 12 OK DN 2G Auto -- -- -- 2/8 23 OK DN 2G Auto -- -- -- 2/9 22 OK DN 2G Auto -- -- -- 2/10 21 OK DN 2G Auto -- -- -- 2/11 20 OK DN 2G Auto -- -- -- 2/12 31 OK DN 2G Auto -- -- -- 2/13 30 OK DN 2G Auto -- -- -- 2/14 29 OK DN 2G Auto -- -- -- 2/15 28 OK DN 2G Auto -- -- --

2-44 The Official SupportShow Command Reference Guide

Page 69: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

errDumpAvailable in Fabric OS versions: AllVersion Differences: VxWorks switch outputs will have a small “t” in the front of the task name. VxWorks switches

have an active error log only. Troubleshooting Use:

The output of the errdump command includes the display of errors/events history recorded in the persistent error log and error/events logged in the current run time cycle. This command also provides options to display ONLY those error/event messages that are saved in the persistent error log, or ONLY those messages generated during the current run time cycle. All important error log messages, regardless of their message severity level, are stored in a persistent storage as they are logged. Both the persistent error log and the run time log are limited in space and managed as circular buffers. When either log overflows, old entries are replaced by new entries. A troubleshooting best practice includes forwarding these error logs to a host in the SAN using the syslogd capability of the switch. The persistent error log is saved across system reboots and power cycles and can be resized at run time. The error log tells a story about what happens in the fabric - especially if fabric watch is used (see notes below). Use Brocade diagnostic and error message guides to interpret the output of errdump.

Note: When this command is executed from the Standby CP of a Silkworm 12000, the switch instance number operand is required. The switch instance number is supplied by specifying the <-s swinst> operand. This operand is not required when logged into the Active CP.

• The active error Log has been enhanced to save a maximum of 1536 messages in RAM, that is, a total of 256 messages for each error message level (Panic, Critical, Error, Warning, Info, and Debug)

• In addition, 1024 to 2048 important messages can be stored in a separate persistent error log to guarantee that they are not lost in case of power outage or system reboot

Notes for error messages 105 through 107: The partial errdump Examples #8 below shows a log with the latest active error entries and the latest persistent error entries. See notes associated with the entries, reading from error message 105 and up.

Example 2-18: v4.1 errdump -a:errdump -a:

The following error 107, shows another Fabric Watch warning for the same port (port 10). It lets us know that the state changes per minute went below the set threshold. It’s back to “normal”.

Error 107 --------0x32c (fabos): Oct 17 22:21:35 Switch: 0, Warning FW-BELOW, 3, fopportState010 (FOP Port State Changes 10) is below low boundary. current value : 0 Change(s)/minute. (normal)

The following error 106, shows another Fabric Watch warning for the same port (port 10), it says fopportState010, the “Fopport” tells us it’s an F, optical port and the “State” represents a state change message on 010 port 10. It reads in as FW_ABOVE and (faulty). There must be a threshold configured to notify when you go above x state changes (and that x must be 3 or lower per minute because that is what it’s reporting….3 changes per minute. A link failure will cause multiple state changes. The State Changes area counts the number of times that a port has gone offline or online; has been testing or faulty; has become an E_Port or F_Port; has joined a trunk; or has segmented. In this case the port went offline, came back online and then became an F_Port causing 3 state changes.

Error 106 --------0x32c (fabos): Oct 17 22:20:03 errDump (Cont.)Switch: 0, Warning FW-ABOVE, 3, fopportState010 (FOP Port State Changes 10) is above high boundary. current value : 3 Change(s)/minute. (faulty)

The Official SupportShow Command Reference Guide 2-45

Page 70: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Error 105 shows a Fabric Watch link failure LF message (faulty) for an optical port above a set high boundary. The site log shows that the cable was pulled at this time to insert a FC analyzer.

--------0x32c (fabos): Oct 17 22:20:03 Switch: 0, Warning FW-ABOVE, 3, fopportLink010 (FOP Port Link Failures 10) is above high boundary. current value : 1 Error(s)/minute. (faulty)

Notes for error messages 97 104: Read the curved notes from 97 up.Error 104 shows FW reporting that the switch is now healthy. --------0x32c (fabos): Oct 17 17:45:36 Switch: 0, Warning FW-STATUS_SWITCH, 3, Switch status changed from Marginal/Warning to HEALTHY/OK

Error 103 shows the high availability monitor kernal reading that the heartbeat between CP’s is up. --------0x2e0 (fabos): Oct 17 17:45:36 Switch: 0, Debug HAMKERNEL-IP_UP, 5, (session=12) Heartbeat up from Standby CP

Error 102 shows the high availability monitor registering that the CP in slot 5 is syncing upÖ.going to redundant state--------0x2e0 (fabos): Oct 17 17:45:33 Switch: 0, Info HAM-REDUNDANT_INFO, 4, (Heartbeat Up) System in REDUNDANT state

Error 101 shows CP in slot 5 that was just inserted again being set to faulty, it’s still trying to sync up with CP slot 6.--------0x2c6 (fabos): Oct 17 17:43:26 Switch: 0, Error EM-CP_ERR, 2, CP in slot 5 set to faulty because of CP ERROR

Error 100 shows the high availability monitor kernal responding to CP in slot 5 being faulty, it’s still trying to sync up with CP slot 6.

--------0x0 (fabos): Oct 17 17:43:26 Switch: 0, Info HAMKERNEL-NON_REDUNDANT, 4, (session=11) Reset Standby CP due to CP error interrupt (hamStatus=2e1)

Error 99 shows CP in slot 5 that was just inserted being set to faulty, it’s trying to sync up with CP slot 6. --------0x2c6 (fabos): Oct 17 17:34:48 Switch: 0, Error EM-CP_ERR, 2, CP in slot 5 set to faulty because of CP ERROR

Error 98 shows the high availability monitor kernal responding to the insertion. --------0x0 (fabos): Oct 17 17:34:47 Switch: 0, Info HAMKERNEL-NON_REDUNDANT, 4, (session=11) Reset Standby CP due to CP error interrupt (hamStatus=2e1)

Error 97 shows a FRU insertion on slot 5 which is reserved for CP’s, check historyshow for correlating message.--------0x2c6 (fabos): Oct 17 17:28:56 Switch: 0, Info EM-FRU_INS, 4, Slot #5 insertion detected.

2-46 The Official SupportShow Command Reference Guide

Page 71: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Notes for partial persistent log error messages 65 – 67: Notice that these last 3 persistent messages match active error messages 99 – 101, the additional active error messages (101 –107) had not been read into the persistent error log at the time this supportshow capture. The default level for entry into the persistent log is 1 which means that, by default, only levels 1 and 0 are recorded into the persistent log. The persistent error log here has been set to at least level 4 and above by executing errsavelvlset 4 at the command line. This means that all level 0 – 4 error levels will be read into this log.

Example 2-19: v4.1 errdump -perrdump -p:Error 67--------0x2c6 (fabos): Oct 17 17:43:26 Switch: 0, Error EM-CP_ERR, 2, CP in slot 5 set to faulty because of CP ERROR

Error 66--------0x0 (fabos): Oct 17 17:43:26 Switch: 0, Info HAMKERNEL-NON_REDUNDANT, 4, (session=11) Reset Standby CP due to CP error interrupt (hamStatus=2e1)

Error 65--------0x2c6 (fabos): Oct 17 17:34:48 Switch: 0, Error EM-CP_ERR, 2, CP in slot 5 set to faulty because of CP ERROR

Fabric OS v4.0.2 related commands include:errDump Displays the error log without page breaks errShow Displays the error log in with page breaksErrDump/Show –s 0 –a or –p

Displays the active (-a) or persistent (-p) error log for logical switch 0 from the non- active CP (-s switch instance, or logical switch number. In this case logical switch 0 was specified)

errClear An ADMIN level command that clears the error log. The –s 0 or 1 and –a an –p operands can be used here as well. This was a root level command on v3.x OS switches.

ErrSaveLvlShow/Set This command shows and sets the error message levels that will be sent to the persistent error log.

Example 2-11: errSaveLvlSet examples:sw0:admin> errSaveLvlShow Current message save level is = 1sw0:admin> errsavelvlset 3sw0:admin> errSaveLvlShow Current message save level is = 3

ErrNvLogSizeShow/Set

This command shows and sets the max size of the persistent error log. The default is 1024, the range is 1024 to 2048.

Example 2-12: errNvLogSizeShow/Set examples:switch:admin> errNvLogSizeShow Persistent Error Log can store 1024 entriesswitch:admin> errNvLogSizeSet 2048 Persistent error log is resized to store 2048 entriesswitch:admin> errNvLogSizeShow Persistent Error Log can store 2048 entriesswitch:admin> errNvLogSizeSet 2148 Can not set persistent log size to more than 2048 entries

fwAlarmsFilterSet 0/1 Sets alarms filtering for Fabric Watch (0 = off; 1 =on)2, if off FW alarms will not be sent to the error log

The Official SupportShow Command Reference Guide 2-47

Page 72: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

trackChangesSet [ mode ], [ snmp-trap mode ]Enables track-changes feature if the “mode” operand is a 1 and disables track-changes feature if the “mode” operand is a 0. A SNMP-TRAP can similarly be enabled and disabled.

The error output has highly valuable information, especially when used in conjunction with the Brocade Diagnostic and System Message and the Responding to FW messages Guides. The error log is used to check for segmentation problems, reboot reasons, temperature and other environment warnings, hardware error condition, switch status, high availability messages, and track changes information if track changes are enabled. Also see decoded examples and names/ pages numbers of these decoding references in the V3.0 errdump section:

v4.2 Example Output:

Example 2-20: errdump -aerrdump -a:

Error 29--------0x258 (fabos): Dec 31 10:18:11 Switch: 0, Info EM-FRU_REM, 4, FRU Slot #3 removal detected.

Error 28--------0x39b (fabos): Dec 30 14:55:44 Switch: 0, Warning SULIB-FWDL_END, 3, Firmwaredownload command has completed successfully.

Error 27--------0x39b (fabos): Dec 30 14:53:21 Switch: 0, Info SULIB-CP_REBOOT_OK, 4, Standby CP rebooted successfully.

Error 26--------0x238 (fabos): Dec 30 14:53:15 Switch: 0, Info FSSME-HA_IN_SYNC, 4, HA State is in sync!

Example: errdump -perrdump -p:

Error 52--------0x258 (fabos): Dec 31 10:18:11 Switch: 0, Info EM-FRU_REM, 4, FRU Slot #3 removal detected.

Error 51--------0x39b (fabos): Dec 30 14:55:44 Switch: 0, Warning SULIB-FWDL_END, 3, Firmwaredownload command has completed successfully.

Error 50--------0x39b (fabos): Dec 30 14:53:21 Switch: 0, Info SULIB-CP_REBOOT_OK, 4, Standby CP rebooted successfully.

Error 49--------0x238 (fabos): Dec 30 14:53:15 Switch: 0, Info FSSME-HA_IN_SYNC, 4, HA State is in sync!

Error 48--------0x0 (fabos): Dec 30 14:53:00 Switch: 0, Info HAMKERNEL-HTBT_UP, 4, Heartbeat up

2-48 The Official SupportShow Command Reference Guide

Page 73: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fablogdumpAvailable in Fabric OS versions:v3.0 and v3.1Version Information: The output of this command is similar to the output of version 4.1 fabstateshowv4.2 Example Output: NATroubleshooting Use: Use this command to display switch State Change Information read output from bottom up –

See fabstateshow embedded notes for additional information.

Note: This command has no additional Fabric OS information at this time but the information displayed in this output is very similar to the output that is displayed in Fabric OS 4.1 fabstateshow output which is documented in this document. As the information becomes available command and command information will be inserted in this section.

Example 2-21: v3.1.2 output22:17:46.926 tFabric 11 00000000 Fabric rcvd Offline SCN22:17:46.942 tFabric 12 00000000 Fabric rcvd Offline SCN22:17:46.959 tTransmit 0 00000000 ELP received22:17:46.959 tFabric 0 00000000 Sent ELP22:17:46.959 tFabric 14 00000000 Fabric rcvd Offline SCN22:17:46.976 tFabric 15 00000000 Fabric rcvd Offline SCN22:17:47.359 tFabric 0 00000000 Fabric rcvd Online SCN22:17:50.359 tFabric 0 00000084 ELP unsuccessful - Async state 0x8422:17:50.442 tTransmit 0 00000000 EFP received22:17:50.492 tTransmit 0 04000001 AAI received22:17:50.509 tFabric 0 04000881 RDI sent22:17:50.642 tFabric 255 00000000 AAI flood started22:17:50.642 tFabric 255 00000000 AAI flood end22:17:50.642 tFabric 16 00000010 Fabric rcvd Online SCN22:17:50.642 tFabric 0 04000881 Sent EFP22:17:50.676 tFabric 0 00000881 Fabric rcvd Online SCN22:17:50.646 tFabric 16 00000000 EFP flood started22:17:50.646 tFabric 16 00000000 EFP flood end22:17:51.929 tTransmit 0 00000881 EFP received

The Official SupportShow Command Reference Guide 2-49

Page 74: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fabportshowAvailable in Fabric OS versions: v4.1, v4.2Version Information: V3.1 plus switches have a similar output that can be viewed from the CLI. See Example 2-23Troubleshooting Use: Use this command to display the contents of a particular port data and also any pending

commands (if applicable). The following information is displayed:Port Displays the port number.State The state of the port:P0 - Port OfflineP1 Port OnlineP2 ELP ACC ReceivedP3 Link Reset DoneI0 Trunk Initiator: EMT SentI1 Trunk Initiator: ETP ACC ReceivedI2 Trunk Initiator: ETP SentI3 Trunk Initiator: Link ResetT0 Trunk Target: EMT ReceivedT1 Trunk Target: ETP ReceivedT2 Trunk Target: Link ResetList IU list pointer.Flags Port flags:0x00000001 slave connection0x00000002 loop back connection0x00000004 incompatible connection0x00000008 overlapping domains0x00000010 overlapping zones0x00000020 done PTIO ioctl0x00000040 sent a RJT to ELP0x00000080 BF received from the port0x00000200 segmented by routing code0x00000800 zoning has completed0x00001000 segmented by Platform Management0x00002000 segmented due to no license0x00004000 segmented due to E_Port disabling0x00008000 DIA already sent for that port0x00010000 RDI already sent0x00020000 port is true T port0x00040000 Port received an ELP0x00080000 Port received an ELP RJT0x00100000 LR Pending due to ELP RJT rcv0x00200000 Received a DIA on this port0x00400000 Port is the EMT Initiator0x00800000 Security violation0x01000000 Security incompatibility

2-50 The Official SupportShow Command Reference Guide

Page 75: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

0x02000000 Rcv a DIA ACCnbrWWN Neighboring switch's WWNred_ports All E-Ports that are connected to the same neighboring switch.

Example 2-13: To display fabric port information:switch:admin> fabportshow 4/14Fabric Port Information:========================Port: 62State: P3List: 0x10068418List Count: 0Flags: 0x280120nbrWWN: 10:00:00:60:69:80:06:cfred_ports:10 11 62 63Open commands pending:======================No commands pendingswitch:admin>

Example 2-14: fabportshow: appears in supportshow output for each port:fabportshow:fabportshow 2 0:Fabric Port Information:========================

Port: 16State: P0List: 0x1004d430List Count: 0Flags: 0x0nbrWWN: 00:00:00:00:00:00:00:00lr_tid: 0x1004d520, IDLE STATEred_ports:

Port – Area number State Possibilities include:

P, Pn -> current port state and next port state. Possible port states include:

P0 – Port offline or in initial state

P1 – Port online

P2 – Send /receive ELP accept

P3 – Receive active port state

I0 - exchange trunk time stamp.

I1 – Receive time stamp accept, then send trunk parameters

I2 – Receive trunk parameter accept, transition to I3, and link reset port

I3 – Wait for port active state.

T0 – Receive trunk time stamp

T1 – Receive trunk parameter.

T2 – Send trunk parameter accept

The Official SupportShow Command Reference Guide 2-51

Page 76: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

T3 – Wait for port active state.

LD – After sending an ECP (Exchange Credit Parameters). This is for dynamic long distance VC Credit assignment.

List – A list pointer that contains entries of pending commands sent out.

List count – The number of commands pending.

Flags – Private Brocade Engineering flags - see port flags list above.

Lr_tid – A Link Reset timer pointer.

Red_ports – Redundant E-Ports that are connected to the same switch.

NbrWWN – The WWN of the neighboring switch, only set if port state reaches P3 state.

What are possible outputs and meanings of same for each?

Expected output when port comes online is that the port state is not in P0 state.

For Trunk Masters and E-Ports not segmented, port states should end at P3 state.

When would I see a problem?

1) If port is at P3 state, and nbrWWN is all zero.

2) If fabric is stable with no fabric frames sent, that the list count should be zero, else a possible memory leak.

3) If port information read doesn’t match switchShow output.

v4.2 Example Output:

Example 2-22: fabportshow:fabportshow internal port(128):Fabric Port Information:========================

Port: 128State: NAList: 0x10057a50List Count: 0Flags: 0x0nbrWWN: 00:00:00:00:00:00:00:00lr_tid: 0x10057b40, IDLE STATEred_ports:

Open commands pending:======================No commands pending

Additional Example/Case Studies: This is a v3.1.2 fabportshow, non-supportshow command output example. Much of the information shared above applies.

Example 2-23: v3.1.2 output22:17:46.926 tFabric 11 00000000 Fabric rcvd Offline SCN22:17:46.942 tFabric 12 00000000 Fabric rcvd Offline SCN22:17:46.959 tTransmit 0 00000000 ELP received22:17:46.959 tFabric 0 00000000 Sent ELP22:17:46.959 tFabric 14 00000000 Fabric rcvd Offline SCN22:17:46.976 tFabric 15 00000000 Fabric rcvd Offline SCN22:17:47.359 tFabric 0 00000000 Fabric rcvd Online SCN22:17:50.359 tFabric 0 00000084 ELP unsuccessful - Async state 0x8422:17:50.442 tTransmit 0 00000000 EFP received

2-52 The Official SupportShow Command Reference Guide

Page 77: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

22:17:50.492 tTransmit 0 04000001 AAI received22:17:50.509 tFabric 0 04000881 RDI sent22:17:50.642 tFabric 255 00000000 AAI flood started22:17:50.642 tFabric 255 00000000 AAI flood end22:17:50.642 tFabric 16 00000010 Fabric rcvd Online SCN22:17:50.642 tFabric 0 04000881 Sent EFP22:17:50.676 tFabric 0 00000881 Fabric rcvd Online SCN22:17:50.646 tFabric 16 00000000 EFP flood started22:17:50.646 tFabric 16 00000000 EFP flood end22:17:51.929 tTransmit 0 00000881 EFP received

The Official SupportShow Command Reference Guide 2-53

Page 78: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fabricShowAvailable in Fabric OS versions: AllTroubleshooting Use: Use this command to display fabric membership information

Use this command to display information about switches and multicast alias groups in the fabric. Multicast alias groups are created on demand by request from N_Ports attached to the alias server; typically no groups are listed. If the switch is initializing, or disabled, the message “no fabric” is displayed. If the fabric is reconfiguring, some or all switches may not be shown. Otherwise, the following fields are shown:

Switch ID The switch Domain_ID and embedded port D_ID.Worldwide Name The switch WWN.Enet IP Addr The switch ethernet IP address.FC IP Addr The switch FC IP address.Name The switch symbolic name. An arrow (>) indicates the principal switch. If multicast alias groups exist, the following fields are shown:Group ID The alias group number and D_ID.Token The alias group token (assigned by the N_Port).Additional Example/Case Studies:v3.x Example Output:

Example 2-15: fabricShowSwitch ID Worldwide Name Enet IP Addr FC IP Addr Name------------------------------------------------------------------------- 6: fffc06 10:00:00:60:69:80:64:5a 10.134.150.8 0.0.0.0 "cfs001a" 7: fffc07 10:00:00:60:69:80:64:5b 10.134.150.9 0.0.0.0 "cfs001b" 11: fffc0b 10:00:00:60:69:51:a3:ba 10.134.150.15 0.0.0.0 "efs001" 13: fffc0d 10:00:00:60:69:51:b3:1a 10.134.150.17 0.0.0.0 "efs003" 15: fffc0f 10:00:00:60:69:51:43:66 10.134.150.19 0.0.0.0 "efs005" 17: fffc11 10:00:00:60:69:51:43:c0 10.134.150.21 0.0.0.0 >"efs007"

Note: Use this in the “host doesn’t see storage” scenario. Check that the host is in the same Fabric as the storage. This output can also be used to match fabric output to customer drawings. Use it, topologyshow and nsallshow to get a high level picture of the fabric. The portlogdump output can also be used in conjunction with fabricshow output to track misbehaving fabric devices - you will have to come to fabricshow output to determine which switch the misbehaving device is attached to. It would be easier to track fabric problems if the switch name had the domain id in it.

Note: The fffcdd is the 24-bit address of the embedded port (also called domain controller or switch id) for this switch. The dd value is the domain id of the switch in hex. The Switch ID column left of “:” represents the switches domain, in the example above, fffc0b represents the embedded port for domain 11 and fffc11 represents the domain id for domain 17 and so on. The > symbol points to the principle fabric switch which maintain domain integrity and pulls and pushes time services to all switches in the fabric so make sure this principle switch is pointing to an accurate time server. A fabric principal switch can be set on v4.1 plus switches - see fabswitchShow on page 2-64 for standards information about fabric principal switch selection.

2-54 The Official SupportShow Command Reference Guide

Page 79: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

v4.2 Example Output:

Example 2-24: fabricshow:Switch ID Worldwide Name Enet IP Addr FC IP Addr Name------------------------------------------------------------------------- 1: fffc01 10:00:00:60:69:80:2d:4a 10.64.148.32 0.0.0.0 >"SW24000_32"

Note: Note: Brocade Switch WWN's can be used to identify the types of switches in the fabric from the fabricshow output.

WWN by product (look at the last 6 digits of the WWN, this is subject to change) 10:00:00:60:6910:xx:xx through 4F:xx:xx -> 2x00 series10:00:00:60:6950:xx:xx -> 3800 series 10:00:00:60:6951:xx:xx -> 3200 series 10:00:00:60:6980:xx:xx -> 12000 switches 10:00:00:60:6990:xx:xx -> 3900 switches

The Official SupportShow Command Reference Guide 2-55

Page 80: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fabstateShowAvailable in Fabric OS versions: 4.0.2c, v4.1, v4.2Troubleshooting Use: Use this command to display switch State Change Information – See embedded notes.

S,Sn -> current switch state and next switch state. Possible switch states include:

When an Inter-Switch Link is established the Switch should either request Build Fabric (BF) and enter state F0, or request Exchange Fabric Parameters (EFP) and enter state F2.

• F0 – Non-Disruptive Fabric Reconfiguration request, Build Fabric BF, transition state• F2 – EFP idle state• D0 – Setup: At the completion of Principal Switch Selection, the Principal Switch shall assume the role of Domain

Address Manager.• D1 – Send DIA: The Principal Switch shall then transmit a DIA SW_ILS request Sequence on all E_Ports.• D2 – Idle: The Principal Switch shall remain in this state until it receives an RDI SW_ILS request Sequence.

Reception of RDIs and or EFPs shall be queued in this state.• A0 – Get Domain_ID: At the completion of Principal Switch Selection, the Switch receives the DIA SW_ILS request

Sequence via the upstream Principal ISL.• A1 – Send DIA: After the Switch is granted a Domain_ID, it shall then transmit a DIA SW_ILS request Sequence via

all ISLs other than the Principal ISL.• A2 – Idle: The Switch shall remain in this state until it receives an RDI SW_ILS request Sequence. Reception of RDIs

and or EFPs shall be queued in this state.

Note: Switches will end up in D2 (principle) or A2 (non-principle) state. See fcsw3 standards documentation.

P, Pn -> current port state and next port state. Possible port states include:

• P0 – Port offline or in initial state• P1 – Port online• P2 – Send /receive ELP accept• P3 – Receive active port state • I0 - exchange trunk time stamp.• I1 – Receive time stamp accept, then send trunk parameters• I2 – Receive trunk parameter accept, transition to I3, and link reset port • I3 – Wait for port active state.• T0 – Receive trunk time stamp• T1 – Receive trunk parameter.• T2 – Send trunk parameter accept• T3 – Wait for port active state.• Port -> port number• Xid -> exchange ID.

Example 2-25: fabstateshowTime Stamp Input and *Action S, P Sn,Pn Port Xid ===========================================================================07:38:55.230 *Initiate ELP NA,P0 F2,NA NA NA 07:40:07.666 SCN Switch Online F2,NA F2,NA NA NA 07:40:07.668 *Start 2 * F_S_TOV Timer F2,NA F2,NA NA NA 07:40:07.862 *Start 24 * F_S_TOV Timer F2,NA F2,NA NA NA

2-56 The Official SupportShow Command Reference Guide

Page 81: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

This shows that the switch initial state is F2 and end F2, F2 is the state that ONLINE SCN receive feed into. Each F_S_TOV timer is typically 5 seconds, the 24* F_S_TOV is the time allowed for the switch to receive a domain ID.

07:40:08.417 SCN LR_PORT (0) F2,P0 F2,P0 10 NA 07:40:08.537 debug - scn port online F2,P0 F2,P0 10 NA 07:40:08.537 SCN Port Online F2,P0 F2,P1 10 NA 07:40:08.542 *ELP Send F2,P1 F2,P1 10 0x1 07:40:08.612 SCN Port Offline F2,P1 F2,P0 10 NA 07:40:08.618 *Removing all nodes from port F2,P0 F2,P0 10 NA

The lines above show start port state P0 and end port state P1 on port 10 followed by an ELP with OXID 0x1, then offline port 10. the last line, port start and end states both P0 cleans the slate, which is also a good starting point -see next line.

07:40:08.812 debug - scn port online F2,P0 F2,P0 13 NA 07:40:08.813 SCN Port Online F2,P0 F2,P1 13 NA 07:40:08.813 SCN Port F_PORT F2,P1 F2,P0 13 NA

The lines above show start port state P0 and end port state P1 on port 13 followed by the port becoming an F_Port. 07:40:08.814 *Removing all nodes from port F2,P0 F2,P0 13 NA 07:40:08.815 SCN Port Offline F2,P0 F2,P0 13 NA 07:40:08.815 *Removing all nodes from port F2,P0 F2,P0 13 NA07:40:18.734 *Cancel 24 * F_S_TOV Timer F2,NA F2,NA NA NA 07:40:18.735 2 * F_S_TOV Expired F2,NA D0,NA NA NA

The lines above show start port state P0 and end port state P1 on port 13 followed by the port becoming an F_Port. Note that the time stamp 07:40:08.815 *Removing all nodes from port and the message: 07:40:18.735 2 * F_S_TOV Expired occurred in 10 seconds. Port 13 ends up not being an F_Port, it’s end stat is P0, P0 - clean the port state slate. Also notice that the switch state transitions from F2 to D0, so it became the principle switch.

07:40:18.735 *Efp Flood (Am Principal) D0,NA D0,NA NA NA 07:40:18.736 *EFP Flood D0,NA D0,NA NA NA 07:40:18.737 *EFP Flood Done D0,NA D1,NA NA NA 07:40:18.737 *DIA Flood D1,NA D1,NA NA NA 07:40:18.738 *DIA Flood Done D1,NA D2,NA NA NA

The lines above show start switch state D0, principle switch state, sending out an EFP flood with updated Fabric Parameters and then transitions to D2 to wait for possible EFP’s and RDI’s.

07:40:18.738 Start Ext DomVal Timer D2,NA D2,NA NA NA Allow Fabric time to forwared RDI’s07:40:19.047 Ext DomVal Timer Expired D2,NA D2,NA NA NA 07:40:19.047 *Validate Domain 1 D2,NA D2,NA NA NA 07:40:19.194 1) fabInqData D2,NA D2,NA NA NA 07:40:19.253 2) fabInqData D2,NA D2,NA NA NA

Getting information for fabricshow, in this one switch fabric information will only come from itself07:40:19.329 RSCN Rcv addr: 0x3000000 D2,NA D2,NA NA NA07:40:19.463 SCN LR_PORT (0) D2,P0 D2,P0 10 NA 07:40:19.597 debug - scn port online D2,P0 D2,P0 10 NA 07:40:19.597 SCN Port Online D2,P0 D2,P1 10 NA 07:40:19.599 *ELP Send D2,P1 D2,P1 10 0x13 07:40:19.643 SCN Port F_PORT D2,P1 D2,P0 10 NA 07:40:19.644 *Removing all nodes from port D2,P0 D2,P0 10 NA 07:40:19.924 debug - scn port online D2,P0 D2,P0 13 NA 07:40:19.924 SCN Port Online D2,P0 D2,P1 13 NA 07:40:19.924 SCN Port F_PORT D2,P1 D2,P0 13 NA 07:40:19.925 *Removing all nodes from port D2,P0 D2,P0 13 NA 07:40:20.745 RSCN Rcv addr: 0x50010a00 D2,NA D2,NA NA NA 07:40:22.652 RSCN Rcv addr: 0x51010d00 D2,NA D2,NA NA NA 09:08:46.191 SCN Port Offline D2,P0 D2,P0 10 NA 09:08:46.192 *Removing all nodes from port D2,P0 D2,P0 10 NA 09:08:46.271 RSCN Rcv addr: 0x60010a00 D2,NA D2,NA NA NA 09:08:46.413 SCN LR_PORT (0) D2,P0 D2,P0 10 NA 09:08:46.547 debug - scn port online D2,P0 D2,P0 10 NA 09:08:46.547 SCN Port Online D2,P0 D2,P1 10 NA 09:08:46.549 *ELP Send D2,P1 D2,P1 10 0x21e

The Official SupportShow Command Reference Guide 2-57

Page 82: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

09:08:46.606 SCN Port F_PORT D2,P1 D2,P0 10 NA 09:08:46.606 *Removing all nodes from port D2,P0 D2,P0 10 NA 09:09:16.647 RSCN Rcv addr: 0x51010d00 D2,NA D2,NA NA NA 16:47:01.362 SCN Port Offline D2,P0 D2,P0 13 NA 16:47:01.362 *Removing all nodes from port D2,P0 D2,P0 13 NA 16:47:01.377 RSCN Rcv addr: 0x61010d00 D2,NA D2,NA NA NA 16:47:07.080 debug - scn port online D2,P0 D2,P0 13 NA 16:47:07.080 SCN Port Online D2,P0 D2,P1 13 NA 16:47:07.081 SCN Port F_PORT D2,P1 D2,P0 13 NA 16:47:07.081 *Removing all nodes from port D2,P0 D2,P0 13 NA 16:47:08.714 RSCN Rcv addr: 0x51010d00 D2,NA D2,NA NA NA 16:50:20.063 SCN Switch Offline D2,NA F2,NA NA NA 16:50:20.063 *Removing all nodes F2,NA F2,NA NA NA 16:50:20.063 *Cancel F_S_TOV Timer F2,NA F2,NA NA NA 16:50:20.063 *Cancel 2 * F_S_TOV Timer F2,NA F2,NA NA NA 16:50:20.064 *Cancel RDI Receive Timer F2,NA F2,NA NA NA 16:50:20.064 *Cancel RDI Send Timer F2,NA F2,NA NA NA 16:50:20.064 *Cancel 24 * F_S_TOV Timer F2,NA F2,NA NA NA 16:50:20.065 *Cancel EFP Flood Timer F2,NA F2,NA NA NA 16:50:20.065 1) fabInqData F2,NA F2,NA NA NA 16:50:20.072 2) fabInqData F2,NA F2,NA NA NA 16:50:20.075 SCN Port Offline F2,P0 F2,P0 10 NA 16:50:20.076 *Removing all nodes from port F2,P0 F2,P0 10 NA 16:50:20.076 SCN Port Offline F2,P0 F2,P0 13 NA 16:50:20.077 *Removing all nodes from port F2,P0 F2,P0 13 NA 16:59:06.601 SCN Switch Online F2,NA F2,NA NA NA 16:59:06.601 1) fabInqData F2,NA F2,NA NA NA 16:59:06.608 2) fabInqData F2,NA F2,NA NA NA 16:59:06.612 *Start 2 * F_S_TOV Timer F2,NA F2,NA NA NA 16:59:06.612 *Start 24 * F_S_TOV Timer F2,NA F2,NA NA NA 16:59:06.875 SCN LR_PORT (0) F2,P0 F2,P0 10 NA 16:59:07.007 debug - scn port online F2,P0 F2,P0 10 NA 16:59:07.007 SCN Port Online F2,P0 F2,P1 10 NA 16:59:07.009 *ELP Send F2,P1 F2,P1 10 0x646 16:59:07.066 SCN Port Offline F2,P1 F2,P0 10 NA 16:59:07.067 *Removing all nodes from port F2,P0 F2,P0 10 NA 16:59:07.316 debug - scn port online F2,P0 F2,P0 13 NA 16:59:07.317 SCN Port Online F2,P0 F2,P1 13 NA 16:59:07.317 SCN Port F_PORT F2,P1 F2,P0 13 NA 16:59:07.317 *Removing all nodes from port F2,P0 F2,P0 13 NA 16:59:07.318 SCN Port Offline F2,P0 F2,P0 13 NA 16:59:07.318 *Removing all nodes from port F2,P0 F2,P0 13 NA 16:59:16.741 *Cancel 24 * F_S_TOV Timer F2,NA F2,NA NA NA 16:59:16.741 2 * F_S_TOV Expired F2,NA D0,NA NA NA 16:59:16.741 *Efp Flood (Am Principal) D0,NA D0,NA NA NA 16:59:16.742 *EFP Flood D0,NA D0,NA NA NA 16:59:16.742 *EFP Flood Done D0,NA D1,NA NA NA 16:59:16.742 *DIA Flood D1,NA D1,NA NA NA 16:59:16.742 *DIA Flood Done D1,NA D2,NA NA NA 16:59:16.742 Start Ext DomVal Timer D2,NA D2,NA NA NA 16:59:17.047 Ext DomVal Timer Expired D2,NA D2,NA NA NA 16:59:17.047 *Validate Domain 1 D2,NA D2,NA NA NA 16:59:17.182 1) fabInqData D2,NA D2,NA NA NA 16:59:17.188 2) fabInqData D2,NA D2,NA NA NA 16:59:17.202 RSCN Rcv addr: 0x3000000 D2,NA D2,NA NA NA 16:59:17.461 SCN LR_PORT (0) D2,P0 D2,P0 10 NA 16:59:17.587 debug - scn port online D2,P0 D2,P0 10 NA 16:59:17.587 SCN Port Online D2,P0 D2,P1 10 NA 16:59:17.589 *ELP Send D2,P1 D2,P1 10 0x658 16:59:17.643 SCN Port F_PORT D2,P1 D2,P0 10 NA 16:59:17.644 *Removing all nodes from port D2,P0 D2,P0 10 NA 16:59:17.915 debug - scn port online D2,P0 D2,P0 13 NA 16:59:17.915 SCN Port Online D2,P0 D2,P1 13 NA 16:59:17.915 SCN Port F_PORT D2,P1 D2,P0 13 NA 16:59:17.915 *Removing all nodes from port D2,P0 D2,P0 13 NA

2-58 The Official SupportShow Command Reference Guide

Page 83: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

16:59:19.208 RSCN Rcv addr: 0x50010a00 D2,NA D2,NA NA NA 16:59:21.111 RSCN Rcv addr: 0x51010d00 D2,NA D2,NA NA NA 17:15:58.166 SCN Port Offline D2,P0 D2,P0 13 NA 17:15:58.167 *Removing all nodes from port D2,P0 D2,P0 13 NA 17:15:58.181 RSCN Rcv addr: 0x61010d00 D2,NA D2,NA NA NA 17:16:04.487 SCN Port Offline D2,P0 D2,P0 10 NA 17:16:04.488 *Removing all nodes from port D2,P0 D2,P0 10 NA 17:16:04.500 RSCN Rcv addr: 0x60010a00 D2,NA D2,NA NA NA 17:27:00.118 SCN LR_PORT (0) D2,P0 D2,P0 10 NA 17:27:00.247 debug - scn port online D2,P0 D2,P0 10 NA 17:27:00.247 SCN Port Online D2,P0 D2,P1 10 NA 17:27:00.249 *ELP Send D2,P1 D2,P1 10 0x800 17:27:00.299 SCN Port F_PORT D2,P1 D2,P0 10 NA 17:27:00.300 *Removing all nodes from port D2,P0 D2,P0 10 NA 17:27:01.339 RSCN Rcv addr: 0x50010a00 D2,NA D2,NA NA NA 17:27:03.334 debug - scn port online D2,P0 D2,P0 13 NA 17:27:03.334 SCN Port Online D2,P0 D2,P1 13 NA 17:27:03.334 SCN Port F_PORT D2,P1 D2,P0 13 NA 17:27:03.334 *Removing all nodes from port D2,P0 D2,P0 13 NA 17:27:05.466 RSCN Rcv addr: 0x51010d00 D2,NA D2,NA NA NA 22:19:57.460 SCN Port Offline D2,P0 D2,P0 10 NA 22:19:57.460 *Removing all nodes from port D2,P0 D2,P0 10 NA 22:19:57.473 RSCN Rcv addr: 0x60010a00 D2,NA D2,NA NA NA 22:20:38.058 SCN LR_PORT (0) D2,P0 D2,P0 10 NA 22:20:38.187 debug - scn port online D2,P0 D2,P0 10 NA 22:20:38.187 SCN Port Online D2,P0 D2,P1 10 NA 22:20:38.189 *ELP Send D2,P1 D2,P1 10 0xa93 22:20:38.247 SCN Port F_PORT D2,P1 D2,P0 10 NA 22:20:38.247 *Removing all nodes from port D2,P0 D2,P0 10 NA 22:20:39.289 RSCN Rcv addr: 0x50010a00 D2,NA D2,NA NA NA

The rest of these lines show ports 10 and 13 as they come online and register to receive RSCN’s.

The Official SupportShow Command Reference Guide 2-59

Page 84: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fabstatsshowAvailable in Fabric OS versions: v3.1, v3.1.2, v4.1, v4.2Troubleshooting Use: Use this command to display the statistics information of fabric segmentations. This is a quick

way to determine what caused the fabric to segment - switchshow and errdump (this output will give you the most information) will also display fabric segmentation reasons. The fabstatsshow command is brief and concise but be cautious - the counters are not cleared when the segmentation is fixed, but as of v3.1.2/4.2, there will be a date (seeExample 2-16) indicating when the segmentation occurred.

The information displayed is as follows:• Number of times a switch domain ID has been forcibly changed• Number of E_Port offline transitions• Number of fabric reconfigurations• Number of fabric segmentations due to:

• Loopback - Number of times this switch segmented port due to port being placed into mcastloopback mode used to prevent IP/FC broadcast problems.

• Incompatibility - Fabric.ops parameters are different.• Overlap - there are duplicate domains in attaching fabrics and fabrics are being hot plugged• Zoning - cfgmismatch (only one enabled cfg allowed), type mismatch (fabric A has a zone called “eng27”, fabric B

has an Alias called “eng27”), content mismatch (fabric A has an “eng27” zone with “2,4; 2,6; 4,6”, fabric B has an “eng27” zone with “2,4; 4,6”. When a switch is taken out of a fabric for maintenance persistently disable ports (v3.1/4.1+), clean the zoning out (cfgdisable; cfgclear; cfgsave), re-attach switch to fabric establish E_Port connection and allow the existing fabrics zone to propagate to the new switch and then persistently enable or enable end device ports.

• Routing - v4.x engineers responsible for routing says it is not used yet. • Licensing - When a value line (VL2 or VL4) or entry fabric switch exceeds it’s maximum number of fabric switches

a segmentation due to licensing will occur. V3.1.2/4.2 allows a grace period during which extra switches are allowed to connect.

• Disabling E_Port - a segmentation occurs because a ports E_Port capability was disabled using the portcfgeport command / operands.

• Incompatible management server platform DB’s - Management server platform DB’s when enabled need to be compatible. If you have incompatible platform db segmentation – use the msplcleardb command on merging fabric to clear data base, incorporate merging fabric members into the existing fabrics access list. Management server platform databases are enabled (msplmtactivate) and configured (msconfigure) when applications that use the management server are desired in a fabric. The management server enables a management application to access and configure switches in the fabric. It is located at the Fibre Channel address, FFFFFAh. If the access control list (ACL) is empty (default value), the management server is available to all systems connected in-band to the fabric. To restrict access, specify the World Wide Name (WWN) for one or more management applications using the msconfigure command; access is then restricted to those WWNs. Up to 16 maximum WWNs are supported in the ACL. The ACL is implemented on a per-switch basis and should be configured on the switch to which the management application station is directly connected.

The msconfigure command is interactive and provides the following choices:

0 Done1 Display the access list2 Add member based on its port/node WWN3 Delete member based on its port/node WWN

2-60 The Official SupportShow Command Reference Guide

Page 85: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

• Security violations - A security violation could occur if: -Port used to connect switches has a DCC policy that doesn’t allow switch into fabric or fabric has SCC policy that doesn’t allow switch into fabric

• Security incompatibility - A security incompatibility could occur for the following reasons: - - Security Incompatibility - Unknown incompatibility- - Security Incompatibility - Security parameters incompatibility- - Security Incompatibility - Exchange FCS failed- - Security Incompatibility – Data incompatibility- - Security Incompatibility - MS Platform config incompatibility

Example Story Output:

Example 2-16: To display the fabric statistics information:switch:admin> fabstatsshowDescription Count Port Time---------------------------------------------------------------Domain ID forcibly changed: 0E_Port offline transitions: 1 0Reconfigurations: 9 0 WED JAN 21 23:23:13 2004Segmentations due to: Loopback: 0 Incompatibility: 1 < WED JAN 21 23:24:10 2004 Overlap: 0 Zoning: 0 Routing: 0 Licensing: 0 Disabling E_Port: 0 Incompatible platform DB: 0 Security violation: 0 Security incompatibility: 0

Note: Command outputs associated with the above fabstatsshow output (Example 2-16) follow.

Console output when switch was enabled:Command in progress0x1027f7f0 (tFabric): Jan 21 23:40:45

WARNING FABRIC-SEGMENTED, 3, port 0, ELP rejected

switchshow output (notice segmented - unknown incompat message):switch_28:admin> switchshowswitchName: sw3800_28switchType: 9.1switchState: OnlineswitchMode: NativeswitchRole: PrincipalswitchDomain: 3switchId: fffc03switchWwn: 10:00:00:60:69:50:10:80switchBeacon: OFFZoning: OFFport 0: id N2 Online E-Port (segmented,incompatible,(Unknown incompat))port 1: id N2 No_Light

The Official SupportShow Command Reference Guide 2-61

Page 86: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

errshow output (notice segmented - ELP rejected message - you can use Diagnostic and Error message guide, Fabric module, segmented error message to determine how to fix):switch_28:admin> errshowError 39--------0x1027f7f0 (tFabric): Jan 21 23:24:10 WARNING FABRIC-SEGMENTED, 3, port 0, ELP rejectedfabstatsshow and errshow output from switch at the other end of the link (notice this fabstatsshow output does not have a date, only an arrow. The error message gives the reason why this switch segmented the other switches ELP. Also notice that this output is from a Linux switch while the earlier messages originated from a vxWorks switch as they have the small “t” in front of the task name):Sw3850:admin> fabstatsshowDescription Count-----------------------------------------Domain ID forcibly changed: 0E_Port offline transitions: 2 (Last on port 11)Reconfigurations: 3Segmentations due to: Loopback: 0 Incompatibility: 9 < Overlap: 0 Zoning: 0 Routing: 0 Licensing: 0 Disabling E_Port: 0Sw3850:admin> errshowError 118--------0x269 (fabos): Jan 21 15:24:09Switch: 0, Warning FABRIC-SEGMENTED, 3, port 11, incompatible flow control parameters (2)

Note: To fix go to the switch whose ELP was rejected and compare fabric.ops parameters.

v3.x Example Output:

Example 2-17: Example 2Switch:admin> fabstatsshowDescription CountDomain ID forcibly changed: 0E_Port offline transitions: 0Reconfigurations: 0Segmentations due to:

Loopback: 0 Incompatibility: 0 Overlap: 0 Zoning: 0 Routing: 0 Licensing: 1 < Disabling E_Port: 0

Note: The “<“symbol to the right of the * “Licensing” value in Example 2-16 indicates current segmentation reason = licensing.

The attached switch is an Entry Fabric Switch that was ISLed to this Full Fabric Switch with no problem (first E_Port transition). When a second ISL was added, switchShow from attached switch, gave this readout: port X: sw Online E-Port (license required). The fabstatsShow command above was then issued.

2-62 The Official SupportShow Command Reference Guide

Page 87: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

v4.2 Example Output:

Example 2-26: fabstatsshowDescription Count-----------------------------------------Domain ID forcibly changed: 0E_Port offline transitions: 0 Reconfigurations: 0Segmentations due to: Loopback: 0 Incompatibility: 0 Overlap: 0 Zoning: 0 Routing: 0 Licensing: 0 Disabling E_Port: 0

The Official SupportShow Command Reference Guide 2-63

Page 88: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fabswitchShowAvailable in Fabric OS versions: 4.0.2c, v4.1, v4.2Version Differences: Version 4.2 output added some statistical information about the number of times the switch

entered different states.Troubleshooting Use: Use this command to display switch State information (examples of state information

includes: fabric builds, Domain, WWN, and principal priority information). See embedded notes and comments in Example 2-21 explaining some command output information.

Additional Example/Case Studies:v4.1 Example Output:

Example 2-27: fabswitchshowFabric Switch State Structure Information=========================================State: D2Rdi Receive Timer: 0x10051b48, IDLE STATE

Timer to help prevent principle switch from flooding Fabric for each RDI.Unconfirmed Sw Timer: 0x10051c50, IDLE STATEAnother name for 24 * F_S_TOV.Principal Domain: 1Upstream Port: 64

If this switch is principle value defaults to 64Principal Wwn: 10:00:00:60:69:80:04:b2Principal Prioritry: 0x2

Per standards, see note, Fabric OS v4.1 will allow you to set 01 here thus forcing this switch to be principal.

Note: According to the standards, possible values for this bit are 00: Reserved; 01 Highest priority value (a value that can be set by a system administrator – in Brocade fabrics this is the fabricprincipal command); 02: The switch was the principal switch prior to sending or receiving a build fabric (BF); 03-FE: Higher to lower Priority Values (vendor principal switch selection methodology); or FF: The switch is not capable of acting as a principal switch.

Flags: 0x4inq_sem count: 1dbg_sem count: 1

Default semaphore values, if value = 0 then there is a problem. fibbed current count: 0fab_q high water: 3

The highest number of messages that have been in the Fabric queue. fab_q age: 0 (sec)dup xid occurance: 0last message:22:20:39.289 RSCN Rcv addr: 0x50010a00 D2,NA D2,NA NA NA

The last line of Fabstateshow output.reachable domains:no domains reachablePorts used for EFP/BF/DIA flood:

2-64 The Official SupportShow Command Reference Guide

Page 89: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

v4.2 Example Output:

Example 2-28: fabswitchshowFabric Switch State Structure Information=========================================State: D0Stage: warm doneRdi Receive Timer: 0x10057b98, IDLE STATEUnconfirmed Sw Timer: 0x10057ca0, IDLE STATENTP Timer: 0x10057d50, IDLE STATEME Timer: 0x10057da8, IDLE STATEPrincipal Domain: 1Upstream Port: 128Principal Wwn: 10:00:00:60:69:80:2d:4aPrincipal Priority: 0xfeFlags: 0x20me retry count: 0inq_sem count: 1dbg_sem count: 1ha efp count: 0fab_q current count: 0fab_q high water: 3fab_q age: 0 (sec)dup xid occurance: 0iu nodes outstanding: 0EFP update port: 128test check point: No check point setfabric license: TRUElast message:10:43:57.048 RSCN Rcv addr: 0x50015e00 D0,NA D0,NA NA NA NTP ports online:

RSCN domain recovery list:

no domain RSCN's to recoverreachable domains:

no domains reachablePorts used for EFP/BF/DIA flood:

Command Statistics:command high(ms) low(ms) ave(ms) total dropped =========================================================fc_write 0 0 0 1 N/A P Timer 0 0 0 0 N/A BF Timer 0 0 0 0 N/A RDI Timer 0 0 0 0 N/A Unc Timer 0 0 0 0 N/A EFP Flood 0 0 0 0 N/A HA EFP Fld0 0 0 1 N/A inq_sem 10 0 0 3843 N/A dbg_sem 0 0 0 107 N/A AC_DONE 0 0 0 0 N/A LR_DONE 0 0 0 2 N/A D_REACH 0 0 0 0 N/A D_UNREACH 0 0 0 0 N/A P_ONLINE 0 0 0 2 N/A P_OFFLINE 0 0 0 1 N/A S_ONLINE 0 0 0 0 N/A S_OFFLINE 0 0 0 0 N/A ELP RESP 0 0 0 0 N/A ELP RCV 0 0 0 0 0

The Official SupportShow Command Reference Guide 2-65

Page 90: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ELP TO 0 0 0 0 N/A EFP RESP 0 0 0 0 N/A EFP RCV 0 0 0 0 0 EFP TO 0 0 0 0 N/A HA EFP RP 0 0 0 0 N/A HA EFP TO 0 0 0 0 N/A DIA RESP 0 0 0 0 N/A DIA RCV 0 0 0 0 0 DIA TO 0 0 0 0 N/A RDI RESP 0 0 0 0 N/A RDI RCV 0 0 0 0 0 RDI TO 0 0 0 0 N/A BF RESP 0 0 0 0 N/A BF RCV 0 0 0 0 0 BF TO 0 0 0 0 N/A EMT RESP 0 0 0 0 N/A EMT RCV 0 0 0 0 0 EMT TO 0 0 0 0 N/A ETP RESP 0 0 0 0 N/A ETP RCV 0 0 0 0 0 ETP TO 0 0 0 0 N/A INQ RESP 0 0 0 0 N/A INQ RCV 0 0 0 0 0 INQ TO 0 0 0 0 N/A FORWARD 0 0 0 0 0 GRE RCV 0 0 0 0 0 SW ST UD 0 0 0 0 N/A SW FG UD 0 0 0 0 N/A UPSTRM UD 0 0 0 0 N/A INQ UD 0 0 0 1 N/A PRI UD 0 0 0 0 N/A DLST UD 0 0 0 0 N/A ALST UD 0 0 0 0 N/A NBRWWN UD 0 0 0 0 N/A PTFLG UD 0 0 0 0 N/A PTST UD 0 0 0 0 N/A HDNEP UD 0 0 0 0 N/A SYCDMP UD 10 10 5 2 N/A INQSYC UD 0 0 0 2 N/A

2-66 The Official SupportShow Command Reference Guide

Page 91: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fanShowAvailable in Fabric OS versions: AllVersion Differences: Different hardware platforms have a different number of fans. See platform hardware

reference manual for correct fan RPM values for your platform.Troubleshooting Use: Use this command to display fan status

Use this command to display the current status of the switch fans.The format of the display varies according to the switch model and number of fans. Some switch models show fan speed measured in RPM (revolutions per minute). Fan status is shown as:

OK Fan is functioning correctly.absent Fan is not present.below minimum Fan is present but rotating too slowly or stopped.unknown Unknown fan unit installed.faulty Fan has exceeded hardware tolerance.

Note: The output from this command varies depending on switch type and number of fans present.

v4.2 Example Output:

Example 2-18: To display the status and RPMs for the fans:fanshow:

Fan #1 is OK, speed is 2500 RPMFan #2 is OK, speed is 2481 RPMFan #3 is OK, speed is 2518 RPM

As of v4.0.2a + fan faults will be generated in the error log if fan rpm values exceed 10,000. Prior to this version messages were only generated according to settings in switchstatuspolicyshow parameters. If you see errshow fan fault messages for fan x, look for correlating temperature messages, if the switch overheats (sensors on blades) fans will kick into high gear.

The remaining blowers will also kick into high gear if one of the fan’s/ blowers is faulty but should not exceed upper rpm limit. In the case of a failed blower (you will see error messages in the log), leave failed blower in chassis until replacement is available. This will allow better air circulation for the remaining two, higher rpm blowers. Also notice that when you remove the blower, a rubber flap drops into place, again for better air flow.

Warning: Be careful not to carry blowers by their pull out handle. These handles were designed to make pulling out the blower easier, not to carry it.

The Official SupportShow Command Reference Guide 2-67

Page 92: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

faShowAvailable in Fabric OS versions: v3.xTroubleshooting Use: Use this command to display Fabric Assist information.

This command displays information about Fabric Assist host ports. This command will display the port number and PID for each Fabric Assist host port located on this switch. It will also display a listing of each Target that has a Fabric Assist phantom on the host’s port. The target’s PID, assigned phantom ALPA, preferred ALPA and current online/offline status will all be displayed.

The message “No Fabric Assist Host Ports on this Switch” is displayed if Fabric Assist is disabled, or if there are no Fabric Assist host ports on the switch.

If the switch was unable to assign a phantom for the target then the message “No Phantom” will be displayed in the Status column. This switch will be unable to create a phantom if there are no available AL_PAs on the loop, or if there are more than 125 phantoms zoned to hosts on any one switch.

If the preferred alpa can not be assigned as the target’s alpa, then the AL_PA field of the target will be left blank and “ALPA Conflict” will be displayed in the Status column. In this situation the target’s phantom won’t be created.

Each line of output shows:

Fabric Assist Mode: Enabled or Disabled port The port number of the Fabric Assist host PID The 24-bit Fibre Channel address of the host. Fabric Assist The Online/Offline status of the host. Target The 24-bit Fibre Channel address of a zoned Target that current has a phantom assigned to the host. ALPA The assigned phantom ALPA for the target. PREF_ALPA The preferred ALPA given for the target. Status The Online/Offline status of the target.

Example: Two Fabric Assist host ports on the switch and the targets that they are set up to communicate with using QLFA. sw1:admin> faShowFabric Assist Mode: EnabledPort PID Fabric Assist Target ALPA PREF_ALPA Status00 0x011001 Online 0x011498 (0xef) Online

0x011497 (0x97) Online 0x011490 (0x90) Online 0x01148f (0x8f) Online 0x011488 (0x88) Online 0x011484 (0x84) Online 0x011482 (0x82) Online 0x011481 (0x81) Online 0x011480 (0x80) Online 0x01147c (0x7c) Online 0x01147a (0x7a) Online 0x011475 (0x75) Online

01 0x0111e2 Online0x0115ab (0xab) Online 0x0115b4 (0xb4) Online 0x0115b3 (0xb3) Online 0x0115b2 (0xb2) Online 0x0115b1 (0xb1) Online 0x0115ae (0xae) Online 0x0115ad (0xad) Online 0x0115ac (0xac) Online

Example 2-29: sw1:admin> faShowFabric Assist Mode: DisabledNo Fabric Assist Host Ports on this Switch

2-68 The Official SupportShow Command Reference Guide

Page 93: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fastcheckheapAvailable in Fabric OS versions: v3.0, v3.1.0, v3.1.2 (OS command group - not enabled by default)v4.2 Example Output: N/ATroubleshooting Use: This command is designed for internal debugging purposes.:

Note: Use for internal debug purposes only.

Example 2-30: v3.1.2 output with extend group turned on.fastcheckheapPer Task Summary:tThad held: 158944 max_block:0x11eb4bf0len:8048tSecurity held: 96 max_block:0x11e96f00len:96tFabric held: 12000 max_block:0x11ed70c0len:3232tSnmpd held: 5392 max_block:0x11ecacc0len:3232tSwitch held: 2744704 max_block:0x11f5edb0len:640032tASd held: 185440 max_block:0x11f2db50len:168992tPSd held: 96 max_block:0x11f5ca60len:96tMsApi held: 96 max_block:0x11f5cd60len:96tPSrqm held: 288 max_block:0x102fc250len:96tMSd held: 288 max_block:0x102fc130len:96tHttpD held: 640 max_block:0x102fbcb0len:80tFcp held: 48 max_block:0x10294390len:48tRapid held: 8048 max_block:0x10292330len:8048tFspf held: 54368 max_block:0x1007ff70len:26912tNSd held: 99936 max_block:0x1006cc80len:49184tNSCAM held: 192 max_block:0x10052150len:96tfdmic held: 96 max_block:0x10037bb0len:96Total blocks held: 3270672

The Official SupportShow Command Reference Guide 2-69

Page 94: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

faultshowTroubleshooting Use: Use this command for internal debugging purposes.Available in Fabric OS versions: v3.0, v3.1, v3.1.2v4.2 Example Output: NAAdditional Example/Case Studies:

Note: See traceshow on page 2-257 for related information.

Example outputs with some embedded notes:

Example 2-31: Traceshow

Switch:root> traceshow[INDX] TIMEFROM TO----------------------------------------------[24] Dec 29 03:11:11.066unknown tSwitch 0x101ca8500x103bbb00 120080

Is 120 and 080 important...what are they? This is the tasklog in RAM before reboot and its time. 120 and 80 are the task priorities.

Tasklogs the task context (e.g. current executing instructions) at task switch, called by the scheduler when it selects a new task to run. The log is a circular buffer that stores the last 25 tasks that were running on the switch before the switch reboots.

Example 2-32: READY READY [unknown][0]_vxTaskEntry + 0x10 (0x10735914)[1]_crashTask + 0x40 (0x104dd310)

Does this tell me I've had a panic or a watchdog error? No. You should check “uptime” to find out it is a panic or watchdog, etc.

[2]_taskDelay + 0x98 (0x10780048) <- instruction pointer

This is address of instruction. At 0x10780048, there may be a static function

Example 2-33: [tSwitch][0]_vxTaskEntry + 0x10 (0x10735914)[1]_switchTask + 0x184 (0x105101f4)[2]_fabricInit + 0xbc (0x104dd27c)[3]_fcServiceResponseQ + 0x1c (0x1056c91c)[4]_mqRead + 0x14 (0x10576d34)[6]_qJobGet + 0x48 (0x1079e628)

Reset at: Dec 29 03:11:11Reset reason 2: Bus error

If I see this I can ascertain there was a panic or there was a watchdog error. Bus error is another category of reboot, i.e., CPU accesses a memory location that does not exist. It is a typical memory corruption. See the TOI for the difference with watchdog and panic.

2-70 The Official SupportShow Command Reference Guide

Page 95: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Example 2-34: Task: Interrupt...Frame #2Address: (0x103f5108)Local registers (0x10276af0):pfp = 0x103bbea7, sp = 0x1081af10, rip = 0x103f5108, r3 = 0xeeeeeeeer4 = 0x00000040, r5 = 0x1081aed0, r6 = 0x00000000, r7 = 0x00000000r8 = 0x003d0004, r9 = 0x00000000, r10 = 0x00000000, r11 = 0x103bbb00r12 = 0x756f7920, r13 = 0x00000000, r14 = 0xeeeeeeee, r15 = 0xeeeeeeee

Interrupt call:Saved pc = 0x3Saved ac = 0x1100Vector = 0xf8 (NMI)User's stack, length = 64:756f7920 00000000 001f0000 00000012 * you............*00000007 756f7920 0000001b 00000040 *.... you....@...*00000000 00000000 00000000 00000000 *................*

Note: The user stack gives helpful information for debugging. It is for Brocade software engineer's internal use.

When will I see traceshow output? If the switch reboots due to bus error, panic and watchdog, you will see traceshow in supportshow.

Example 2-35: FaultShow Fault at: Aug 22 23:37:45Task: 0x10927810 (tRapi0)

The API made a call.Global registers:g0 = 0x1041786c, g1 = 0x00000002, g2 = 0x10927db0, g3 = 0x00000001g4 = 0x00000001, g5 = 0x10927810, g6 = 0x103ff470, g7 = 0x00000000g8 = 0x00000000, g9 = 0x00000000, g10 = 0x00000000, g11 = 0x00000000g12 = 0x00000000, g13 = 0x00000000, g14 = 0x00000000, fp = 0x10927fa0pfp = 0x10927f50, ac = 0x00001001, pc = 0x00000003, tc = 0x00000080Frame #0Address: _excStub + 0x4c (0x1072449c)Local registers:pfp = 0x10927d41, sp = 0x10927e20, rip = 0x1072449c, r3 = 0x00000030r4 = 0x0000000f, r5 = 0xeeeeeeee, r6 = 0xeeeeeeee, r7 = 0x107e4650r8 = 0x00000000, r9 = 0x00000001, r10 = 0x00000000, r11 = 0x10724450r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeFault:Saved pc = 0x3Saved ac = 0x1002Type = OPERATION (0x2)Subtype = INVALID_OPCODE (0x1)

Could this be API call that caused error? Any function call can cause a fault when memory corruption occurs.

Flags = 0Address of faulting instruction = 0x109255e8User's stack, length = 0:Frame #1Address: _semClass + 0x8 (0x109255e8)Local registers:pfp = 0x10927d00, sp = 0x10927d80, rip = 0x109255e8, r3 = 0xeeeeeeeer4 = 0x106a1c00, r5 = 0xeeeeeeee, r6 = 0xeeeeeeee, r7 = 0xeeeeeeeer8 = 0x00000000, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeee

The Official SupportShow Command Reference Guide 2-71

Page 96: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

User's stack, length = 0:

Frame #2Address: _xdrrec_endofrecord + 0x18c (0x1076056c)Local registers:pfp = 0x10927cc0, sp = 0x10927d40, rip = 0x1076056c, r3 = 0xeeeeeeeer4 = 0x1093fe40, r5 = 0x00000000, r6 = 0xeeeeeeee, r7 = 0xeeeeeeeer8 = 0x00000000, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeUser's stack, length = 0:Frame #3Address: _xdrrec_endofrecord + 0x2e8 (0x107606c8)Local registers:pfp = 0x10927c80, sp = 0x10927d00, rip = 0x107606c8, r3 = 0xeeeeeeeer4 = 0x107e7c20, r5 = 0x1093fe40, r6 = 0xeeeeeeee, r7 = 0xeeeeeeeer8 = 0x00000000, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeUser's stack, length = 0:Frame #4Address: _xdrrec_skiprecord + 0x18 (0x10760328)Local registers:pfp = 0x10927c40, sp = 0x10927cc0, rip = 0x10760328, r3 = 0xeeeeeeeer4 = 0x1093fe40, r5 = 0x10927bc0, r6 = 0x1095ed80, r7 = 0x10998560r8 = 0x00000000, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeUser's stack, length = 0:Frame #5Address: _svcfd_create + 0x3a0 (0x1075e7e0)Local registers:pfp = 0x10927b80, sp = 0x10927c80, rip = 0x1075e7e0, r3 = 0xeeeeeeeer4 = 0x1095ed90, r5 = 0x10927bc0, r6 = 0x1095ed80, r7 = 0x10998560r8 = 0x00000000, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeUser's stack, length = 0:Frame #6Address: _svc_getreqset + 0xe0 (0x1075d6f0)Local registers:pfp = 0x10927ad0, sp = 0x10927c40, rip = 0x1075d6f0, r3 = 0xeeeeeeeer4 = 0x1092d860, r5 = 0x0000000c, r6 = 0x109946c0, r7 = 0x10998560r8 = 0x00000000, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeUser's stack, length = 0:Frame #7Address: _subtask_svc_run + 0x134 (0x106a1574)Local registers:pfp = 0x10927a80, sp = 0x10927b80, rip = 0x106a1574, r3 = 0xeeeeeeeer4 = 0x00000100, r5 = 0x00000000, r6 = 0x00000000, r7 = 0x00000000r8 = 0x00000000, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeUser's stack, length = 0:Frame #8Address: _RapiConxTask + 0x1a8 (0x106a1da8)Local registers:pfp = 0x10927a00, sp = 0x10927ad0, rip = 0x106a1da8, r3 = 0xeeeeeeeer4 = 0x10921ce0, r5 = 0x10927810, r6 = 0xeeeeeeee, r7 = 0xeeeeeeeer8 = 0xeeeeeeee, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeUser's stack, length = 0:Frame #9Address: _vxTaskEntry + 0x10 (0x10725834)Local registers:pfp = 0x00000000, sp = 0x10927a80, rip = 0x10725834, r3 = 0xeeeeeeeer4 = 0xeeeeeeee, r5 = 0xeeeeeeee, r6 = 0xeeeeeeee, r7 = 0xeeeeeeeer8 = 0xeeeeeeee, r9 = 0xeeeeeeee, r10 = 0xeeeeeeee, r11 = 0x10927810

2-72 The Official SupportShow Command Reference Guide

Page 97: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

r12 = 0x106a1c00, r13 = 0xeeeeeeee, r14 = 0xeeeeeeee, r15 = 0xeeeeeeeeUser's stack, length = 0:

Will faultshow output always have task information in it that, if task is known, can help identify error? Yes

Is it true to assume that if there is a faultshow output there was a problem that caused the switch to reboot or will we get faultshow outputs without “panics”?....or without watchdog errors? Sometimes we have both faultshow and traceshow together, and most times we get only one of them. In either case, the root cause is either memory corruption or memory leak.

When will I see faultshow output? When a fault causes switch reboot, you will have faultshow in supportshow. There are typically the following cases:

*INVALID_OPCODE --the program pointer is corrupted, and CPU fetches instruction from data area and get invalid opcode.

* TYPE MISMATCH--data pointer is corrupted, and CPU tries to access some area that is prohibited.

When will I see both faultshow and traceshow output....or will I? When there are both fault and bus error, etc.

The Official SupportShow Command Reference Guide 2-73

Page 98: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fcplogshowAvailable in Fabric OS versions: v4.1, 4.2Troubleshooting Use: Internal Engineering use only.

Note: This is for internal debugging of the fcpd. It basically a log mechanism to debug an event and trace the calls throughout the various functions in fcp. In order to decode, you would need the source code, hence the file and lineno columns.

Example from v4.1 output:fcplogshow:Time Stamp Event Port file&lineno arg0 arg1 arg2 arg3 arg4 ======================================================================================22:36:46.245 FlshOrProbe 19 1 459 81 :0 :0 :0 :0 22:36:46.247 ProbeFlsh 19 1 2764 0 :0 :0 :0 :0 22:36:49.756 FlshOrProbe 35 1 459 81 :0 :0 :0 :0 22:36:49.756 ProbeFlsh 35 1 2764 0 :0 :0 :0 :0 22:37:26.426 FlshOrProbe 23 1 459 81 :0 :0 :0 :0 22:37:26.426 ProbeFlsh 23 1 2764 0 :0 :0 :0 :0 22:37:30.226 FlshOrProbe 39 1 459 81 :0 :0 :0 :0 22:37:30.226 ProbeFlsh 39 1 2764 0 :0 :0 :0 :0 22:38:06.406 FlshOrProbe 27 1 459 81 :0 :0 :0 :0 22:38:06.406 ProbeFlsh 27 1 2764 0 :0 :0 :0 :0 22:38:10.245 FlshOrProbe 43 1 459 81 :0 :0 :0 :0 22:38:10.245 ProbeFlsh 43 1 2764 0 :0 :0 :0 :0 22:38:47.117 FlshOrProbe 31 1 459 81 :0 :0 :0 :0 22:38:47.117 ProbeFlsh 31 1 2764 0 :0 :0 :0 :0 22:38:50.096 FlshOrProbe 47 1 459 81 :0 :0 :0 :0 22:38:50.096 ProbeFlsh 47 1 2764 0 :0 :0 :0 :0 22:39:30.566 FlshOrProbe 19 1 459 81 :0 :0 :0 :0 22:39:30.566 ProbeFlsh 19 1 2764 0 :0 :0 :0 :0 22:39:30.566 FlshOrProbe 18 1 459 81 :0 :0 :0 :0 22:39:30.566 ProbeFlsh 18 1 2764 0 :0 :0 :0 :0 22:39:30.566 FlshOrProbe 17 1 459 81 :0 :0 :0 :0 22:39:30.566 ProbeFlsh 17 1 2764 0 :0 :0 :0 :0 22:39:30.566 FlshOrProbe 16 1 459 81 :0 :0 :0 :0 22:39:30.566 ProbeFlsh 16 1 2764 0 :0 :0 :0 :0

<Truncated Output>

v4.2 Example Output:

Example 2-36: fcplogshowTime Stamp Event Port file&lineno arg0 arg1 arg2 arg3 arg4 ======================================================================================10:11:00.850 FlshOrProbe 94 1 455 80 :0 :0 :0 :0 10:11:00.850 PrbMsg 94 1 490 0 :0 :0 :0 :0 10:11:00.851 StartProbe 94 1 957 1 :0 :0 :0 :0 10:11:00.851 StartProbe 94 1 996 40000000:0 :0 :0 :0 10:11:00.851 ProbeFlsh 94 1 2765 1 :0 :0 :0 :0 10:11:00.854 SndPLOGI 94 1 1428 1002dd28:15e00 :1 :0 :207cc 10:11:00.855 AsyResp 94 1 1537 1002dd28:1002de90:80 :1 :107cc 10:11:00.855 ElsRsp 94 1 1603 15e00 :2000000 :8 :0 :980000 10:11:00.856 SndPRLI 94 1 2013 1002dd28:15e00 :2 :7cd :0 10:11:00.856 AsyResp 94 1 1537 1002dd28:1002e028:80 :2 :107cd 10:11:00.856 ElsRsp 94 1 1603 15e00 :2100014 :0 :21 :980000 10:11:00.858 SndLOGO 94 1 1926 15e00 :1002dd28:0 :0 :207ce 10:11:00.858 SndLOGO 94 1 1933 6a5 :0 :0 :0 :0 10:11:00.858 AsyResp 94 1 1537 1002dd28:1002e028:80 :4 :107ce 10:11:00.858 ElsRsp 94 1 1603 15e00 :2000000 :2 :0 :980000

2-74 The Official SupportShow Command Reference Guide

Page 99: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

10:11:00.858 IUDel 94 1 1728 1002dd28:1002dd28:0 :0 :1 10:42:45.374 FlshOrProbe 94 1 455 81 :0 :0 :0 :0 10:42:45.374 ProbeFlsh 94 1 2765 0 :0 :0 :0 :0 10:42:45.374 SCNRcvd 94 1 3530 2 :0 :0 :0 :0 10:43:57.039 FlshOrProbe 94 1 455 80 :0 :0 :0 :0 10:43:57.039 PrbMsg 94 1 490 0 :0 :0 :0 :0 10:43:57.040 StartProbe 94 1 957 1 :0 :0 :0 :0 10:43:57.040 StartProbe 94 1 996 40000000:0 :0 :0 :0 10:43:57.040 ProbeFlsh 94 1 2765 1 :0 :0 :0 :0 10:43:57.041 SndPLOGI 94 1 1428 1002dd28:15e00 :1 :0 :20ae4 10:43:57.042 AsyResp 94 1 1537 1002dd28:1002de90:80 :1 :10ae4 10:43:57.042 ElsRsp 94 1 1603 15e00 :2000000 :8 :0 :980000 10:43:57.043 SndPRLI 94 1 2013 1002dd28:15e00 :2 :ae5 :0 10:43:57.043 AsyResp 94 1 1537 1002dd28:1002e028:80 :2 :10ae5 10:43:57.043 ElsRsp 94 1 1603 15e00 :2100014 :0 :21 :980000 10:43:57.044 SndLOGO 94 1 1926 15e00 :1002dd28:0 :0 :20ae6 10:43:57.044 SndLOGO 94 1 1933 6a5 :0 :0 :0 :0 10:43:57.045 AsyResp 94 1 1537 1002dd28:1002e028:80 :4 :10ae6 10:43:57.045 ElsRsp 94 1 1603 15e00 :2000000 :2 :0 :980000 10:43:57.045 IUDel 94 1 1728 1002dd28:1002dd28:0 :0 :1

The Official SupportShow Command Reference Guide 2-75

Page 100: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fdmicacheshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display abbreviated remote FDMI device information according to remote

domain ID. This information is gathered from edge devices that support the FDMI protocol. If an HBA in the fabric supports FDMI then information can be gathered from the HBA using the FDMIshow command, information would also be shared among fabric switches and displayed using this fdmicacheshow command.

Use this command to display FDMI cache information for remote domains only.

The state of each remote domain, identified by its domain ID, is shown to be either UNKNOWN, KNOWN, UNSUPPORTED, or ERROR. The revision of FDMI supported is also shown followed by the identifiers of all the HBAs at the domain and the corresponding registered port list. For HBAs, only the HBA identifiers and registered port lists are show. No detailed HBA attributes are displayed. For registered ports, only its port identifier and its corresponding HBA are shown. No detailed port attributes are displayed.

Example 2-19: To display the FDMI cache:switch:admin> fdmicacheshowSwitch entry for domain 1state: knownversion: v410wwn: 10:00:00:60:69:80:4f:85No devices.Total count of devices on the switch is 0switch:admin>

Example 2-20: Example:fdmicacheshow:Switch entry for domain 2 state: known version: v310 wwn: 10:00:00:60:69:51:2d:0b

No devices. Total count of devices on the switch is 0

v4.2 Example Output:

Example 2-37: fdmicacheshow:No entry is found!

2-76 The Official SupportShow Command Reference Guide

Page 101: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fdmishowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display detailed FDMI device information.

Use this command to display FDMI information for all HBAs and ports. Detailed FDMI information is displayed for local HBAs and ports. This information includes the HBA with its corresponding ports, along with their respective attributes. Only abbreviated FDMI information is shown for HBA and ports on remote switches.

Example 2-21: To display FDMI information on a local switch:switch:admin> fdmishowLocal HBA database contains:10:00:00:00:c9:25:9b:96Ports: 110:00:00:00:c9:25:9b:96Port attributes:FC4 Types: 0x0000010000000001000000000000000000000000000000000000000000000000Supported Speed: 0x00000001Port Speed: 0x00000001Frame Size: 0x00000800HBA attributes:Node Name: 20:00:00:00:c9:25:9b:96Manufacturer: Emulex CorporationSerial Number: 0000c9259b96Model: LP9000Model Description: Emulex LightPulse LP9000 1 Gigabit PCI Fibre Channel AdapterHardware Version: 1002806DDriver Version: 5-5.00A6Firmware Version: 3.81A1OS Name and Version: Windows 2000Max CT Payload Length: 0x00ff0000Local Port database contains:10:00:00:00:c9:25:9b:96Remote HBA database contains:10:00:00:00:c9:26:0f:e4Ports: 110:00:00:00:c9:26:0f:e4Remote Port database contains:10:00:00:00:c9:26:0f:e4switch:admin>

v4.2 Example Output:

Example 2-38: fdmishow:Local HBA database contains no entry.

Local Port database contains no entry.

Remote HBA database contains no entry.

Remote Port database contains no entry.

The Official SupportShow Command Reference Guide 2-77

Page 102: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

feiDumpPrintTroubleshooting Use: Use this command to identify Ethernet problems that could be preventing clean Ethernet

access to the switch. Symptoms would include firmware download or configupload timeouts or failures. Attempt fixing by setting the Ethernet settings at each end the same or by directly accessing the switch using a cross-over cable or HUB.

Available in Fabric OS versions: v3.1, v3.1.2 (Network Command Group)Version Differences:v4.2 Example Output: NAAdditional Example/Case Studies:

Example 2-39: This is an example output from v3.1.2feiDumpPrintTx good frames: 714Tx MAXCOL errors: 0Tx LATECOL errors: 0Tx underrun errors: 0Tx lost CRS errors: 0Tx deferred: 0Tx single collisions: 0Tx multiple collisions: 0Tx total collisions: 0Rx good frames: 890Rx CRC errors: 0Rx alignment errors: 0Rx resource errors: 0Rx overrun errors: 0Rx collision detect errors: 0Rx short frame errors: 0

2-78 The Official SupportShow Command Reference Guide

Page 103: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

feiIterateRFDRingsAvailable in Fabric OS versions: v3.1, v3.1.2 (Network Command Group)v4.2 Example Output: NAAdditional Example/Case Studies:

Example 2-40: Output from v3.1.2feiIterateRFDRingspRFD ring forwards[0] pRFD=0x10017800[1] pRFD=0x10017e00[2] pRFD=0x10018400[3] pRFD=0x10018a00[4] pRFD=0x1000d000[5] pRFD=0x1000d600[6] pRFD=0x1000dc00

Troubleshooting Use:

Note: This command has no additional Fabric OS information at this time. As the information becomes available the command will be inserted in this section.

The Official SupportShow Command Reference Guide 2-79

Page 104: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ficondbg logAvailable in Fabric OS versions: v4.2 (Services Command Group)Troubleshooting Use: This is a Ficon Internal command. It displays FICON internal data structures. It is used for

debugging FICON in a simulation mode. This command allows an administrator to display FICON environment information and allows testing FICON in a simulation environment mode.

Note: Use the output of this command to quickly see that attached device went through all FICON protocol steps: QSA (verify security is present), LIRR, and RNID. See Ficonshow lirr on page 2-83 and ficonshow rnid on page 2-86.

Note: For additional information see Brocade Support for FICON Reference Guide, v4.1.2 2-3 Publication Number: 53-0000525-05

v4.2 Example Output:

Example 2-41: See associated supportshow output in Example 2-42Port 43 :Idx Description Requestor DlyMS ElpMS T_ID RcvT1 ELS_QSA_BEGIN 0x502b00 1 0 916 Wed Feb 4 10:41:15 20042 ELS_QSA_END 0x502b00 0 8 916 Wed Feb 4 10:41:15 20043 ELS_LIRR_BEGIN 0x502b00 0 0 916 Wed Feb 4 10:41:15 20044 ELS_LIRR_END 0x502b00 0 64 916 Wed Feb 4 10:41:15 20045 ELS_RNID_BEGIN 0x502b00 3 0 916 Wed Feb 4 10:41:15 20046 ELS_RNID_END 0x502b00 0 25 916 Wed Feb 4 10:41:15 20047 ELS_LIRR_BEGIN 0x502b00 0 0 916 Wed Feb 4 10:41:15 20048 ELS_LIRR_END 0x502b00 0 5 916 Wed Feb 4 10:41:15 20049 MSG_IU_TO_BEGIN0x0 4 0 916 Wed Feb 4 10:41:15 200410 MSG_IU_TO_END 0x0 0 49 916 Wed Feb 4 10:41:15 2004

Example 2-42: switchshow output associated with all FICON related commandsswitchshow:switchName:uly80switchType:10.0switchState:Online switchMode:NativeswitchRole:PrincipalswitchDomain:80switchId:fffc50switchWwn:10:00:00:60:69:80:1e:4ezoning: ON (ficon1)switchBeacon:OFFblade1 Beacon: OFFblade2 Beacon: OFFblade3 Beacon: OFFblade4 Beacon: OFF

Area Slot Port Media Speed State ===================================== 0 1 0 -- N2 No_Module 1 1 1 id N2 Online E-Port 10:00:00:05:1e:34:01:36 "daz22" (Trunk master) 2 1 2 -- N2 No_Module 3 1 3 id N2 No_Light 4 1 4 -- N2 No_Module 5 1 5 id N2 No_Light 6 1 6 id N2 Online E-Port 10:00:00:60:69:90:02:95 "term206" (downstream)(Trunk master) 7 1 7 id N2 No_Light 8 1 8 -- N2 No_Module 9 1 9 id N2 No_Light

2-80 The Official SupportShow Command Reference Guide

Page 105: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

10 1 10 id N2 Online F-Port 50:05:07:64:01:40:14:54 11 1 11 -- N2 No_Module 12 1 12 -- N2 No_Module 13 1 13 -- N2 No_Module 14 1 14 id N2 Online F-Port 50:05:07:64:01:00:14:62 15 1 15 id N2 No_Light 16 2 0 id N2 No_Light 17 2 1 id N2 No_Light 18 2 2 -- N2 No_Module 19 2 3 id N2 No_Light 20 2 4 id N2 Online F-Port 10:00:00:00:c9:2b:9d:83 21 2 5 -- N2 No_Module 22 2 6 id N2 No_Light 23 2 7 id N2 Online F-Port 50:05:07:64:01:00:0b:45 24 2 8 id N2 No_Light 25 2 9 id N2 No_Light 26 2 10 -- N2 No_Module 27 2 11 id N2 Online F-Port 50:05:07:64:01:00:10:d2 28 2 12 id N2 Online L-Port 1 private 29 2 13 id N2 No_Light 30 2 14 id N2 No_Light 31 2 15 id N2 Online F-Port 50:05:07:64:01:00:11:79 32 3 0 id N2 No_Light 33 3 1 id N2 No_Light 34 3 2 id N2 Online F-Port 50:05:07:63:00:c6:96:aa 35 3 3 id N2 Online F-Port 50:05:07:64:01:00:14:54 36 3 4 -- N2 No_Module 37 3 5 id N2 No_Light 38 3 6 -- N2 No_Module 39 3 7 -- N2 No_Module 40 3 8 id N2 No_Light 41 3 9 id N2 Online E-Port (Trunk port, master is Slot 3 Port 10) 42 3 10 id N2 Online E-Port 10:00:00:60:69:80:1e:4f "uly81" (downstream)(Trunk master) 43 3 11 id N2 Online F-Port 50:05:07:64:01:00:16:05 44 3 12 id N2 No_Light 45 3 13 id N2 Online F-Port 50:05:07:64:01:40:11:79 46 3 14 id N2 No_Light 47 3 15 id N2 No_Light 48 4 0 id N2 No_Light 49 4 1 id N2 No_Light 50 4 2 id N2 No_Light 51 4 3 -- N2 No_Module 52 4 4 id N2 No_Light 53 4 5 id N2 Online F-Port 50:05:07:63:00:cc:96:aa 54 4 6 id N2 Online E-Port 10:00:00:60:69:80:1e:4f "uly81" (Trunk master) 55 4 7 id N2 Online E-Port (Trunk port, master is Slot 4 Port 6) 56 4 8 -- N2 No_Module 57 4 9 id N2 Online E-Port 10:00:00:60:69:90:0c:a8 "term208" (downstream)(Trunk master) 58 4 10 id N2 Online E-Port (Trunk port, master is Slot 4 Port 9) 59 4 11 id N2 Online L-Port 1 private 60 4 12 id N2 Online E-Port (Trunk port, master is Slot 4 Port 13) 61 4 13 id N2 Online E-Port 10:00:00:60:69:80:45:7c "uly120" (downstream)(Trunk master) 62 4 14 id N2 No_Light 63 4 15 id N2 Online F-Port 50:05:07:64:01:40:16:05

The Official SupportShow Command Reference Guide 2-81

Page 106: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ficonshow ilirAvailable in Fabric OS versions: v4.2Troubleshooting Use: Display all implicit link incidents (FRU failures) within the local switch. Invoke ficonshow ilir

fabric to display fabric FRU failures.

Note: For additional information see Brocade Support for FICON Reference Guide, v4.1.2 2-3 Publication Number: 53-0000525-05

v4.2 Example Output:

Example 2-43: ficonshow ilir:{FRU Failure [2]: Power Supply[2] failure occurred on Mon Jan 13 12:11:38 2003Fmt Protocol Domain Fabric WWN Switch WWN0x18 FICON 80 10:00:00:60:69:33:33:33 10:00:00:60:69:80:1e:4eFRU part number: 23000000602FRU serial number: FL2L0001071{Listener Port Type Listener PID Listener Port WWN N 0x502b00 50:05:07:64:01:00:15:8d)

{FRU Failure [3]: Power Supply[4] failure occurred on Mon Jan 13 12:11:38 2003Fmt Protocol Domain Fabric WWN Switch WWN0x18 FICON 80 10:00:00:60:69:33:33:33 10:00:00:60:69:80:1e:4eFRU part number: 23000000602FRU serial number: FL2L0001060{Listener Port Type Listener PID Listener Port WWNN 0x502b00 50:05:07:64:01:00:15:8d

Note: The above outputs show a power supply failure on domain 80, WWN 10:00:00:60:69:80:1e:4e in a fabric with principal switch WWN 10:00:00:60:69:33:33:33 (Fabric WWN). The power supply part number and serial number are displayed along with listening port information (an end device listening for this type of information and possibly reporting same).

2-82 The Official SupportShow Command Reference Guide

Page 107: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

ficonshow lirrAvailable in Fabric OS versions: v4.2Troubleshooting Use: Use this command to determine which devices did an LIRR.

Link Incident Record Registration (LIRR):

Link Incident Record Registration (LIRR) allows a device to register to listen for link incidents; the device does not need to identify itself. If the device needs to be monitored for link incidents, then the device can perform the steps of RNID.

v4.2 Example Output:

Example 2-44: See associated supportshow output in Example 2-42ficonshow lirr:{Fmt Type PID Listener Port WWN Switch Port WWN Listener Type 0x18 N 500a00 50:05:07:64:01:40:14:54 20:0a:00:60:69:80:1e:4e Conditional 0x18 N 500e00 50:05:07:64:01:00:14:62 20:0e:00:60:69:80:1e:4e Conditional 0x18 N 501700 50:05:07:64:01:00:0b:45 20:17:00:60:69:80:1e:4e Conditional 0x18 N 501b00 50:05:07:64:01:00:10:d2 20:1b:00:60:69:80:1e:4e Conditional 0x18 N 501f00 50:05:07:64:01:00:11:79 20:1f:00:60:69:80:1e:4e Conditional 0x18 N 502300 50:05:07:64:01:00:14:54 20:23:00:60:69:80:1e:4e Conditional 0x18 N 502b00 50:05:07:64:01:00:16:05 20:2b:00:60:69:80:1e:4e Conditional 0x18 N 502d00 50:05:07:64:01:40:11:79 20:2d:00:60:69:80:1e:4e Conditional 0x18 N 503f00 50:05:07:64:01:40:16:05 20:3f:00:60:69:80:1e:4e Conditional}The Local LIRR database has 9 entries.

The output fields depicted above are:

Fmt Displays the record-registration format.

Port Type Displays the port type.

• U is unknown.

• N is N_Port.

• NL is NL_Port.

PID Displays the 24-bit Fibre Channel Port address in “0xDDAAPP” format. DD is Domain ID. AA is Area ID. PP is AL_PA ID.

Listener Port WWNDisplays the channel HBA port World Wide Name.

Switch Port WWN Displays the switch port World Wide Name.

Listener Type Indicates the listener type as one of the following:

• Conditional: This port receives a link incident record if no other recipients from the established registration list have been chosen.

• Unconditional: This port is always chosen as a recipient of a link incident record.

Note: For additional information see Brocade Support for FICON Reference Guide, v4.1.2 2-3 Publication Number: 53-0000525-05

The Official SupportShow Command Reference Guide 2-83

Page 108: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ficonshow rlirAvailable in Fabric OS versions: 4.2Troubleshooting Use: Displays all RLIR entries for the local RLIR database.

RLIR - Registered Link Incident Record

Link incidents are problems that occur either on links between a host channel and the switch or between the storage CU port and the switch, including the following:

• bit-error-rate threshold exceeded

• loss of signal or synchronization

• non-operational primitive sequence (NOS) recognized

• primitive sequence timeout

• invalid primitive sequence for port state

An RLIR report is generated for each link incident and reported to a LIRR registered listener.v4.2 Example Output:

Example 2-45: ficonshow RLIR{Fmt Type PID PortIncident Count TS Format Time Stamp0x18 F d00d00 13 2 Time server Tue Sep 30 04:11:01 2003Port Status: Link not operationalLink Failure Type: Loss of signal or synchronizationRegistered Port WWN Registered Node WWN Flag Node Parameters50:05:07:64:01:40:13:dd 50:05:07:64:00:c1:69:ca 0x10 0x200127Type Number: 002064Model Number: 103Manufacturer: IBMPlant of Manufacture: 02Sequence Number: 0000000169CAtag: 270dSwitch Port WWN Switch Node WWN Flag Node Parameters20:0d:00:60:69:90:0c:a8 10:00:00:60:69:90:0c:a8 0x00 0x200a0dType Number: SLKWRMModel Number: 12KManufacturer: BRDPlant of Manufacture: CASequence Number: 0FA03X900CA8tag: d00dThe RLIR database has 1 entry.

The output fields depicted above are:

Fmt Displays the record-registration format.

Port Type Displays the port type.

• U is unknown.

• N is N_Port.

• NL is NL_Port.

Port Number 13Incident Count Displays the incident count. This number increases by 1 for each incident within the individual switch.TS Format Displays the Time Server format.Time Stamp Displays the time stamp expressed in the date format.

2-84 The Official SupportShow Command Reference Guide

Page 109: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Port Status Displays the status of the port. One of the following messages is displayed:• Link degraded but operational• Link not operational

Link Failure (Incident) Type Indicates the link incident type as one of the following (in this case the link failure being reported in a “Loss of Signal or Synchronization” failure):

• Bit-error-rate threshold exceeded• Loss of Signal or Synchronization• NOS recognized• Primitive Sequence timeout• Invalid Primitive Sequence for Port State

Registered Port WWN - Displays the device’s (channel or storage CU) port World Wide Name associated with the device HBA.Registered Node WWN - Displays the device’s node World Wide Name associated with the device HBA.Flag 10 Indicates that the node ID of the channel port is valid.:Node ParametersDisplays the node type for the switch in three bytes: “0xAABBCC.” The meaning of each byte 0x200127 is described here:

• Byte AA: 0x20 FC-SB-2 and updates.• Byte BB: In this case 0x01- Direct access storage device, if it is a storage port; otherwise, it is not channel-to-channel capable.• Byte CC: 0x27 Port number. It is dynamically assigned whenever a link incident occurs.

Type Number Displays the type number of the self-describing node. It also describes the machine type.Model Number Displays the model number.Manufacturer Displays the manufacture name or code.Plant of manufacturer Displays the manufacture plant name or code. The code in this case is 02Sequence Number The sequence number of the self-describing node, in this case is 0000000169CATag Displays the physical identifier for the self-describing node interface (270d in this case)Switch node and port WWNFlag 00 indicates that the node ID of the (storage port for RNID, switch for SwitchRNID) is valid.Node Parameters Displays the node type for the switch in three bytes: “0xAABBCC.” The meaning of each byte 0x200a0d is described here:

• Byte AA: 0x20 FC-SB-2 and updates.• Byte BB: In this case 0x0a- Switch • Byte CC: 0x0d Port number that is dynamically assigned whenever a link incident occurs.

Type Number: SLKWRM describes a Brocade switch typeModel Number: Brocade (vendor) model number 12kManufacturer: Brocade (BRD)Plant of Manufacturer: CA (California)Sequence Number: 0FA03X900CA8 (This looks like the switch serial number with extra numbers)Tag: d00d - a physical identifier for the self-describing node interface

Note: For additional information see Brocade Support for FICON Reference Guide, v4.1.2.(Publication Number: 53-0000525-05)

The Official SupportShow Command Reference Guide 2-85

Page 110: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ficonshow rnidAvailable in Fabric OS versions: 4.2Troubleshooting Use: Displays all registered node identification data within the local switch

Request Node Identification Data (RNID):

Request Node Identification Data (RNID) allows a device (host channel or storage CU port) and switch to identify themselves to each other, as follows:

1. The host channel or storage CU port initiates the exchange by asking the switch for its node ID.

2. The switch responds with the following information (default values are in parentheses):

• switch World Wide Name• switch type (SLKWRM)• switch model number (12K)• switch manufacturer (BRD)• switch plant of manufacture (CA)• switch sequence number• switch tag

The sequence number for Brocade switches is the Brocade serial number that is labeled on the outside of the switch.

Note: For additional information see Brocade Support for FICON Reference Guide, v4.1.2 2-3 Publication Number: 53-0000525-05. Use the information in this document to decipher the ficonshow RNID information depicted here.

v4.2 Example Output:

Example 2-46: ficonshow rnid: {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 500a00 50:05:07:64:01:40:14:54 50:05:07:64:00:c1:69:ca 0x10 0x20013f Type number: 002064 Model number:103 Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 3f0a {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 500e00 50:05:07:64:01:00:14:62 50:05:07:64:00:c1:69:ca 0x10 0x200116 Type number: 002064 Model number:103 Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 160e {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 501700 50:05:07:64:01:00:0b:45 50:05:07:64:00:c1:69:ca 0x10 0x200128 Type number: 002064 Model number:103 Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 2817{Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 501b00 50:05:07:64:01:00:10:d2 50:05:07:64:00:c1:69:ca 0x10 0x200142 Type number: 002064 Model number:103

2-86 The Official SupportShow Command Reference Guide

Page 111: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 421b {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 501f00 50:05:07:64:01:00:11:79 50:05:07:64:00:c1:69:ca 0x10 0x20013c Type number: 002064 Model number:103 Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 3c1f {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 502200 50:05:07:63:00:c6:96:aa 50:05:07:63:00:c0:96:aa 0x00 0x200100 Type number: 002105 Model number:800 Manufacturer:IBM Plant of Manufacture:13 Sequence Number:000000022802 tag: 0088 {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 502300 50:05:07:64:01:00:14:54 50:05:07:64:00:c1:69:ca 0x10 0x20013e Type number: 002064 Model number:103 Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 3e23 {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 502b00 50:05:07:64:01:00:16:05 50:05:07:64:00:c1:69:ca 0x10 0x200108 Type number: 002064 Model number:103 Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 082b {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 502d00 50:05:07:64:01:40:11:79 50:05:07:64:00:c1:69:ca 0x10 0x20013d Type number: 002064 Model number:103 Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 3d2d {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 503500 50:05:07:63:00:cc:96:aa 50:05:07:63:00:c0:96:aa 0x00 0x200100 Type number: 002105 Model number:800 Manufacturer:IBM Plant of Manufacture:13 Sequence Number:000000022802 tag: 0020 {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 503f00 50:05:07:64:01:40:16:05 50:05:07:64:00:c1:69:ca 0x10 0x200109 Type number: 002064 Model number:103 Manufacturer:IBM Plant of Manufacture:02 Sequence Number:0000000169CA tag: 093f11 valid entries, 0 not current entriesThe Local RNID database has 11 entries.

The Official SupportShow Command Reference Guide 2-87

Page 112: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ficonshow switchrnidAvailable in Fabric OS versions: 4.2

Troubleshooting Use: Displays node identification data for the local switch.

Request Node Identification Data (RNID):

Request Node Identification Data (RNID) allows a device (host channel or storage CU port) and switch to identify themselves to each other, as follows:

1. The host channel or storage CU port initiates the exchange by asking the switch for its node ID.

2. The switch responds with the following information (default values are in parentheses):

• switch World Wide Name• switch type (SLKWRM)• switch model number (12K)• switch manufacturer (BRD)• switch plant of manufacture (CA)• switch sequence number• switch tag

The sequence number for Brocade switches is the Brocade serial number that is labeled on the outside of the switch.

v4.2 Example Output:

Example 2-47: See associated supportshow output in Example 2-42ficonshow switchrnid:{ {Switch WWN flag Parm 10:00:00:60:69:80:1e:4e0x00 0x200a00 Type number: 123456 Model number:0BC Manufacturer:BRD Plant of Manufacture:NY Sequence Number:abc123456789 tag: 00ff }}The Local switch RNID database has 1 entries.

Note: For additional information see Brocade Support for FICON Reference Guide, v4.1.2 2-3 Publication Number: 53-0000525-05. Use the information in this document to decipher the ficonshow switchrnid information depicted here.

2-88 The Official SupportShow Command Reference Guide

Page 113: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

filterportshowAvailable in Fabric OS versions: v4.1, 4.2 (Filter Command Group)v4.2 Example Output: This Filter Command Group output is not enabled by default. When enabled it will display

the filters per port. Troubleshooting Use: If filtering is used the output of this command would tell you what filtering is enabled on each port.Additional Example/Case Studies:

Example 2-48: Truncated output from a SW3900 with v4.2 code, no filtering enabled.filterportshow 0:Filter port indicator:

BF_ACCESS_CTL=0, BF_ZTYPE_SET=0, BF_TRAP_PLOGI=0 BF_TRAP_RPTLUN=0, BF_EXCLUDE=0, BF_LUN_ZONING=0 BF_BLOCKING=0, BF_ZONE_ENABLE=0, BF_ONE_PROTOCOL=0 BF_SOFT_ZONING=0, BF_ZGROUP_SET=00xcaaa44b0: priority 7fffffff0xcaaa4480: listA 001297f00xcaaa4484: listB 000000070xcaaa4488: frozen 000c00000xcaaa448c: discard 004008000xcaaa4490: forward 00a16008Filter parity check control register: Destination Group RAM parity=1 Source Group RAM parity=1 Field value RAM D parity=1 Field value RAM C parity=1 Field value RAM B parity=1 Field value RAM A parity=1Filter parity check status register: Destination Group RAM parity=0 Source Group RAM parity=0 Field value RAM D parity=0 Field value RAM C parity=0 Field value RAM B parity=0 Field value RAM A parity=0Shadowed lun offset register: Don't check AL_PA=0, Don't check FC_TYPE=0 fc_type=0xff offset mask: 0x40 0x40 0x40 0x40Real lun offset register: Don't check AL_PA=0, Don't check FC_TYPE=0 fc_type=0xff offset mask: 0x40 0x40 0x40 0x40 Zoning (hardware) disabled

Shadowed filters

Filter 0: fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter 1: fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0<truncated output>

Real filters

Filter 0: fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter 1: fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1

The Official SupportShow Command Reference Guide 2-89

Page 114: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter 2: fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0<truncated output>Filter dirty indicator: 0x00000000Dynamic filter management structures 0: age=0, cmd=0x00, els=0 firstValid=0, lastValid=0 firstSeqCnt=0, lastSeqCnt=0 framesTrapped=0, lunData=0x00000000Dynamic filter management structures 1: age=0, cmd=0x00, els=0 firstValid=0, lastValid=0 firstSeqCnt=0, lastSeqCnt=0 framesTrapped=0, lunData=0x00000000Dynamic filter management structures 2: age=0, cmd=0x00, els=0 firstValid=0, lastValid=0 firstSeqCnt=0, lastSeqCnt=0 framesTrapped=0, lunData=0x00000000iu pending queue for dynamic filter:

Note: This command has no additional Fabric OS information at this time. As the information becomes available the command will be inserted in this section.

2-90 The Official SupportShow Command Reference Guide

Page 115: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

filtershowAvailable in Fabric OS versions: v3.1, v3.1.2 (Filter Command Group)Version Differences: filtershow is a v4.x filterportshow like commandv4.2 Example Output: NAAdditional Example/Case Studies:Troubleshooting Use: This Filter Command Group output is not enabled by default. When enabled it will display the

filters per port. If filtering is used the output of this command would tell you what filtering is enabled on each port.

Example 2-49: V3.1.1b output from a fabric with 12 switches, 71 end devices and a zone with 1984 bytes committed from the 98232 byte zone database. filtershowDefault features: port_zoning: 1 wwn_zoning: 1 protocol_zoning: 0 lun_zoning 0 access_control: 0 forwardLun0ReportLun: 0 forwardLun0Inquiry: 0 forwardLun0TestUnitReady: 0 overwriteWithLunsCfged: 0 clearLunEntriesMissed: 0 virtualExpandable: 0 performance: 1 diagnostics: 1Current features: port_zoning: 1 wwn_zoning: 1 protocol_zoning: 0 lun_zoning 0 access_control: 0 forwardLun0ReportLun: 0 forwardLun0Inquiry: 0 forwardLun0TestUnitReady: 0 overwriteWithLunsCfged: 0 clearLunEntriesMissed: 0 virtualExpandable: 0 performance: 1 diagnostics: 1Port 0: (output truncated to only port 0)Filter port indicator: BF_ACCESS_CTL=0, BF_ZTYPE_SET=0, BF_TRAP_PLOGI=1 BF_TRAP_RPTLUN=0, BF_EXCLUDE=0, BF_LUN_ZONING=0 BF_BLOCKING=0, BF_ZONE_ENABLE=1, BF_ONE_PROTOCOL=0 BF_SOFT_ZONING=1Shadowed lun offset register: Don't check AL_PA=0, Don't check FC_TYPE=0 fc_type=0xff offset mask: 0x40 0x40 0x40 0x40Shadowed filtersFilter DYNAMIC1-3 (outputs the same so combined): Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter REMOTE_EMBEDDED: Installed fv_select= 0x10 0x10 0x10 0x10 0x10 0x10 0x08 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 scam_nomatch=0, dcam_nomatch=0, scam_match=0, dcam_match=0 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter REPORT_LUN: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

The Official SupportShow Command Reference Guide 2-91

Page 116: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter PLOGI/PDISC/ADISC/LOGO trap1-3(outputs the same so combined): Installed fv_select= 0x02 0x10 0x10 0x10 0x0f 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x01 0x10 0x10 0x10 scam_nomatch=0, dcam_nomatch=0, scam_match=0, dcam_match=0 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=1, scam_or_dcam_mis=0Filter RNID trap1-3 (outputs the same so combined): Installed fv_select= 0x02 0x10 0x10 0x01 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 scam_nomatch=0, dcam_nomatch=0, scam_match=0, dcam_match=0 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=1, scam_or_dcam_mis=0Filter NON_FCP_CMD: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter FORWARD_ZONE_MATCH: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter TUR_INQ: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter FORWARD_LINK_CTL: Installed fv_select= 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x01 0x10 0x10 0x10 0x10 scam_nomatch=0, dcam_nomatch=0, scam_match=0, dcam_match=0 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter TRAP_ELS_BLS: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter DCAM_MISS_SCAM_MATCH: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter SCAM_MISS_DCAM_MATCH: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter DCAM_OR_SCAM_MISS: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter ZONE_MISS: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter FORWARD_MULTICAST: Installed fv_select= 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x08 0x10 0x10 0x10 0x10 0x10 0x10 0x10 scam_nomatch=0, dcam_nomatch=0, scam_match=0, dcam_match=0 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter DISCARD_ALL: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter FORWARD_ALL: Installed fv_select= 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 scam_nomatch=0, dcam_nomatch=0, scam_match=0, dcam_match=0 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter FREE: Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1 inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter PERF1-8 (outputs the same so combined): Not Installed fv_select= 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 scam_nomatch=0, dcam_nomatch=1, scam_match=0, dcam_match=1

2-92 The Official SupportShow Command Reference Guide

Page 117: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

inA=0, noA=0, inB=0, noB=0, eitherAorB=0, neitherAnorB=0, scam_or_dcam_mis=0Filter dirty indicator: 0x00000000Dynamic filter management structures 0: age=0, cmd=0x00, els=0 firstValid=0, lastValid=0 firstSeqCnt=0, lastSeqCnt=0 framesTrapped=0, lunData=0x00000000Dynamic filter management structures 1: age=0, cmd=0x00, els=0 firstValid=0, lastValid=0 firstSeqCnt=0, lastSeqCnt=0 framesTrapped=0, lunData=0x00000000Dynamic filter management structures 2: age=0, cmd=0x00, els=0 firstValid=0, lastValid=0 firstSeqCnt=0, lastSeqCnt=0 framesTrapped=0, lunData=0x00000000iu pending queue for dynamic filter:Performance filter: 0Filter priority register: 0x7fffffffFilter selection (List A): 0x0000a7f0Filter selection (List B): 0x00000007Filter selection (frozen): 0x000f0000Filter selection (discard): 0x00200000Filter selection (forward): 0x00505808Filter parity check control register: Destination Group RAM parity=1 Source Group RAM parity=1 Field value RAM D parity=1 Field value RAM C parity=1 Field value RAM B parity=1 Field value RAM A parity=1Filter parity check status register: Destination Group RAM parity=0 Source Group RAM parity=0 Field value RAM D parity=0 Field value RAM C parity=0 Field value RAM B parity=0 Field value RAM A parity=0Real lun offset register: Don't check AL_PA=0, Don't check FC_TYPE=0 fc_type=0xff offset mask: 0x40 0x40 0x40 0x40 Zoning (hardware) enabledFilter DIDCAM GMISS workaround not appliedReal filters<output trucated ... see shadow filter information above>Filter counters Filter counter for DYNAMIC1: 0x00000000 Filter counter for DYNAMIC2: 0x00000000 Filter counter for DYNAMIC3: 0x00000000 Filter counter for REMOTE_EMBEDDED: 0x00000006 Filter counter for REPORT_LUN: 0x00000000 Filter counter for PLOGI/PDISC/ADISC/LOGO trap1: 0x00000004 Filter counter for PLOGI/PDISC/ADISC/LOGO trap2: 0x00000004 Filter counter for PLOGI/PDISC/ADISC/LOGO trap3: 0x00000004 Filter counter for RNID trap1: 0x00000000 Filter counter for RNID trap2: 0x00000000 Filter counter for RNID trap3: 0x00000000 Filter counter for NON_FCP_CMD: 0x00000000 Filter counter for FORWARD_ZONE_MATCH: 0x00000000 Filter counter for TUR_INQ: 0x00000000 Filter counter for FORWARD_LINK_CTL: 0x00000000 Filter counter for TRAP_ELS_BLS: 0x00000000 Filter counter for DCAM_MISS_SCAM_MATCH: 0x00000000 Filter counter for SCAM_MISS_DCAM_MATCH: 0x00000000

The Official SupportShow Command Reference Guide 2-93

Page 118: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Filter counter for DCAM_OR_SCAM_MISS: 0x00000000 Filter counter for ZONE_MISS: 0x00000000 Filter counter for FORWARD_MULTICAST: 0x00000000 Filter counter for DISCARD_ALL: 0x00000000 Filter counter for FORWARD_ALL: 0x0000001a Filter counter for FREE: 0x00000000 Filter counter for PERF1: 0x00000000 Filter counter for PERF2: 0x00000000 Filter counter for PERF3: 0x00000000 Filter counter for PERF4: 0x00000000 Filter counter for PERF5: 0x00000000 Filter counter for PERF6: 0x00000000 Filter counter for PERF7: 0x00000000 Filter counter for PERF8: 0x00000000Shadowed fieldsField 0: value=0x00 0x01 0x05 0x08, mask=0xff, offset=12Field 1: value=0x06 0x00 0x00 0x00, mask=0xff, offset=4Field 2: value=0x2a 0x0a 0x28 0x08, mask=0xff, offset=40Field 3: value=0x78 0xff 0xff 0xff, mask=0xff, offset=28Field 4: value=0x03 0x52 0x50 0x05, mask=0xff, offset=28Field 5: value=0xff 0xff 0xff 0xff, mask=0xff, offset=9Field 6: value=0xff 0xff 0xff 0xfc, mask=0xff, offset=10Field 7: value=0xff 0xff 0xff 0xff, mask=0xff, offset=11Field 8: value=0xff 0xff 0xff 0xff, mask=0xff, offset=7Field 9: value=0xff 0xff 0xff 0xff, mask=0xff, offset=20Field 10: value=0xff 0xff 0xff 0xff, mask=0xff, offset=21Field 11: value=0xc0 0xff 0xff 0xff, mask=0xf0, offset=4Field 12: value=0x00 0xff 0xff 0xff, mask=0xff, offset=29Field 13: value=0xff 0xff 0xff 0xff, mask=0xff, offset=0Field 14: value=0xff 0xff 0xff 0xff, mask=0xff, offset=0Field 15: value=0xff 0xff 0xff 0xff, mask=0xff, offset=0Field controlField 0: control=0xff 0xff 0xff 0xffField 1: control=0xff 0x00 0x00 0x00Field 2: control=0xff 0xff 0xff 0xffField 3: control=0xff 0x00 0x00 0x00Field 4: control=0xff 0xff 0xff 0xffField 5: control=0xfe 0xfe 0xfe 0xfeField 6: control=0xfe 0xfe 0xfe 0xffField 7: control=0xfe 0xfe 0xfe 0x00Field 8: control=0xfe 0xfe 0xfe 0xffField 9: control=0xfe 0xfe 0xfe 0x00Field 10: control=0xfe 0xfe 0xfe 0x00Field 11: control=0xff 0x00 0x00 0x00Field 12: control=0xff 0x00 0x00 0x00Field 13: control=0x00 0x00 0x00 0x00Field 14: control=0x00 0x00 0x00 0x00Field 15: control=0x00 0x00 0x00 0x00Field dirty indicator: 0x00000000Real fields<truncated output - see shadowed fields output above>

...<truncated...only port 0 output displayed>Quad 0, port 0 to port 3:Real sidcam parameters Total # of rcam entries: 64 Current # of active rcam entries: 64 Size of cam entry (32bit word): 1 Offset of this rzgroup: 0 Size of this rzgroup: 2Cam entries (only non-empty entries will be shown):Real didcam parameters Total # of rcam entries: 512 Current # of active rcam entries: 512 Size of cam entry (32bit word): 2 Offset of this rzgroup: 2

2-94 The Official SupportShow Command Reference Guide

Page 119: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Size of this rzgroup: 16Cam entries (only non-empty entries will be shown):Virtual sidcam parameters Total # of vcam entries: 64Current # of active vcam entries: 0Size of cam entry: 1 wordsOffset of associated vzgroup: 0 wordsSize of associated vzgroup: 2 wordsCam entries (only non-empty entries will be shown):Cam index sort array:Virtual didcam parameters Total # of vcam entries: 512Current # of active vcam entries: 0Size of cam entry: 2 wordsOffset of associated vzgroup: 2 wordsSize of associated vzgroup: 16 wordsCam entries (only non-empty entries will be shown):Cam index sort array:Real zone group A parameters Total # of RZgroups: 64 Current # of active RZgroups: 64 Size of RZgroup (in 32bit word): 18 words Free (head): 65535 Real zone group members index (only non-empty entries will be shown):Real zone group B parameters Total # of RZgroups: 64 Current # of active RZgroups: 64 Size of RZgroup (in 32bit word): 18 words Free (head): 65535 Real zone group members index (only non-empty entries will be shown):Virtual zone group A parameters Total # of VZgroups: 64 Current # of active VZgroups: 0 Size of VZgroup: 18 words Free (head): 0 Virtual zone group members index (only non-empty entries will be shown): Free virtual zone groups 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 Virtual zone group B parameters Total # of VZgroups: 64 Current # of active VZgroups: 0 Size of VZgroup: 18 words Free (head): 0 Virtual zone group members index (only non-empty entries will be shown): Free virtual zone groups 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

...<ouput for Quads 1-3 duplicate Quad 0 type information truncated >

The Official SupportShow Command Reference Guide 2-95

Page 120: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

firmwareShowAvailable in Fabric OS versions: v4.1, v4.2 (supportshow - this command is available in all Fabric OS v4.x versions from

CLI)Version Differences: Dual CP switch outputs show dual CP information.Additional Example/Case Studies:Troubleshooting Use: Use this command to display the Fabric OS versions on both partitions (primary and

secondary) on the local CP and on the remote CP.

This command identifies the status for each CP as Active or Standby, and will also identify the slot number for each CP. If there is only one CP available, the command displays the Fabric OS versions for the primary and secondary partitions on that CP. In order to invoke an “auto magic” firmwaredownload process all switch partitions must be at the same revision level. Use the firmwaredownload - s option to download firmware to the partitions on one logical switch of a dual CP switch. Use the firmwarecommit command to copy the firmware in the primary partition to the secondary partition. Use the firmwarerestore command to copy the firmware from the secondary partition to the primary. For more information, see the Brocade Fabric OS Reference and Chapter 3, Non-SupportShow Commands of this guide for more information.

Examples:

Example 2-22: To display the firmware version of a Silkworm 3900:switch3900:admin> firmwareshowLocal CP (Slot 5, CP0): ActivePrimary partition: v4.0.2Secondary Partition: v4.0.2Remote CP is Non-redundant.switch3900:admin>

Example 2-23: To display the firmware version of a Silkworm 12000:firmwareshow:Local CP (Slot 5, CP0): ActivePrimary partition:v4.1.0Secondary Partition:v4.1.0Remote CP (Slot 6, CP1): StandbyPrimary partition:v4.1.0Secondary Partition:v4.1.0

v4.2 Example Output:

Example 2-50: firmwareshow:Local CP (Slot 6, CP1): ActivePrimary partition:v4.2.0_beta1Secondary Partition:v4.2.0_beta1Remote CP (Slot 5, CP0): StandbyPrimary partition:v4.2.0_beta1Secondary Partition:v4.2.0_beta1

Note: If Local CP and Remote CP have different versions of firmware, please retry the firmwaredownload command or use firmwaredownload -s option to get the firmware on one CP to match the firmware on the other. If you choose not to automatically reboot when asked using this option and you later want to perform a non-disruptive reboot use the hareboot command instead of fastboot or reboot.

Firmware download problems could be related to network connectivity.

1. To verify network connectivity, execute host based ping to switch and/or traceroute (UNIX)/ tracert (Windows).

2. Check network configuration: ifmodeshow eth0 for Linux switches or ifmodeshow “fei0” for VxWorks switches (also look at supportShow /sbin/ifconfig output (Linux) or ifShow output (VxWorks).

3. Use ifModeSet to change network configuration – VxWorks switches require reboot.

2-96 The Official SupportShow Command Reference Guide

Page 121: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

4. Try cycling the internet interface - on VxWorks based switches execute: ifdown “fei0” and then ifUp “fei0”, on Linux based switches execute: ifdown eth0 and then ifUp eth0.

5. FTP from server to itself – determine directory your in and modify the path request line in the firmware download process accordingly.

6. Compare switch behavior: RJ45 connected/not connected (Watch for CLOSE WAIT state outputs that do not disappear within 15 minutes in inetstatshow (VxWorks) and netstat – a (Linux) outputs. Alternately, compare the SilkWorm 2800 push button tPBMenu response times, if more sluggish with network cable attached check LAN segment for excessive collisions.)

7. Verify FTP server functionality and directory structure (you may need to use forward slashes).

8. Understand expected firmware download processes so that you can recognize deviations; use the Brocade Fabric OS v4.2 Diagnostic and Error Message Guide to interpret firmware download error messages. Many firmware download process errors can be solved setting both ends of the network to the same speed or executing firmware download process using a direct attach method: a cross-over cable or HUB (check network router and switch tables).

The Official SupportShow Command Reference Guide 2-97

Page 122: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fspfShowAvailable in Fabric OS versions: v4.0, v4.1, v4.2Additional Example/Case Studies:Troubleshooting Use: Use this command to display the Fibre Channel Shortest Path First (FSPF) protocol

information, and internal data structures. FSPF is implemented by a single task, called tFspf. It displays global FSPF data structures.

The display shows the following fields:Table 2-1 fspfShow display fields

Field Description

version Version of FSPF protocol.

domainID Domain number of local switch.

switchOnline State of the local switch. v4.0 only.

domainConfirmed Domain of the local switch is currently confirmed. Fabric OS v4.0 only.

isl_ports Bit map of all E_Ports.

trunk_ports Bit map of all the trunk ports. Fabric OSv4.0 only.

f_ports Bit map of all the Fx_Ports. Fabric OSv4.0 only.

seg_ports Bit map of all the segmented ports. Fabric OSv4.0 only.

active_ports Bit map of all the ONLINE ports. Fabric OS v4.0 only.

minLSArrival FSPF constant used to throttle flooding procedure. The min* outputs are recorded in seconds

minLSInterval FSPF constant used to throttle flooding procedure. The min* outputs are recorded in seconds.

LSoriginCount Internal variable.

startTime Start time of tFspf task (milliseconds from boot).

fspfQ FSPF input message queue.

fabP Pointer to fabric data structure.

agingTID Aging timer ID .

agingTo Aging time out value, in milliseconds used to age out old LSR information. The aging time out value is 10 seconds.

lsrDlyTID Link State Record delay timer ID used to throttle new LSR generation.

lsrDelayTo Link State Record delay time out value, in milliseconds. The delay LSR origination is 5 seconds.

lsrDelayCount Counter of delayed Link State Records.

ddb_sem FSPF semaphore ID.

event_sch FSPF scheduled events bit map.

lsrRefreshCnt Internal variable.

2-98 The Official SupportShow Command Reference Guide

Page 123: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Example 2-24: fspfshow:version= 2domainID= 1switchOnline= TRUEdomainValid= TRUEisl_ports[0]= 0x00000000isl_ports[1]= 0x00000000trunk_ports[0]= 0x00000000trunk_ports[1]= 0x00000000f_ports[0]= 0x00002400f_ports[1]= 0x00000000seg_ports[0]= 0x00000000seg_ports[1]= 0x00000000active_ports[0]= 0x00002400active_ports[1]= 0x00000000minLSArrival= 3minLSInterval= 5LSoriginCount= 0startTime= 120760fspfQ= 0x10037790fabP= 0x10037780fspfShow (Cont.)agingTID= 0x1004cb00agingTo= 10000lsrDlyTID= 0x1004cb90lsrDelayTo= 5000lsrDelayCount= 0ddb_sem= 0x10037858fabP:event_sch= 0x0lsrRefreshCnt= 0

v4.2 Example Output:

Example 2-51: fspfshow

version = 2domainID= 1switchOnline= TRUEdomainValid= TRUEisl_ports[0]= 0x00000000isl_ports[1]= 0x00000000isl_ports[2]= 0x00000000isl_ports[3]= 0x00000000trunk_ports[0]= 0x00000000trunk_ports[1]= 0x00000000trunk_ports[2]= 0x00000000trunk_ports[3]= 0x00000000f_ports[0]= 0x00000002f_ports[1]= 0x00000000f_ports[2]= 0x40000000f_ports[3]= 0x80000000seg_ports[0]= 0x00000000seg_ports[1]= 0x00000000seg_ports[2]= 0x00000000seg_ports[3]= 0x00000000active_ports[0]= 0x00000002active_ports[1]= 0x00000000active_ports[2]= 0x40000000

The Official SupportShow Command Reference Guide 2-99

Page 124: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

active_ports[3]= 0x80000000minLSArrival= 3minLSInterval= 5LSoriginCount= 0startTime= 29670fspfQ = 0x1005dbc0fabP = 0x1005dbb0agingTID= 0x1007c818agingTo = 10000lsrDlyTID= 0x1007c870lsrDelayTo= 5000lsrDelayCount= 0ddb_sem = 0x1005dc88

2-100 The Official SupportShow Command Reference Guide

Page 125: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fssadmin -s chassis0 -qAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: This command is part of the hadump command output. Use the output of this and the rest of

the hadump output to understand dual CP failover and firmwaredownload processes. fssadmin –s -chassis0 –q means give me fss output per single instance on chassis 0.

Additional Example/Case Studies: See hadump on page 2-110 output for a complete story of this command and other hadump commands:

hadump/ System Command GrouphaShow/ System Command Groupipaddrshow / System Command Groupsysc_dprintf/ System Command Groupmedbg -s1 -e1/ System Command Group

fssadmin -s chassis0 –q/ System Command Groupfssadmin -s fcsw0 –q/ System Command Groupfssadmin -s fcsw1 –q/ System Command Group

v4.2 Example Output:

Example 2-52: fssadmin -s chassis0 -q:=== FSS Service Dump : chassis0 ===== State ==chassis0(0): ACTIVE(0), Requiredlocal = SYN_SUCC, prev = SYN_SUCC, peer = SYN_SUCC Name LocalRemote chassis0(M)SYN_SUCCSYN_SUCC em(M)SYN_SUCCSYN_SUCC pdm(M)SYN_SUCCSYN_SUCC rpc(M)SYN_SUCCSYN_SUCC== Statistic ==

tx-pkt tx(KB) rx-pkt rx(KB) UP (tor=341, tod=1357) em 9 32 2 0 61 W=2,1,-,-,303,1, pdm 85 151 2 0 43 W=2,2,-,-,-,-, rpc 2 0 2 0 0 W=2,1,-,-,-,-,== Config ==chassis0(1.1)comp chassis01:1Ucomp em1:1Ucomp pdm1:1Ucomp rpc1:1U

Warm Table: emEM_WARM_CHECK_POWER_STATES,,,EM_WARM_CHECK_FRU_OBJS,FSS_RECOV_ACTIVE pdmFSS_RECOV_ACTIVE,,,, rpcFSS_RECOV_ACTIVE,,,,

Cold Table: emEM_COLD_CHECK_FRU_OBJS,FSS_RECOV_ACTIVE pdmFSS_RECOV_ACTIVE, rpcFSS_RECOV_ACTIVE,== SVC ==major: 1minor: 1lo: 0minor: 1id: 0peerid: 0epoch: 7log: 0conn: 3bits: 1recov: 0index: 6upper: 6coldnum: 3warmnum: 6stbynum: 4stat: 4prevstat: 4peerstat: 4sv_winsz: 64nscm: 4

The Official SupportShow Command Reference Guide 2-101

Page 126: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fssadmin -s fcsw0 -qAvailable in Fabric OS versions: v4.1, v4.2 Troubleshooting Use: This command is part of the hadump command output. Use the output of this and the rest of

the hadump output to understand dual CP failover and firmwaredownload processes. fssadmin –s -fcsw0 –q means give me fc switch output per single instance on logical switch 0.

Additional Example/Case Studies: See hadump on page 2-110 output for a complete story of this command and other hadump commands:

hadump / System Command GrouphaShow / System Command Groupipaddrshow / System Command Groupsysc_dprintf / System Command Groupmedbg -s1 -e1 / System Command Group

fssadmin -s chassis0 –q / System Command Groupfssadmin -s fcsw0 –q / System Command Group

fssadmin -s fcsw1 –q / System Command Group

v4.2 Example Output:

Example 2-53: fssadmin -s fcsw0 -q:=== FSS Service Dump : fcsw0 ===== State ==fcsw0(2): ACTIVE(0), Requiredlocal = SYN_SUCC, prev = SYN_SUCC, peer = SYN_SUCC Name LocalRemote fcsw0(M)SYN_SUCCSYN_SUCC swc(M)SYN_SUCCSYN_SUCC cer(M)SYN_SUCCSYN_SUCC fcp(M)SYN_SUCCSYN_SUCC rt(M)SYN_SUCCSYN_SUCC fc(M)SYN_SUCCSYN_SUCC fabric(M)SYN_SUCCSYN_SUCC zone(M)SYN_SUCCSYN_SUCC fspf(M)SYN_SUCCSYN_SUCC ns(M)SYN_SUCCSYN_SUCC ms(M)SYN_SUCCSYN_SUCC ps(M)SYN_SUCCSYN_SUCC rcs(M)SYN_SUCCSYN_SUCC evm(M)SYN_SUCCSYN_SUCC track(M)SYN_SUCCSYN_SUCC ts(M)SYN_SUCCSYN_SUCC slap(M)SYN_SUCCSYN_SUCC security(M)SYN_SUCCSYN_SUCC web(M)SYN_SUCCSYN_SUCC snmp(M)SYN_SUCCSYN_SUCC fw(M)SYN_SUCCSYN_SUCC fdmi(M)SYN_SUCCSYN_SUCC diagfss(M)SYN_SUCCSYN_SUCC== Statistic ==

tx-pkt tx(KB) rx-pkt rx(KB) UP (tor=255, tod=67) swc 3717 1284 9 0 240 W=1,15,1,-,-,1,-,66,-,-,-,-,-,-,-,-, cer 18 3 10 0 246 W=1,-,-,1,-,-,-,66,1,-,-,-,-,-,-,-, fcp 11 5 4 0 263 W=3,-,-,2,-,-,-,76,1,-,-,-,-,-,-,-, rt 2 0 2 0 261 W=1,-,-,-,-,-,-,66,-,-,-,-,-,-,-,-, fc 3 0 2 0 261 W=1,-,-,1,2,-,-,-,-,-,-,-,-,-,-,-, fabric 4 7 2 0 260 W=1,-,-,-,-,1,-,-,1,4,-,-,-,-,-,-, zone 8 1 4 0 727 W=3,-,-,2,-,-,-,-,1,-,4,2,-,-,-,-, fspf 1839 110 3 0 182 W=2,-,-,-,4,-,-,-,1,-,-,-,-,-,-,-, ns 20 34 8 0 240 W=2,-,-,-,-,-,-,81,1,4,4,-,-,-,-,-,

2-102 The Official SupportShow Command Reference Guide

Page 127: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

ms 8 51 2 0 291 W=3,-,-,-,-,-,-,-,-,-,4,2,-,-,-,-, ps 15 1 6 0 263 W=2,-,-,-,-,-,-,76,-,-,-,1,-,-,-,-, rcs 4 2 2 0 78 W=2,-,-,1,-,-,-,-,-,4,2,-,-,-,-,-, evm 3 13 2 0 92 W=2,-,-,-,-,-,-,-,-,-,-,-,5,-,-,-, track 2 0 2 0 164 W=1,-,-,-,-,-,-,-,-,-,2,-,-,-,-,-, ts 3230 504 5 0 901 W=1,-,-,-,-,-,-,82,-,-,-,-,-,-,-,-, slap 2 0 2 0 233 W=1,-,-,-,-,-,-,76,-,-,-,-,-,-,-,-,security 6 0 2 0 494 W=1,27,-,-,-,-,-,-,-,-,102,-,-,-,-,-, web 2 0 2 0 245 W=1,-,-,-,-,-,-,-,-,-,-,-,-,1,-,-, snmp 2 0 2 0 91 W=1,-,-,-,-,-,-,-,-,-,-,-,8,-,-,-, fw 2 0 2 0 342 W=6,-,-,-,-,-,-,91,1,-,-,-,-,19,-,-, fdmi 2 0 2 0 144 W=1,-,-,-,-,-,-,-,-,-,-,-,-,1,1,-, diagfss 2 0 2 0 266 W=1,15,-,-,-,-,-,-,1,1,-,-,-,-,-,-,== Config ==fcsw0(2.1)comp fcsw02:1Ucomp swc2:1Ucomp cer2:2Ucomp fcp1:1Ucomp rt1:1Ucomp fc1:1Ucomp fabric1:1Ucomp zone1:1Ucomp fspf1:1Ucomp ns1:1Ucomp ms2:1Ucomp ps1:1Ucomp rcs1:1Ucomp evm1:1Ucomp track1:1Ucomp ts1:1Ucomp slap1:1Ucomp security2:1Ucomp web1:1Ucomp snmp1:1Ucomp fw1:1Ucomp fdmi1:1Ucomp diagfss1:1U

Warm Table: swcSWC_RECOV_ONLINE_PORTS,SWC_RECOV_ONLINE_DONE,,,FSS_RECOV_ACTIVE,,SWC_RECOV_RESET_PORTS,,,,,,,, cer,,CER_RECOV_ONLINE_PORTS,,,,FSS_RECOV_ACTIVE,CER_RECOV_MASS_REROUTE,,,,,,, fcp,,FCP_WARM_INIT,,,,FCP_DATA_RECOV,FSS_RECOV_ACTIVE,,,,,,, rt,,,,,,FSS_RECOV_ACTIVE,,,,,,,, fc,,FC_FSS_WARM_1,FSS_RECOV_ACTIVE,,,,,,,,,,, fabric,,,,fab_recov_warm,,,fab_recov_eport,FSS_RECOV_ACTIVE,,,,,, zone,,ZN_IPC_REG,,,,,ZN_APPLY_PUSH,,FSS_RECOV_ACTIVE,ZN_EPORT_VALID,,,, fspf,,,FSPF_WARM_1,,,,FSS_RECOV_ACTIVE,,,,,,, ns,,,,,,NS_RDCFG,NS_SYNC,NSCAM_VER,FSS_RECOV_ACTIVE,,,,, ms,,,,,,,,,MS_WARMINIT,FSS_RECOV_ACTIVE,,,, ps,,,,,,FSS_PS_VERIFY,,,,FSS_RECOV_ACTIVE,,,, rcs,,RCS_IPC_REG,,,,,,RCS_XACT_COMPLETE,FSS_RECOV_ACTIVE,,,,, evm,,,,,,,,,,,FSS_RECOV_ACTIVE,,, track,,,,,,,,,FSS_RECOV_ACTIVE,,,,, ts,,,,,,FSS_RECOV_ACTIVE,,,,,,,, slap,,,,,,FSS_RECOV_ACTIVE,,,,,,,, securitySEC_FSS_RDDB,,,,,,,,,FSS_RECOV_ACTIVE,,,,, web,,,,,,,,,,,,FSS_RECOV_ACTIVE,, snmp,,,,,,,,,,,FSS_RECOV_ACTIVE,,, fw,,,,,,fwd_init,fwd_warm,,,,,FSS_RECOV_ACTIVE,, fdmi,,,,,,,,,,,,FSS_FDMI_SYNC_KERN,FSS_RECOV_ACTIVE, diagfssDIAGFSS_SW_RECOV_PRESWC,,,,,,,DIAGFSS_SW_RECOV_POSTSWC,FSS_RECOV_ACTIVE,,,,,,

Cold Table: swcSWC_RECOV_COLD,,,FSS_RECOV_ACTIVE,,,,,

The Official SupportShow Command Reference Guide 2-103

Page 128: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

cerFSS_RECOV_ACTIVE,,,,,,,, fcpFCP_COLD_INIT,,,,FSS_RECOV_ACTIVE,,,, rt,,FSS_RECOV_ACTIVE,,,,,, fcFC_FSS_COLD_1,FSS_RECOV_ACTIVE,,,,,,, fabricfab_recov_cold,,,,FSS_RECOV_ACTIVE,,,, zone,ZN_CONF_INIT,ZN_DB_RES,,FSS_RECOV_ACTIVE,,,, fspfFSPF_COLD_1,,,,FSS_RECOV_ACTIVE,,,, nsNS_INIT_REG,,,,FSS_RECOV_ACTIVE,,,, ms,,,,,MS_COLDINIT,FSS_RECOV_ACTIVE,, ps,,,,,FSS_PS_CONF_INIT,FSS_RECOV_ACTIVE,, rcsRCS_CONF_INIT,,,,FSS_RECOV_ACTIVE,,,, evm,,,,,,,FSS_RECOV_ACTIVE, track,,,,,FSS_RECOV_ACTIVE,,, ts,TS_FSS_RCS_REG,,,,FSS_RECOV_ACTIVE,,, slap,,,,FSS_RECOV_ACTIVE,,,, security,SEC_FSS_RCS_REG,,,,,FSS_RECOV_ACTIVE,, web,,,,,,FSS_RECOV_ACTIVE,, snmp,,,,,FSS_RECOV_ACTIVE,,, fwfwd_init,fwd_cold,,,,,,FSS_RECOV_ACTIVE, fdmi,,,,,,,,FSS_RECOV_ACTIVE diagfssFSS_RECOV_ACTIVE,,,,,,,,== SVC ==major: 2minor: 1lo: 0minor: 1id: 2peerid: 2epoch: 7log: 0conn: 3bits: 1recov: 0index: 16upper: 16coldnum: 10warmnum: 16stbynum: 4stat: 4prevstat: 4peerstat: 4sv_winsz: 64nscm: 23

2-104 The Official SupportShow Command Reference Guide

Page 129: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fssadmin -s fcsw1 -qAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: This command is part of the hadump command output. Use the output of this and the rest of

the hadump output to understand dual CP failover and firmwaredownload processes. fssadmin –s -fcsw1 –q means give me fc switch output per single instance on logical switch 1.

Additional Example/Case Studies: See hadump on page 2-110 output for a complete story of this command and other hadump commands:

hadump / System Command GrouphaShow / System Command Groupipaddrshow / System Command Groupsysc_dprintf / System Command Groupmedbg -s1 -e1 / System Command Group

fssadmin -s chassis0 –q / System Command Groupfssadmin -s fcsw0 –q / System Command Group

fssadmin -s fcsw1 –q / System Command Group

v4.2 Example Output:

Example 2-54: fssadmin -s fcsw1 -q:

/bin/cat /proc/fss/SWBD21_opt1.log[XCP] Tx 9292, Rx 388, Txb 2861K, Rxb 659K; dropped: 1, queued: 3898; pending evt: 0, pending Tx: 0MEM-kern: 0, MEM-atom: 0, sor: 4844, tor: 39

STAMP SEQ SID CID ARG FLGevt-SYNCSUCC5019490620 0 0evt-START501277602 0 0 0cmd-START501277592 0 0 0evt-SYNCSUCC5012775800 0 0evt-DUMPRDY4978275420 0 0evt-COMP497827532 0 0 2evt-START487706380 0 0 0cmd-START487706370 0 0 0evt-DUMPRDY4877063500 0 0evt-COMP487706340 0 0 2cmd-CONNECT4877063020 0 0cmd-CONNECT4877062800 0 0evt-UPCONN4877062720 0 0evt-UPCONN4877062600 0 0evt-AVAILSVC4877062520 0 0evt-AVAILSVC4877062400 0 0msg-EXCH:Rx48770623655356553511msg-EXCH:Tx487706226553565535140d0800evt-TRACE487706210 0 0 5evt-TRACE486786200 0 0 3evt-TRACE373296190 0 0 4evt-DOWNCONN3609761820 0 0evt-STOP360976172 0 0 0evt-DOWNCONN3609761600 0 0evt-STOP360976150 0 0 0evt-TRACE360976140 0 0 6evt-SYNCSUCC1836559920 0 0evt-START182614362 0 0 0cmd-START182614352 0 0 0evt-SYNCSUCC1826143400 0 0evt-DUMPRDY1803943020 0 0evt-COMP180394292 0 0 2

The Official SupportShow Command Reference Guide 2-105

Page 130: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

evt-START173663210 0 0 0cmd-START173663200 0 0 0evt-DUMPRDY1736631500 0 0evt-COMP173663140 0 0 2cmd-CONNECT1736631020 0 0cmd-CONNECT1736630800 0 0evt-UPCONN1736630720 0 0evt-UPCONN1736630600 0 0evt-AVAILSVC1736630520 0 0evt-AVAILSVC1736630400 0 0msg-EXCH:Rx17366303655356553511006f768msg-EXCH:Tx172663026553565535140d0800evt-TRACE172663010 0 0 5evt-TRACE172653000 0 0 3msg-EXCH:Tx5103299655356553530evt-ACTIVE51032982 0 0 0cmd-TAKE48482972 0 0 0evt-ACTIVE48462960 0 0 0cmd-TAKE48442950 0 0 0evt-DOWNCONN479029420 0 0evt-STOP47902932 0 0 0evt-DOWNCONN479029200 0 0evt-STOP47902910 0 0 0evt-TRACE47902900 0 0 6evt-TRACE47902890 0 0 4evt-SYNCSUCC425228720 0 0evt-START41771432 0 0 0evt-SYNCSUCC417714000 0 0evt-TRACE3939560 0 0 2evt-COMP393253 2 0 0 0evt-TRACE3021360 0 0 1evt-COMP302025 2 0 0 2evt-START3020200 0 0 0cmd-CONNECT3020182 0 0 0cmd-CONNECT3020170 0 0 0evt-COMP302016 0 0 0 2msg-EXCH:Tx30198655356553511evt-UPCONN301972 0 0 0evt-UPCONN301960 0 0 0evt-AVAILSVC301952 0 0 0evt-AVAILSVC301940 0 0 0msg-EXCH:Rx30193655356553514290800evt-TRACE30192 0 0 0 5evt-TRACE30191 0 0 0 3evt-COMP27340 0 0 0 0

2-106 The Official SupportShow Command Reference Guide

Page 131: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fwalarmsfiltershowAvailable in Fabric OS versions: v4.1, v4.2 (All Fabric OS versions have this command as a CLI but not all have it

as part of supportshow)

Note: This command requires a Fabric Watch License. If enabled using fwalarmsfilterset 1 then FW alarms will be mirrored to the serial console and possibly to telnet if quietmode is disabled at telnet. Quietmode is always disabled at v4.x serial console, it is enabled by default at telnet unless it is deliberately toggled (this feature only available in version 4.2).

Additional Example/Case Studies:Troubleshooting Use: Use this command to display alarm filtering status for Fabric Watch.

Example 2-25: Example To display the status of alarm filtering in Fabric Watch:switch:admin> fwalarmsfiltershowfw: alarms are enabledswitch:admin> fwalarmsfiltershowFW: Alarms are disabled

Example 2-26: Example:fwalarmsfiltershow:FW: Alarms are disabled

Note: If fwalarmsfilter is not enabled, FW error messages will not be recorded at the system console.

v4.2 Example Output:

Example 2-55: fwalarmsfiltershow:FW: Alarms are disabled

Note: If FW is enabled and licensed and you are experiencing difficulties getting FW messages, verify that the FW daemons are running on both logical Linux switches in a 12k chassis (fwd = fabric watch daemon | -s 0 = switch 0 | -s1 = switch 1)

000 S root 847 1 0 78 19 - 993 rt_sig Feb12 ? 00:00:00 fwd -s 0000 S root 875 1 0 78 19 - 993 rt_sig Feb12 ? 00:00:00 fwd -s 1

The Official SupportShow Command Reference Guide 2-107

Page 132: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fwsamshowAvailable in Fabric OS versions: v4.1, v4.2

Note: This command requires a Fabric Watch License.

Version Differences:

Additional Example/Case Studies:

Troubleshooting Use: Use this command to display the switch availability monitor (SAM) information.

Use this command to displays information about port availability. The information displayed includes: total uptime, total down time, number of faulty occurrences, and total percent of off time for each port.

Example 2-27: fwsamshow:Total Total Number Of Total Port# Type UpTime DownTime Occurences OffTime (Percent) (Percent) (Times) (Percent) ============================================================================= 16 U_PORT 0 0 0 100 17 U_PORT 0 0 0 100 18 U_PORT 0 0 0 100 19 Loopback 100 0 0 0 20 U_PORT 0 0 0 100 21 U_PORT 0 0 0 100 22 U_PORT 0 0 0 100 23 U_PORT 0 0 0 100 24 U_PORT 0 0 0 100 25 U_PORT 0 0 0 100 26 U_PORT 0 0 0 100 27 U_PORT 0 0 0 100 28 U_PORT 0 0 0 100 29 U_PORT 0 0 0 100 30 U_PORT 0 0 0 100 31 U_PORT 0 0 0 100 32 F_PORT 100 0 0 0 33 F_PORT 100 0 0 0 34 F_PORT 100 0 0 0 35 U_PORT 0 0 0 100 36 U_PORT 0 0 0 100 37 U_PORT 0 0 0 100 38 U_PORT 0 0 0 100 39 U_PORT 0 0 0 100 40 E_PORT 100 0 0 0 41 E_PORT 100 0 0 0 42 E_PORT 100 0 0 0 43 E_PORT 100 0 0 0 44 U_PORT 0 0 0 100 45 U_PORT 0 0 0 100 46 U_PORT 0 0 0 100 47 U_PORT 0 0 0 100

Note: Number of Occurrences means: “number of faulty occurrences” Number of occurrences means the number of times any of the following condition has occurred to an ONLINE port. 1. not receiving idle frame from other side after speed negotiation. 2. if there is “loss of light” due to pulling of cable. Fabric Watch configuration does not effect faulty occurrence.

2-108 The Official SupportShow Command Reference Guide

Page 133: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

v4.2 Example Output:

Example 2-56: fwsamshow:

Total Total Number Of Total Port# Type UpTime DownTime Occurences OffTime (Percent) (Percent) (Times) (Percent) ============================================================================= 0 U_PORT 0 0 0 100 1 F_PORT 100 0 0 0 2 U_PORT 0 0 0 100 3 U_PORT 0 0 0 100 4 U_PORT 0 0 0 100 5 U_PORT 0 0 0 100 6 U_PORT 0 0 0 100 7 U_PORT 0 0 0 100 8 U_PORT 0 0 0 100 9 U_PORT 0 0 0 100 10 U_PORT 0 0 0 100 11 U_PORT 0 0 0 100 12 U_PORT 0 0 0 100 13 U_PORT 0 0 0 100 14 U_PORT 0 0 0 100 15 U_PORT 0 0 0 100 16 U_PORT 0 0 0 100 17 U_PORT 0 0 0 100 18 U_PORT 0 0 0 100 19 U_PORT 0 0 0 100 20 U_PORT 0 0 0 100 21 U_PORT 0 0 0 100 22 U_PORT 0 0 0 100 23 U_PORT 0 0 0 100 24 U_PORT 0 0 0 100 25 U_PORT 0 0 0 100 26 U_PORT 0 0 0 100 27 U_PORT 0 0 0 100 28 U_PORT 0 0 0 100 29 U_PORT 0 0 0 100 30 U_PORT 0 0 0 100 31 U_PORT 0 0 0 100 48 U_PORT 0 0 0 100 49 U_PORT 0 0 0 100 50 U_PORT 0 0 0 100 51 U_PORT 0 0 0 100 52 U_PORT 0 0 0 100 53 U_PORT 0 0 0 100 54 U_PORT 0 0 0 100 55 U_PORT 0 0 0 100 56 U_PORT 0 0 0 100 57 U_PORT 0 0 0 100 58 U_PORT 0 0 0 100 59 U_PORT 0 0 0 100 60 U_PORT 0 0 0 100 61 U_PORT 0 0 0 100 62 U_PORT 0 0 0 100 63 U_PORT 0 0 0 100 <output truncated>

The Official SupportShow Command Reference Guide 2-109

Page 134: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

hadumpAvailable in Fabric OS versions: v4.1, v4.2

Additional Example/Case Studies:

Troubleshooting Use: Use this command to display information about the status of the High Availability features in the switch particularly during failover or firmwaredownload processes

This command displays the following information:

• Local CP state (slot number and CP id);• Remote CP state (slot number and CP id);• High Availability Enabled/Disabled• Heartbeat Up/Down• Health of Standby CP. The Health of the Standby CP can show one of the following values:

• Healthy The Standby CP is running and the background health diagnostic has not detected any errors. • Failed The Standby CP is running, but the background health diagnostic has discovered a problem with the

blade. The logs should be checked to determine the appropriate repair action. • Fail-over will be disabled until the Standby CP can be repaired.

• HA Synchronization Status. The HA Synchronization Status field can show one of the following values:• HA State Synchronized The system is currently fully synchronized. If a fail-over were necessary at this time, the

fail-over would be non-disruptive.• HA State Not In Sync The system is unable to synchronize the two CPs, due to the Standby CP being faulty or

another system error. If a fail-over were to take place at this time, the Standby CP would be rebooted, and the fail-over will be disruptive.

• IP and Fibre Channel addresses configured for the switch.• Additional internal HA state information, subject to change.

Note: Observing this output before and after hafail overs, firmware downloads gives you a picture of the FSS synchronization process. See embedded notes after “/” symbol and “notes” in example below.

• The output of this command displays these outputs, in the order listed.hadump / System Command Group

haShow / System Command Groupipaddrshow / System Command Groupsysc_dprintf / System Command Groupmedbg -s1 -e1 / System Command Group

fssadmin -s chassis0 –q / System Command Groupfssadmin -s fcsw0 –q / System Command Group

•fssadmin -s fcsw1 –q / System Command Group

Example 2-28: ipaddrshow 4:SWITCH0Ethernet IP Address: 10.255.255.149Ethernet Subnetmask: 255.255.252.0Fibre Channel IP Address: 0.0.0.0Fibre Channel Subnetmask: 0.0.0.0SWITCH1Ethernet IP Address: 10.255.255.150Ethernet Subnetmask: 255.255.252.0Fibre Channel IP Address: 0.0.0.0Fibre Channel Subnetmask: 0.0.0.0

2-110 The Official SupportShow Command Reference Guide

Page 135: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

CP0Ethernet IP Address: 10.255.255.151Ethernet Subnetmask: 255.255.252.0HostName : cp0Gateway Address: 10.255.255.1CP1Ethernet IP Address: 10.255.255.152Ethernet Subnetmask: 255.255.252.0HostName : cp1Gateway Address: 10.255.255.1Backplane IP address of CP0 : 10.0.0.5Backplane IP address of CP1 : 10.0.0.6

Note: sysc_dprintf issued from both active and standby CP’s after a hafailover the first output is taken from the just turned active CP, notes are embedded after “/” symbols:

sysc_dprintf:FSSME registered: TRUEFSSME ready: TRUEEvent HA state: HA_ACCEPT_YIELD_CTRL /current active yieldsEvent head: 19, Event tail: 19 EVT_FSSME_REG:COMPLETEDEVT_FSSME_READY:COMPLETEDEVT_LOAD_REPLY:COMPLETEDEVT_SVC_STANDBY:COMPLETEDEVT_LOAD_REPLY:COMPLETEDEVT_LOAD_REPLY:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_SVC_STANDBY:COMPLETEDEVT_SVC_STANDBY:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_TAKE_CONTROL:COMPLETED /tkover stndby doesn't have this lineEVT_SVC_ACTIVE:COMPLETED /tkover stndby doesn't have this lineEVT_BLADE_LIST:COMPLETEDEVT_SVC_ACTIVE:COMPLETED /tkover stndby doesn't have this lineEVT_SVC_ACTIVE:COMPLETED /tkover stndby doesn't have this linecmd_tail = 4, cmd_head = 4 /tkover has number 2CMD_START_DEFAULT:COMPLETEDCMD_BLADELIST_START:COMPLETEDCMD_TAKE_CONTROL:COMPLETED /tkover stndby doesn't have this lineCMD_BLADELIST_START:COMPLETEDService name: fcswService instance 0, state SI_ST_ACTIVE, refcnt 5 /other says stndbyService name: fcswService instance 1, state SI_ST_ACTIVE, refcnt 5 /other says stndbyService name: chassisService instance 0, state SI_ST_ACTIVE, refcnt 7 /other says stndbySlot 2:Bladeid 0x02,SYSC_BLADE_ACTION_DONESlot 3:Bladeid 0x02,SYSC_BLADE_ACTION_DONESlot 5:Bladeid 0x01,SYSC_BLADE_ACTION_DONESlot 6:Bladeid 0x01,SYSC_BLADE_ACTION_DONESlot 7:Bladeid 0x02,SYSC_BLADE_ACTION_DONESlot 8:Bladeid 0x02,SYSC_BLADE_ACTION_DONE

The Official SupportShow Command Reference Guide 2-111

Page 136: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Example 2-29: The 2nd output is taken from the just turned standby CP, notes are embedded after “/”:sysc_dprintf:FSSME registered: TRUEFSSME ready: TRUEEvent HA state: HA_ACCEPT_TAKE_CTRL /new active takes controlEvent head: 14, Event tail: 14 EVT_FSSME_REG:COMPLETEDEVT_FSSME_READY:COMPLETEDEVT_LOAD_REPLY:COMPLETEDEVT_SVC_STANDBY:COMPLETEDEVT_LOAD_REPLY:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_LOAD_REPLY:COMPLETEDEVT_SVC_STANDBY:COMPLETEDEVT_SVC_STANDBY:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDcmd_tail = 2, cmd_head = 2 /active taken from has # 4CMD_START_DEFAULT:COMPLETEDCMD_BLADELIST_START:COMPLETEDService name: fcswService instance 0, state SI_ST_STANDBY, refcnt 5 /other says activeService name: fcswService instance 1, state SI_ST_STANDBY, refcnt 5 /other says activeService name: chassisService instance 0, state SI_ST_STANDBY, refcnt 7 /other says activeSlot 2:Bladeid 0x02,SYSC_BLADE_ACTION_DONESlot 3:Bladeid 0x02,SYSC_BLADE_ACTION_DONESlot 5:Bladeid 0x01,SYSC_BLADE_ACTION_DONESlot 6:Bladeid 0x01,SYSC_BLADE_ACTION_DONESlot 7:Bladeid 0x02,SYSC_BLADE_ACTION_DONESlot 8:Bladeid 0x02,SYSC_BLADE_ACTION_DONE

Note: medbg -s1 -e1 issued from both active and standby CP’s after a hafailover the first output is taken from the just turned active CP, notes are embedded after /:

medbg -s1 -e1:

Group Name = RightSwitch MF Name = RightSwitchCP0 /other is CP1Sync Order: chassis:0 fcsw:1 chassis:0 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_ACTIVE Sync Time = Wed May 7 16:02:23 2003 Unsync Time = FabSt = STABLE

fcsw:1 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_ACTIVE Sync Time = Wed May 7 16:02:24 2003 Unsync Time = FabSt = STABLE /other 2ndary says unstable

Group Name = LeftSwitch MF Name = LeftSwitchCP0Sync Order: chassis:0 fcsw:0 chassis:0 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_REGISTERRED Sync Time = Wed May 7 16:02:23 2003 Unsync Time = FabSt = STABLE

fcsw:0 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_ACTIVE Sync Time = Wed May 7 16:02:24 2003 Unsync Time = FabSt = STABLE

Group Name = RightSwitch MF Name = RightSwitchCP0Sync Order: chassis:0 fcsw:1

2-112 The Official SupportShow Command Reference Guide

Page 137: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

chassis:0FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_DUMP_READYFSS_SYNC_STARTED SYNC_STARTNONEL:FSS_EVT_ACTIVE_RDYFSS_ACTIVE_READY NONE SVC_ACTIVEL:SCTL_EVT_TAKE_CTRLSCTL_ACTIVE TAKE_CTRL NONER:FSS_EVT_IMAGE_INCOMPFSS_STANDBY_READY NONE NONEL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_IMAGE_COMPFSS_IMAGE_COMP NONE SVC_STANDBYL:SCTL_EVT_SLAUNCHSCTL_SLAUNCH NONE NONEL:ME_EVT_FSS_INITFSS_INIT NONE NONE

fcsw:1FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:ME_EVT_SYNC_NEXT_SVCFSS_SYNC_STARTED SYNC_STARTNONEL:FSS_EVT_DUMP_READYFSS_DUMP_READY NONE NONEL:FSS_EVT_ACTIVE_RDYFSS_ACTIVE_READY NONE SVC_ACTIVEL:SCTL_EVT_TAKE_CTRLSCTL_ACTIVE TAKE_CTRL NONER:FSS_EVT_IMAGE_INCOMPFSS_STANDBY_READY NONE NONEL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_IMAGE_COMPFSS_IMAGE_COMP NONE SVC_STANDBYL:SCTL_EVT_SLAUNCHSCTL_SLAUNCH NONE NONEL:ME_EVT_FSS_INITFSS_INIT NONE NONE

Group Name = LeftSwitch MF Name = LeftSwitchCP0Sync Order: chassis:0 fcsw:0 chassis:0FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:ME_EVT_FSS_INITFSS_INIT NONE NONEfcsw:0FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:ME_EVT_SYNC_NEXT_SVCFSS_SYNC_STARTED SYNC_STARTNONEL:FSS_EVT_DUMP_READYFSS_DUMP_READY NONE NONEL:FSS_EVT_ACTIVE_RDYFSS_ACTIVE_READY NONE SVC_ACTIVEL:SCTL_EVT_TAKE_CTRLSCTL_ACTIVE TAKE_CTRL NONER:FSS_EVT_IMAGE_INCOMPFSS_STANDBY_READY NONE NONEL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_IMAGE_COMPFSS_IMAGE_COMP NONE SVC_STANDBYL:SCTL_EVT_SLAUNCHSCTL_SLAUNCH NONE NONEL:ME_EVT_FSS_INITFSS_INIT NONE NONE

fssadmin -s chassis0 -q: /fssadmin –s chassis0 –q means give me fss ouput per single instance on chassis 0.

=== FSS Service Dump : chassis0 ===== State ==chassis0(0): ACTIVE(0), Requiredlocal = SYN_SUCC, prev = SYN_SUCC, peer = SYN_SUCC Name LocalRemote chassis0(M)SYN_SUCCSYN_SUCC em(M)SYN_SUCCSYN_SUCC pdm(M)SYN_SUCCSYN_SUCC rpc(M)SYN_SUCCSYN_SUCC== Statistic == tx-pkt tx(KB) rx-pkt rx(KB) UP (tor=496, tod=3689) em 3 21 2 0 321 W=2,1,-,-,406,1,

The Official SupportShow Command Reference Guide 2-113

Page 138: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

pdm 105 282 3 0 190 W=2,3,-,-,-,-, rpc 2 0 3 0 0 W=1,1,-,-,-,-,== Config ==chassis0(1.1)comp chassis01:1Ucomp em1:1Ucomp pdm1:1U /pdm stands for Protocol data modulecomp rpc1:1U

Warm Table: / Warm table is used for non-disruptive recovery, while ‘cold table’ is used for disruptive recovery or startup. emEM_WARM_CHECK_POWER_STATES,,,EM_WARM_CHECK_FRU_OBJS,FSS_RECOV_ACTIVE pdmFSS_RECOV_ACTIVE,,,, rpcFSS_RECOV_ACTIVE,,,,

Cold Table: emEM_COLD_CHECK_FRU_OBJS,FSS_RECOV_ACTIVE pdmFSS_RECOV_ACTIVE, rpcFSS_RECOV_ACTIVE,== SVC ==major: 1minor: 1lo: 0minor: 1id: 0peerid: 0epoch: 2log: 0conn: 3bits: 1recov: 0index: 6upper: 6coldnum: 3warmnum: 6stbynum: 4stat: 4prevstat: 4peerstat: 4sv_winsz: 64nscm: 4

fssadmin -s fcsw0 -q:=== FSS Service Dump : fcsw0 ===== State ==fcsw0(4): ACTIVE(0), Requiredlocal = SYN_SUCC, prev = SYN_SUCC, peer = SYN_SUCC Name LocalRemote fcsw0(M)SYN_SUCCSYN_SUCC swc(M)SYN_SUCCSYN_SUCC fcp(M)SYN_SUCCSYN_SUCC rt(M)SYN_SUCCSYN_SUCC fc(M)SYN_SUCCSYN_SUCC fabric(M)SYN_SUCCSYN_SUCC zone(M)SYN_SUCCSYN_SUCC fspf(M)SYN_SUCCSYN_SUCC ns(M)SYN_SUCCSYN_SUCC ms(M)SYN_SUCCSYN_SUCC ps(M)SYN_SUCCSYN_SUCC rcs(M)SYN_SUCCSYN_SUCC evm(M)SYN_SUCCSYN_SUCC track(M)SYN_SUCCSYN_SUCC ts(M)SYN_SUCCSYN_SUCC slap(M)SYN_SUCCSYN_SUCC security(M)SYN_SUCCSYN_SUCC web(M)SYN_SUCCSYN_SUCC snmp(M)SYN_SUCCSYN_SUCC fw(M)SYN_SUCCSYN_SUCC fdmi(M)SYN_SUCCSYN_SUCC diagfss(M)SYN_SUCCSYN_SUCC== Statistic == tx-pkt tx(KB) rx-pkt rx(KB) UP (tor=1632, tod=117) swc 6 104 2 01139 W=1,24,11,-,2,-,127,-,-,-,-,-,-,-,-, fcp 4 0 2 0 979 W=2,-,-,10,-,-,128,1,-,-,-,-,-,-,-, rt 2 0 3 01145 W=1,-,-,-,-,-,127,-,-,-,-,-,-,-,-,

2-114 The Official SupportShow Command Reference Guide

Page 139: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fc 3 0 3 01145 W=1,-,-,1,2,-,-,-,-,-,-,-,-,-,-, fabric 4 6 2 0 341 W=1,-,-,-,1,-,-,1,9,-,-,-,-,-,-, zone 5 0 4 02439 W=2,-,-,22,-,-,-,2,-,6,3,-,-,-,-, fspf 20 1 2 0 590 W=2,-,-,14,-,-,149,-,-,-,-,-,-,-,-, ns 8 3 3 01054 W=2,-,-,-,-,-,149,2,3,9,-,-,-,-,-, ms 6 49 2 01470 W=2,-,-,-,-,-,-,-,-,53,2,-,-,-,-, ps 3 0 3 0 943 W=2,-,-,-,-,-,151,-,-,-,2,-,-,-,-, rcs 4 2 3 0 811 W=2,-,-,9,-,-,-,-,3,6,-,-,-,-,-, evm 3 13 3 0 649 W=2,-,-,-,-,-,-,-,-,-,-,4,-,-,-, track 2 0 3 0 637 W=2,-,-,-,-,-,-,-,-,6,-,-,-,-,-, ts 34 5 2 02222 W=2,-,-,-,-,-,149,-,-,-,-,-,-,-,-, slap 2 0 3 0 911 W=2,-,-,-,-,-,128,-,-,-,-,-,-,-,-,security 6 0 3 02593 W=1,24,-,-,-,-,-,-,-,1367,-,-,-,-,-, web 2 0 3 01265 W=1,-,-,-,-,-,-,-,-,-,2,-,-,-,-, snmp 2 0 3 0 113 W=1,-,-,-,-,-,-,-,-,294,-,-,-,-,-, fw 2 0 3 01577 W=34,-,-,-,-,-,157,2,-,-,-,10,-,-,-, fdmi 2 0 3 0 749 W=1,-,-,-,-,-,-,-,-,-,-,-,1,1,-, diagfss 2 0 3 01149 W=1,24,-,-,-,-,-,4,1,-,-,-,-,-,-,== Config ==fcsw0(2.1)comp fcsw02:1Ucomp swc1:1Ucomp fcp1:1Ucomp rt1:1Ucomp fc1:1Ucomp fabric1:1Ucomp zone1:1Ucomp fspf1:1Ucomp ns1:1Ucomp ms1:1Ucomp ps1:1Ucomp rcs1:1Ucomp evm1:1Ucomp track1:1Ucomp ts1:1Ucomp slap1:1Ucomp security1:1Ucomp web1:1Ucomp snmp1:1Ucomp fw1:1Ucomp fdmi1:1Ucomp diagfss1:1U

Warm Table: swcSWC_RECOV_ONLINE_PORTS,SWC_RECOV_ONLINE_DONE,,FSS_RECOV_ACTIVE,,SWC_RECOV_RESET_PORTS,,,,,,,, fcp,,FCP_WARM_INIT,,,FCP_DATA_RECOV,FSS_RECOV_ACTIVE,,,,,,, rt,,,,,FSS_RECOV_ACTIVE,,,,,,,, fc,,FC_FSS_WARM_1,FSS_RECOV_ACTIVE,,,,,,,,,, fabric,,,fab_recov_warm,,,fab_recov_eport,FSS_RECOV_ACTIVE,,,,,, zone,,ZN_IPC_REG,,,,ZN_APPLY_PUSH,,FSS_RECOV_ACTIVE,ZN_EPORT_VALID,,,, fspf,,FSPF_WARM_1,,,FSS_RECOV_ACTIVE,,,,,,,, ns,,,,,NS_RDCFG,NS_SYNC,NSCAM_VER,FSS_RECOV_ACTIVE,,,,, ms,,,,,,,,MS_WARMINIT,FSS_RECOV_ACTIVE,,,, ps,,,,,FSS_PS_VERIFY,,,,FSS_RECOV_ACTIVE,,,, rcs,,RCS_IPC_REG,,,,,RCS_XACT_COMPLETE,FSS_RECOV_ACTIVE,,,,, evm,,,,,,,,,,FSS_RECOV_ACTIVE,,, track,,,,,,,,FSS_RECOV_ACTIVE,,,,, ts,,,,,FSS_RECOV_ACTIVE,,,,,,,, slap,,,,,FSS_RECOV_ACTIVE,,,,,,,, securitySEC_FSS_RDDB,,,,,,,,FSS_RECOV_ACTIVE,,,,, web,,,,,,,,,FSS_RECOV_ACTIVE,,,, snmp,,,,,,,,FSS_RECOV_ACTIVE,,,,, fw,,,,,fwd_init,fwd_warm,,,,FSS_RECOV_ACTIVE,,, fdmi,,,,,,,,,,,FSS_FDMI_SYNC_KERN,FSS_RECOV_ACTIVE,

The Official SupportShow Command Reference Guide 2-115

Page 140: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

diagfssDIAGFSS_SW_RECOV_PRESWC,,,,,,DIAGFSS_SW_RECOV_POSTSWC,FSS_RECOV_ACTIVE,,,,,,Cold Table: swcSWC_RECOV_COLD,,,FSS_RECOV_ACTIVE,,,,, fcpFCP_COLD_INIT,,,,FSS_RECOV_ACTIVE,,,, rt,,FSS_RECOV_ACTIVE,,,,,, fcFC_FSS_COLD_1,FSS_RECOV_ACTIVE,,,,,,, fabricfab_recov_cold,,,,FSS_RECOV_ACTIVE,,,, zone,ZN_CONF_INIT,ZN_DB_RES,,FSS_RECOV_ACTIVE,,,, fspfFSPF_COLD_1,,,,FSS_RECOV_ACTIVE,,,, nsNS_INIT_REG,,,,FSS_RECOV_ACTIVE,,,, ms,,,,,MS_COLDINIT,FSS_RECOV_ACTIVE,, ps,,,,,FSS_PS_CONF_INIT,FSS_RECOV_ACTIVE,, rcsRCS_CONF_INIT,,,,FSS_RECOV_ACTIVE,,,, evm,,,,,,,FSS_RECOV_ACTIVE, track,,,,,FSS_RECOV_ACTIVE,,, ts,TS_FSS_RCS_REG,,,,FSS_RECOV_ACTIVE,,, slap,,,,FSS_RECOV_ACTIVE,,,, security,SEC_FSS_RCS_REG,,,,,FSS_RECOV_ACTIVE,, web,,,,,,FSS_RECOV_ACTIVE,, snmp,,,,,FSS_RECOV_ACTIVE,,, fwfwd_init,fwd_cold,,,,,,FSS_RECOV_ACTIVE, fdmi,,,,,,,,FSS_RECOV_ACTIVE diagfssFSS_RECOV_ACTIVE,,,,,,,,== SVC ==major: 2minor: 1lo: 0minor: 1id: 4peerid: 4epoch: 2log: 0conn: 3bits: 1recov: 0index: 15upper: 15coldnum: 10warmnum: 15stbynum: 4stat: 4prevstat: 4peerstat: 4sv_winsz: 64nscm: 22fssadmin -s fcsw1 -q:

=== FSS Service Dump : fcsw1 ===== State ==fcsw1(2): ACTIVE(0), Requiredlocal = SYN_SUCC, prev = SYN_SUCC, peer = SYN_SUCC Name LocalRemote fcsw1(M)SYN_SUCCSYN_SUCC swc(M)SYN_SUCCSYN_SUCC fcp(M)SYN_SUCCSYN_SUCC rt(M)SYN_SUCCSYN_SUCC fc(M)SYN_SUCCSYN_SUCC fabric(M)SYN_SUCCSYN_SUCC zone(M)SYN_SUCCSYN_SUCC fspf(M)SYN_SUCCSYN_SUCC ns(M)SYN_SUCCSYN_SUCC ms(M)SYN_SUCCSYN_SUCC ps(M)SYN_SUCCSYN_SUCC rcs(M)SYN_SUCCSYN_SUCC evm(M)SYN_SUCCSYN_SUCC track(M)SYN_SUCCSYN_SUCC ts(M)SYN_SUCCSYN_SUCC slap(M)SYN_SUCCSYN_SUCC security(M)SYN_SUCCSYN_SUCC web(M)SYN_SUCCSYN_SUCC snmp(M)SYN_SUCCSYN_SUCC fw(M)SYN_SUCCSYN_SUCC fdmi(M)SYN_SUCCSYN_SUCC diagfss(M)SYN_SUCCSYN_SUCC== Statistic ==

2-116 The Official SupportShow Command Reference Guide

Page 141: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

tx-pkt tx(KB) rx-pkt rx(KB) UP (tor=927, tod=121) swc 6 103 2 01289 W=1,12,11,-,1,-,64,-,-,-,-,-,-,-,-, fcp 3 0 3 0 742 W=2,-,-,9,-,-,149,1,-,-,-,-,-,-,-, rt 2 0 3 01297 W=1,-,-,-,-,-,64,-,-,-,-,-,-,-,-, fc 3 0 3 01297 W=1,-,-,1,1,-,-,-,-,-,-,-,-,-,-, fabric 4 6 2 0 898 W=1,-,-,-,1,-,-,1,1,-,-,-,-,-,-, zone 5 0 4 02263 W=2,-,-,23,-,-,-,1,-,4,2,-,-,-,-, fspf 24 1 2 0 719 W=2,-,-,18,-,-,150,-,-,-,-,-,-,-,-, ns 8 2 3 0 881 W=2,-,-,-,-,-,150,1,3,4,-,-,-,-,-, ms 6 49 3 01126 W=2,-,-,-,-,-,-,-,-,79,2,-,-,-,-, ps 3 0 4 0 662 W=2,-,-,-,-,-,147,-,-,-,11,-,-,-,-, rcs 4 2 3 0 600 W=2,-,-,1,-,-,-,-,3,4,-,-,-,-,-, evm 3 13 3 0 434 W=2,-,-,-,-,-,-,-,-,-,-,2,-,-,-, track 2 0 3 0 534 W=2,-,-,-,-,-,-,-,-,4,-,-,-,-,-, ts 34 5 2 01571 W=2,-,-,-,-,-,148,-,-,-,-,-,-,-,-, slap 2 0 3 0 616 W=2,-,-,-,-,-,128,-,-,-,-,-,-,-,-,security 6 0 3 02083 W=2,47,-,-,-,-,-,-,-,664,-,-,-,-,-, web 2 0 3 0 815 W=2,-,-,-,-,-,-,-,-,-,1,-,-,-,-, snmp 2 0 3 0 50 W=1,-,-,-,-,-,-,-,-,296,-,-,-,-,-, fw 2 0 3 0 909 W=10,-,-,-,-,-,159,2,-,-,-,7,-,-,-, fdmi 2 0 3 0 453 W=1,-,-,-,-,-,-,-,-,-,-,-,1,1,-, diagfss 2 0 3 01302 W=1,12,-,-,-,-,-,2,1,-,-,-,-,-,-,== Config ==fcsw1(2.1)comp fcsw12:1Ucomp swc1:1Ucomp fcp1:1Ucomp rt1:1Ucomp fc1:1Ucomp fabric1:1Ucomp zone1:1Ucomp fspf1:1Ucomp ns1:1Ucomp ms1:1Ucomp ps1:1Ucomp rcs1:1Ucomp evm1:1Ucomp track1:1Ucomp ts1:1Ucomp slap1:1Ucomp security1:1Ucomp web1:1Ucomp snmp1:1Ucomp fw1:1Ucomp fdmi1:1Ucomp diagfss1:1U

Warm Table: swcSWC_RECOV_ONLINE_PORTS,SWC_RECOV_ONLINE_DONE,,FSS_RECOV_ACTIVE,,SWC_RECOV_RESET_PORTS,,,,,,,, fcp,,FCP_WARM_INIT,,,FCP_DATA_RECOV,FSS_RECOV_ACTIVE,,,,,,, rt,,,,,FSS_RECOV_ACTIVE,,,,,,,, fc,,FC_FSS_WARM_1,FSS_RECOV_ACTIVE,,,,,,,,,, fabric,,,fab_recov_warm,,,fab_recov_eport,FSS_RECOV_ACTIVE,,,,,, zone,,ZN_IPC_REG,,,,ZN_APPLY_PUSH,,FSS_RECOV_ACTIVE,ZN_EPORT_VALID,,,, fspf,,FSPF_WARM_1,,,FSS_RECOV_ACTIVE,,,,,,,, ns,,,,,NS_RDCFG,NS_SYNC,NSCAM_VER,FSS_RECOV_ACTIVE,,,,, ms,,,,,,,,MS_WARMINIT,FSS_RECOV_ACTIVE,,,, ps,,,,,FSS_PS_VERIFY,,,,FSS_RECOV_ACTIVE,,,, rcs,,RCS_IPC_REG,,,,,RCS_XACT_COMPLETE,FSS_RECOV_ACTIVE,,,,, evm,,,,,,,,,,FSS_RECOV_ACTIVE,,, track,,,,,,,,FSS_RECOV_ACTIVE,,,,, ts,,,,,FSS_RECOV_ACTIVE,,,,,,,, slap,,,,,FSS_RECOV_ACTIVE,,,,,,,, securitySEC_FSS_RDDB,,,,,,,,FSS_RECOV_ACTIVE,,,,,

The Official SupportShow Command Reference Guide 2-117

Page 142: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

web,,,,,,,,,FSS_RECOV_ACTIVE,,,, snmp,,,,,,,,FSS_RECOV_ACTIVE,,,,, fw,,,,,fwd_init,fwd_warm,,,,FSS_RECOV_ACTIVE,,, fdmi,,,,,,,,,,,FSS_FDMI_SYNC_KERN,FSS_RECOV_ACTIVE, diagfssDIAGFSS_SW_RECOV_PRESWC,,,,,,DIAGFSS_SW_RECOV_POSTSWC,FSS_RECOV_ACTIVE,,,,,,

Cold Table: swcSWC_RECOV_COLD,,,FSS_RECOV_ACTIVE,,,,, fcpFCP_COLD_INIT,,,,FSS_RECOV_ACTIVE,,,, rt,,FSS_RECOV_ACTIVE,,,,,, fcFC_FSS_COLD_1,FSS_RECOV_ACTIVE,,,,,,, fabricfab_recov_cold,,,,FSS_RECOV_ACTIVE,,,, zone,ZN_CONF_INIT,ZN_DB_RES,,FSS_RECOV_ACTIVE,,,, fspfFSPF_COLD_1,,,,FSS_RECOV_ACTIVE,,,, nsNS_INIT_REG,,,,FSS_RECOV_ACTIVE,,,, ms,,,,,MS_COLDINIT,FSS_RECOV_ACTIVE,, ps,,,,,FSS_PS_CONF_INIT,FSS_RECOV_ACTIVE,, rcsRCS_CONF_INIT,,,,FSS_RECOV_ACTIVE,,,, evm,,,,,,,FSS_RECOV_ACTIVE, track,,,,,FSS_RECOV_ACTIVE,,, ts,TS_FSS_RCS_REG,,,,FSS_RECOV_ACTIVE,,, slap,,,,FSS_RECOV_ACTIVE,,,, security,SEC_FSS_RCS_REG,,,,,FSS_RECOV_ACTIVE,, web,,,,,,FSS_RECOV_ACTIVE,, snmp,,,,,FSS_RECOV_ACTIVE,,, fwfwd_init,fwd_cold,,,,,,FSS_RECOV_ACTIVE, fdmi,,,,,,,,FSS_RECOV_ACTIVE diagfssFSS_RECOV_ACTIVE,,,,,,,,== SVC ==major: 2minor: 1lo: 0minor: 1id: 2peerid: 2epoch: 2log: 0conn: 3bits: 1recov: 0index: 15upper: 15coldnum: 10warmnum: 15stbynum: 4stat: 4prevstat: 4peerstat: 4sv_winsz: 64nscm: 22

Note: medbg -s1 -e1 issued from both active and standby CP’s after a hafailover this 2nd output is taken from the just turned standby CP, notes are embedded after “/” symbols:

medbg -s1 -e1:

Group Name = RightSwitch MF Name = RightSwitchCP1 /other is CP0Sync Order: chassis:0 fcsw:1 chassis:0 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_LAUNCHED Sync Time = Wed May 7 16:02:31 2003 Unsync Time = FabSt = STABLE /time diff from original is 8m

fcsw:1 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_LAUNCHED Sync Time = Wed May 7 16:02:24 2003 Unsync Time = FabSt = UNSTABLE /active says stable

Group Name = LeftSwitch MF Name = LeftSwitchCP1Sync Order: chassis:0 fcsw:0 chassis:0 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_REGISTERRED Sync Time = Wed May 7 16:02:31 2003 Unsync Time = FabSt = STABLE

fcsw:0 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED

2-118 The Official SupportShow Command Reference Guide

Page 143: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

LaunchSt = SVC_LAUNCHED Sync Time = Wed May 7 16:02:24 2003 Unsync Time = FabSt = UNSTABLE

Group Name = RightSwitch MF Name = RightSwitchCP1Sync Order: chassis:0 fcsw:1

chassis:0FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_IMAGE_COMPFSS_IMAGE_COMP NONE SVC_STANDBYL:SCTL_EVT_SLAUNCHSCTL_SLAUNCH NONE NONEL:ME_EVT_FSS_INITFSS_INIT NONE NONE

fcsw:1FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_IMAGE_COMPFSS_IMAGE_COMP NONE SVC_STANDBYL:SCTL_EVT_SLAUNCHSCTL_SLAUNCH NONE NONEL:ME_EVT_FSS_INITFSS_INIT NONE NONE

Group Name = LeftSwitch MF Name = LeftSwitchCP1Sync Order: chassis:0 fcsw:0

chassis:0FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:ME_EVT_FSS_INITFSS_INIT NONE NONEfcsw:0FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_IMAGE_COMPFSS_IMAGE_COMP NONE SVC_STANDBYL:SCTL_EVT_SLAUNCHSCTL_SLAUNCH NONE NONEL:ME_EVT_FSS_INITFSS_INIT NONE NONEfssadmin -s chassis0 -q:=== FSS Service Dump : chassis0 ===== State ==chassis0(0): STANDBY(0), Requiredlocal = SYN_SUCC, prev = SYN_SUCC, peer = SYN_SUCC Name LocalRemote chassis0(M)SYN_SUCCSYN_SUCC em(M)SYN_SUCCSYN_SUCC pdm(M)SYN_SUCCSYN_SUCC rpc(M)SYN_SUCCSYN_SUCC== Statistic == tx-pkt tx(KB) rx-pkt rx(KB) UP (tor=0, tod=3688) em 0 0 3 21 370 pdm 0 0 105 278 270 rpc 0 0 2 0 0== Config ==chassis0(1.1)comp chassis01:1Ucomp em1:1Ucomp pdm1:1Ucomp rpc1:1U

Warm Table: emEM_WARM_CHECK_POWER_STATES,,,EM_WARM_CHECK_FRU_OBJS,FSS_RECOV_ACTIVE pdmFSS_RECOV_ACTIVE,,,, rpcFSS_RECOV_ACTIVE,,,,

Cold Table: emEM_COLD_CHECK_FRU_OBJS,FSS_RECOV_ACTIVE pdmFSS_RECOV_ACTIVE,

The Official SupportShow Command Reference Guide 2-119

Page 144: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

rpcFSS_RECOV_ACTIVE,== SVC ==major: 1minor: 1lo: 0minor: 1id: 0peerid: 0epoch: 2log: 0conn: 3bits: 0recov: 0index: 0upper: 0coldnum: 3warmnum: 6stbynum: 4stat: 4prevstat: 4peerstat: 4sv_winsz: 64nscm: 4

fssadmin -s fcsw0 -q:=== FSS Service Dump : fcsw0 ===== State ==fcsw0(4): STANDBY(0), Requiredlocal = SYN_SUCC, prev = SYN_SUCC, peer = SYN_SUCC Name LocalRemote fcsw0(M)SYN_SUCCSYN_SUCC swc(M)SYN_SUCCSYN_SUCC fcp(M)SYN_SUCCSYN_SUCC rt(M)SYN_SUCCSYN_SUCC fc(M)SYN_SUCCSYN_SUCC fabric(M)SYN_SUCCSYN_SUCC zone(M)SYN_SUCCSYN_SUCC fspf(M)SYN_SUCCSYN_SUCC ns(M)SYN_SUCCSYN_SUCC ms(M)SYN_SUCCSYN_SUCC ps(M)SYN_SUCCSYN_SUCC rcs(M)SYN_SUCCSYN_SUCC evm(M)SYN_SUCCSYN_SUCC track(M)SYN_SUCCSYN_SUCC ts(M)SYN_SUCCSYN_SUCC slap(M)SYN_SUCCSYN_SUCC security(M)SYN_SUCCSYN_SUCC web(M)SYN_SUCCSYN_SUCC snmp(M)SYN_SUCCSYN_SUCC fw(M)SYN_SUCCSYN_SUCC fdmi(M)SYN_SUCCSYN_SUCC diagfss(M)SYN_SUCCSYN_SUCC== Statistic == tx-pkt tx(KB) rx-pkt rx(KB) UP (tor=0, tod=94) swc 0 0 6 1041296 fcp 0 0 4 0 880 rt 0 0 2 01302 fc 0 0 3 01302 fabric 0 0 4 6 447 zone 0 0 5 02463 fspf 0 0 21 0 503 ns 0 0 8 2 538 ms 0 0 6 491449 ps 0 0 3 0 642 rcs 0 0 4 2 598 evm 0 0 3 13 600 track 0 0 2 0 537 ts 0 0 36 32185 slap 0 0 2 0 826security 0 0 6 02493 web 0 0 2 01128 snmp 0 0 2 0 233 fw 0 0 2 01405 fdmi 0 0 2 0 772

2-120 The Official SupportShow Command Reference Guide

Page 145: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

diagfss 0 0 2 01307== Config ==fcsw0(2.1)comp fcsw02:1Ucomp swc1:1Ucomp fcp1:1Ucomp rt1:1Ucomp fc1:1Ucomp fabric1:1Ucomp zone1:1Ucomp fspf1:1Ucomp ns1:1Ucomp ms1:1Ucomp ps1:1Ucomp rcs1:1Ucomp evm1:1Ucomp track1:1Ucomp ts1:1Ucomp slap1:1Ucomp security1:1Ucomp web1:1Ucomp snmp1:1Ucomp fw1:1Ucomp fdmi1:1Ucomp diagfss1:1U

Warm Table: swcSWC_RECOV_ONLINE_PORTS,SWC_RECOV_ONLINE_DONE,,FSS_RECOV_ACTIVE,,SWC_RECOV_RESET_PORTS,,,,,,,, fcp,,FCP_WARM_INIT,,,FCP_DATA_RECOV,FSS_RECOV_ACTIVE,,,,,,, rt,,,,,FSS_RECOV_ACTIVE,,,,,,,, fc,,FC_FSS_WARM_1,FSS_RECOV_ACTIVE,,,,,,,,,, fabric,,,fab_recov_warm,,,fab_recov_eport,FSS_RECOV_ACTIVE,,,,,, zone,,ZN_IPC_REG,,,,ZN_APPLY_PUSH,,FSS_RECOV_ACTIVE,ZN_EPORT_VALID,,,, fspf,,FSPF_WARM_1,,,FSS_RECOV_ACTIVE,,,,,,,, ns,,,,,NS_RDCFG,NS_SYNC,NSCAM_VER,FSS_RECOV_ACTIVE,,,,, ms,,,,,,,,MS_WARMINIT,FSS_RECOV_ACTIVE,,,, ps,,,,,FSS_PS_VERIFY,,,,FSS_RECOV_ACTIVE,,,, rcs,,RCS_IPC_REG,,,,,RCS_XACT_COMPLETE,FSS_RECOV_ACTIVE,,,,, evm,,,,,,,,,,FSS_RECOV_ACTIVE,,, track,,,,,,,,FSS_RECOV_ACTIVE,,,,, ts,,,,,FSS_RECOV_ACTIVE,,,,,,,, slap,,,,,FSS_RECOV_ACTIVE,,,,,,,, securitySEC_FSS_RDDB,,,,,,,,FSS_RECOV_ACTIVE,,,,, web,,,,,,,,,FSS_RECOV_ACTIVE,,,, snmp,,,,,,,,FSS_RECOV_ACTIVE,,,,, fw,,,,,fwd_init,fwd_warm,,,,FSS_RECOV_ACTIVE,,, fdmi,,,,,,,,,,,FSS_FDMI_SYNC_KERN,FSS_RECOV_ACTIVE, diagfssDIAGFSS_SW_RECOV_PRESWC,,,,,,DIAGFSS_SW_RECOV_POSTSWC,FSS_RECOV_ACTIVE,,,,,,

Cold Table: swcSWC_RECOV_COLD,,,FSS_RECOV_ACTIVE,,,,, fcpFCP_COLD_INIT,,,,FSS_RECOV_ACTIVE,,,, rt,,FSS_RECOV_ACTIVE,,,,,, fcFC_FSS_COLD_1,FSS_RECOV_ACTIVE,,,,,,, fabricfab_recov_cold,,,,FSS_RECOV_ACTIVE,,,, zone,ZN_CONF_INIT,ZN_DB_RES,,FSS_RECOV_ACTIVE,,,, fspfFSPF_COLD_1,,,,FSS_RECOV_ACTIVE,,,, nsNS_INIT_REG,,,,FSS_RECOV_ACTIVE,,,, ms,,,,,MS_COLDINIT,FSS_RECOV_ACTIVE,, ps,,,,,FSS_PS_CONF_INIT,FSS_RECOV_ACTIVE,, rcsRCS_CONF_INIT,,,,FSS_RECOV_ACTIVE,,,, evm,,,,,,,FSS_RECOV_ACTIVE, track,,,,,FSS_RECOV_ACTIVE,,, ts,TS_FSS_RCS_REG,,,,FSS_RECOV_ACTIVE,,,

The Official SupportShow Command Reference Guide 2-121

Page 146: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

slap,,,,FSS_RECOV_ACTIVE,,,, security,SEC_FSS_RCS_REG,,,,,FSS_RECOV_ACTIVE,, web,,,,,,FSS_RECOV_ACTIVE,, snmp,,,,,FSS_RECOV_ACTIVE,,, fwfwd_init,fwd_cold,,,,,,FSS_RECOV_ACTIVE, fdmi,,,,,,,,FSS_RECOV_ACTIVE diagfssFSS_RECOV_ACTIVE,,,,,,,,== SVC ==major: 2minor: 1lo: 0minor: 1id: 4peerid: 4epoch: 2log: 0conn: 3bits: 0recov: 0index: 0upper: 0coldnum: 10warmnum: 15stbynum: 4stat: 4prevstat: 4peerstat: 4sv_winsz: 64nscm: 22

fssadmin -s fcsw1 -q:=== FSS Service Dump : fcsw1 ===== State ==fcsw1(2): STANDBY(0), Requiredlocal = SYN_SUCC, prev = SYN_SUCC, peer = SYN_SUCC Name LocalRemote fcsw1(M)SYN_SUCCSYN_SUCC swc(M)SYN_SUCCSYN_SUCC fcp(M)SYN_SUCCSYN_SUCC rt(M)SYN_SUCCSYN_SUCC fc(M)SYN_SUCCSYN_SUCC fabric(M)SYN_SUCCSYN_SUCC zone(M)SYN_SUCCSYN_SUCC fspf(M)SYN_SUCCSYN_SUCC ns(M)SYN_SUCCSYN_SUCC ms(M)SYN_SUCCSYN_SUCC ps(M)SYN_SUCCSYN_SUCC rcs(M)SYN_SUCCSYN_SUCC evm(M)SYN_SUCCSYN_SUCC track(M)SYN_SUCCSYN_SUCC ts(M)SYN_SUCCSYN_SUCC slap(M)SYN_SUCCSYN_SUCC security(M)SYN_SUCCSYN_SUCC web(M)SYN_SUCCSYN_SUCC snmp(M)SYN_SUCCSYN_SUCC fw(M)SYN_SUCCSYN_SUCC fdmi(M)SYN_SUCCSYN_SUCC diagfss(M)SYN_SUCCSYN_SUCC== Statistic == tx-pkt tx(KB) rx-pkt rx(KB) UP (tor=0, tod=121) swc 0 0 6 1031487 fcp 0 0 3 0 562 rt 0 0 2 01508 fc 0 0 3 01508 fabric 0 0 4 6 796 zone 0 0 5 02009 fspf 0 0 25 0 463 ns 0 0 8 1 689 ms 0 0 6 491065 ps 0 0 3 0 764 rcs 0 0 4 2 333 evm 0 0 3 13 408 track 0 0 2 0 412 ts 0 0 36 31416 slap 0 0 2 0 565

2-122 The Official SupportShow Command Reference Guide

Page 147: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

security 0 0 6 01811 web 0 0 2 0 743 snmp 0 0 2 0 63 fw 0 0 2 0 867 fdmi 0 0 2 0 480 diagfss 0 0 2 01513== Config ==fcsw1(2.1)comp fcsw12:1Ucomp swc1:1Ucomp fcp1:1Ucomp rt1:1Ucomp fc1:1Ucomp fabric1:1Ucomp zone1:1Ucomp fspf1:1Ucomp ns1:1Ucomp ms1:1Ucomp ps1:1Ucomp rcs1:1Ucomp evm1:1Ucomp track1:1Ucomp ts1:1Ucomp slap1:1Ucomp security1:1Ucomp web1:1Ucomp snmp1:1Ucomp fw1:1Ucomp fdmi1:1Ucomp diagfss1:1U

Warm Table: swcSWC_RECOV_ONLINE_PORTS,SWC_RECOV_ONLINE_DONE,,FSS_RECOV_ACTIVE,,SWC_RECOV_RESET_PORTS,,,,,,,, fcp,,FCP_WARM_INIT,,,FCP_DATA_RECOV,FSS_RECOV_ACTIVE,,,,,,, rt,,,,,FSS_RECOV_ACTIVE,,,,,,,, fc,,FC_FSS_WARM_1,FSS_RECOV_ACTIVE,,,,,,,,,, fabric,,,fab_recov_warm,,,fab_recov_eport,FSS_RECOV_ACTIVE,,,,,, zone,,ZN_IPC_REG,,,,ZN_APPLY_PUSH,,FSS_RECOV_ACTIVE,ZN_EPORT_VALID,,,, fspf,,FSPF_WARM_1,,,FSS_RECOV_ACTIVE,,,,,,,, ns,,,,,NS_RDCFG,NS_SYNC,NSCAM_VER,FSS_RECOV_ACTIVE,,,,, ms,,,,,,,,MS_WARMINIT,FSS_RECOV_ACTIVE,,,, ps,,,,,FSS_PS_VERIFY,,,,FSS_RECOV_ACTIVE,,,, rcs,,RCS_IPC_REG,,,,,RCS_XACT_COMPLETE,FSS_RECOV_ACTIVE,,,,, evm,,,,,,,,,,FSS_RECOV_ACTIVE,,, track,,,,,,,,FSS_RECOV_ACTIVE,,,,, ts,,,,,FSS_RECOV_ACTIVE,,,,,,,, slap,,,,,FSS_RECOV_ACTIVE,,,,,,,, securitySEC_FSS_RDDB,,,,,,,,FSS_RECOV_ACTIVE,,,,, web,,,,,,,,,FSS_RECOV_ACTIVE,,,, snmp,,,,,,,,FSS_RECOV_ACTIVE,,,,, fw,,,,,fwd_init,fwd_warm,,,,FSS_RECOV_ACTIVE,,, fdmi,,,,,,,,,,,FSS_FDMI_SYNC_KERN,FSS_RECOV_ACTIVE, diagfssDIAGFSS_SW_RECOV_PRESWC,,,,,,DIAGFSS_SW_RECOV_POSTSWC,FSS_RECOV_ACTIVE,,,,,,

Cold Table: swcSWC_RECOV_COLD,,,FSS_RECOV_ACTIVE,,,,, fcpFCP_COLD_INIT,,,,FSS_RECOV_ACTIVE,,,, rt,,FSS_RECOV_ACTIVE,,,,,, fcFC_FSS_COLD_1,FSS_RECOV_ACTIVE,,,,,,, fabricfab_recov_cold,,,,FSS_RECOV_ACTIVE,,,, zone,ZN_CONF_INIT,ZN_DB_RES,,FSS_RECOV_ACTIVE,,,, fspfFSPF_COLD_1,,,,FSS_RECOV_ACTIVE,,,, nsNS_INIT_REG,,,,FSS_RECOV_ACTIVE,,,, ms,,,,,MS_COLDINIT,FSS_RECOV_ACTIVE,,

The Official SupportShow Command Reference Guide 2-123

Page 148: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ps,,,,,FSS_PS_CONF_INIT,FSS_RECOV_ACTIVE,, rcsRCS_CONF_INIT,,,,FSS_RECOV_ACTIVE,,,, evm,,,,,,,FSS_RECOV_ACTIVE, track,,,,,FSS_RECOV_ACTIVE,,, ts,TS_FSS_RCS_REG,,,,FSS_RECOV_ACTIVE,,, slap,,,,FSS_RECOV_ACTIVE,,,, security,SEC_FSS_RCS_REG,,,,,FSS_RECOV_ACTIVE,, web,,,,,,FSS_RECOV_ACTIVE,, snmp,,,,,FSS_RECOV_ACTIVE,,, fwfwd_init,fwd_cold,,,,,,FSS_RECOV_ACTIVE, fdmi,,,,,,,,FSS_RECOV_ACTIVE diagfssFSS_RECOV_ACTIVE,,,,,,,,== SVC ==major: 2minor: 1lo: 0minor: 1id: 2peerid: 2epoch: 2log: 0conn: 3bits: 0recov: 0index: 0upper: 0coldnum: 10warmnum: 15stbynum: 4stat: 4prevstat: 4peerstat: 4sv_winsz: 64nscm: 22

Summary of general medbg -s1 -e1 notes:

• fssadmin –s chassis0 –q means gives fss ouput per single instance on chassis 0.• pdm stands for Protocol data moduleî• Warm Table: / Warm table is used for non-disruptive recovery, while ‘cold table’ is used for disruptive recovery or

startup information.

2-124 The Official SupportShow Command Reference Guide

Page 149: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

haShowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display control processor (CP) status. This command is part of hadump

output.

Use this command to display the control processor status, which includes:

• Local CP state (slot number and CP id);• Remote CP state (slot number and CP id);• High Availability Enabled/Disabled• Heartbeat Up/Down• Fabric State Synchronization (v4.1 +)

Additional Example/Case Studies:v4.0 Example Output:

Example 2-30: To display control processor (CP) status:switch:admin> haShowLocal CP (Slot 6, CP1): ActiveRemote CP (Slot 5, CP0): StandbyHA Enabled, Heartbeat Up

Note: HA Enabled, Heartbeat Up indicates a good HA status on a v4.0 switch. You would expect to also see “HA State synchronized” on a v4.1 plus switch.

v4.2 Example Output:

Example 2-57: hashow:Local CP (Slot 6, CP1): ActiveRemote CP (Slot 5, CP0): Standby, Healthy HA enabled, Heartbeat Up, HA State synchronized

Note: An additional “HA State synchronized” parameter was added to hashow output in V4.1 because Fabric State Synchronization (FSS) was introduced to enable hot code activation.

The Official SupportShow Command Reference Guide 2-125

Page 150: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

historyShowAvailable in Fabric OS versions: v4.xTroubleshooting Use: Use this command to display up to 100 lines of the history log. Compare history log to time

awake value in chassisshow. If the FRU has been awake for a short period of time it’s insertion should be listed in both historyshow and errdump outputs UNLES the fru is resetting itself.

Each history record contains three lines of information:

1. The first line of each record contains the following data sets:

• object type: CHASSIS, FAN, POWER SUPPLY, SW BLADE (switch), CP BLADE (control processor), WWN (world wide name), or UNKNOWN.

• object number: Slot <nn> (for blades), Unit <nn> (for everything else).• event: Inserted, Removed, or Invalid.• time of the event: at <Dow> <Mon> <dd> <hh:mm:ss> <yyyy>

2. The second contains one data set, Brocade Part Number:

• Brocade Part Number: <xx-yyyyyyy-zz> or Unknown

3. The third line contains one data set, Brocade Serial Number:

• Brocade Serial Number: <xxxxxxxxxxxx> or Unknownv4.1 Example Output:

Example 2-31: historyshowFAN Unit 3 Removed at Mon May 20 08:32:54 2002Brocade Part Number: 60-0001536-03Brocade Serial Number: FM3E0000255FAN Unit 3 Inserted at Mon May 20 08:33:12 2002Brocade Part Number: 60-0001536-03Brocade Serial Number: FM3E0000255FAN Unit 3 Removed at Mon May 20 08:33:29 2002Brocade Part Number: 60-0001536-03Brocade Serial Number: FM3E0000255

< truncated output >

Note: This 100 line database is extremely useful. It allows you to correlate dates and times with error log messages. It will help you determine if Chassisshow time awake value correlates to a FRU insertion. Most important, it will help you determine if a failover or blade failure was manually induced. If it was not manually induced, check for dc converter issues (port blades), watchdog reason: reboot or panic dump messages.

v4.2 Example Output:

Example 2-58: historyshow:

SW BLADE Slot 7 Inserted at Fri Apr 25 20:02:58 2003Factory Part Number: 60-0001532-03Factory Serial Number: 1013456800

UNKNOWN Slot 7 Removed at Fri Apr 25 20:03:09 2003Factory Part Number: Not AvailableFactory Serial Number: Not Available

2-126 The Official SupportShow Command Reference Guide

Page 151: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

SW BLADE Slot 7 Inserted at Fri Apr 25 20:03:21 2003Factory Part Number: 60-0001532-03Factory Serial Number: 1013456800

SW BLADE Slot 8 Removed at Fri Apr 25 20:03:26 2003Factory Part Number: 60-0001653-01Factory Serial Number: FQ010003702

SW BLADE Slot 8 Inserted at Fri Apr 25 20:03:35 2003Factory Part Number: 60-0001653-01Factory Serial Number: FQ010003702

SW BLADE Slot 7 Removed at Sat Apr 26 21:00:07 2003Factory Part Number: 60-0001532-03Factory Serial Number: 1013456800

SW BLADE Slot 7 Inserted at Sat Apr 26 21:00:18 2003Factory Part Number: 60-0001532-03Factory Serial Number: 1013456800

POWER SUPPLY Unit 3 Removed at Tue Apr 29 19:29:38 2003Factory Part Number: 23-0000006-02Factory Serial Number: FL2L0002040

POWER SUPPLY Unit 3 Inserted at Tue Apr 29 19:29:58 2003Factory Part Number: 23-0000006-02Factory Serial Number: FL2L0002040

SW BLADE Slot 9 Inserted at Mon May 12 18:01:36 2003Factory Part Number: 60-0001653-01Factory Serial Number: FQ010002945

SW BLADE Slot 10 Inserted at Mon May 12 18:04:31 2003Factory Part Number: 60-0001653-01Factory Serial Number: FQ010010418

<output truncated>

The Official SupportShow Command Reference Guide 2-127

Page 152: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

hostShowAvailable in Fabric OS versions: v3.1, v3.1.2 v4.2 Example Output: N/A. However v4.1 and above has a /sbin/route command that gives the same informationTroubleshooting Use: Use this command to identify both the switch name and IP address.

Example 2-59: V3.1.2 hostshow outputhostShowhostname inet address aliases-------- ------------ -------sw3800_28 10.64.147.28 localhost 127.0.0.1 e=10.64.147.28 0.0.0.0

2-128 The Official SupportShow Command Reference Guide

Page 153: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

iDescription: Use this command to display task summary. Available in Fabric OS versions: v3.1, v3.1.2v4.2 Example Output: NATroubleshooting UseUse this command to display information of all of the processes or of a specific process if a

process ID is supplied. One line is displayed per process. The following table explains the fields displayed with this command.

Examples

Example 2-60: To display information about process ID 433:switch:admin> i 433

F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD000 S 0 433 1 0 69 0 - 1283 5c64 ? 00:00:02 fabricdswitch:admin>

Example 2-61: supportshow examplei NAME ENTRY TID PRI STATUS PC SP ERRNO DELAY---------- ------------ -------- --- ---------- -------- -------- ------- -----tExcTask _excTask 103fc5f0 0 PEND 108c54d0 103fc950 3d0001 0tLogTask _logTask 103fa660 0 PEND 108c54d0 103fa9c0 0 0tRestart _restartTask 102daab0 0 PEND+T 108c54d0 102dae40 3d0004 28tShell _shellTask 102d5a70 1 READY 1087fea0 102d5cf0 c0008 0tRlogind _rlogind 10372400 2 PEND 10876cf8 103729c0 0 0tTelnetd _telnetd 10346dc0 2 PEND 10876cf8 10347750 0 0tTelnetOutT _telnetOutTa 102cd930 2 READY 10876b80 102cdf80 0 0tTelnetInTa _telnetInTas 102c9c70 2 PEND 10876cf8 102ca390 0 0tTimers _timerTask 10335ff0 10 READY 10895ba0 10336530 0 0tErrLog _errLogTask 103375a0 20 PEND 108c54d0 10337940 0 0tNetTask _netTask 10396a50 50 READY 10876cf8 10396db0 0 0tSwitch _switchTask 1033ba30 80 DELAY 10870f6c 1033bd70 3d0002 23tResponse _responseTas 101c5d90 80 PEND+T 108c54d0 101c6160 3d0004 9tPBmenu _menuTask 1032c200 90 PEND 108c54d0 1032c5d0 0 0tReceive _portRxTask 1030f510 95 PEND 108c54d0 1030f8b0 3d0002 0tTransmit _portTxTask 1030b850 95 PEND 108c54d0 1030bbf0 3d0002 0tPortmapd _portmapd 1033f670 100 PEND 10876cf8 1033fad0 16 0tFabric _fabricTask 101d86d0 100 PEND 108c54d0 101d8ab0 3d0004 0tFspf _fspfTask 101c7340 100 PEND 108c54d0 101c76e0 0 0tPTestD _portTestD 11eb3b20 100 READY 10870f6c 11eb3e20 0 0tRcs 104f3780 10288b30 105 PEND 108c54d0 10288fc0 0 0tSLAP 10800670 101d9c80 105 PEND 108c54d0 101da010 0 0tFDMIis _fdmi_is 11ef0720 105 PEND 108c54d0 11ef0ab0 0 0tRtwr 104fe850 1028a410 110 PEND 108c54d0 1028a7a0 0 0tRt _rtTask 11fc8630 110 PEND 108c54d0 11fc89c0 0 0tQL _qlTask 11fbefa0 110 PEND 108c54d0 11fbf330 0 0tFcph _fcphTask 102a6eb0 120 PEND+T 108c54d0 102a7240 3d0004 13tRTZone _cfgRealTime 11f68250 128 PEND 108c54d0 11f68670 0 0tZone _cfgTask 11f69800 130 PEND 108c54d0 11f69c10 3d0002 0tFcp _fcpTask 102a4080 150 PEND+T 108c54d0 102a4410 3d0004 8tNSd _ns_svr 11fa9e40 150 PEND 108c54d0 11faa7d0 3d0002 0tTSd 10699a80 11f630e0 150 PEND 108c54d0 11f63490 0 0tASd _as_svr 11f60f80 150 PEND 108c54d0 11f61310 0 0tSecurity _secSvr 11eeb4c0 150 PEND 108c54d0 11eeb850 0 0tPSrqm _psrqmgr_svr 11ee86e0 150 PEND 108c54d0 11ee8a70 0 0tPSd _ps_svr 11ee5db0 150 PEND 108c54d0 11ee6140 0 0tNSCAM _ns_cam 11f75520 151 PEND 108c54d0 11f758b0 3d0002 0tFDMId _fdmi_svr 11eeddf0 151 PEND 108c54d0 11eee180 0 0tfdmic _fdmi_cache 11ef7dd0 152 PEND 108c54d0 11ef8160 3d0002 0tMSd _ms_svr 11f53230 154 PEND 108c54d0 11f535d0 3d0002 0tMSRxd _ms_rx_svr 11f24840 154 PEND 108c54d0 11f24be0 0 0tMSLd _ms_l_svr 11f21f10 154 PEND 108c54d0 11f222a0 0 0

The Official SupportShow Command Reference Guide 2-129

Page 154: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

tMSLRxd _ms_lrx_svr 11f1f5e0 154 PEND 108c54d0 11f1f970 0 0tRapid _rapid 102a2ad0 155 PEND 10876cf8 102a2f80 d0003 0tSnmpd 108b34a0 101ca670 155 PEND 10876cf8 101cb3c0 0 0tHttpD _WC_START_We 100381e0 155 PEND 10876cf8 100386b0 0 0tRan 10715ba0 10298da0 157 PEND+T 108c54d0 102993c0 3d0004 470tRanscn 10717250 10293770 157 PEND 108c54d0 10293b00 0 0tArrResp _arrresp_svr 11f57580 159 PEND 108c54d0 11f57920 0 0tArrRoute _arrroute_sv 11f55bf0 159 PEND 108c54d0 11f55f90 0 0tMsApi _ms_apiTask 11f1ccb0 159 PEND 108c54d0 11f1d1c0 0 0tMSAr _ms_arTask 11f1a380 159 PEND 108c54d0 11f1a710 0 0tThad _thad 101c88f0 160 READY 10870f6c 101c8bf0 0 0tFaScn 105c45a0 11ec8740 161 PEND 108c54d0 11ec8ad0 0 0tThFru 1051e270 11eb7a20 161 PEND 108c54d0 11eb7db0 0 0tSRL _nssrl_svr 11f6adb0 170 PEND 108c54d0 11f6b140 0 0

2-130 The Official SupportShow Command Reference Guide

Page 155: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

i557DumpTroubleshooting Use: Use this command to view the current Ethernet chipset register values,

statistics, and frame-buffer contents.Available in Fabric OS versions: v3.1, v3.1.2 (Network Command Group)v4.2 Example Output: NA

Example 2-62: A v3.x switch i557dump outputSDriver Control:

unit = 0ifq_head = 0x0attached = TRUEpCSR = 0x83800000pCFD = 0x10006400pRFD = 0x10013000pRFDL = 0x1001ba00numLoans = 0numFrees = 0nCFD = 32nRFD = 32txRestart = 0x103d0ec0rxRestart = 0x103d0e10rxLockTicks = 900rxLocks = 61rxHandle = FALSEtxStall = FALSErxBcastDropped = 0rxBcastPassed = 5083vector = 0x42baseAddr = 0x83800000intEnable = 0x10406950intDisable = 0x10406980intAck = 0x104069a0sysLocalToBus = 0x104069d0sysBusToLocal = 0x10406a20phyAddr = 1phySpeed = 2phyDpx = 2others = 0tcbTxThresh = 16

Physical Layer device (PHY):OUI: 0x00aa00 IntelModel: 0x154 82559[ER] (Embedded 82555)

Generic MDI Registers: 0x00 ( 0): 0x1000 10 AUTO HALF 0x01 ( 1): 0x782d 100TXF 100TXH 10TF 10TH DONE AUTO LINK EXT 0x02 ( 2): 0x02a8 0x03 ( 3): 0x0154 0x04 ( 4): 0x01e1 100TXF 100TX 10TF 10T CSMACD 0x05 ( 5): 0x45e1 ACK 100TXF 100TX 10TF 10T CSMACD 0x06 ( 6): 0x0001 LPAUTO

Vendor-unique MDI Registers: 0x10 (16): 0x0a03

The Official SupportShow Command Reference Guide 2-131

Page 156: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Note: Vendor-unique Register 0x10 (16) indicates the current speed and duplexity of the Ethernet port. This can be derived by examining the lowest order 2 bits of the value: 0x0a03 = 0000 1010 0000 0011 Bit 0 of this register indicates duplexity; 0 => half duplex, 1 => full duplex Bit 1 of this register indicates speed; 0 => 10 Mbps, 1 => 100 Mbps This port is running at 100 Mbps, full.

0x11 (17): 0x0000 0x12 (18): 0x0001 0x13 (19): 0x0000 0x14 (20): 0x0000 0x15 (21): 0x0000 0x16 (22): 0x0000 0x17 (23): 0x0000 0x18 (24): 0x0000 0x19 (25): 0x0000 0x1a (26): 0x0000 0x1b (27): 0x0000Receive Frame Area:10d2bec0: 00000000 f0013600 ffffffff 05eac03c *.....6......<...*10d2bed0: 50696000 07002611 0aace084 00450008 *.`iP.&........E.*10d2bee0: e0ec2800 067c0040 a8c0e47d 400a1685 *.(..@.|.}......@*10d2bef0: 520d0c44 19111700 dd00f790 1050cd6b *D..R........k.P.*10d2bf00: bdbee840 00000000 00000000 46464644 *@...........DFFF*10d2bf10: 44414641 43474443 43414341 43414341 *AFADCDGCACACACAC*10d2bf20: 43414341 41414341 45200041 46444644 *ACACACAAA. EDFDF*10d2bf30: 46414646 46504541 43454643 43414341 *FFAFAEPFCFECACAC*

[some output omitted]Command Block List:10d2cec0: 0004a000 f0006a00 ffffffff 00108236 *.....j......6...*10d2ced0: 070c0000 600047ac 26115069 00450008 *.....G.`iP.&..E.*10d2cee0: 1c052802 061e0000 400aaa01 a8c00c44 *.(.........@D...*10d2cef0: 17001685 dd00520d 1911cd75 1850f790 *.....R..u.....P.*10d2cf00: 9c300010 2e2a0000 2e2e2e2e 2e2e2e40 *..0...*.....@...*10d2cf10: 2e2e2e2e 2a2e2e2e 30310d0a 33643264 *.......*..10d2d3*10d2cf20: 203a3064 30373020 30303063 30362030 *d0: 070c0000 60*10d2cf30: 37343030 32206361 35313136 20393630 *0047ac 26115069 *

[some output omitted]

Note: If there is no connection via TCP/IP condition on VxWorks switched during which no communication is possible via the Ethernet management port. This includes Ping, Web Tools, SNMP, Telnet, API, RSH and commands such as configUpload/Download and firmwareDownload. This condition is easier to troubleshoot on switches with a RS-232 port. A serial cable that connects to the motherboard is needed for the SW2800. This requires the switch to be powered off and the motherboard removed. To verify this condition on switches running a VxWorks based Fabric OS, run the command ifUp “fei0” and retest with ping. If the condition did not change, run the command ‘i557Show’. If the second word of the Receive Frame Area section is the same for any Frame areas (see underlined words in example below), the switch has encountered the receive frame descriptor loan defect (#5753/8250). This is fixed in Fabric OS v2.4.1j, v2.5.1a, v2.6.0, and v3.0.2. This condition is not known to occur on Linux based Fabric OS versions.

Receive Frame Area:10d09520: 00000000 f000dc00 ffffffff 05eac03c *............<...*10d09530: 50696000 07002611 0aace084 00450008 *.`iP.&........E.*10d09540: 6c4b2b00 067c0040 a8c0561f 400a1685 *.+Kl@.|..V.....@*10d09550: be0e0c44 48151700 18aa4292 18500562 *D......H.B..b.P.*10d09560: 5e17e540 fdff0000 00000001 46414646 *@..^........FFAF*10d09570: 46504541 43454643 43414341 43414341 *AEPFCFECACACACAC*10d09580: 43414341 004c4241 01002000 46444644 *ACACABL.. ..DFDF*

2-132 The Official SupportShow Command Reference Guide

Page 157: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

10d09590: 46414646 46504541 43454643 43414341 *FFAFAEPFCFECACAC*10d095a0: 00000000 f000dc00 ffffffff 05eac03c *............<...*10d095b0: 50696000 07002611 0aace084 00450008 *.`iP.&........E.*10d095c0: 6d4b2800 067c0040 a8c0581f 400a1685 *.(Km@.|..X.....@*10d095d0: be0e0c44 48151700 18aa4592 10503362 *D......H.E..b3P.*10d095e0: 6418b740 00000000 00000000 46414646 *@..d........FFAF*10d095f0: 46504541 43454643 43414341 43414341 *AEPFCFECACACACAC*10d09600: 43414341 004c4241 01002000 46434142 *ACACABL.. ..BACF*10d09610: 45504650 4544464e 45434643 46484650 *PFPENFDECFCEPFHF*

The Official SupportShow Command Reference Guide 2-133

Page 158: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ifshowAvailable in Fabric OS versions: This is a CLI non-supportshow command in all VxWorks switch Fabric OS

versionsv4.2 Example Output: NAAdditional Example/Case Studies:Troubleshooting Use: Use this command to display network interface information

Use this command to display network interface information. If the operand ifname is provided, only that interface is displayed. If ifname is omitted, all interfaces are displayed. Each switch has three

interfaces:

• ei or fei is the 10BaseT or 100BaseT ethernet interface• lo is the loopback interface• fc is the Fibre Channel interface

The fc interface is displayed for switches running IP over Fibre Channel that have been assigned an FC-IP address. For each interface selected, the following information is displayed:

• Flags (for example, loopback, broadcast, arp, running, debug)• Internet address• Broadcast address• Netmask and subnetmask• Ethernet address• Route metric• Maximum transfer unit• Number of packets received and sent• Number of input errors, output errors, and collisions

Example 2-63: To display ethernet interface information for a switch with a 10BaseT connection:switch:admin> ifShow "ei"ei (unit number 0):Flags: (0x63) UP BROADCAST ARP RUNNINGInternet address: 192.168.1.65Broadcast address: 192.168.1.255Netmask 0xffffff00 Subnetmask 0xffffff00Ethernet address is 00:60:69:00:00:8aMetric is 0Maximum Transfer Unit size is 150042962 packets received; 127 packets sent0 input errors; 0 output errors7 collisions

2-134 The Official SupportShow Command Reference Guide

Page 159: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

inetStatShow

Note: See root level netstat -a for v4.0.2c

Troubleshooting Use: Use this command to display active internet connections (including servers). Use this command or v4.x netstat - a command to test network connectivity between a management server and a switch.

Available in Fabric OS versions: v3.1, v3.1.2v4.2 Example Output: NATroubleshooting Use: Use this command to display active internet connections (including servers).

Example 2-32: To display the active Internet connections:SW3800_12:admin> inetstatshowActive Internet connections (including servers)PCB Proto Recv-Q Send-Q Local Address Foreign Address (state)-------- ----- ------ ------ ------------------ ------------------ -------103f918c TCP 0 0 0.0.0.0.80 0.0.0.0.0 LISTEN103f980c TCP 0 0 0.0.0.0.1008 0.0.0.0.0 LISTEN103f988c TCP 0 0 10.64.68.12.23 192.168.133.22.341 ESTABLISHED103f998c TCP 0 0 0.0.0.0.111 0.0.0.0.0 LISTEN103f9b0c TCP 0 0 0.0.0.0.23 0.0.0.0.0 LISTEN103f9e8c TCP 0 0 0.0.0.0.513 0.0.0.0.0 LISTEN103f910c UDP 0 0 0.0.0.0.161 0.0.0.0.0103f9a0c UDP 0 0 0.0.0.0.111 0.0.0.0.0

Note: From web page http://www.scit.wlv.ac.uk/cgi-bin/mansec?1M+netstat

TCP Sockets - The possible state values for TCP sockets are as follows:BOUND Bound, ready to connect or listen. CLOSED Closed. The socket is not being used.CLOSING Closed, then remote shutdown; awaiting acknowledgment.CLOSE_WAIT Remote shutdown; waiting for the socket to close.ESTABLISHED Connection has been established. FIN_WAIT_1 Socket closed; shutting down connection. FIN_WAIT_2 Socket closed; waiting for shutdown from remote. IDLE Idle, opened but not bound. LAST_ ACK Remote shutdown, then closed; awaiting acknowledgment.LISTEN Listening for incoming connections. SYN_RECEIVED Initial synchronization of the connection under way. SYN_SENT Actively trying to establish connection. TIME_WAIT Wait after close for remote shutdown retransmission.

The Official SupportShow Command Reference Guide 2-135

Page 160: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ipaddrshowAvailable in Fabric OS versions: v3.1, v.3.1.2, v4.1, v4.2Version Differences: Version 4.x outputs have more than one Ethernet IP addressv4.2 Example Output:Additional Example/Case Studies:Troubleshooting Use: Use this command to display the IP address for a switch or control processor.

Use this command to display the Ethernet and FC IP addresses configured in the system. This command shows the Ethernet IP Address, Ethernet Subnetmask, Fibre Channel IP Address, Fibre Channel Subnetmask, and Gateway IP address for the switch. The FC IP Address shows “none” if the switch is not configured to run IP over Fibre Channel. Note that all Fibre Channel ports on a switch have the same IP address and subnet mask. All IP addresses are displayed in conventional dot ('.') notation or by the special value “none”. Subnet Masks show “none” if IP sub netting is not in effect.

Example

Example 2-64: To display the IP configuration details for the switch:switch:admin> ipaddrshowEthernet IP Address: 10.32.225.190Ethernet Subnet Mask: 255.255.240.0Fibre Channel IP Address: noneFibre Channel Subnet Mask: noneGateway Address: 10.32.224.1switch:admin>

Example 2-65: v4.1 output from a 12000CS12000_44:admin> ipaddrshowSwitch number [0 for switch0, 1 for switch1, 2 for CP0, 3 for CP1, 4 for all IP addresses in system]: 4SWITCH0Ethernet IP Address: 10.64.148.44Ethernet Subnetmask: 255.255.240.0Fibre Channel IP Address: 0.0.0.0Fibre Channel Subnetmask: 0.0.0.0

SWITCH1Ethernet IP Address: 10.64.148.45Ethernet Subnetmask: 255.255.240.0Fibre Channel IP Address: 10.0.0.1Fibre Channel Subnetmask: 255.0.0.0

CP0Ethernet IP Address: 10.64.148.46Ethernet Subnetmask: 255.255.240.0HostName : cp0Gateway Address: 10.64.144.1

CP1Ethernet IP Address: 10.64.148.47Ethernet Subnetmask: 255.255.240.0HostName : cp1Gateway Address: 10.64.144.1

Backplane IP address of CP0 : 10.0.0.5Backplane IP address of CP1 : 10.0.0.6

Example 2-66: V4.2 output from a 24000SW24000_32:admin> ipaddrshow

SWITCHEthernet IP Address: 10.64.148.32

2-136 The Official SupportShow Command Reference Guide

Page 161: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Ethernet Subnetmask: 255.255.240.0Fibre Channel IP Address: 0.0.0.0Fibre Channel Subnetmask: 0.0.0.0

CP0Ethernet IP Address: 10.64.148.34Ethernet Subnetmask: 255.255.240.0HostName : cp0Gateway Address: 10.64.144.1

CP1Ethernet IP Address: 10.64.148.35Ethernet Subnetmask: 255.255.240.0HostName : cp1Gateway Address: 10.64.144.1

Backplane IP address of CP0 : 10.0.0.5Backplane IP address of CP1 : 10.0.0.6SW24000_32:admin>

The Official SupportShow Command Reference Guide 2-137

Page 162: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ipstatshowAvailable in Fabric OS versions: v3.1, v3.1.2Version Differences:v4.2 Example Output: N/AAdditional Example/Case Studies:Troubleshooting Use: Use this command to display the Internet Protocol (IP) statistics for an interface

Use this command to display the Internet Protocol Statistics for an interface. If the operand ifname is provided, only that interface is displayed. If ifname is omitted, all interfaces are displayed. Each switch has three interfaces:

• ei or fei is the 10BaseT or 100BaseT ethernet interface • lo is the loopback interface • fc is the fibre channel interface

The fc interface is displayed for switches running IP over Fibre Channel that have been assigned an FC-IP address.

Example 2-67: To display the Internet Protocol Statistics for the 10BaseT connection interface:SW3800_12:admin> ipstatshow "fei" total 182 badsum 0 tooshort 0 toosmall 0 badhlen 0 badlen 0 fragments 0 fragdropped 0 fragtimeout 0 forward 0 cantforward 0 redirectsent 0

2-138 The Official SupportShow Command Reference Guide

Page 163: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

islshowAvailable in Fabric OS versions: v3.1, v3.1.2, v4.1, v4.2Version Differences:Additional Example/Case Studies:Troubleshooting Use: Use this command to display ISL information

Use this command to display the current connections and status of the ISL of each port on this switch. The WWN where the ISL is connected to, the speed of the connection, and whether this ISL is trunked, are displayed.

Example 2-33: To display the ISL connections for the switch:switch:admin> islshow1: 33 -> 29 10:00:00:60:69:80:4f:84 switch sp: 2G bw: 4G TRUNK2: 39 -> 7 10:00:00:60:69:80:4f:84 switch sp: 2G bw: 8G TRUNK3: 41 -> (incompatible)4: 47 -> (incompatible)5: 57 -> 25 10:00:00:60:69:80:4f:84 switch sp: 2G bw: 4G TRUNK6: 60 -> 2 10:00:00:60:69:80:4f:84 switch sp: 2G bw: 4G TRUNKswitch:admin>

Note: Run trunkdebug < slot/port associated with area 41 & 47> to determine (incompatible) output reason. IslShow aggregate output allows a one glance trunk assessment of switch.

v4.2 Example Output:

Example 2-68: v4.x islshow output from a 12 switch fabricV4d227sw3900:admin> islshow1: 0 -> 0 10:00:00:60:69:90:02:34 xiotech1_core_1 sp: 2G bw: 2G2: 16 -> 15 10:00:00:60:69:51:0e:ae xiotech2_edge_2 sp: 2G bw: 2G TRUNK3: 20 -> 15 10:00:00:60:69:50:0d:9f xiotech2_edge_3 sp: 2G bw: 2G TRUNK4: 24 -> 15 10:00:00:60:69:51:0d:dd xiotech2_edge_1 sp: 2G bw: 2G TRUNK5: 31 -> 31 10:00:00:60:69:90:02:34 xiotech1_core_1 sp: 2G bw: 2G

The Official SupportShow Command Reference Guide 2-139

Page 164: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

licenseShowAvailable in Fabric OS versions: This is a supportshow output in all Fabric OS versionsTroubleshooting Use: Use this command to display current license keys.

Some features of the switch and of the Fabric are optional licensed products. An example is Web Tools which allows the Fabric to be managed through the worldwide web. Without a license key installed, the licensed product won’t function. This command displays the current license keys, and a list of the licensed products that are enabled by these keys, or displays “none” if no license key is installed. A license key is a string of approximately 16 upper and lower case letters and digits. Case is significant. The key is an encrypted form of the switch’s ID and the products licensed to run on this switch.

Example 2-69: licenseShowSbyzeQcdybTcz0fb: Web licensebdR9ebd9zdceSAfy: Zoning licenseRyydzz9zedSzze0R: QuickLoop licenseRcbzbSzzSSdc0cP: Fabric licensebSeeQybcc9eTffRZ: Fabric Watch licensebSeeQybcc9kTffRf: Trunking license

Note: Verify all license stings have an associated option listed under it. A license without an associated option listed under it indicates an invalid license key.

v4.2 Example Output:

Example 2-70: dazzler16_49:admin> licenseshowcQy9Qz9QcQdRzARn: Web license9SdRdbRdeATeSey: Zoning licenseeyRd9QeSQf0SeAg: 4 Domain Fabric licensee9yycdcQSAAzzdN: Web license Zoning license SES license QuickLoop license Remote Switch license Remote Fabric license Extended Fabric license Fabric Watch license Performance Monitor license Trunking license Security licensedazzler16_49:admin>

Note: Check for entry fabric and value line licenses when you get a segmentation because of licensing issue. Entry fabric and value line 2 (VL2) licenses allow you to connect a max of 2 fabric switches, a value line 4(VL4) license will allow you to connect a maximum of 4 fabric switches. Notice license eyRd9QeSQf0SeAg in above v4.2 output says 4 Domain Fabric license - this is a VL 4 license.

2-140 The Official SupportShow Command Reference Guide

Page 165: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

mallocshow

Note: For internal debuggubg purposes only.

Available in Fabric OS versions: v3.0, v3.1, v3.2Version Differences:v4.2 Example Output:

Additional Example/Case Studies:Troubleshooting Use: Use this command to view memory allocation and de-allocation statistics.

Note: This command has no additional Fabric OS information at this time. As the information becomes available the command will be inserted in this section.

The Official SupportShow Command Reference Guide 2-141

Page 166: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

mbufShowTroubleshooting Use: Use this command to display IP memory information.Available in Fabric OS versions: v3.1, v3.1.2 (Network Command Group)v4.2 Example Output: NAAdditional Example/Case Studies:

Example 2-71: v3.1.2 output Switch3200:admin> mbufshowtype number--------- ------FREE : 799DATA : 0HEADER : 1SOCKET : 0PCB : 0RTABLE : 0HTABLE : 0ATABLE : 0SONAME : 0ZOMBIE : 0SOOPTS : 0FTABLE : 0RIGHTS : 0IFADDR : 0CONTROL : 0OOBDATA : 0IPMOPTS : 0IPMADDR : 0IFMADDR : 0MRTABLE : 0TOTAL : 800number of mbufs: 800number of times failed to find space: 0number of times waited for space: 0number of times drained protocols for space: 0__________________CLUSTER POOL TABLE_______________________________________________________________________________size clusters free usage-------------------------------------------------------------------------------64 100 99 518128 100 100 1358256 40 40 40512 40 40 251024 25 25 12048 25 25 0-------------------------------------------------------------------------------

Note: Mbufs are memory buffers used to hold parts of network packets. An mbuf is quite small, 128 bytes. It contains a header and then something like 100 bytes of data storage. You can chain them together to form bigger storage area's or you can use a cluster. A cluster is just a 2Kbytes buffer. A cluster can be linked to an mbuf. When this happens the data is stored only in the cluster and not the mbuf.

2-142 The Official SupportShow Command Reference Guide

Page 167: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

medbg -s1 -e1Troubleshooting Use: This command is part of hadump output. See hadump for more information. Available in Fabric OS versions: v4.1, v4.2Additional Example/Case Studies: See hadump output information

Note: See hadump on page 2-110 output for additional medbg -s1 -e1 information

v4.2 Example Output:

Example 2-72: medbg -s1 -e1:

Group Name = Switch MF Name = SwitchCP1Sync Order: chassis:0 fcsw:0 chassis:0 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_ACTIVE Sync Time = Tue Dec 30 14:53:14 2003 Unsync Time = Tue Dec 30 14:50:54 2003 FabSt = STABLE

fcsw:0 CurSt = FSS_SYNC_SUCCESS PrevSt = FSS_SYNC_STARTED LaunchSt = SVC_ACTIVE Sync Time = Tue Dec 30 14:53:15 2003 Unsync Time = Tue Dec 30 14:50:54 2003 FabSt = STABLE

Group Name = Switch MF Name = SwitchCP1Sync Order: chassis:0 fcsw:0

chassis:0FSS_EVENTNEXT_STATEFSS CMD SENTSYSCTL MSGL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_DUMP_READYFSS_SYNC_STARTED SYNC_STARTNONER:FSS_EVT_IMAGE_INCOMPFSS_ACTIVE_READY NONE NONEL:FSS_EVT_SYNC_STOPFSS_SYNC_STOPPED NONE NONEL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_DUMP_READYFSS_SYNC_STARTED SYNC_STARTNONEL:FSS_EVT_ACTIVE_RDYFSS_ACTIVE_READY NONE SVC_ACTIVEL:SCTL_EVT_TAKE_CTRLSCTL_ACTIVE TAKE_CTRL NONER:FSS_EVT_IMAGE_INCOMPFSS_STANDBY_READY NONE NONEL:FSS_EVT_SYNC_STOPFSS_SYNC_STOPPED NONE NONEL:FSS_EVT_SYNC_SUCCESSFSS_SYNC_SUCCESS NONE NONEL:FSS_EVT_SYNC_STARTFSS_SYNC_STARTED NONE NONEL:FSS_EVT_IMAGE_COMPFSS_IMAGE_COMP NONE SVC_STANDBYL:SCTL_EVT_SLAUNCHSCTL_SLAUNCH NONE NONEL:ME_EVT_FSS_INITFSS_INIT NONE NONE

The Official SupportShow Command Reference Guide 2-143

Page 168: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

memshow

Note: For internal debuggubg purposes only.

Available in Fabric OS versions: v3.0, v3.1, v3.1.2Version Differences:v4.2 Example Output: NATroubleshooting Use: Use this command to view the amount of free and used memory in switchAdditional Example/Case Studies:

Example 2-73: v3.1.2 outputSwitch3200:admin> memshow status bytes blocks avg block max block ------ --------- -------- ---------- ----------current free 21642816 15 1442854 21642320 alloc 5508784 4886 1127 -cumulative alloc 8269712 49521 166 -Switch3200:admin>

2-144 The Official SupportShow Command Reference Guide

Page 169: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

mii-tool –vv – Link informationAvailable in Fabric OS versions: v4.0, v4.1, v4.2Troubleshooting Use: Use this command to view 10 Base T, full duplex type information. Look for link OK in

output (see embedded note).

Example 2-34: mii-tool -vveth0: negotiated 100baseTx-FD, link ok registers for MII PHY 1: 3000 782d 0040 61e1 01e1 41e1 0005 2001 0000 0000 0000 0000 0000 0000 0000 ---- ---- 0300 0000 0000 0200 0051 0200 0000 003f 851f 9f00 008a 082f 0000 80a0 000b product info: Broadcom BCM5221 rev 1 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok / Note: This is what you want to see! capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HDeth1: negotiated 100baseTx-HD, link ok registers for MII PHY 1: 3000 782d 02a8 0154 05e1 40a1 0001 ---- ---- ---- ---- ---- ---- ---- ---- ---- 0a02 0000 0001 0000 0000 0000 0000 0001 0000 0000 0000 0000 ---- ---- ---- ---- product info: Intel 82555 rev 4 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 100baseTx-HD 10baseT-HD

Note: If you see link ok above but still can not cannot try connecting to the other Ethernet side…the other CP’s access. Then run ifmodeset and hardest the IP address to 10 or 100 half duplex, all Ethernets can do half duplex. 10/ half duplex is the safest setting. If you are on a v4.x switch you do not have to reboot for ifmodeset changes to take effect (v3.x or lower switch you will have to reboot to get ifmodeset changes to take effect).

v4.2 Example Output:

Example 2-74: mii-tool -vv:eth0: negotiated 100baseTx-FD, link ok registers for MII PHY 1: 3000 782d 0040 61e4 01e1 41e1 0005 2001 0000 0000 0000 0000 0000 0000 0000 ---- ---- 0301 0000 0000 0200 003c 0100 0001 003f 851f 9f00 008a 082f 0000 80a0 000b product info: Broadcom BCM5221 rev 4 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HDeth1: link ok registers for MII PHY 2: 3000 780d 0040 61e4 01e1 0000 0004 2001 0000 0000 0000 0000 0000 0000 0000 ---- ---- 8323 0000 00b6 0200 0009 0100 0001 0037 000d 9f00 008a 0827 0000 0000 000b product info: Broadcom BCM5221 rev 4

The Official SupportShow Command Reference Guide 2-145

Page 170: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

basic mode: autonegotiation enabled basic status: link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

2-146 The Official SupportShow Command Reference Guide

Page 171: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

mqshow

Note: For internal debugging purposes only.

Available in Fabric OS versions: v3.0, v3.1, v3.1.2v4.2 Example Output: NAAdditional Example/Case Studies:Troubleshooting Use: Use this command if memory problems on the switch are suspected.

VxWorks is a flat memory system such that each task does not have it’s own consistent space in memory. Each task in the Fabric OS has an associating queue. Tasks either get “called” or functions get put into associated task queues thus requiring read action. The response task tresponse has an associated queue called response_q. When frames are put into the response queue, the response task reads them and appropriately acts on them.

The following example shows port 0’s queue names, associated memory addresses, maximum value in bytes (Max), the number of times queue went over max value since boot (High) and the current queue status (Current). In the example below, the receive queue went over it’s high 2560 Bytes, 16 times. It is important to have a known good supportshow baseline to compare and contrast supportshow output information like mqshow. This is not abnormal for this queue. Internal Brocade engineers might look here if they suspected a memory problem as seen with MQ-Errors in the error log.

Example 2-75: mqShow 0Name Id Max High Current-------------------------------------------------------restart_q 0x10395000 2560 00err_q 0x10380f80 2560 00timer_q 0x1036b960 2560 40response_q 0x10356340 2560 00receive_q 0x103422c0 2560 16transmit_q 0x1032e240 2560 11scn_q 0x1031a1c0 2560 80pb_q 0x102fcb30 2560 00fcp_q 0x10196250 2560 80ran_q0 0x1018f180 512 00ran_q1 0x1018b100 512 00ran_q2 0x10187080 512 00ran_q3 0x10183000 512 00ran_q4 0x1017ef80 512 00ranscn_q 0x10175930 1024 00diag_q 0x10160310 2560 10MS_RAPImq0 0x1015c290 512 00MS_RAPImq1 0x10158210 512 00MS_RAPImq2 0x10154190 512 00MS_RAPImq3 0x10150110 512 00MS_RAPImq4 0x1014c090 512 00MS_RAPImq5 0x10148010 512 00MS_RAPImq6 0x10143f90 512 00MS_RAPImq7 0x1013ff10 512 00MS_RAPImq8 0x1013be90 512 00MS_RAPImq9 0x10137e10 512 00fabric_q 0x1011d580 2560 80HttpMSmq0 0x11f41390 128 00HttpMSmq1 0x11f40310 128 00HttpMSmq2 0x11f3f290 128 00HttpMSmq3 0x11f3e210 128 00HttpMSmq4 0x11f3d190 128 00HttpMSmq5 0x11f3c110 128 00HttpMSmq6 0x11f3b090 128 00

The Official SupportShow Command Reference Guide 2-147

Page 172: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

HttpMSmq7 0x11f3a010 128 00HttpMSmq8 0x11f38f90 128 00HttpMSmq9 0x11f37f10 128 00rt_q 0x11f20270 2560 60qloop_q 0x11f0abf0 2560 10zone_realtime_q 0x11ef2720 2560 80zone_q 0x11ede6a0 2560 80fspf_q 0x11ec7af0 2560 200ns_q 0x11e8dc50 2560 50nsirc_q 0x11e79bd0 2560 10nscam_q 0x11e63170 2560 90as_q 0x11dfb7f0 2560 20ms_q 0x11de37f0 2560 110msAsync_q 0x11dcf700 2560 00famib_q 0x11db8d00 2560 80apims_q 0x11da0f20 2560 00fru_q 0x11d8cea0 2560 80

Number of message queues = 52

2-148 The Official SupportShow Command Reference Guide

Page 173: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

myidAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display the current login session details.

Use this command to display the status of the system and the login session details. The Status displays if the system is Redundant or Non-Redundant or Unknown.The login session gives details of the following:

• Which CP/Switch (or console/serial port) was used to login• The IP address of the current login session for telnet or the name of the current Console port or the Serial port (if

modem login used).• The Current CP's mode (Active or Standby or Unknown)• The Current System Status (Redundant or Non-Redundant or Unknown).

v4.1 Example Output:

Example 2-35: switch:admin> myidCurrent Switch: switchSession Detail: switch (123.123.123.123) Active Redundantswitch:admin>

Note: The myid command is extremely helpful to identify a switch that is not named in a meaningful manner, myid output provides an easy way to determine switch IP address and status.

v4.2 Example Output:

Example 2-76: myid:

Current Switch: SW24000_32Session Detail: SW24000_32 (10.64.148.32) Active Redundant

The Official SupportShow Command Reference Guide 2-149

Page 174: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

nsAllShowAvailable in Fabric OS versions: AllVersion Differences NoneTroubleshooting Use: Use this command to dispaly global Name Server information.Additional Example/Case Studies:

Use this command to display the 24-bit fibre channel addresses of all devices in all switches in the fabric.

If the operand type is supplied, only devices of specified FC-PH type are displayed. If type is omitted, all devices are displayed.

Note: Specifying the type operand causes the switch to send out a query to every switch in the fabric. On a large fabric it is recommended NOT to run a script that repeatedly issues the nsallshow command with a type operand specified.

Example 2-36: To display all devices in the Fabric, followed by all type 8 (SCSI-FCP) devices and all type 5 (SCSIFCIP) devices:

switch:admin> nsallshow12 Nx_Ports in the Fabric {011200 0118e2 0118e4 0118e8 0118ef 0212000214e2 0214e4 0214e8 0214ef}switch:admin> nsallshow 88 FCP Ports {0118e2 0118e4 0118e8 0118ef 0214e2 0214e4 0214e8 0214ef}switch:admin> nsallshow 52 FC-IP Ports in the Fabric {011200 021200}

Example 2-37: 4.02cnsallshow:28 Nx_Ports in the Fabric { 010a00 010dba 010dbc 010dc3 010dc5 010dc6 010dc7 010dc9 010dca 010dcb 010dcc 010dcd 010dce 010dd1 010dd2 010dd3 010dd4 010dd5 010dd6 010dd9 010dda 010ddc 010de0 010de1 010de2 010de4 010de8 010def

Note: The output of this command in conjunction with fabricshow and topologyshow can be used to draw the fabric. A topologyshow output from the Fabric switches can then be used to map interconnections. In order for two devices in a Fabric to see each other they must both be in the nsallshow output …unless Quickloop is being used in the Fabric.

v4.2 Example Output:

Example 2-77: nsallshow:{ 010100 015e00 017fd1 017fd2 017fd3 017fd4 017fd5 017fd6 017fd9 017fda 017fdc 017fe0 017fe1 017fe2 017fe4 017fe8 017fef 17 Nx_Ports in the Fabric }

2-150 The Official SupportShow Command Reference Guide

Page 175: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

nscamshowAvailable in Fabric OS versions: v3.0, v3.1, v3.1.2, v4.1, v4.2 (not available as part of v4.0 supportshow output)Version Differences: Prior to versions 2.6.1, 3.1 and 4.1 nscamshow displayed hot and cold switch and device lists.

When the nodefind (input a WWN get out hex 24-bit fabric address) and nszonemember (use hex 24-bit fabric address to display an nsshow like output of all devices zoned with given 14-bit address - ex: nszonmember 0x020400 will display an nsshow view of all devices zoned with the fabric device on domain 2, port 4) commands were introduced in v3.1/4.1 the nscamshow outputs deleted the hot and cold switch and device lists.

Additional Example/Case Studies:Troubleshooting Use: Use this command to display information about remote devices in the Name Server Cache.

Use this command to display the local Name Server Cache Manager (NSCaM) information about the devices discovered in the fabric by the Name Server Cache manager. The message “No Entry found!” is displayed if the Name Server Cache Manager hasn't discovered new switches and any new devices in the fabric.

Prior to versions 3.1 and 4.1 information displayed showed whether the other switch was “hot” or “cold”. A hot switch has devices in a zone with devices on the local switch. A cold switch does not have any attached devices in a zone with any of the local switches devices. There are also hot and cold tables for the devices on attached switches depicting exactly which devices are hot (in a zone with local switch devices) and which devices are cold (not in a zone with local switch devices. This ns cache feature allows a nscam task to run in the background – retrieving information from other switches, making the name server and RSCN functionality much less intrusive in a Fabric.

For each remote switch found the output of this command shows the domain number, state, revision, owner, the list of cold and hot devices for that domain number. For each device found in the cold or hot devices list, the following information is displayed:

Type U for unknown, N for N_Port, NL for NL_Port.Pid The 24-bit Fibre Channel address.COS A list of classes of service supported by the device.PortName The device's port Worldwide Name.NodeName The device's node Worldwide Name.

There may be additional lines if the device has registered any of the following information (the switch automatically registers SCSI inquiry data for FCP target devices): FC4s supported and fabric port name.

Example 2-78: (from a single switch)switch:admin> nscamshowNo entry is found!

v3.0 Example Output before hot and cold lists were removed (v3.1/4.1 nodefind and nszonemember nulled the need for nscamshow hot/cold lists):

Example 2-79: switch:admin> nscamshow Switch entry for 14 state rev owner hot v302 0xfffc09 Hot device list: count 3 Type Pid COS PortName NodeName N 0e0000; 3;50:05:02:e0:10:00:0b:27;50:05:02:e0:10:00:0b:27; FC4s: FCP Fabric Port Name: 20:00:00:60:69:50:04:c1 N 0e0c00; 2,3;10:00:00:00:c9:23:d3:6b;20:00:00:00:c9:23:d3:6b; FC4s: FCP Fabric Port Name: 20:0c:00:60:69:50:04:c1 N 0e0d00; 2,3;10:00:00:00:c9:24:05:5c;20:00:00:00:c9:24:05:5c;

The Official SupportShow Command Reference Guide 2-151

Page 176: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

FC4s: FCP Fabric Port Name: 20:0d:00:60:69:50:04:c1 Cold device list: count 5 Type Pid COS PortName NodeName N 0e0300; 2,3;20:00:00:e0:69:c0:68:87;10:00:00:e0:69:c0:21:31; FC4s: FCIP Fabric Port Name: 20:03:00:60:69:50:04:c1 N 0e0400; 2,3;20:00:00:e0:69:c0:78:67;10:00:00:e0:69:c0:6a:fd; FC4s: FCIP Fabric Port Name: 20:04:00:60:69:50:04:c1 N 0e0700; 2,3;20:00:00:e0:69:c0:7d:4a;10:00:00:e0:69:c0:71:38; FC4s: FCIP Fabric Port Name: 20:07:00:60:69:50:04:c1 N 0e0900; 2,3;20:00:00:e0:69:c0:78:7c;10:00:00:e0:69:c0:6c:70; FC4s: FCIP Fabric Port Name: 20:09:00:60:69:50:04:c1 N 0e0b00; 2,3;20:00:00:e0:69:c0:7d:39;10:00:00:e0:69:c0:68:46; FC4s: FCIP Fabric Port Name: 20:0b:00:60:69:50:04:c1 Total count of devices on the switch is 8

Switch entry for 15 state rev owner cold v302 0xfffc09 Hot device list: count 0 No entry is found! Cold device list: count 1 Type Pid COS PortName NodeName NL 0f0201; 2,3;10:00:00:00:c9:2c:33:ba;20:00:00:00:c9:2c:33:ba; Fabric Port Name: 20:02:00:60:69:50:05:2d Total count of devices on the switch is 1Switch entry for 33 state rev owner cold v302 0xfffc09 Hot device list: count 0 No entry is found! Cold device list: count 0 No entry is found!Total count of devices on the switch is 0

See output in Example 2-79 (partial extract from a switch in a twenty four switch fabric – remote switches status varies. Zoning is enabled. Switch 14 is in a “hot” state with local switch (indicated in state column) indicating it has devices that are in a zone with the local switch running Fabric OS version 3.0.2 (indicated in rev column by v302). The domain of the local switch is 9 as indicated in by domain controller name (also referred to as embedded port name) address fffc09 in owner column. There are 3 devices on switch 14 in zones with local devices (indicated in “Hot device list: count 3). There are five devices not in a zone with local switch devices (indicated in Cold device list: count 5). The last line of the output indicates that there are 8 devices on this attached switch.

Switch 15 is in a “cold” state with local switch (indicated in state column) indicating it has no devices that are in a zone with the local switch running Fabric OS version 3.0.2 (indicated in rev column by v302). The domain of the local switch is 9 as indicated in by domain controller name (also referred to as embedded port name) address fffc09 in owner column. There are 0 devices on switch 15 in zones with local devices (indicated in “Hot device list: count 0). There is 1 devices not in a zone with local switch devices (indicated in Cold device list: count 1). The last line of the output indicates that there is 1 device on this attached switch.

Switch 33 is in a “cold” state with local switch (indicated in state column) indicating it has no devices that are in a zone with the local switch running Fabric OS version 3.0.2 (indicated in rev column by v302). The domain of the local switch is 9 as indicated in by domain controller name (also referred to as embedded port name) address fffc09 in owner column. There are 0 devices on switch 33 in zones with local devices (indicated in “Hot device list: count 0). There are 0 devices not in a zone with local switch devices (indicated in Cold device list: count 0). The last line of the output indicates that there are not any devices on this attached switch.

2-152 The Official SupportShow Command Reference Guide

Page 177: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Note: See v2.6.0c and 3.0.2c nscamShow information in this guide above for information about how nscamShow worked in pre v3.1/4.1 Fabric OS versions. The major difference in v3.1/4.1 information is that the hot and cold device lists have been merged. You can no longer determine which devices on remote switches are in a zone with devices on local switch, where this command was issued, using this command. It is still useful, along with nsShow, to retrieve a complete WWN listing of all Fabric devices at the CLI.

v4.1 Example Output (notice that there are no hot or cold lists - modefine and nszonemember nulled the need):

Example 2-38: nscamshow:nscam show for remote switches:Switch entry for 2 state rev owner known v310 0xfffc01 Device list: count 3 Type Pid COS PortName NodeName N 020000; 2,3;10:00:00:00:c9:2b:fe:94;20:00:00:00:c9:2b:fe:94; Fabric Port Name: 20:00:00:60:69:51:2d:0b N 020100; 2,3;10:00:00:00:c9:29:23:98;20:00:00:00:c9:29:23:98; FC4s: FCP Fabric Port Name: 20:01:00:60:69:51:2d:0b N 020200; 2,3;50:06:04:82:bf:d2:7b:93;50:06:04:82:bf:d2:7b:93; FC4s: FCP Fabric Port Name: 20:02:00:60:69:51:2d:0b v4.2 Example Output:

Example 2-80: nscamshow:nscam show for remote switches:No entry is found!

The Official SupportShow Command Reference Guide 2-153

Page 178: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

nsShowAvailable in Fabric OS versions: AllVersion Differences: versions 3.1/4.1 added a “-r” parameter that allowed SCR information gathering.Additional Example/Case Studies:Troubleshooting Use: Use this command to display local Name Server information, including information about

devices connected to this switch, and cached information about devices connected to other switches in the fabric. The following message is displayed if there is no information in this switch:

There is no entry in the Local Name Server

There still may be devices connected to other switches in the fabric. The command nsAllShow displays information from all switches.

Each line of output shows:* Indicates a cached entry from another switch.• Type U for unknown, N for N_Port, NL for NL_Port.• PID 24-bit fibre channel address.• COS List of classes of service supported by device.• PortName Device port worldwide name.• NodeName Device node worldwide name.• TTL Time-to-live (in seconds) for cached entries, NA (not applicable) if the entry is local, or if -r operand used this

column lists the State Change Registration: • 0 – Reserved• 1 – (Fabric Detected Registration) Register to receive all RSCN requests issued by the Fabric Controller for events

detected by the fabric; • 2 – (N_Port Detected Registration) Register to receive all RSCN requests issued by the Fabric Controller for events

detected by the affected N_Port or NL_Port; • 3 – (Full Registration (1 and 2)) Register to receive all RSCN requests issued by the Fabric Controller for events detected

by the affected N_Port ID pages.

There may be additional lines if the device has registered any of the following information (the switch automatically registers SCSI inquiry data for FCP target devices):

• FC4s supported• IP address• IPA• Port and node symbolic names• Fabric Port Name - This is the WWN of the port on the switch that the device is physically connected to.• Hard address and/or port IP address

v4.2 Example Output:

Example 2-39: nsshow:The Local Name Server has 2 entries { Type Pid COS PortName NodeName TTL(sec) N 010a00; 2,3;10:00:00:00:c9:2a:6b:3b;20:00:00:00:c9:2a:6b:3b; na FC4s: FCIP FCP Fabric Port Name: 20:0a:00:60:69:80:40:b2 NL 010dba; 3;21:00:00:20:37:00:ff:c8;20:00:00:20:37:00:ff:c8; na FC4s: FCP [SEAGATE ST39103FC 0002] Fabric Port Name: 20:0d:00:60:69:80:04:b2

2-154 The Official SupportShow Command Reference Guide

Page 179: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Note: The nsShow output can be used to match customer drawings to what is actually attached to the local switch. It can also be used to determine if the Fabric see’s the device. Devices do not see each other if the Fabric doesn’t see them first. If a device is depicted in the nsShow output then the local switch can see it. The next step would be to determine if the entire Fabric see’s it….look in nsallshow and nscamShow.

v4.2 Example Output:

Example 2-81: nsshow:{ Type Pid COS PortName NodeName SCR N 010100; 2,3;10:00:00:00:c9:29:06:7d;20:00:00:00:c9:29:06:7d; 3 FC4s: FCIP FCP NodeSymb: [36] "Emulex LP9002 FV3.90A7 DVv5-2.21a7 " Fabric Port Name: 20:01:00:60:69:80:2d:4a

N 015e00; 2,3;10:00:00:00:c9:2b:7f:90;20:00:00:00:c9:2b:7f:90; 3 FC4s: FCP NodeSymb: [35] "Emulex LP9002 FV3.90A7 DV5-5.01A0 " Fabric Port Name: 20:5e:00:60:69:80:2d:4a

NL 017fd1; 3;21:00:00:04:cf:4c:e6:6b;20:00:00:04:cf:4c:e6:6b; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fd2; 3;21:00:00:04:cf:62:0c:05;20:00:00:04:cf:62:0c:05; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fd3; 3;21:00:00:04:cf:62:04:b2;20:00:00:04:cf:62:04:b2; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fd4; 3;21:00:00:04:cf:4c:ef:ee;20:00:00:04:cf:4c:ef:ee; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fd5; 3;21:00:00:04:cf:62:07:58;20:00:00:04:cf:62:07:58; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fd6; 3;21:00:00:20:37:15:09:c3;20:00:00:20:37:15:09:c3; 0 FC4s: FCP [SEAGATE ST336605FC 0002] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fd9; 3;21:00:00:20:37:42:5f:da;20:00:00:20:37:42:5f:da; 0 FC4s: FCP [SEAGATE ST336605FC 0002] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fda; 3;21:00:00:20:37:15:0b:bc;20:00:00:20:37:15:0b:bc; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fdc; 3;21:00:00:20:37:42:43:b1;20:00:00:20:37:42:43:b1; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fe0; 3;21:00:00:20:37:42:66:3e;20:00:00:20:37:42:66:3e; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

The Official SupportShow Command Reference Guide 2-155

Page 180: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

NL 017fe1; 3;21:00:00:20:37:e6:8e:3e;20:00:00:20:37:e6:8e:3e; 0 FC4s: FCP [SEAGATE ST336605FC 0002] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fe2; 3;21:00:00:20:37:e6:9a:b9;20:00:00:20:37:e6:9a:b9; 0 FC4s: FCP [SEAGATE ST336605FC 0002] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fe4; 3;21:00:00:20:37:42:66:2d;20:00:00:20:37:42:66:2d; 0 FC4s: FCP [SEAGATE ST336605FC 0002] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fe8; 3;21:00:00:20:37:15:18:08;20:00:00:20:37:15:18:08; 0 FC4s: FCP [SEAGATE ST336605FC 0003] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

NL 017fef; 3;21:00:00:20:37:e6:9a:cb;20:00:00:20:37:e6:9a:cb; 0 FC4s: FCP [SEAGATE ST336605FC 0002] Fabric Port Name: 20:7f:00:60:69:80:2d:4a

The Local Name Server has 17 entries }

2-156 The Official SupportShow Command Reference Guide

Page 181: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

persistent portlogdumpAvailable in Fabric OS versions: v4.1, v4.2Additional Example/Case Studies:Troubleshooting Use: Use this command to view a portion of the portlog saved to flash.

There is no command to enable persistent portlog. Portlog is saved in flash only by the panic dump subsystem under system panic conditions. This command is also integrated as part of the v4.x pdShow command. Basically when you type pdShow it shows persistent portlog for all switch instances along with other, relevant panic/ watchdog information.

By default whenever a panic condition occurs, a part of the portlog is saved in flash automatically. So there is no need to enable anything specifically.

Example 2-40: Persistent portlogdump:showing from flashsyslogdupdatecfg: fopen failed on /etc/syslog.confportLogDisplay: failed to read from flashportLogDump 0,1 after a panic or watchdog reboot could give you portLogDump output saved from last failure.

Note: portLogDump 0,1 output is the persistent portlogdump output that is part of v3.1 plus supportshows.

v4.2 Example Output:

Example 2-82: Persistent portlogdump:port log in flash is empty

The Official SupportShow Command Reference Guide 2-157

Page 182: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

portcamshowAvailable in Fabric OS versions: v4.1, v4.2Additional Example/Case Studies:Troubleshooting Use: Use this command to display the current filter CAM utilization of all ports or one port

specified at input. See story in Example 2-51 to illustrate command use.

The following information is displayed:

SID used Display total number of CAM entries used by this port. Please note that each CAM entry (either SID or DID CAM) can be shared among ports in the same quad. DID used Display total number of CAM entries used by this port. Please note that each CAM entry (either SID or DID CAM) can be shared among ports in the same quad.

SID entries Display all existing Source ID entries within the CAM per quad. Please note that each CAM entry (either SID or DID CAM) can be shared among ports in the same quad. DID entries Display all existing Destination ID entries within the CAM per quad. Please note that each CAM entry (either SID or DID CAM) can be among ports in the same quad. SID Free Display the total number of free SID CAM entries per quad. DID Free Display the total number of free DID CAM entries per quad.

Example 2-41:

Since stories shed the best light. portcamshow and sometimes portzoneshow commands were invoked before zoning created, after zoning created but before it was enabled and then again after it was enabled:

There was no portcamshow output (everything was 0) until zoning was enabled (output after zoning created was the same as pre-zone output):

SWITCH:admin> cfgenable "testcfg"zone config "testcfg" is in effectUpdating flash ...

SWITCH:admin> cfgshowDefined configuration: cfg:testcfg test zone:test 1,11; 2,15

Effective configuration: cfg:testcfg zone:test1,11

2,15

SWITCH:admin> portcamshowPorts of Slot 7------------------------Port SID used DID used 0 0 0 1 1 1 /slot 7, port 1 had a host not in zone 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 2 1 /slot 7, port 11 had a host in zone12 0 013 0 014 0 015 0 0------------------------Quad ports (SID Free, DID Free)

2-158 The Official SupportShow Command Reference Guide

Page 183: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

00-03 (63, 511) 04-07 (64, 512) 08-11 (62, 511) 12-15 (64, 512) /since it is not in a zone, port 1 can only talk to itself, portrayed in portcamshow 7/1 output:switch:admin> portcamshow 7/1--------------------------------------------------Area SID used DID used SID entries DID entries01 1 1 010100 010100--------------------------------------------------Quad ports (SID Free, DID Free)00-03 (63, 511)

/since it is in a zone, port 11 can talk to itself and port on attached switch in same zone, portrayed in portcamshow 7/11 output:switch:admin> portcamshow 7/11--------------------------------------------------Area SID used DID used SID entries DID entries11 2 1 010b00 010b00 020f00--------------------------------------------------Quad ports (SID Free, DID Free)08-11 (62, 511)

Ports of Slot 8------------------------Port SID used DID used 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 0 012 0 013 0 014 0 015 1 1------------------------Quad ports (SID Free, DID Free)00-03 (64, 512) 04-07 (64, 512) 08-11 (64, 512) 12-15 (63, 511) /like slot 7, port 1 above slot 8, port 15 (since it is not in a zone) can only talk to itself.

Example 2-42: This portzoneshow output displays how zoning is enforced on the switch:SWITCH:admin> portzoneshow PORT: 0 Not Zoned PORT: 1 Enforcement: HARD PORT defaultHard: 1 F-port: 1 PORT: 2 Enforcement: E-Port defaultHard: 0 F-port: 0 PORT: 3 Not Zoned PORT: 4 Enforcement: E-Port defaultHard: 0 F-port: 0 PORT: 5 Enforcement: E-Port defaultHard: 0 F-port: 0 PORT: 6 Enforcement: E-Port defaultHard: 0 F-port: 0 PORT: 7 Not Zoned PORT: 8 Not Zoned PORT: 9 Not Zoned PORT: 10 Not Zoned PORT: 11 Enforcement: HARD PORT defaultHard: 0 F-port: 1 PORT: 12 Not Zoned PORT: 13 Not Zoned PORT: 14 Not Zoned PORT: 15 Not Zoned PORT: 16 Not Zoned PORT: 17 Not Zoned

The Official SupportShow Command Reference Guide 2-159

Page 184: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

PORT: 18 Not Zoned PORT: 19 Not Zoned PORT: 20 Not Zoned PORT: 21 Not Zoned PORT: 22 Not Zoned PORT: 23 Not Zoned PORT: 24 Not Zoned PORT: 25 Not Zoned PORT: 26 Not Zoned PORT: 27 Not Zoned PORT: 28 Not Zoned PORT: 29 Not Zoned PORT: 30 Not Zoned PORT: 31 Enforcement: HARD PORT defaultHard: 1 F-port: 1

Portzoneshow output, hard, soft and session-based enforced, has to do with how zoning is configured. In bloom ASICs all zones defined using WWNs or domain, area are hard enforced. Hard enforced means that communication to the device on the target port is blocked if not in the same zone as communicating device. All devices should go to the name server (directory server) to determine who they can communicate with in the Fabric. Some devices, called bad citizens, attempt communication with devices not in same zone even after name server communication. If target is in a hard defined zone then communication to that target will be blocked on the ASIC port. Session-based enforced zoning occurs on Bloom ASICs when mixed zones are created (a mix of WWN and domain, area in the same zone). Session-based zoning enforcement is only available in Bloom ASIC switches - in Bloom based switches mixed zone elements will go session based before they go soft-enforced (until available ASIC memory runs out). Session based enforcement blocks PLOGI’s at the destination port. End devices in a fabric cannot communicate before they PLOGI into each other. Soft enforced zoning means devices still query the name server for a list of accessible devices but can communicate with them, even if they are not in the same zone, if “soft enforced”. Soft enforcement could also occur if ASIC zone memory is close to saturation. In a mixed Fabric, Loom and Bloom ASIC’s soft enforced or session enforced zoning occurs per Bloom ASIC rules defined above on Bloom ports but devices become soft enforced on Loom ASICs when defined using all WWN’s.

v4.2 Example Output:

Example 2-83: portcamshow:Ports of Slot 1------------------------Port SID used DID used 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 0 012 0 013 0 014 0 015 0 0------------------------Quad ports (SID Free, DID Free)00-03 (64, 512) 04-07 (64, 512) 08-11 (64, 512) 12-15 (64, 512)

Ports of Slot 2------------------------Port SID used DID used 0 0 0 1 0 0 2 0 0

2-160 The Official SupportShow Command Reference Guide

Page 185: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 0 012 0 013 0 014 0 015 0 0------------------------Quad ports (SID Free, DID Free)00-03 (64, 512) 04-07 (64, 512) 08-11 (64, 512) 12-15 (64, 512)

Ports of Slot 4------------------------Port SID used DID used 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 0 012 0 013 0 014 0 015 0 0------------------------Quad ports (SID Free, DID Free)00-03 (64, 512) 04-07 (64, 512) 08-11 (64, 512) 12-15 (64, 512)

Ports of Slot 7------------------------Port SID used DID used 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 0 012 0 013 0 014 0 015 0 0------------------------Quad ports (SID Free, DID Free)00-03 (64, 512) 04-07 (64, 512) 08-11 (64, 512) 12-15 (64, 512)

Ports of Slot 8------------------------

The Official SupportShow Command Reference Guide 2-161

Page 186: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Port SID used DID used 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 0 012 0 013 0 014 0 015 0 0------------------------Quad ports (SID Free, DID Free)00-03 (64, 512) 04-07 (64, 512) 08-11 (64, 512) 12-15 (64, 512) Ports of Slot 9------------------------Port SID used DID used 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 0 012 0 013 0 014 0 015 0 0------------------------Quad ports (SID Free, DID Free)00-03 (64, 512) 04-07 (64, 512) 08-11 (64, 512) 12-15 (64, 512) Ports of Slot 10------------------------Port SID used DID used 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 0 0 8 0 0 9 0 010 0 011 0 012 0 013 0 014 0 015 0 0------------------------Quad ports (SID Free, DID Free)00-03 (64, 512) 04-07 (64, 512) 08-11 (64, 512) 12-15 (64, 512)

2-162 The Official SupportShow Command Reference Guide

Page 187: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portcfgshowAvailable in Fabric OS versions: AllVersion Differences: Different versions of Fabric OS have additional outputs.Troubleshooting Use: Use this command to display port configuration settings.

Use this command to display the current configuration of all ports. If no operand is specified, all the port configuration settings are displayed for that switch, or for the SilkWorm 12000 logical switch. The following configuration information is displayed (not all information the same in all FOS versions):

• Speed mode is displayed as 1G, 2G, or AN (when in Auto speed Negotiation mode). This value is set by the portcfgspeed command.

• Trunk Port mode is displayed as ON when port is set for trunking or blank (..) when trunking is disabled on the port. This value is set by the portCfgTrunkport command.

• Long Distance mode is displayed as blank (..) when long distance mode is off, LE when the link is up to 10Km, LM when the link is up to 25Km, L1 when the link is up to 50Km, L2 when the link is up to 100Km or LD when the distance is to be determined dynamically. This value is set by the portCfgLongDistance command.

• VC Link Init mode (virtual channel) is displayed as blank (..) when the long distance link initialization option is turned off and (ON) when it is turned on for long distance mode. This value is set by the portcfglongdistance command.

• Locked L_Port mode is displayed as ON when port is locked to L_Port only or blank (..) when L_Port lock mode is disabled (and it behaves as a U_Port). This value is set by the portcfglport command.

• Locked G_Port mode is displayed as ON when port is locked to G_Port only or blank (..) when G_Port lock mode is disabled (and it behaves as a U_Port). This value is set by the portcfggport command.

• Disabled E_Port mode is displayed as ON when port is not allowed to be an E_Port or blank (..) when the port is allowed to function as an E_Port. This value is set by the portcfgeport command.

• Mcast LoopBack mode is displayed as blank (..) when Mcast LoopBack mode is off, and (ON) when Mcast LoopBack mode is enabled. This command allows a user to dedicate an unused port in a leaf (edge) switch, with no F_Port belonging to a multicast group, to receive multicast frames. This value is set by the portcfgmcastloopback command.

• ISL R_RDY Mode mode is displayed as ON when the port has been R_RDY mode enabled or blank (..) when the port is allowed to function as an E_Port. This value is set by the portcfgislmode command.

• Persistent Disable mode is displayed as ON when the port is disabled across reboots or power cycles or (..) when the port is allowed to function normally. This value is set by the portcfgpersistentdisable command.

• Disabled due to Buffer mode is displayed whenr the port is disabled due to lack of buffers. Value is set when available buffers in the associated quad are not enough to assign to this port which usually results from configuration of long distance ports in the quad. Will only displayed when giving the [SlotNumber/][PortNumber]. Refer to portCfgLongDistance more information.

• Locked Loop HD displays the half duplex mode 2 of this L_Port. Will only displayed when giving the [SlotNumber/][PortNumber]. Refer to portCfgLport for more information:

mode2 - If mode2 is not present, it will be set to 0 by default.

1: The L_PORT will be a half-duplex L_PORT.

0: The L_PORT will be a full-duplex L_PORT.

• Delay Flogi – Shows that the portCfgDelayFlogi[slot_number/]port_number, retries (1-7 retries possible) command has been set on the port. This commands delays the FLOGI Accept for the port until routes are setup for the entire fabric. After a link disruption (caused by say, hafailover), certain hosts do not query the Name Server before re-establishing communication with the targets. If the host does not receive a response to its PLOGI, the I/Os that were in progress before the link disruption do not resume. By using this command, the user can specify the ports that have this behavior so that the switch will not send an FLOGI Accept until all routes are setup. That way after the link disruption, I/Os will resume.

The Official SupportShow Command Reference Guide 2-163

Page 188: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Example 2-43: v4.1 outputsettings of ports in a SilkWorm 3900:switch:admin> portcfgshowPorts of Slot 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15-----------------+--+--+--+--+----+--+--+--+----+--+--+--+----+--+--+--Speed AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN ANTrunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ONLong Distance .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..VC Link Init .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Locked L_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Locked G_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Disabled E_Port .. ON .. .. .. .. .. .. .. .. .. .. .. .. .. ..Mcast LoopBack .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..ISL R_RDY Mode .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Persistent Disable.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Ports of Slot 0 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31-----------------+--+--+--+--+----+--+--+--+----+--+--+--+----+--+--+--Speed AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN ANTrunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ONLong Distance .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..VC Link Init .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Locked L_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Locked G_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Disabled E_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Mcast LoopBack .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..ISL R_RDY Mode .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..Persistent Disable.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..where AN:AutoNegotiate, ..:OFF, ??:INVALID.

Example 2-44: v4.2 outputportcfgshow:Ports of Slot 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15-----------------+--+--+--+--+----+--+--+--+----+--+--+--+----+--+--+--Speed AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN Trunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON Long Distance .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. VC Link Init .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Locked L_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Locked G_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Disabled E_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ISL R_RDY Mode .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Persistent Disable.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Locked Loop HD .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..

Ports of Slot 3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15-----------------+--+--+--+--+----+--+--+--+----+--+--+--+----+--+--+--Speed AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN Trunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON Long Distance .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. VC Link Init .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Locked L_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Locked G_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Disabled E_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ISL R_RDY Mode .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Persistent Disable.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Locked Loop HD .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..

<output truncated>

where AN:AutoNegotiate, ..:OFF, ??:INVALID.

2-164 The Official SupportShow Command Reference Guide

Page 189: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portErrShowAvailable in Fabric OS versions: AllTroubleshooting Use: Use this command to display port error summary and troubleshoot marginal link problems.

This command displays an error summary for all ports. One output line is displayed per port, and shows error counters in ones, thousands (the number is followed by “k”), or millions (the number is followed by “m”).

The lines of the display show:Frames tx/rx N/A counters representing the number of frames transmitted.enc_in: 8bit/10bit encoding errors inside frame. Words inside of frames are encoded, if this encoding is corrupted or

an error is detected enc_in is generated.crc_err: a mathematical formula generates counters at the sending port. The receiving port uses same formula to check

and compare. Also see “bad_eof” below. too_long: FC frames are 2148 byes maximum. If an eof is corrupted or data generation is incorrect a too_long

error is generated.too_short: The too_short is an error statistics counter which is incremented whenever a frame, bounded by an SOF

and EOF, is received and the number of words between the SOF and EOF is less than 7 words (6 words header plus 1 word CRC), i.e., 38 bytes (not 48) including the SOF and EOF. This could be caused by the transmitter, or an unreliable link.

bad_eof: After a loss-of-synchronization error continuous-mode alignment allows the receiver to reestablish word alignment at any point in the incoming bit stream while the receiver is Operational. Such realignment is likely (but not guaranteed) to result in Code Violations and subsequent loss of Synchronization. Under certain conditions, it may be possible to realign an incoming bit stream without loss of Synchronization. If such a realignment occurs within a received frame, detection of the resulting error condition is dependent upon higher-level function (e.g., invalid CRC, missing EOF Delimiter).

enc_out: 8bit/10bit encoding errors occurred in words (ordered sets) outside the FC frame. Words outside of frames are encoded, if this encoding is corrupted or an error is detected enc_out is generated.

Disc c3: Discard class 3 errors could be generated by switch when devices send frames without FLOGI’ing first or with an invalid destination. This error is just reporting that such a discard occurred.

Link fail: If a Port remains in the LR Receive State for a period of time greater than a timeout period (R_T_TOV), a Link Reset Protocol Timeout shall be detected which results in a Link Failure condition (enter the NOS Transmit State). The link failure also indicates that loss of signal or loss of sync lasting longer than the R_T_TOV value was detected while not in the Offline state

Loss sync: Synchronization failures on either bit or Transmission-Word boundaries are not separately identifiable and cause loss-of synchronization errors.

Loss sig: Occurs when a signal is transmitted but none is being received on the same port.Frjt: If the fabric can’t process a Class 2 frame a F_RJT is returned. Frbsy: If fabric can’t deliver a class 2 frame within E_D_TOV frame will be discarded and a F_BSY returned.

Note: Loss of Sync; Loss of Signal; Enc_Out Error are expected every time user brings the port down and up (reboot host, power-cycle storage subsystem, unplug/plug cable, or portdisable/portenable etc.)

Example 2-84: The following example shows an eight port switch where port six has a high number of errors and should be examined:

sw5:admin> portErrShow frames enc crc too too bad enc disc link loss loss frjt fbsy tx rx in err shrt long eof out c3 fail sync sig -------------------------------------------------------------------------------- 0: 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1: 2.5m 38 0 0 0 0 0 2 0 0 1 1 0 0

The Official SupportShow Command Reference Guide 2-165

Page 190: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

2: 0 0 0 0 0 0 0 0 0 0 0 1 0 0 3: 95k 15k 0 0 0 0 0 3 0 0 1 0 0 0 4: 0 0 0 0 0 0 0 0 0 0 0 1 0 0 5: 0 0 0 0 0 0 0 0 0 0 0 1 0 0 6: 61k 48 2 15 0 0 0 3k 0 0 2 0 0 0 7: 0 0 0 0 0 0 0 0 0 0 0 1 0 0

Example 2-85: Consistent trace eample: portErrShow

frames enc crc too too bad enc disc link loss loss frjt fbsy tx rx in err shrt long eof out c3 fail sync sig --------------------------------------------------------------------- 0: 43m 107m 0 0 0 0 0 38 0 76 84 17 0 0 1: 35m 107m 0 0 0 0 0 39 0 75 111 17 0 0 2: 70m 29m 0 0 0 0 0 1.6k 0 9 5 9 0 0 3: 10m 7.3m 0 0 0 0 0 95k 33 0 21 30 0 0 4: 3.0m 2.0m 0 0 0 0 0 0 22 1 15 22 0 0 5: 1.3m 859k 0 0 0 0 0 0 35 2 16 18 0 0 6: 108m 36m 0 0 0 0 0 8 70 0 10 13 0 0 7: 8.3m 5.0m 0 0 0 0 0 0 29 0 23 27 0 0 8: 8.3m 5.0m 0 0 0 0 0 0 20 4 516 519 0 0 9: 0 0 0 0 0 0 0 0 0 0 0 3 0 0 10: 103k 69k 0 0 0 0 0 7 70 0 11 14 0 0 11: 8.1m 4.8m 0 0 0 0 0 0 35 12 42 50 0 0 12: 80m 10m 0 0 0 0 0 54 0 0 28 7 0 0 13: 8.7m 20m 0 0 0 0 0 133 0 0 16 19 0 0 14: 23m 46m 0 0 0 0 0 37 0 826 107 20 0 0 15: 21m 47m 0 0 0 0 0 38 0 888 140 20 0 0

Statistical error depicted here could be since the last reboot and indicate devices being plugged in/ out and set up/ configuration work that occurred. Use portstatsclear <port #> to clear all the errors to the left of disc c3 on the same quad as specified port number. If the errors rapidly rise, look for a physical media problem. Statistically, enc_out errors alone imply cables, enc_out & crc_err combo implies GBIC/ SFP.

If the error counters continue to rise, move cable to another port. If the problem follows the cable then suspect a faulty cable or attached media (GBIC/SFP/HBA and/or HBA driver). If the problem disappears, run crossporttest with a loopback plug in online/verbose mode to determine if the GBIC/SFP or port is faulty. Crossporttest, spinsilk and portloopback tests can also be run offline, internally looped to test port / ASIC.

These statistical counters are based on the FC standards bit error rate (BER).

Bit error rate of 10^-12 to 10^-15! At 10^-12 and 1Gbps, that’s one bit error every 16 minutes! At 10^-15 and 1Gbps, that’s one bit error every 16,000 minutes (10 days)

Note: “Abnormally high ENC_OUT errors” - It has been observed that during an ISL cable pull, the portErrShow for the port displays the Encoding Out errors in the millions. This situation occurs when a link is between a 1 Gb/sec port and an auto negotiate port. The reason is - when a port is capable to transmit at 2Gbps, the port register in the hardware is configured to 2 Gb/sec This register also controls the receiver speed. Therefore, when a 1Gbps signal is received and the speed negotiation is transmitting at 2 Gb/sec, this mismatch will generate lots of encoding-out errors. Therefore the 'enc-out' parameter can no longer be used to determine a potential marginal-link issue unless a baseline is established using portstatsclear command after speed negotiation occurs. There is no Auto-negotiation code in v2.x (it's a 1Gbit/sec only capable switch).

2-166 The Official SupportShow Command Reference Guide

Page 191: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

v4.2 Example Output:

Example 2-86: porterrshow: frames enc crc too too bad enc disc link loss loss frjt fbsy tx rx in err shrt long eof out c3 fail sync sig ===================================================================== 0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1: 1.3m 813k 0 0 0 0 0 1.3k 0 0 0 0 0 0 2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5: 0 0 0 0 0 0 0 24 0 0 0 1 0 0 6: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10: 0 0 0 0 0 0 0 0 0 0 0 1 0 0 11: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 14: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16: 0 0 0 0 0 0 0 0 0 0 0 1 0 0 17: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 19: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <OUTPUT TRUCATED>121: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 122: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 123: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 124: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 125: 0 0 0 0 0 0 0 0 0 0 0 1 0 0 126: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127: 576k 1.1m 0 0 0 0 0 145 0 0 0 0 0 0

The Official SupportShow Command Reference Guide 2-167

Page 192: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

portflagsshowAvailable in Fabric OS versions: allVersion Differences: This command behaves the same in all versions with one exception. Some versions do not have

embedded port information (maximum port number +1).Troubleshooting Use: Use this command for the initialization state of the switch port

The portFlagsShow command displays the initialization process that a switch port goes through (read from right to left) along with the port state and status of switch port.

In the portFlagsShow output in the read out below shows the port going active (ACCEPT & LED), then it sees NOELP and the LOGIN process begins – U_Port send out LIPs, if no response go through Fabric initialization process and become a G_Port, send out ELP’s, if FLOGI received it become a F_Port. If the device is a private storage device it does not FLOGI put still registers a FLOGI to indicate it went through the process and timed out. In the case of a private storage.

v3.0.2c Example Output:

portFlagsShowPort SNMP Physical Flags------------------------------- 0: Online In_Sync PRESENT ACTIVE E_PORT T_PORT G_PORT U_PORT LOGIN LED 1: Online In_Sync PRESENT ACTIVE E_PORT T_PORT T_MASTER G_PORT U_PORT LOGIN LED 2: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 3: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 4: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 5: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 6: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 7: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 8: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 9: Offline No_Light PRESENT U_PORT LED 10: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 11: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 12: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 13: Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT 14: Online In_Sync PRESENT ACTIVE E_PORT T_PORT G_PORT U_PORT LOGIN LED 15: Online In_Sync PRESENT ACTIVE E_PORT T_PORT T_MASTER G_PORT U_PORT LOGIN LED 16: Online UNKNOWN PRESENT ACTIVE U_PORT

Port 16 above represents the domain controller. The information depicted here is very much like switchshow port state information (online, in_sync…F_Port L_Port = FL_Port or F_Port without the L_Port = F_Port). Here, like switchshow, you can see which port became the trunk master. What you also see here is the port initialization process as read from right to left. In the portFlagsShow output above, reading from right to left, you can see the port going active (ACCEPT & LED), then it sees NOELP and the LOGIN process begins – U_Port send out LIPs, if no response go through Fabric initialization process and become a G_Port, send out ELP’s, if FLOGI received it become a F_Port. If the device is a private storage device it does not FLOGI put still registers a FLOGI to indicate it went through the process and timed out. In the case of a private storage device, switch probes the device to get it into the name server. The information to the right of U_PORT is internal switch information.

2-168 The Official SupportShow Command Reference Guide

Page 193: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

v4.2 Example Output:

Example 2-87: portflagsshow:Slot Port SNMP Physical Flags------------------------------------ 1 0 Offline No_Module PRESENT U_PORT LED 1 1 Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGICAL_ONLINE LOGIN NOELP LED ACCEPT 1 2 Offline No_Module PRESENT U_PORT LED <trucated output>

8 12 Offline No_Module PRESENT U_PORT LED 8 13 Offline No_Module PRESENT U_PORT LED 8 14 Online In_Sync PRESENT ACTIVE F_PORT G_PORT U_PORT LOGICAL_ONLINE LOGIN NOELP LED ACCEPT 8 15 Offline No_Module PRESENT U_PORT LED 9 0 Offline No_Module PRESENT U_PORT LED 9 1 Offline No_Module PRESENT U_PORT LED 9 2 Offline No_Module PRESENT U_PORT LED 9 3 Offline No_Module PRESENT U_PORT LED 9 4 Offline No_Light PRESENT U_PORT LED 9 5 Offline No_Module PRESENT U_PORT LED 9 6 Offline No_Module PRESENT U_PORT LED 9 7 Offline No_Module PRESENT U_PORT LED 9 8 Offline No_Module PRESENT U_PORT LED 9 9 Offline No_Module PRESENT U_PORT LED 9 10 Offline No_Light PRESENT U_PORT LED 9 11 Offline No_Module PRESENT U_PORT LED 9 12 Offline No_Module PRESENT U_PORT LED 9 13 Offline No_Module PRESENT U_PORT LED 9 14 Offline No_Module PRESENT U_PORT LED 9 15 Offline No_Module PRESENT U_PORT LED 10 0 Offline No_Module PRESENT U_PORT LED 10 1 Offline No_Module PRESENT U_PORT LED 10 2 Offline No_Light PRESENT U_PORT LED 10 3 Offline No_Module PRESENT U_PORT LED 10 4 Offline No_Module PRESENT U_PORT LED 10 5 Offline No_Module PRESENT U_PORT LED 10 6 Offline No_Module PRESENT U_PORT LED 10 7 Offline No_Module PRESENT U_PORT LED 10 8 Offline No_Module PRESENT U_PORT LED 10 9 Offline No_Module PRESENT U_PORT LED 10 10 Offline No_Module PRESENT U_PORT LED 10 11 Offline No_Module PRESENT U_PORT LED 10 12 Offline No_Module PRESENT U_PORT LED 10 13 Offline No_Light PRESENT U_PORT LED 10 14 Offline No_Module PRESENT U_PORT LED 10 15 Online In_Sync PRESENT ACTIVE F_PORT L_PORT U_PORT LOGICAL_ONLINE LOGIN NOELP LED ACCEPT

The Official SupportShow Command Reference Guide 2-169

Page 194: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

portLogDumpAvailable in Fabric OS versions: ALLVersion Differences: Per logical switch - VxWorks switches have 1024 lines of output, Linux switches have 8000

lines.See the portlogdump reference guide for more information.Troubleshooting Use: The output of this command captures device to switch, switch to device and switch control

information. Use the output to detect timeout problems, device bouncing on and off, protocol problems, misbehaving fabric devices, initialization problems, and marginal links. Because of the limited lines of entry you may have to clear the portlog before forcing a suspected device to log into the fabric. See the portlogdump reference guide for information about how to interpret the output. Portlogdump outputs can be disabled using the configure command.

Note: See additional non-supportshow portlogshow along with the portlogdump decoding reference guide for additional information.

Use this command to display the port log, listing all entries in the log without page breaks. This command displays the same information as portLogShow, but portLogShow prompts the user to enter “returns” between each page.

If the port log is disabled, the following message appears as the first line (see portLogClear for details):

WARNING: port log is disabled

v4.2 Example Output: Example 2-45: portlogdumptime task event port cmd args-------------------------------------------------22:20:37.735 SPEE sn 10 WS 00000000,00000000,00000000 22:20:37.736 SPEE sn 10 WS 000000ee,00000000,00000000 22:20:37.746 SPEE sn 10 WS 00000001,00000000,00000000 22:20:38.016 SPEE sn 10 NC 00000002,00000000,00000001 22:20:38.017 LOOP loopscn 10 LIP 800222:20:38.027 LOOP loopscn 10 LIP f7f722:20:38.027 PORT Tx3 10 12 22000000,00000000,ffffffff,1101000022:20:38.029 PORT Rx3 10 12 22000000,00000000,ffffffff,1101000022:20:38.029 LOOP loopscn 10 LIM 022:20:38.029 PORT Tx3 10 20 22000000,00000000,ffffffff,1102000022:20:38.030 PORT Rx3 10 20 22000000,00000000,ffffffff,1102000022:20:38.030 PORT Tx3 10 20 22000000,00000000,ffffffff,1103000022:20:38.037 PORT Rx3 10 20 22000000,00000000,ffffffff,1103000022:20:38.037 PORT Tx3 10 20 22000000,00000000,ffffffff,1104000022:20:38.039 PORT Rx3 10 20 22000000,00000000,ffffffff,1104000022:20:38.039 PORT Tx3 10 20 22000000,00000000,ffffffff,1105010022:20:38.040 PORT Rx3 10 20 22000000,00000000,ffffffff,1105010022:20:38.041 LOOP loopscn 10 LIP 801722:20:38.047 LOOP loopscn 10 LIP f7f722:20:38.047 INTR pstate 10 LF222:20:38.051 INTR pstate 10 OL222:20:38.057 INTR pstate 10 LR322:20:38.057 INTR pstate 10 AC22:20:38.057 PORT scn 10 1122:20:38.186 PORT scn 10 1

<Output Truncated>

2-170 The Official SupportShow Command Reference Guide

Page 195: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portloginshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display port login information.

Use this command to display port login information. The portloginshow command logs 3 types of logings: fe = Fabric login to Fabric F_Port - end devices have to log into the fabric (FLOGI) before they can communicate to any other fabric end nodes; ff = PLOGI or port login – after end devices FLOGI they will PLOGI into the Name Server then register information about themselves and if they are initiators they will also query for a list of fabric devices, initiators will also register to receive RSCNs using and SCR to the Fabric Controller (FFFFFD) after this PLOGI; fd=FDISK used when an initiator receives an RSCN and wants to determine the current state of the target that caused the RSCN. If current login session to target is valid, initiator can continue operations with affected target, if possible – if not possible initiator can attempt to re-login to affected port. If login to affected port not possible initiator can implicitly log out of affected port thereby freeing resources. The lines of the diplay include:

Type of login:

• fe FLOGI, Fabric Login to Fabric F_Port.• ff PLOGI, Process Login to specific N- Ports or well-known address like Name Server.• fd FDISC, Virtual N_Port login.

• PID The port's 24-bit D_ID.• WWN The port's Worldwide Name.• credit The credit for this login as appropriate, this is BB (Buffer to Buffer) Credit for FLOGIs and EE (End to End)

Credit for PLOGIs.• df_sz The default frame size for this login.• cos Class of Services supported. This can be a combination of the following bits.

• 8 Class of Service includes class 2.• 10 Class of Service includes class 3.

There is further information about the login after the above columns. This can include the DID (Destination Identifier) that the port is logged on to.

Example 2-46: :switch:admin> portloginshow 23Type PID World Wide Name credit df_sz cos=====================================================fe 201700 21:00:00:e0:8b:05:a3:c9 3 2048 8 scr=1ff 201700 21:00:00:e0:8b:05:a3:c9 0 0 8 d_id=FFFC20ff 201700 21:00:00:e0:8b:05:a3:c9 0 0 8 d_id=FFFFFC

Note: In the above example, port with decimal area 23 (HEX area 17) on domain 32 has logged into fffffe with a FLOGI to the F_port also called Fabric Login. Port 23 also did a PLOGI to FFFC20 (domain 32 embedded port also called switch id or domain controller) and FFFFFC (Name/Directory Server).

Example 2-88: Supportshow Example 2 (from v4.2 supportshow with host (slot1/port1) and then storage attached):portloginshow 1 1:Type PID World Wide Name credit df_sz cos===================================================== fe 010100 10:00:00:00:c9:29:06:7d 64 2048 c scr=3 ff 010100 10:00:00:00:c9:29:06:7d 12 2048 c d_id=FFFFFC

The Official SupportShow Command Reference Guide 2-171

Page 196: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Note: Note that the device on slot 1, port 1(area 01), domain 1 has port logged into FFFFFC and done an SCR of type 3 (full registration): 0– Reserved; 1 – (Fabric Detected Registration) Register to receive all RSCN requests issued by the Fabric Controller for events detected by the fabric; 2 – (N_Port Detected

Registration) Register to receive all RSCN requests issued by the Fabric Controller for events

detected by the affected N_Port or NL_Port; 3– (Full Registration (1 and 2)) Register to receive

all RSCN requests issued by the Fabric Controller for events detected by the affected N_Port ID pages

portloginshow 10 15:Type PID World Wide Name credit df_sz cos===================================================== fe 017fe8 21:00:00:20:37:15:18:08 0 2112 8 fe 017fe4 21:00:00:20:37:42:66:2d 0 2112 8 fe 017fdc 21:00:00:20:37:42:43:b1 0 2112 8 fe 017fd3 21:00:00:04:cf:62:04:b2 0 2112 8 fe 017fd5 21:00:00:04:cf:62:07:58 0 2112 8 fe 017fd4 21:00:00:04:cf:4c:ef:ee 0 2112 8 fe 017fd2 21:00:00:04:cf:62:0c:05 0 2112 8 fe 017fd1 21:00:00:04:cf:4c:e6:6b 0 2112 8 fe 017fda 21:00:00:20:37:15:0b:bc 0 2112 8 fe 017fe1 21:00:00:20:37:e6:8e:3e 0 2112 8 fe 017fe0 21:00:00:20:37:42:66:3e 0 2112 8 fe 017fd9 21:00:00:20:37:42:5f:da 0 2112 8 fe 017fd6 21:00:00:20:37:15:09:c3 0 2112 8 fe 017fe2 21:00:00:20:37:e6:9a:b9 0 2112 8 fe 017fef 21:00:00:20:37:e6:9a:cb 0 2112 8 ff 017fe8 21:00:00:20:37:15:18:08 0 0 8 d_id=FFFFFC ff 017fe4 21:00:00:20:37:42:66:2d 0 0 8 d_id=FFFFFC ff 017fdc 21:00:00:20:37:42:43:b1 0 0 8 d_id=FFFFFC ff 017fd3 21:00:00:04:cf:62:04:b2 0 0 8 d_id=FFFFFC ff 017fd5 21:00:00:04:cf:62:07:58 0 0 8 d_id=FFFFFC ff 017fd4 21:00:00:04:cf:4c:ef:ee 0 0 8 d_id=FFFFFC ff 017fd2 21:00:00:04:cf:62:0c:05 0 0 8 d_id=FFFFFC ff 017fd1 21:00:00:04:cf:4c:e6:6b 0 0 8 d_id=FFFFFC ff 017fda 21:00:00:20:37:15:0b:bc 0 0 8 d_id=FFFFFC ff 017fe1 21:00:00:20:37:e6:8e:3e 0 0 8 d_id=FFFFFC ff 017fe0 21:00:00:20:37:42:66:3e 0 0 8 d_id=FFFFFC ff 017fd9 21:00:00:20:37:42:5f:da 0 0 8 d_id=FFFFFC ff 017fd6 21:00:00:20:37:15:09:c3 0 0 8 d_id=FFFFFC ff 017fe2 21:00:00:20:37:e6:9a:b9 0 0 8 d_id=FFFFFC ff 017fef 21:00:00:20:37:e6:9a:cb 0 0 8 d_id=FFFFFC

Note: Note that each of the ALPAs on decimal area 127 (slot 10, port 10) did a fe type loging (FLOGI) along with an ff type login (PLOGI) to the name server (FFFFFC).

2-172 The Official SupportShow Command Reference Guide

Page 197: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portRegshowAvailable in Fabric OS versions: AllTroubleshooting Use: This is primarily an internal use only command but there is a portion at the end of the output

that have information useful to understand virtual credit and bb credit usage. Use when error messages indicate lack of buffer credits - check tx and rx buffer credits

The first part of portregshow output is ASIC specific it shows ASIC registers at bit values. ASIC specifications needed to decipher. The output generated by transmit credit count (tcc) per VC and receive credit count (rcc) per VC could be useful. If the values (rcc and tcc) of associated ports are zero (as shown here), then either the port has not initialized (as in this case – no device connected) or the buffer to buffer credit allocated to that port has been used up (there would be error messages in errdump output).

0x81010080: tcc_vc 0 0 0 0 0 0 0 0 0x81010090: rqc_vc 0 0 0 0 0 0 0 0

Example 2-89: portRegShow 00x81000000: chip_id 0x104 0x81000002: port_config 0xa380x81000004: vc_mapping 0x800 0x81000008: int_mask 0x274f0x8100000a: int_status 0x1020 0x8100000c: cmi_err 0x20x8100000e: vc_config 0xc0 0x81000010: buf_error 0x00x81000014: mem_bufline 0xc620c62 0x81000018: mem_ctl 0x080000940x8100001a: mem_offset 0xc 0x8100001c: port_ctl 0x00x8100001e: quad_imask 0x400f 0x81000020: port_addr 0xb00000x81000024: lli_status 0x140000 0x81000028: lli_ctl 0x801800x8100002c: lli_def 0x140000 0x81000030: lli_mask 0x319e00070x81000034: prescaler0 0x8 0x81000036: tod0 0x11d0x81000038: toc0 0xb 0x8100003a: toc1 0xd0x8100003c: toc_ctl 0x0 0x81000044: putq_stat 0xffffffff0x8100004c: flist_stat 0x2602bc 0x81000054: tolist_stat 0xffffffff0x8100005c: plist_stat 0xffffffff0x81000064: cflist_stat 0xb008b0x8100006c: aulist_stat 0xffffffff0x81000070: tfr_ctl 0x21000x81000072: tfr_status 0x2100 0x81000074: min_free 0x720x81000076: avail_mbuf 0x1b4 0x81000078: cmi_stat 0x00x8100007c: lli_flag 0x0 0x810000a0: quad_istat 0x00x810000a2: chip_no 0x0 0x810000a4: led 0x10x810000a6: debug 0x0 0x810000aa: fbpc 0x00x810000ae: tcci 0x0 0x810000d0: fm_thrsh 0 255 15 10x810000d8: holdoff_toc 0x0 0x810000da: holdoff_fc 0x00x81000180: link_tblMsk 0xfff 0x81002850: r2t_qctl 0x1f9800000x81002854: port2vc 0x7df0b1a 0x810028a0: share_buf 0x52(82)0x810028a4: b_rdy_stat 0x1f 0x810028a8: b_rdy_mask 0x00x810028ac: b_rdy_ctl 0x0 0x810028b0: tachometer 0x420x810028b8: button 0x400f 0x810028ba: Reset/NMI 0x00x810028bc: lcd 0xd0 0x810028be: gbic 0x00x81002900: bzio_status 0x153 0x81002904: bzio_ctl 0x341530x81002908: tstmode_ctl 0x0 0x8100290c: pll_ctl 0x1e0x81002910: lvbis_ctl0 0x24 0x81002914: lvbis_ctl1 0x00x81002918: lvbis_stat0 0x0 0x8100291c: lvbis_stat1 0x30000x81002920: flare_data0 0xfdb09ff40x81002924: flare_data1 0x6f180x81002928: cam_pat0 0x0 0x8100292c: cam_pat1 0x00x81002c04: loop_config 0x0 0x81002c08: loop_ctl 0x00x81002c0c: loop_status 0x1 0x81002c10: loop_imask 0x40x81002c14: loop_osctl 0xbc15f7f70x81002c18: lli_mrkpbe 0x5fff000x81002c1c: loop_lip 0xf7f7 0x81002c20: prescaler1 0xc000c0x81002c24: tod1 0x3 0x81002c28: piq_stat 0x00x81002c30: alpa_avail 00000000 00000000 00000000 000000000x81002c60: test_ctl 0x6 0x81002c64: less_n 0x00x81002c68: more_n 0x0 0x81002c78: link_rt_tmr 0x00x81002c80: ram_test 3030 3030 3030 3030 3030 3030 00300x81002c78: link_rt_tmr 0x0 0x81002c90: rtest_ctl 0x2b0300

The Official SupportShow Command Reference Guide 2-173

Page 198: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

0x81002c94: rtest_addr 0x0 0x81002c98: rtest_rpat 0x00x81002c9c: rtest_wpat 0x0 0x81002ca0: rtest_mask 0x00x81002ca4: port_speed 0xfffb0x81002ca8: trunk_ctl 0x990x81002cac: deskew_tmr 0x10 0x81002cb0: epi1_mask 0x11b0x81002cb2: epi1_stat 0x40 0x81002cb4: epi2_mask 0xf0x81002cb6: epi2_stat 0x0 0x81002cc4: listA_stat 0xffffffff0x81002ccc: listB_stat 0xffffffff0x81002cdc: listD_stat 0xffffffff0x81002ce0: tfrq_perCtl 0x1fff 0x81002ce2: tfrq_perSta 0x00x81002ce4: r2tq_perCtl 0x1f 0x81002ce6: r2tq_perSta 0x00x81002ce8: stat_csr 0x0 0x81002cec: flt_per_ctl 0x3f0x81002cf0: flt_perStat 0x0 0x81002cf4: phan_perCtl 0x70x81002cf8: phan_perSta 0xc600 0x81002cfc: quad_ctl 0x00x81002d00: rsv_mbfIsta 0xff 0x81002d02: rsv_mbfImsk 0x00x81002d04: frzfrm_bufn 0x89 0x81002d08: vc_xlTxptMd 0x00x81002d0c: vc_xlCtl 0x0 0x81002d0e: vc_xlParam 0x00x81002d10: skew_tod 0x1d43973 0x81002d14: time_stamp 0x78084340x81002d18: frtrk_fail0 0x0 0x81002d1c: frtrk_fail1 0x00x81002d20: minstck_sta 0xfff01ff 0x81002d24: faildet_ctl 0xf370x81002d26: frmtrk_mode 0x200 0x81002d28: frmtrk_ctl 0xffff0x81002d2a: faildet_pct 0x7 0x81002d2c: faildet_pst 0x00x81002d2e: frtrk_ptSta 0x0 0x81002d30: q_dbg_ctl 0x00x81005480: listA 0x52f0 0x81005484: listB 0x70x81005488: frozen 0x78000 0x8100548c: discard 0x1001000x81005490: forward 0x282c08 0x810054a0: lun_offset0 0x404040400x810054a4: lun_offset1 0xff 0x810054a8: grp_update 0x00x810054ac: grp_data 0x1 0x810054b0: priority 0x7fffffff0x810054c0: frzfrm_cam 0x9ffff 0x810054c4: frzfrm_sidf 0x80b03000x810054c8: frzfrm_did 0xf0b00 0x810054cc: frzfrm_lun 0x70707070x810054d0: frzfrm_flt 0x300800 0x81000080: tcc_vc 4 0 5 5 5 5 1 10x81000090: rqc_vc 0 0 0 0 0 0 0 00x810000b0: rct_vc 1 1 1 1 1 1 1 10x810000c0: rcc_vc 0 0 0 0 0 0 0 00x81002800: desired_buf 26 , embedded port: 20x81002820: busy_buf 1 , embedded port: 10x81002840: alloc_buf 26 , embedded port: 20x81002860: busy_mini 2 , embedded port: 10x81002880: mini_alloc 208, embedded port: 17

What do the different fields at the end of this output mean?

Port 0 of this trace is a non-trunk master trunk port. The bold items above represent Virtual channel allocations and buffer credit information for this non-trunk master port. There are 8 virtual channels (vc’s), 0 – 7 that optimize communication across an ISL. The information to the right of *_vc above displays the current vc allocations for these virtual channels on this ISL. VC 0, the link control vc, is allocated 4 buffer credits and so on:

Virtual credits are read in columns from left to right:

VC0 = 0 Control - For Link Control FramesVC1 = 1 Control - For Class 2 ACKs and Link Control FramesVC2 = 2 Data VC3 = 2 DataVC4 = 2 DataVC5 = 2 DataVC6 = 3 Admin/housekeeping - For Multicast trafficVC7 = 3 Admin/housekeeping - For Broadcast traffic

Communication from ports across this ISL is assigned to VCs based on the last two bits of the middle byte of the 24-bit address. There are four possible combinations, 00, 01, 10 and 11. These correspond to VC2, 3, 4 and 5 respectively.

tcc and rcc mean transmit credit counter and receive credit counter for each VC (Virtual Channel)

2-174 The Official SupportShow Command Reference Guide

Page 199: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

rqc_vc mean receive credit queue ctr for each VC

rct_vc mean receive credit clear threshold for each VC

Desired_buff is the desired buffers for this port in this case 16, embedded port allocated 2

Busy_buf’s represent link control buffers.

Alloc_buf represent the buffers actually allocated, there are 16 reserved buffers guaranteed to each port but because this is an E_Port 26 are allocated. Read the alloc_bufs parameter (Allocated Buffers) to determine the number of buffers allocated to each port in the quad. The first value is for the highest-numbered port in the quad, and the fourth value indicates the lowest-numbered port in the quad. In the example above, the ports for this quad (ports 8 through 11 on slot 7) each have 26 buffers allocated.

Busy_mini buffers represent smaller/ back end buffers that are managed by the ASIC to make efficient buffer usage for small frames. There are multiple mini buffers in each full size buffer. The embedded port = 1 represents the smaller/ back end “busy” buffers allocated to the embedded port.

Mini_alloc represent the actual number of smaller/ back end buffers allocated for this port and embedded port = 17 represents the smaller/ back end buffers allocated to the embedded port.

How does it work?

There are total of 112 full size frame buffers in each quad. The embedded port uses two of them so the firmware can send frames. Other link control functions use 2 more, also to process frames. Among those 108 buffers remaining, some of them are reserved for each port and the rest are shared by all.

We reserve sixteen buffers for each F_Port or FL_Port (that’s the bb credit we advertise). If all four ports in the chip are Fx_Ports then, sixty-four buffers are reserved for advertised bb credit value. The remaining forty-six buffers are shared among all ports. These reserved buffers are called “Desired_buff”.

We reserve twenty-six buffers for each E_Port (distributed among eight virtual channels) so if all four ports in a chip are E_Port, then there are only two buffers that can be shared.

When a frame arrives at the receiving port, the switch always tries to allocate a sharable buffer first. Once a sharable buffer is found for the frame, the switch returns the R_RDY immediately before the actual frame is consumed (i.e. sent out of the transmit port). In this way, non of the bb credit buffers are used, therefore more frames can be received than the actual bb credit value advertised before they are shipped out of the switch. If no sharable buffer can be found, then the switch consumes one of the reserved buffers to hold the frame. In this case, an R_RDY will not be sent back until that frame leaves the switch (i.e. buffer is released).

v4.2 Example Output:

Example 2-90: v4.2 output from host port (slot 1/ port 1) and storage port (slot 10/ port 15) associated with portlogin information in Example 2-88portregshow 1 1:0xd2d5f000: chip_id 02040xd2d5f002: port_config 0a3a<output truncated>0xd2d644d0: frzfrm_flt 008000000xd2d5f080: tcc_vc 0 0 0 0 0 0 0 63 0xd2d5f090: rqc_vc 0 0 0 0 0 0 0 0 0xd2d5f0b0: rct_vc 1 1 1 1 1 1 1 1 0xd2d5f0c0: rcc_vc 0 0 0 0 0 0 0 0 0xd2d61800: desired_bufs 0 0 16 0 2 0xd2d61820: busy_bufs 0 0 1 0 1 0xd2d61840: alloc_bufs 0 0 16 0 2 0xd2d61860: busy_mini 0 0 2 0 1 0xd2d61880: mini_allocated 0 0 128 0 17

portregshow 10 15:0xd3ce34d0: frzfrm_flt 008000000xd3cde080: tcc_vc 0 0 0 0 0 0 0 0 0xd3cde090: rqc_vc 0 0 0 0 0 0 0 16

The Official SupportShow Command Reference Guide 2-175

Page 200: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

0xd3cde0b0: rct_vc 1 1 1 1 1 1 1 1 0xd3cde0c0: rcc_vc 0 0 0 0 0 0 0 16 0xd3ce0800: desired_bufs 16 0 0 0 2 0xd3ce0820: busy_bufs 1 0 0 0 1 0xd3ce0840: alloc_bufs 16 0 0 0 2 0xd3ce0860: busy_mini 2 0 0 0 1 0xd3ce0880: mini_allocated 128 0 0 0 17

2-176 The Official SupportShow Command Reference Guide

Page 201: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portRouteShowAvailable in Fabric OS versions: AllTroubleshooting Use: Use this command to display various routing tables for a port

This command displays the port address ID and the following port routing tables contents:external unicast routing table:This table shows how a unicast frame will be routed to another switch element in the Fabric. The format of the output is a list of “domain_number: ports_bitmap”. The domain_number is the switch element number that a unicast frame can reach from the port_number port. The ports_bitmap contains all output port numbers, in bitmap hex format, that can forward unicast frames from port_number to domain_number.For any active port, this table contains at least one entry:local_switch_domain_number: 0x10000

This is for routing unicast frames designated to the embedded port of the local switch element.internal unicast routing table:

This table lists all ports in the local switch that a unicast frame can reach from port_number. The format for each entry is: destination_port: output_ports_bitmap. Since the destination_port is in the local switch, output_ports_bitmap usually only contains one bit whose bit position number represents the destination_port number.

multicast routing table:This table shows how a multicast frame will be to the destination multicast group. The format of the output is a list of “mcast_group_number: (mcast_group_id) ports_bitmap”, where mcast_group_number if the multicast group number, mcast_group_id is the multicast frame’s destination ID, and the ports_bitmap is a hex bitmap of all output port numbers that can forward a multicast frame from the port_number to mcast_group_id.

broadcast routing table:This is actually a bitmap, listing all ports that a received broadcast frame can reach. Bit 16 of the bitmap is always set so that the switch element will always receive broadcast frames.

Example 2-91: portRouteShow 0port address ID: 0x0b0000external unicast routing table: 7: 0x8000 11: 0x10000 17: 0x8000internal unicast routing table: 1: 0x2 2: 0x4 3: 0x8 4: 0x10 5: 0x20 6: 0x40 7: 0x80 8: 0x100 10: 0x400 11: 0x800 12: 0x1000 13: 0x2000multicast routing table: 0-255: (all mcast aliases) 0x8000broadcast routing table: 0x10000

The Official SupportShow Command Reference Guide 2-177

Page 202: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

v4.2 Example Output:

Example 2-92: v4.2 host (slot 1/ port 1) and storage (slot 10/ port 15) output associated withExample 2-88 and Example 2-90.portrouteshow 1 1:port address ID: 0x010100external unicast routing table: 1: 0x10000 (vc=0)internal unicast routing table: 1: 0x40 (vc=3) 94: 0x8 (vc=2) 127: 0x800 (vc=2)broadcast routing table: 0x10000

Note: portrouteshow 1 1 and 10 15 both show internal routing from ports 1 and 127 respectively to ports 1, 94, and 127 on the same switch. Ports 1 and 64 have hosts attached, port 127 has a JBOD attached.

portrouteshow 10 15:port address ID: 0x017f00external unicast routing table: 1: 0x10000 (vc=0)internal unicast routing table: 1: 0x200 (vc=4) 94: 0x4 (vc=4) 127: 0x1000 (vc=5)broadcast routing table: 0x10000

2-178 The Official SupportShow Command Reference Guide

Page 203: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portSemShow

Note: For internal debugging purposes only.

Available in Fabric OS versions: v3.0, v3.1, v3.1.2Version Differences:v4.2 Example Output: N/AAdditional Example/Case Studies:Troubleshooting Use: Use this command when experiencing sluggishness or timeout issues.

Some tasks require one event to be finished before another begins (switch initialization process) and some require exclusive access because what is being processed directly affects related processes. For example: If something takes the port 0 semaphore to access the ASIC and there is an incoming frame to the ASIC at the same time, an interrupt is generated to try to get the port 0 semaphore to the ASIC. But the first task owns it, so a timeout value could be exceeded.

To understand this focus on external behavior: If a device does a FLOGI, it expects and accepts back within a certain time period. Each initiated task has an associated time stamp. This time stamp difference must be less than E_D_TOV.

Example 2-93: keeps a running log of semaphore information portSemShow

port 0: 1 p0sem max:150 tThad Id 0x102faf50 MUTEX owner: none queued_tasks: nonetThad was blocked for 150 ms by tReceive (85) at 03:38:02.783_vxTaskEntry + 0x10 (0x10731174)_portRxTask + 0x128 (0x10466c28)_bloomReceive + 0x5e8 (0x10495cc8)_bloomFault + 0x40 (0x1049fc00)_bloomTaskDelay + 0x18 (0x104a8ac8)_taskDelay + 0x98 (0x1077b8a8)tTransmit was blocked for 16 ms by tReceive (95) at 03:00:33.899_vxTaskEntry + 0x10 (0x10731174)_portRxTask + 0x128 (0x10466c28)_bloomReceive + 0x64 (0x10495744)_iuMalloc + 0x14 (0x10559c24)_memAlloc + 0x164 (0x10571c54)_semTake + 0x48 (0x10779208)_semMTake + 0x138 (0x10779b98)

port 1: 1 p1sem max:17 tReceive Id 0x102faec0 MUTEX owner: none queued_tasks: nonetReceive was blocked for 17 ms by tThad (160) at 08:49:51.316_vxTaskEntry + 0x10 (0x10731174)_thad + 0x84 (0x105bc414)_thaCheck + 0x74 (0x105bd2f4)_thCheck + 0x38 (0x105baf18)_eportAgentAreaValidAct + 0xe54 (0x1059a8c4)_portGet + 0x144 (0x105b8484)_portLESB + 0x34 (0x104751f4)_zoneStateShow + 0xc88 (0x10474258)

Note: Notice that tTransmit was blocked for 17 ms by tRTZone. Make sure zoning updates are in place before data is transferred,.thus the semaphore.

port 2: 1 p2sem max:17 tTransmit Id 0x102fae30 MUTEX owner: none queued_tasks: nonetTransmit was blocked for 17 ms by tRTZone (128) at 21:27:49.766_vxTaskEntry + 0x10 (0x10731174)_cfgRealTimeTask + 0x314 (0x10517094)_newZoneVerify + 0x11a4 (0x10524414)_portIoctl + 0x13c (0x104669cc)

The Official SupportShow Command Reference Guide 2-179

Page 204: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

_bloomIoctl + 0xf70 (0x104aea90)_filterZoneTokenFree + 0x1b8 (0x104c56a8)_portReTransmit + 0x80 (0x10467760)_mqWrite + 0x30 (0x105738f0)tTransmit was blocked for 17 ms by tRTZone (128) at 21:27:49.766_vxTaskEntry + 0x10 (0x10731174)_cfgRealTimeTask + 0x314 (0x10517094)_newZoneVerify + 0x11a4 (0x10524414)_portIoctl + 0x13c (0x104669cc)_bloomIoctl + 0xf70 (0x104aea90)_filterZoneTokenFree + 0x1b8 (0x104c56a8)_portReTransmit + 0x80 (0x10467760)_mqWrite + 0x30 (0x105738f0)

<output truncated>

2-180 The Official SupportShow Command Reference Guide

Page 205: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portShowAvailable in Fabric OS versions: AllVersion Differences: Information varies with the switch model and port type.Additional Example/Case Studies:Troubleshooting Use: Use this command to display port status for a port

The display shows:

Field Descriptions

portname User assigned port nameportCFlags Port control flags.portFlags A bit map of port status flags.portType The port’s type and revision numbers. / The type of ASIC and the revision # for same. 3.1 is loom ASIC rev 1,

4.1 is a Bloom ASIC rev 1. portState The port’s SNMP state:Online - up and runningOffline - not online, portPhys gives detailsTesting - running diagnosticsFaulty - failed diagnosticsportPhys The port’s physical state:No_Card - no interface card presentNo_Module - no module (GBIC or other) presentNo_Light - the module is not receiving lightNo_Sync - receiving light but out of syncIn_Sync - receiving light and in syncLaser_Flt - module is signaling a laser faultPort_Flt - port marked faultyDiag_Flt - port failed diagnosticsLock_Ref - locking to the reference signalportScn The port’s last State Change Notification.portId The port’s 24-bit D_ID.portWwn The port’s Worldwide Name.Distance The port’s long distance level (see portCfgLongDistance)The first column of the display:Interrupts Total number of interrupts. / The total number of interrupts received - there are many different kinds of

interrupts, such as LLI, processing required, timed-out, etc - anything needing CPU attention, but they are all dealt with differently

Unknown Interrupts that are not counted elsewhere.Lli Low-level interface (physical state, primitive seqs).Proc_rqrd Frames delivered for embedded N_Port processing. /Processing required list interrupts - number of received

frames that cannot be processed by HW. Reasons can be due to invalid DID, SID, DID not in routing tables, invalid VC, class of service, etc.

Timed_out Frames which have timed out.Rx_flushed Frames requiring translation.Tx_unavail Frames returned from an unavailable transmitter.

The Official SupportShow Command Reference Guide 2-181

Page 206: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Free_buffer Free buffer available interrupts.Overrun Buffer overrun interrupts.Suspended Transmission suspended interrupts.Parity_err Real Tx data parity errors.2ndary_parity_err Secondary Tx data parity errors. These are not real Tx data parity errors but rather forced by the ASIC

due to certain central memory errors so that the transmitter will abort the frame. This field will only be displayed when there are errors.

CMI_bus_err Control message interface errors.

The second column shows Link Error Status Block counters.

The third column shows the number of F_RJTs and F_BSYs generated. For L_Ports, the third column also shows the number of LIPs received, number of LIPs transmitted, and the last LIP received.

v4.2 Example Output:

Example 2-47: portshow 1 10:portCFlags: 0x1 ENABLEDportFlags: 0x23805b PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPTportType: 4.1 / The type of ASIC and the revision # for same. 3.1 is loom ASIC rev 1, 4.1 Bloom ASIC rev 1 and so on.portState: 1Online / see Decoding Ref Guide Internal State Change Notification Table portPhys: 6In_Sync / see Decoding Ref Guide Internal State Change Notification Table portScn: 6F_Port / see Decoding Ref Guide Internal State Change Notification Table portId: 010a00portWwn: 20:0a:00:60:69:80:04:b2portWwn of device(s) connected:10:00:00:00:c9:2a:b6:3bDistance: normalSpeed: N2GbpsInterrupts: 1751 Link_failure: 12 Frjt: 0 Unknown: 18 Loss_of_sync: 1 Fbsy: 0 Lli: 43 Loss_of_sig: 1 Proc_rqrd: 1690 Protocol_err: 0 Timed_out: 0 Invalid_word: 0 Rx_flushed: 0 Invalid_crc: 0 Tx_unavail: 0 Delim_err: 0 Free_buffer: 0 Address_err: 1141 Overrun: 0 Lr_in: 7 Suspended: 0 Lr_out: 7 Parity_err: 0 Ols_in: 6 2_parity_err: 0 Ols_out: 2 CMI_bus_err: 0

Note: Note the high number of address errors, 1141. This is normal for a loop port or a port with a tape device but it is not normal for a port with an E or F_Port. These often, but not always represent a misbehaving device in the Fabric. If you suspect a problem look in the portlogdump for entries that show a device getting rejects. Because we are looking at a switch in a test environment it is probably OK.

Proc_rqrd counters might have occurred during the process of setting up the applications that will be running in this test environment. They indicate the number of received frames that cannot be processed by HW. Reasons can be due to invalid DID, SID, DID not in routing tables, invalid VC, class of service, etc. If these continue to increment this customer could begin experiencing problems.

v4.2 Example Output:

Example 2-94: Examples from supportshow associated with Example 2-88, Example 2-90 and Example 2-92 where a host port is on slot 1/ port 1 and a storage (JBOD) port is on slot 10 / port 15:

portshow 1 1:

2-182 The Official SupportShow Command Reference Guide

Page 207: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portName: portDisableReason: NoneportCFlags: 0x1portFlags: 0x24b03 PRESENT ACTIVE F_PORT G_PORT U_PORT LOGICAL_ONLINE LOGIN NOELP LED ACCEPTportType: 4.0portState: 1Online portPhys: 6In_Sync portScn: 6F_Port portId: 010100portWwn: 20:01:00:60:69:80:2d:4aportWwn of device(s) connected:

10:00:00:00:c9:29:06:7dDistance: normalportSpeed: N2GbpsInterrupts: 39998 Link_failure: 0 Frjt: 0 Unknown: 0 Loss_of_sync: 0 Fbsy: 0 Lli: 0 Loss_of_sig: 0 Proc_rqrd: 39998 Protocol_err: 0 Timed_out: 0 Invalid_word: 0 Rx_flushed: 0 Invalid_crc: 0 Tx_unavail: 0 Delim_err: 0 Free_buffer: 0 Address_err: 0 Overrun: 0 Lr_in: 0 Suspended: 0 Lr_out: 0 Parity_err: 0 Ols_in: 0 2_parity_err: 0 Ols_out: 0 CMI_bus_err: 0

portshow 10 15:portName: portDisableReason: NoneportCFlags: 0x1portFlags: 0x24b03 PRESENT ACTIVE F_PORT L_PORT U_PORT LOGICAL_ONLINE LOGIN NOELP LED ACCEPTportType: 4.0portState: 1Online portPhys: 6In_Sync portScn: 6F_Port portId: 017f00portWwn: 20:7f:00:60:69:80:2d:4aportWwn of device(s) connected:

21:00:00:20:37:15:18:0821:00:00:20:37:42:66:2d21:00:00:20:37:42:43:b121:00:00:04:cf:62:04:b221:00:00:04:cf:62:07:5821:00:00:04:cf:4c:ef:ee NOTICE LOOP OUTPUT LISTS ALL PORT WWNS FOR ALL LOOP DEVICES21:00:00:04:cf:62:0c:0521:00:00:04:cf:4c:e6:6b21:00:00:20:37:15:0b:bc21:00:00:20:37:e6:8e:3e21:00:00:20:37:42:66:3e21:00:00:20:37:42:5f:da21:00:00:20:37:15:09:c321:00:00:20:37:e6:9a:b921:00:00:20:37:e6:9a:cb

Distance: normalportSpeed: N2GbpsInterrupts: 134 Link_failure: 0 Frjt: 0 Unknown: 4 Loss_of_sync: 0 Fbsy: 0 Lli: 3 Loss_of_sig: 0 Lip_in: 0 Proc_rqrd: 127 Protocol_err: 0 Lip_out: 1 Timed_out: 0 Invalid_word: 0 Lip_Freq_Cnt: 0 Rx_flushed: 0 Invalid_crc: 0 Tx_unavail: 0 Delim_err: 0 Free_buffer: 0 Address_err: 15

The Official SupportShow Command Reference Guide 2-183

Page 208: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Overrun: 0 Lr_in: 0 Suspended: 0 Lr_out: 0 Parity_err: 0 Ols_in: 0 2_parity_err: 0 Ols_out: 0 CMI_bus_err: 0

Note: Notice the address errors on this loop port -some address errors on a loop port are normal. Notice the last column of the output has Lip information - the number of Lips out should always be greater than the number of Lips in. If devices on the loop were Lipping then the number of Lips in would be greater than the number of Lips out which could be indicative of a problem with that loop device.

2-184 The Official SupportShow Command Reference Guide

Page 209: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portstatsshowAvailable in Fabric OS versions: v3.1, v4.1v4.2 Example Output: N/A in supportshowAdditional Example/Case Studies:Troubleshooting Use: Use this command to display port hardware statistics counters.

Note: ptstatsshow is similar to portstatsshow output for v3.x switches. See portErrShow and portshow output information for additional information on parameters depicted. Here is an v3.x example output with some supporting information:

Example 2-48: v3.0:admin> portStatsShow 3stat_wtx 29597 4-byte words transmittedstat_wrx 27003 4-byte words receivedstat_ftx 1472 Frames transmittedstat_frx 1545 Frames receivedstat_c2_frx 0 Class 2 frames receivedstat_c3_frx 1545 Class 3 frames receivedstat_lc_rx 0 Link control frames receivedstat_mc_rx 1 Multicast frames receivedstat_mc_to 0 Multicast timeoutsstat_mc_tx 0 Multicast frames transmittedtim_rdy_pri 57 Time R_RDY high prioritytim_txcrd_z 12 Time BB_credit zeroer_enc_in 0 Encoding errors inside of frameser_crc 0 Frames with CRC errorser_trunc 0 Frames shorter than minimumer_toolong 0 Frames longer than maximumer_bad_eof 0 Frames with bad end-of-frameer_enc_out 10 Encoding error outside of frameser_disc_c3 31 Class 3 frames discardedopen 0 loop_opentransfer 0 loop_transferopened 0 FL_Port openedstarve_stop 0 tenancies stopped due to starvationfl_tenancy 0 number of times FL has the tenancynl_tenancy 0 number of times NL has the tenancyframe_nozone 0 frames rejected due to zone protection

Note: Notice Time BB_Credit Zero. A high value could occur for many reasons: - HBA does not have enough buffers to be able to receive 1 Gbps traffic.- Disk may not be able to handle 1 Gbps data coming at it. Switch port is buffering the data while waiting for an r_rdy from disk.- May be congestion in the Fabric, if not enough ISLs are present to accommodate the traffic that is being sent through.

If you invoke portstatsshow, you will see all portstatsshow outputs for all ports on the switch. Portstatsshow <port #> displays only one port. Pay attention to: enc, crc, trunc, toolong bad_eof; enc_out, er_disc. Unlike portShow and portErrShow outputs, the counters that generated portstatsshow statistics occur between and on interrupts.

Note: Start looking at these errors if you see the enc out going from 100, to 200, and to 300 (quickly rising values). You should see considerably less than 5% tx plus rx counters on any statistic. These errors are based on a BER (bit error rate) of 10 to the minus 12 rate for all the error commands. These BERs generate error statistics when exceeded. Unless they get really bad, they often cause timeouts in the Fabric. We recommend using Fabric Watch to monitor these error statistics, as these problems may cause production outages or slowdowns.

The Official SupportShow Command Reference Guide 2-185

Page 210: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

portstructshow

Note: For internal debugging purposes only.

Note: Implementation specific command useful to check ALPAs

Available in Fabric OS versions: v3.0, v3.1, v3.1.2 - All VxWorks switchesv4.2 Example Output: NA

Additional Example/Case Studies:Troubleshooting Use: Use this command to

Example 2-95: portStructShow 0Pt 0: port_t structp_flags:0x14028057 PRESENT ACTIVE E_PORT T_PORT G_PORT U_PORT LOGIN LEDp_lb_mode:0x0p_type:0x4p_rev:0x1p_state:0x1p_phstate:0x6p_scn:0x5p_phscn:0x1p_tick:0xap_cbl_lb:0x0p_led:0x4p_led_state:0x4p_ie_fctl_mode:0x1p_distance:0x0p_speed:0x00000002p_master:0x00000001p_mcast_lb:0x00000000p_regs:0x81000000p_data:0x101e8b30p_id:0x000b0000p_wwn:20:00:00:60:69:51:3a:bap_sem:1 p0sem max:150 tThad Id 0x102faf50 MUTEX owner:none queued_tasks:nonetThad was blocked for 150 ms by tReceive (85) at 03:38:02.783_vxTaskEntry + 0x10 (0x10731174)_portRxTask + 0x128 (0x10466c28)_bloomReceive + 0x5e8 (0x10495cc8)_bloomFault + 0x40 (0x1049fc00)_bloomTaskDelay + 0x18 (0x104a8ac8)_taskDelay + 0x98 (0x1077b8a8)tTransmit was blocked for 16 ms by tReceive (95) at 03:00:33.899_vxTaskEntry + 0x10 (0x10731174)_portRxTask + 0x128 (0x10466c28)_bloomReceive + 0x64 (0x10495744)_iuMalloc + 0x14 (0x10559c24)_memAlloc + 0x164 (0x10571c54)_semTake + 0x48 (0x10779208)_semMTake + 0x138 (0x10779b98)plogi_t:0x0p_phntm:0x0p_devbmp:0x00000000, 0x00000000, 0x00000000, 0x00000000p_newbmp:0x00000000, 0x00000000, 0x00000000, 0x00000000p_nocbmp:0x00000000, 0x00000000, 0x00000000, 0x00000000p_prbbmp:0x00000000, 0x00000000, 0x00000000, 0x00000000p_fcpbmp:0x00000000, 0x00000000, 0x00000000, 0x00000000

2-186 The Official SupportShow Command Reference Guide

Page 211: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

p_tobmp: 0x00000000, 0x00000000, 0x00000000, 0x00000000p_pfbmp: 0x00000000, 0x00000000, 0x00000000, 0x00000000p_prbtc:0x0p_x_num:0x0p_x_use:0x0p_x_acc:0x0p_x_els:0x0p_iu_fst:0x0p_iu_lst:0x0p_wdtx:0x34ae4c93p_wdrx:0x6520dc91p_wtot:0x99cf2baep_rxperf:0x0000034cp_txperf:0x00000be4p_c1ac:0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

0x00000000 0x00000000 0x00000000 0x00000000 0x00000000p_c2ac:0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

0x00000000 0x00000000p_c3ac:0x0660d233 0x0025fe67 0x000009d8 0x00000000 0x00000000p_errs:0x0000004c 0x00000054 0x00000011 0x00000000 0x00000000

0x00000000 0x00000000 0x00000000 0x00000028 0x000000120x00000012 0x0000004c

p_flers:0x00000000 0x00000041 0x00000000 0x00000000 0x000000000x00000000 0x00000000 0x00000000 0xf7f7

p_ints:0x0007b367 0x000000cf 0x000001de 0x0007b15c 0x000000000x00000000 0x00000000 0x00000000 0x00000000 0x000000000x00000000

p_conf:0x20 0x6 0xc 0x6 0x1 0x0 0x1 0x1 0x10 0x8 0x1 0x0 0x00x0010 0x0840 0x00002710 0x000007d0 0x10313010 0xc8

p_oper:0x00000000 0x0 0x00000000 0x00000010p_flog:0x0 0x0 0x0 0x0 0x0 0x0 0x0000 0x0000p_phys:0x0 0x0 0x0 0x00000000p_cap:0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

0x00000000 0x00000000 0x00000000 0x00000000 0x000000000x00000000 0x00000000 0x00000000

p_gstats:0x34a4e505 0x651f63cf 0x0290a972 0x0661f869 0x00000000 0x0660d233 0x00009496 0x00000000 0x0001c665 0x00000043

0x00000000 0x00000000 0x00000000 0x00000000 0x000000000x00000026 0x00000000 0x00000000 0x00000000 0x00000000

state_trans_no:0x00000041p_rtstate:0x0

The Official SupportShow Command Reference Guide 2-187

Page 212: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

portswapShowAvailable in Fabric OS versions: V4.2 is the only Fabric OS version with portswapshow in supportshow outputTroubleshooting Use: Use this command to display when ports have been swapped. Port swapping is a feature

required by FICON but can be enabled for any Bloom ASIC port in the fabric after v3.1/4.1.Additional Example/Case Studies: Here we see an example where portswapping is enabled, ports that are going to

be swapped are disabled and then ports are swapped, portswapshow depicts the swapped condition.

Example 2-96: portswappings3900_9:admin> portswapenable

s3900_9:admin> portdisable 30

s3900_9:admin> portdisable 29

s3900_9:admin> portswap 30 29portswap done

s3900_9:admin> portswapshowPortSwap is enabledPort Area====================29 3030 29

v4.2 Example Output:

Example 2-97: portswapshow:portswap feature is not enabledNo ports have been swapped

2-188 The Official SupportShow Command Reference Guide

Page 213: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

portzoneShowTroubleshooting Use: Use this command to determine port zone enforcement. This command can also be used along

with cfgsize, cfgshow and zone stateshow commands to troubleshoot zoning problems. Available in Fabric OS versions: v4.1, v4.2Version Differences: None, this command is available at CLI on all Bloom ASIC switches.Additional Example/Case Studies:

Portzoneshow output depicts hard, soft and session-based enforced, has to do with how zoning is configured. In bloom ASICs all zones defined using WWNs or domain, area are hard enforced. Hard enforced means that communication to the device on the target port is blocked if not in the same zone as communicating device. All devices should go to the name server (directory server) to determine who they can communicate with in the Fabric. Some devices, called bad citizens, attempt communication with devices not in same zone even after name server communication. If target is in a hard defined zone then communication to that target will be blocked on the ASIC port. Session-based enforced zoning occurs on Bloom ASICs when mixed zones are created (a mix of WWN and domain, area in the same zone). Session-based zoning enforcement is only available in Bloom ASIC switches - in Bloom based switches mixed zone elements will go session based before they go soft-enforced (until available ASIC memory runs out). Session based enforcement blocks PLOGI’s at the destination port. End devices in a fabric cannot communicate before they PLOGI into each other. Soft enforced zoning means devices still query the name server for a list of accessible devices but can communicate with them, even if they are not in the same zone, if “soft enforced”. Soft enforcement could also occur if ASIC zone memory is close to saturation. In a mixed Fabric, Loom and Bloom ASIC’s soft enforced or session enforced zoning occurs per Bloom ASIC rules defined above on Bloom ports but devices become soft enforced on Loom ASICs when defined using all WWN’s.

Note: See portcamshow and zone stateshow story notes for a better understanding of portzoneshow output

Note: For portZoneShow, "defaultHard 0" means that the port is either: (a) not an F-port and therefore does not have a zone type, or (b) the port is an F-port and has a regular zone type of one of {HARD WWN, HARD PORT, SESSION BASED HARD}. When you see "defaultHard 1", it means the port is not zoned with any one else.

Example 2-98: list switch ports and zone enforcement policy in use.portzoneshow:PORT: 0 Not ZonedPORT: 1 Enforcement: HARD WWNdefaultHard: 0F-port: 0PORT: 2 Not ZonedPORT: 3 Not ZonedPORT: 4 Enforcement: E-PortdefaultHard: 0F-port: 0PORT: 5 Enforcement: E-PortdefaultHard: 0F-port: 0PORT: 6 Not ZonedPORT: 7 Not ZonedPORT: 8 Not ZonedPORT: 9 Not ZonedPORT: 10 Not ZonedPORT: 11 Enforcement: HARD WWNdefaultHard: 0F-port: 1PORT: 12 Not ZonedPORT: 13 Not ZonedPORT: 14 Not ZonedPORT: 15 Not ZonedPORT: 16 Not ZonedPORT: 17 Not ZonedPORT: 18 Not ZonedPORT: 19 Not ZonedPORT: 20 Not ZonedPORT: 21 Not ZonedPORT: 22 Not ZonedPORT: 23 Not ZonedPORT: 24 Not Zoned

The Official SupportShow Command Reference Guide 2-189

Page 214: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

PORT: 25 Not ZonedPORT: 26 Not ZonedPORT: 27 Not ZonedPORT: 28 Not ZonedPORT: 29 Not ZonedPORT: 30 Not ZonedPORT: 31 Enforcement: HARD WWNdefaultHard: 0F-port: 1

2-190 The Official SupportShow Command Reference Guide

Page 215: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

printing proc entriesAvailable in Fabric OS versions: All v4.x supportshow outputsTroubleshooting Use: Use this command to list all devices, with information about each.

Note: This shows you what the OS (Linux) sees at a hardware level. This kind of info would be useful when the CP will boot but will not access a specific device or possibly when a driver will not load because a device cannot be found. Devices include all hardware...PCI, RAM, CPU etc.

Additional Example/Case Studies:

Example 2-49: printing proc entries/proc/cmdlinemem=127m/proc/cpuinfoprocessor: 0cpu : 405GPclock: 200MHzrevision: 1.69 (pvr 4011 0145)bogomips: 199.47zero pages: total: 0 (0Kb) current: 0 (0Kb) hits: 0/0 (0%)plb bus clock: 100MHzpci bus clock: 33MHz/proc/devicesCharacter devices: 1 mem 2 pty 3 ttyp 4 ttyS 5 cua 10 misc 89 i2c 90 mtd128 ptm136 pts162 raw240 ham241 fmf245 swd248 pcidma249 fc250 fc-switch251 fabsys252 portlog253 pcmcia254 platformBlock devices: 1 ramdisk 3 ide0 7 loop 43 nbd/proc/filesystemsnodevsockfsnodevshmnodevpipefsnodevprocext2nodevramfsnodevautofsxfs

The Official SupportShow Command Reference Guide 2-191

Page 216: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

nodevnfsnodevdevptsnodevdfs

/proc/interrupts CPU0 1: 1089 405GP UIC Edge serial 2: 2677332 405GP UIC Edge PPC405 IIC 9: 0 405GP UIC Edge 405eth Wakeup 10: 0 405GP UIC Edge 405eth MAL SERR 11: 34898 405GP UIC Edge 405eth TX EOB 12: 117701 405GP UIC Edge 405eth RX EOB 13: 0 405GP UIC Edge 405eth TX DE 14: 0 405GP UIC Edge 405eth RX DE 15: 0 405GP UIC Edge 405eth MAC

< Output Truncated >v4.2 Example Output:

Example 2-99: printing proc entries/proc/cmdline:quiet

/proc/cpuinfo:cpu : 440GP Rev. Cclock : 466MHzrevision: 4.129 (pvr 4012 0481)bogomips: 699.59machine : Brocade Silkworm440plb bus clock: 133MHzpci bus clock: 33MHzuart clock: 687KHz (external)

/proc/devices:Character devices: 1 mem 2 pty 3 ttyp 4 ttyS 5 cua 10 misc 89 i2c 90 mtd128 ptm136 pts162 raw244 swd245 ham246 fc247 fc-switch248 fabsys249 fss_kt250 fss_data251 fss_mgmt252 portlog253 platform254 mem_page

Block devices: 1 ramdisk 3 ide0 7 loop

2-192 The Official SupportShow Command Reference Guide

Page 217: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

/proc/filesystems:nodevrootfsnodevbdevnodevprocnodevsockfsnodevtmpfsnodevshmnodevpipefs

ext3ext2

nodevramfsnodevnfsnodevdevpts

xfsnodevdfs

/proc/interrupts: CPU0 0: 2 IBM UIC Cascade Level serial 1: 1043 IBM UIC Cascade Level serial 2: 27 IBM UIC Cascade Level IBM OCP IIC 3: 9175366 IBM UIC Cascade Level IBM OCP IIC 10: 228467 IBM UIC Cascade Level TX EOB (eth0), TX EOB (eth1) 11: 357092 IBM UIC Cascade Level RX EOB (eth0), RX EOB (eth1) 23: 1 IBM UIC Cascade Level pb_change 24: 40000 IBM UIC Cascade Level pb_attn 25: 0 IBM UIC Cascade Level cp_change 27: 4 IBM UIC Cascade Level cp_attn 28: 0 IBM UIC Cascade Level core_attn 29: 0 IBM UIC Cascade Level pb_pwr_fail 32: 0 IBM UIC Cascade Level SERR (eth0), SERR (eth1) 33: 0 IBM UIC Cascade Level TX DE (eth0), TX DE (eth1) 34: 0 IBM UIC Cascade Level RX DE (eth0), RX DE (eth1) 50: 370735 IBM UIC Cascade Level ide0FIT: 146 PIT: 10372654 BAD: 0

/proc/meminfo: total: used: free: shared: buffers: cached:Mem: 262119424 184524800 77594624 0 118784 110329856Swap: 0 0 0MemTotal: 255976 kBMemFree: 75776 kBMemShared: 0 kBBuffers: 116 kBCached: 107744 kBSwapCached: 0 kBActive: 25292 kBInactive: 113496 kBHighTotal: 0 kBHighFree: 0 kBLowTotal: 255976 kBLowFree: 75776 kBSwapTotal: 0 kBSwapFree: 0 kB

/proc/modules:dubby-module 623794 2swd-module 34673 23ham-module 24460 10 [swd-module]fc-module 207035 21 [dubby-module]bloom-module 707943 0 [dubby-module swd-module ham-module fc-module]blade-module 247423 0 [bloom-module]switch-module 3367175 22 [dubby-module fc-module bloom-module blade-module]

The Official SupportShow Command Reference Guide 2-193

Page 218: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

iu 10634 0 [dubby-module fc-module bloom-module blade-module switch-module]fabsys-module 86555 25 [dubby-module bloom-module blade-module switch-module iu]fss-module 122639 21 [dubby-module fc-module switch-module]tp-module 40623 0 [bloom-module switch-module fss-module]portlog-module 81483 0 [dubby-module swd-module ham-module fc-module bloom-module blade-module switch-module fabsys-module fss-module]hameteor-module 15977 2 [ham-module fss-module]meteor-module 572422 20 [dubby-module swd-module ham-module fc-module bloom-module blade-module switch-module fabsys-module portlog-module hameteor-module]fablog-module 21542 0 [dubby-module swd-module ham-module fc-module bloom-module blade-module switch-module iu fabsys-module fss-module tp-module portlog-module hameteor-module meteor-module]db-module 32753 0 [hameteor-module meteor-module]dfs 5426 1 [dubby-module]consolelog-module 8203 0 (unused)panicdump-module 15023 0 [swd-module switch-module portlog-module meteor-module consolelog-module]xfsnotificationhandler 4858 0 (unused)

/proc/mounts:rootfs / rootfs rw 0 0dev/hda1 / xfs rw,noatime 0 0/proc /proc proc rw 0 0none /dev/pts devpts rw 0 0none /tmp ramfs rw 0 0/dev/hda2 /mnt xfs rw,noatime 0 0/diag /diag dfs rw 0 0

/proc/mtd:dev: size erasesize namemtd0: 00010000 00010000 "boot environment"mtd1: 00060000 00010000 "boot prom"mtd2: 00800000 00020000 "User flash 1"mtd3: 00400000 00020000 "kernel and initrd (1)"mtd4: 00400000 00020000 "log data (1)"mtd5: 00800000 00020000 "User flash 2"mtd6: 00400000 00020000 "Kernel and initrd (2)"mtd7: 00400000 00020000 "log data (2)"

/proc/partitions:major minor #blocks name

3 0 250880 hda 3 1 124912 hda1 3 2 124928 hda2

/proc/pci:PCI devices found: Bus 0, device 0, function 0: Bridge: PCI device 1014:01ef (IBM) (rev 1). Bus 0, device 1, function 0: Bridge: PCI device 8086:b555 (Intel Corp.) (rev 3). IRQ 26. Non-prefetchable 32 bit memory at 0x40000000 [0x43ffffff]. I/O at 0x1400 [0x14ff]. Non-prefetchable 32 bit memory at 0x48000000 [0x4fffffff]. Non-prefetchable 32 bit memory at 0x50000000 [0x5fffffff]. Non-prefetchable 32 bit memory at 0x60000000 [0x6fffffff]. Bus 0, device 2, function 0: Bridge: PCI device 8086:b555 (Intel Corp.) (rev 3). IRQ 26. Non-prefetchable 32 bit memory at 0x70000000 [0x73ffffff]. I/O at 0x1000 [0x10ff]. Non-prefetchable 32 bit memory at 0x78000000 [0x7fffffff]. Non-prefetchable 32 bit memory at 0x80000000 [0x8fffffff]. Non-prefetchable 32 bit memory at 0x90000000 [0x9fffffff]. Bus 0, device 3, function 0:

2-194 The Official SupportShow Command Reference Guide

Page 219: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Bridge: PCI device 8086:b555 (Intel Corp.) (rev 3). IRQ 26. Non-prefetchable 32 bit memory at 0xa0000000 [0xa3ffffff]. I/O at 0x2000 [0x20ff]. Non-prefetchable 32 bit memory at 0xa8000000 [0xafffffff]. Non-prefetchable 32 bit memory at 0xb0000000 [0xbfffffff]. Non-prefetchable 32 bit memory at 0xc0000000 [0xcfffffff]. Bus 0, device 4, function 0: IDE interface: CMD Technology Inc PCI0649 (rev 2). IRQ 50. Master Capable. Latency=64. Min Gnt=2.Max Lat=4. I/O at 0x3000 [0x3007]. I/O at 0x4000 [0x4003]. I/O at 0x5000 [0x5007]. I/O at 0x6000 [0x6003]. I/O at 0x7000 [0x700f]. Bus 1, device 14, function 0: PCI bridge: PCI device 104c:ac28 (rev 0). Bus 11, device 0, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x48000000 [0x4807ffff]. Bus 11, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x48080000 [0x480fffff]. Bus 11, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x48100000 [0x4817ffff]. Bus 11, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x48180000 [0x481fffff]. Bus 1, device 15, function 0: PCI bridge: PCI device 104c:ac28 (rev 0). Bus 21, device 0, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x50000000 [0x5007ffff]. Bus 21, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x50080000 [0x500fffff]. Bus 21, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x50100000 [0x5017ffff]. Bus 21, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x50180000 [0x501fffff]. Bus 1, device 17, function 0: PCI bridge: PCI device 3388:0022 (rev 4). Bus 41, device 0, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x60000000 [0x6007ffff]. Bus 41, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x60080000 [0x600fffff]. Bus 41, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26.

The Official SupportShow Command Reference Guide 2-195

Page 220: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Non-prefetchable 32 bit memory at 0x60100000 [0x6017ffff]. Bus 41, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x60180000 [0x601fffff]. Bus 129, device 14, function 0: PCI bridge: PCI device 104c:ac28 (rev 2). Bus 139, device 0, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xa8000000 [0xa807ffff]. Bus 139, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xa8080000 [0xa80fffff]. Bus 139, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xa8100000 [0xa817ffff]. Bus 139, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xa8180000 [0xa81fffff]. Bus 139, device 4, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xa8200000 [0xa827ffff]. Bus 139, device 5, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xa8280000 [0xa82fffff]. Bus 139, device 6, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xa8300000 [0xa837ffff]. Bus 139, device 7, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xa8380000 [0xa83fffff]. Bus 129, device 15, function 0: PCI bridge: PCI device 104c:ac28 (rev 2). Bus 149, device 0, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xb0000000 [0xb007ffff]. Bus 149, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xb0080000 [0xb00fffff]. Bus 149, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xb0100000 [0xb017ffff]. Bus 149, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xb0180000 [0xb01fffff]. Bus 149, device 4, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xb0200000 [0xb027ffff]. Bus 149, device 5, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xb0280000 [0xb02fffff].

2-196 The Official SupportShow Command Reference Guide

Page 221: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Bus 149, device 6, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xb0300000 [0xb037ffff]. Bus 149, device 7, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0xb0380000 [0xb03fffff]. Bus 65, device 14, function 0: PCI bridge: PCI device 104c:ac28 (rev 0). Bus 75, device 0, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x78000000 [0x7807ffff]. Bus 75, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x78080000 [0x780fffff]. Bus 75, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x78100000 [0x7817ffff]. Bus 75, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x78180000 [0x781fffff]. Bus 65, device 15, function 0: PCI bridge: PCI device 104c:ac28 (rev 0). Bus 85, device 0, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x80000000 [0x8007ffff]. Bus 85, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x80080000 [0x800fffff]. Bus 85, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x80100000 [0x8017ffff]. Bus 85, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x80180000 [0x801fffff]. Bus 65, device 16, function 0: PCI bridge: PCI device 104c:ac28 (rev 0). Bus 95, device 0, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x88000000 [0x8807ffff]. Bus 95, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x88080000 [0x880fffff]. Bus 95, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x88100000 [0x8817ffff]. Bus 95, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x88180000 [0x881fffff]. Bus 65, device 17, function 0: PCI bridge: PCI device 104c:ac28 (rev 0). Bus 105, device 0, function 0:

The Official SupportShow Command Reference Guide 2-197

Page 222: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x90000000 [0x9007ffff]. Bus 105, device 1, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x90080000 [0x900fffff]. Bus 105, device 2, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x90100000 [0x9017ffff]. Bus 105, device 3, function 0: Non-VGA unclassified device: PCI device 1657:0001 (rev 0). IRQ 26. Non-prefetchable 32 bit memory at 0x90180000 [0x901fffff].

/proc/slabinfo:slabinfo - version: 1.1kmem_cache 77 102 112 3 3 1ip_mrt_cache 0 0 96 0 0 1tcp_tw_bucket 2 40 96 1 1 1tcp_bind_bucket 10 113 32 1 1 1tcp_open_request 0 59 64 0 1 1inet_peer_cache 1 59 64 1 1 1ip_fib_hash 17 113 32 1 1 1ip_dst_cache 43 72 160 2 3 1arp_cache 4 30 128 1 1 1blkdev_requests 128 160 96 4 4 1xfs_chashlist 239 404 16 2 2 1xfs_ili 5807 5824 152 224 224 1xfs_ifork 0 0 56 0 0 1xfs_efi_item 0 12 328 0 1 1xfs_efd_item 0 12 328 0 1 1xfs_buf_item 0 52 152 0 2 1xfs_dabuf 0 202 16 0 1 1xfs_da_state 0 10 392 0 1 1xfs_trans 0 84 584 0 12 1xfs_inode 7326 7326 448 814 814 1xfs_btree_cur 0 27 144 0 1 1xfs_bmap_free_item 0 202 16 0 1 1page_buf_t 8 180 192 2 9 1page_buf_reg_t 2 113 32 1 1 1avl_object_t 2 113 32 1 1 1avl_entry_t 2 226 32 1 2 1nfs_write_data 0 0 416 0 0 1nfs_read_data 0 0 384 0 0 1nfs_page 0 0 96 0 0 1journal_head 0 0 48 0 0 1revoke_table 0 0 12 0 0 1revoke_record 0 0 32 0 0 1dnotify cache 0 0 20 0 0 1file lock cache 3 40 96 1 1 1fasync cache 0 0 16 0 0 1uid_cache 2 113 32 1 1 1skbuff_head_cache 256 288 160 12 12 1sock 33 54 832 4 6 2sigqueue 0 29 132 0 1 1cdev_cache 101 118 64 2 2 1bdev_cache 3 59 64 1 1 1mnt_cache 13 59 64 1 1 1inode_cache 7523 7536 480 941 942 1dentry_cache 8007 8040 128 267 268 1filp 1702 1710 128 57 57 1names_cache 2 6 4096 2 6 1buffer_head 26053 26280 96 652 657 1

2-198 The Official SupportShow Command Reference Guide

Page 223: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

mm_struct 60 72 160 3 3 1vm_area_struct 4386 4600 96 110 115 1fs_cache 59 118 64 1 2 1files_cache 59 72 416 7 8 1signal_act 64 75 1312 22 25 1size-131072(DMA) 0 0 131072 0 0 32size-131072 1 2 131072 1 2 32size-65536(DMA) 0 0 65536 0 0 16size-65536 2 3 65536 2 3 16size-32768(DMA) 0 0 32768 0 0 8size-32768 6 19 32768 6 19 8size-16384(DMA) 0 0 16384 0 0 4size-16384 53 59 16384 53 59 4size-8192(DMA) 0 0 8192 0 0 2size-8192 502 521 8192 502 521 2size-4096(DMA) 0 0 4096 0 0 1size-4096 162 207 4096 162 207 1size-2048(DMA) 0 0 2048 0 0 1size-2048 580 730 2048 290 365 1size-1024(DMA) 0 0 1024 0 0 1size-1024 633 672 1024 160 168 1size-512(DMA) 0 0 512 0 0 1size-512 461 504 512 59 63 1size-256(DMA) 0 0 256 0 0 1size-256 256 270 256 18 18 1size-128(DMA) 0 0 128 0 0 1size-128 5544 6150 128 187 205 1size-64(DMA) 0 0 64 0 0 1size-64 2380 2596 64 43 44 1size-32(DMA) 0 0 32 0 0 1size-32 5664 5763 32 51 51 1

/proc/stat:cpu 17858 88586 56043 10210183cpu0 17858 88586 56043 10210183page 53904 53471swap 0 0intr 10172752 2 1043 27 9175366 0 0 0 0 0 0 228480 357094 0 0 0 0 0 0 0 0 0 0 0 1 40000 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 370735 0 0 0 0 0 0 0 0 0 0 0 0 0disk_io: (3,0):(11172,4312,110506,6860,260227) ctxt 44809046btime 1072795494processes 11461

/proc/tty/drivers:serial /dev/cua 5 64-65 serial:calloutserial /dev/ttyS 4 64-65 serialpty_slave /dev/pts 136 0-255 pty:slavepty_master /dev/ptm 128 0-255 pty:masterpty_slave /dev/ttyp 3 0-255 pty:slavepty_master /dev/pty 2 0-255 pty:master/dev/ptmx /dev/ptmx 5 2 system/dev/console /dev/console 5 1 system:console/dev/tty /dev/tty 5 0 system:/dev/tty

/proc/uptime:103726.74 102184.12

/proc/version:Linux version 2.4.19 (swrel@donner) (gcc version 2.95.3 20010112 (prerelease)) #1 Mon Dec 15 00:14:29 PST 2003

find /core_files /mnt/core_files -type f/core_files/.misc_file/mnt/core_files/.misc_file

The Official SupportShow Command Reference Guide 2-199

Page 224: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

validating rpm database on primary partition......G. /mnt......G. /proc......G. /tmp.......T c /etc/idle.conf......GT c /etc/passwdS.5...GT c /etc/passwd.upgradeS.5....T /etc/servicesS.5...GT c /etc/hostsS.5...GT c /etc/static-routes.optionsS.5....T c /etc/ld.so.conf......G. /dev/initctlS.5....T /etc/inittab.M...... /dev/ttyS1.......T c /etc/syslog.confS.5....T /etc/gettydefsS.5....T /etc/mail/sendmail.cfS.5....T /etc/mail/statisticsmissing /tmp/webtools/logs.....U.. /fabos/users/admin.....U.. /fabos/users/admin/.bash_logout.....U.. /fabos/users/admin/.inputrc.....U.. /fabos/users/admin/.profile.....U.. /fabos/users/diag.....U.. /fabos/users/diag/.bash_logout.....U.. /fabos/users/diag/.inputrc.....U.. /fabos/users/diag/.profile.M....G. /diag.......T c /etc/fabos/chassisidS.5....T c /etc/fabos/fabos.0.conf.......T c /etc/fabos/fabos.1.conf.......T c /etc/fabos/fabos.chassis.confS.5....T c /etc/fabos/pdata.gen.......T c /etc/fabos/pki/switch.0.crtS.5....T c /etc/fabos/pki/switch.0.csrS.5....T c /etc/fabos/pki/switch.0.keyS.5....T c /etc/fabos/pki/switch.0.ppS.5....T c /etc/fabos/pki/switch.0.rootcrt.......T c /etc/fabos/pki/switch.1.crt.......T c /etc/fabos/pki/switch.1.csr.......T c /etc/fabos/pki/switch.1.key.......T c /etc/fabos/pki/switch.1.pp.......T c /etc/fabos/pki/switch.1.rootcrtS.5....T c /etc/fabos/wwnid

validating rpm database on secondary partition......G. /mnt......G. /proc.......T c /etc/idle.conf......GT c /etc/passwdS.5...GT c /etc/passwd.upgradeS.5....T /etc/servicesS.5....T c /etc/hostsS.5....T c /etc/static-routes.optionsS.5....T c /etc/ld.so.conf......G. /dev/initctlS.5....T /etc/inittab.M...... /dev/ttyS1.......T c /etc/syslog.confS.5....T /etc/gettydefsS.5....T /etc/mail/sendmail.cf.....U.. /fabos/users/admin.....U.. /fabos/users/admin/.bash_logout.....U.. /fabos/users/admin/.inputrc

2-200 The Official SupportShow Command Reference Guide

Page 225: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

.....U.. /fabos/users/admin/.profile.....U.. /fabos/users/diag.....U.. /fabos/users/diag/.bash_logout.....U.. /fabos/users/diag/.inputrc.....U.. /fabos/users/diag/.profile.M....G. /diag.......T c /etc/fabos/chassisidS.5....T c /etc/fabos/fabos.0.conf.......T c /etc/fabos/fabos.1.conf.......T c /etc/fabos/fabos.chassis.confS.5....T c /etc/fabos/pdata.gen.......T c /etc/fabos/pki/switch.0.crtS.5....T c /etc/fabos/pki/switch.0.csrS.5....T c /etc/fabos/pki/switch.0.keyS.5....T c /etc/fabos/pki/switch.0.ppS.5....T c /etc/fabos/pki/switch.0.rootcrt.......T c /etc/fabos/pki/switch.1.crt.......T c /etc/fabos/pki/switch.1.csr.......T c /etc/fabos/pki/switch.1.key.......T c /etc/fabos/pki/switch.1.pp.......T c /etc/fabos/pki/switch.1.rootcrtS.5....T c /etc/fabos/wwnid

The Official SupportShow Command Reference Guide 2-201

Page 226: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ps_dumpAvailable in Fabric OS versions: v3.1.2, v4.1, v4.1 (Performance Command Group - not enabled by default)Version Differences: Version 4.x outputs that have ps_dump as part of supportshow will depict the output on a port

basis with the command header: ps_dump -a -n ,port#>Additional Example/Case Studies: The output of this command is very large and would only be used at the

direction of an ASIC engineer a partial output for a host port on a 3900 with no performance monitoring enabled is displayed in Example 2-100

Troubleshooting Use: Use this command to display performance monitoring information

Note: For internal debugging purposes only.

Example 2-100: Partial ps_dump outputps_dump -a -n 0/31Dumping port infoPort 31:pi_eecount = 0pi_fltcount = 0pi_flags = 0x40pi_intents = 0pi_eeintents = 0pi_fltintents = 0Dumping EE monitor infoPort 31:eeMask = 0xfffeeMaskOwner = -1e_status = 1key 0e_objp = 0x0e_flags = 0x0e_state = 0e_key = 0e_key1 = 0e_key2 = 0e_sid = 0x0e_did = 0x0e_rx(h) = 0e_rx(l) = 0e_tx(h) = 0e_tx(l) = 0e_crc(h) = 0e_crc(l) = 0e_tstamp = 0e_rxrate(h) = 0e_rxratea(l) = 0e_txrate(h) = 0e_txrate(l) = 0e_crcrate(h) = 0e_crcrate(l) = 0e_creator = -1e_ipaddr = 0x0<output truncated>

2-202 The Official SupportShow Command Reference Guide

Page 227: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

ps_dump -a -n port#

Note: See ps_dump command information

The Official SupportShow Command Reference Guide 2-203

Page 228: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

psShowAvailable in Fabric OS versions: AllVersion Differences: The number and type of power supplies vary by hardware platform.Troubleshooting Use: Use this command to display the current status of the switch power supplies.

The format of the display varies according to the switch model and number of power supplies present. Optionally, depending upon switch model, the OEM Serial ID Data is displayed after each power supply status line. The status of each supply is shown as:

OK Power supply functioning correctly.absent Power supply not present.Unknown Unknown power supply unit installed.Predicting Failure Power supply is present but predicting failure.faulty Power supply present but faulty (no power cable, power switch turned off, fuse blown, or other internal error).

Example 2-50: Examplepsshow:Power Supply #1 is OK DELTA DPS-1001AB-1E 23000000601 S1 IXD0130001068Power Supply #2 is OK DELTA DPS-1001AB-1E 23000000601 S1 IXD0130001078Power Supply #3 is OK DELTA DPS-1001AB-1E 23000000601 S1 IXD0130001064Power Supply #4 is OK DELTA DPS-1001AB-1E 23000000601 S1 IXD0130001086

Note: If errshow messages indicate a power supply error look here to make sure all power supplies are “OK”.

v4.2 Example Output:

Example 2-101: psshow:

Power Supply #1 is OK DELTA DPS-1001AB-1E 23000000602 S2 FL2L0002037 Power Supply #2 is faulty DELTA DPS-1001AB-1E 23000000602 S2 FL2L0002031 Power Supply #3 is OK DELTA DPS-1001AB-1E 23000000602 S2 FL2L0002040 Power Supply #4 is faulty DELTA DPS-1001AB-1E 23000000602 S2 FL2L0002046

Note: Notice that there are power supply #2 and 4 faulty conditions on this switch. Power supplies 2 and 4 are associated with power source 2, power source 2 was not plugged in during this capture.

2-204 The Official SupportShow Command Reference Guide

Page 229: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

ptbufshowAvailable in Fabric OS versions: v4.1, 4.2 (Extended Command Group - not enabled by default)Additional Example/Case Studies:Troubleshooting Use: Use this command to dump port buffer contents

Note: For internal debugging purposes only. The output of this command is very large and would only be used at the direction of an ASIC engineer a partial output for a host port on a 3900 with no performance monitoring enabled is displayed inExample 2-102

Example 2-102: v4.2 output from a 3900 with a JBOD on port 31 and a host on port 30ptbufshow 31:Port Buffers for port: 27

putq_list_stat is empty (0xffffffff == NO_BUFFER)tolist_stat is empty (0xffffffff == NO_BUFFER)plist_stat is empty (0xffffffff == NO_BUFFER)aulist_stat is empty (0xffffffff == NO_BUFFER)piq_stat: head=0x0 tail=0x0piq_stat: number of mini-buffers = 1

flist_stat : head=0x1e4 tail=0xf6 0x1e4 0x016 0x316 0x05c 0x2a6 0x18c 0x14c 0x146 0x1da 0x132 0x2d4 0x0ec 0x276 0x278 0x304 0x10c 0x2dc 0x2de 0x274 0x090 0x34e 0x0d4 0x182 0x18a 0x01e 0x344 0x1de 0x226 0x30c 0x0f4 0x04e 0x2d0 0x35a 0x188 0x0ea 0x028 0x244 0x2ac 0x12a 0x130 0x032 0x19a 0x254 0x310 0x35e 0x228 0x206 0x300 0x190 0x252 0x27e 0x268 0x1a8 0x108 0x330 0x062 0x242 0x364 0x13a 0x0f2 0x178 0x2b4 0x2b6 0x290 0x03a 0x2fe 0x23a 0x078 0x098 0x196 0x17c 0x2e4 0x088 0x136 0x264 0x212 0x1fc 0x234 ......<output truncated>.....0x26e 0x03e 0x28c 0x16e 0x06e 0x0ba 0x15c 0x106 0x1a4 0x280 0x1d6 0x2ba 0x1e6 0x266 0x0d2 0x10a 0x068 0x046 0x1f4 0x20e 0x07eflist_stat : number of mini-buffers = 437missing buf 0x184missing buf 0x222missing buf 0x272

cflist_stat: head=0x1b5 tail=0x1a5 0x1b5 0x27b 0x1b9 0x2a7 0x285 0x1db 0x039 0x1ab 0x1c5 0x073 0x22d 0x103 0x1cd 0x32f 0x21b 0x00b 0x171 0x273 .....<output truncated>

The Official SupportShow Command Reference Guide 2-205

Page 230: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ptcreditshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display port credit information.

Example 2-51: v4.1 exampledisplay port credits

Example:ptcreditshow 2 0:slot: 2 tcc_vc rqc_vc rct_vc rcc_vcbpt15: L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 31 0 0 0 0 0 0 0 0

tcc and rcc mean transmit credit counter and receive credit counter for each VC (Virtual Channel)

rqc_vc mean receive credit queue ctr for each VC

rct_vc mean receive credit clear threshold for each VC

Note: See portregshow sections in this guide for additional information regarding some of these parameters.

Example 2-103: Output from a 3900 with extended groups enabled, there is a host on port 31 and a JBOD on port 30 (associated portregshow outputs appended to cross reference)ptcreditshow 30: tcc_vc rqc_vc rct_vc rcc_vc/bin/cat: /proc/fabos/blade/0/1/1/2/asic26/cebs: RFS specific errorbpt26: L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 16

ptcreditshow 31: tcc_vc rqc_vc rct_vc rcc_vc/bin/cat: /proc/fabos/blade/0/1/1/3/asic27/cebs: Device not a streambpt27: F 0 0 0 0 0 0 0 14 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0

portregshow 30:

....<output truncated>....0xcaa3e080: tcc_vc 0 0 0 0 0 0 0 0 0xcaa3e090: rqc_vc 0 0 0 0 0 0 0 16 0xcaa3e0b0: rct_vc 1 1 1 1 1 1 1 1 0xcaa3e0c0: rcc_vc 0 0 0 0 0 0 0 16 0xcaa40800: desired_bufs 0 0 16 16 2 0xcaa40820: busy_bufs 0 0 1 1 1 0xcaa40840: alloc_bufs 0 0 16 16 2 0xcaa40860: busy_mini 0 0 2 2 1 0xcaa40880: mini_allocated 0 0 128 128 17

portregshow 31:....<output truncated>....0xcaa4e080: tcc_vc 0 0 0 0 0 0 0 15 0xcaa4e090: rqc_vc 0 0 0 0 0 0 0 0 0xcaa4e0b0: rct_vc 1 1 1 1 1 1 1 1 0xcaa4e0c0: rcc_vc 0 0 0 0 0 0 0 0 0xcaa50800: desired_bufs 0 0 16 16 2 0xcaa50820: busy_bufs 0 0 1 1 1 0xcaa50840: alloc_bufs 0 0 16 16 2 0xcaa50860: busy_mini 0 0 2 2 1 0xcaa50880: mini_allocated 0 0 128 128 17

2-206 The Official SupportShow Command Reference Guide

Page 231: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

ptdatashowAvailable in Fabric OS versions: Version Differences:v4.2 Example Output:Additional Example/Case Studies:Troubleshooting Use: Use this command to display port data structures.

Note: This command is not intended for normal user operation and is available to provide supplemental information during system debug.

Example 2-52: To display the port data structure for slot 1 port 1:switch:admin> ptdatashow 1/1Port Data Structure for slot: 1, port: 1Bloom Data Pointers: bloomp = 0xc6eb7200 (fbloomp = 0x00000000)-------------------blm_regs 0xc9b17000 blm_proc_dir 0xc50d9f20fab_ptr 0xc04f0000 fab_Iop 0xc04f0050qdblm 0xc5702c00 chblm 0xc661b5a0pt 0xc5701760 blm_miniS_handle 0xc57012e0Bloom Local Variables---------------------blm_type = 0x00000012 G_PORT E_PORTto stopblm_state = 0x00000001 ONLINE p_phstate = IN_SYNCblm_flags = 0x00000000 NORMALlab_mode = 0x00 EFDblm_port_type = Intra-blade blm_rev 1blm_initialized 0 my_domain 1blm_quad_idx 1 blm_chip_idx 1blm_miniS_idx 1 blm_blade_idx 1

--- <output truncated> ---

Example 2-53: ptdatashow 2 0:Port Data Structure for Slot: 2 port: 15

Bloom Data Pointers: bloomp = 0xc3944800 (fbloomp = 0xc391c000)-------------------blm_regs 0xca9e9000blm_proc_dir 0xc685d0e0fab_ptr 0xc7b10000fab_Iop 0xc7b10050qdblm 0xc38ab000chblm 0xc6234cc0pt 0xc38afcc0blm_miniS_handle 0xc5568940

Bloom Local Variables---------------------blm_type = 0x00000001FL_PORT blm_state = 0x00000000OFFLINEp_phstate = NO_LIGHTblm_flags = 0x00000000NORMALblm_diagflags = 0x00000000NULLlab_mode = 0x00EFD blm_port_type = User blm_rev 1 blm_initialized 1 my_domain 1 blm_quad_idx 3 blm_chip_idx 7 blm_miniS_idx 15 blm_blade_idx 15 blm_UI_idx 16 blm_slot_no 2 blm_mode 0 blm_ie_fctl_mode 0 chip fdet_enabled 1 quad fdet_enabled 1 fdet_enabled 1 frmtrk_type 0x00000106fl_bbc 0 fl_fan 0

The Official SupportShow Command Reference Guide 2-207

Page 232: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

fl_cls 4 fl_rscn 0 blm_tfrctl_changed0x00000000blm_tfrctl_shadow0x00000000p_etcc 0 0 0 0 0 0 0 0 blm_buf_state = 0x00000000BUF_RDY_DONEHA blm_more_n = 0x0001Offline

Bloom User Variables--------------------blm_lstate 0x00000000unknown stateblm_lflags 0x00000000lpsm_iu 0x00000000fla_iu 0x00000000blm_lli 5 blm_lli_pending 0 blm_copper 1 blm_bufbusy_tov 0 blm_linit_ct 0 blm_liphold_ct 0 blm_ftx 0 blm_open_tov 0 blm_tov 0 blm_fault1 16 blm_fault2 0 blm_fault_tov 0 blm_credit 0 blm_alpamap 0x00000000 0x00000000 0x00000000 0x00000000blm_lipamap 0x00000000 0x00000000 0x00000000 0x00000000blm_lifamap 0x00000000 0x00000000 0x00000000 0x00000000blm_rxlipa 0x00000000 0x00000000 0x00000000 0x00000000blm_rxliha 0x00000000 0x00000000 0x00000000 0x00000000blm_pltmap 0x00000000 0x00000000 0x00000000 0x00000000blm_loginmap 0x00000000 0x00000000 0x00000000 0x00000000

Speed Negotiation Variables---------------------------blm_cfg_speed = AUTO_SPEED_NEGOnegotiation state = WAIT_FOR_SIGNAL_18blm_speed = UNKNOWNblm_rx_signal = FALSEblm_rx_sync = FALSEblm_sn_inprogress 0 blm_retries 0 blm_curr_tx 1 blm_curr_rx 1 blm_currtx_indx 0 blm_currrx_indx 0 blm_time_nc 0 blm_time_tx 0 blm_time_neg 0 blm_time_sync 0 blm_txsp_list 1 0 0 0 blm_curr_txsp_list 1 0 0 0 blm_curr_rxsp_list 1 0 0 0 blm_rxsp_recorded 255 255 255 255

Trunking Variables------------------blm_tMaster = NULLblm_members 0 blm_port_group 0 blm_adelay 0xffffffffblm_mdelay 0x00000000blm_mark_tm 0xffffffffpt(0 0 0 0) ts[0]: 0 0 0 0pt(0 0 0 0) ts[1]: 0 0 0 0pt(0 0 0 0) ts[2]: 0 0 0 0pt(0 0 0 0) ts[3]: 0 0 0 0pt(0 0 0 0) md[0] (mark/time_stamp): 0(0) 0(0) 0(0) 0(0)pt(0 0 0 0) md[1] (mark/time_stamp): 0(0) 0(0) 0(0) 0(0)pt(0 0 0 0) md[2] (mark/time_stamp): 0(0) 0(0) 0(0) 0(0)pt(0 0 0 0) md[3] (mark/time_stamp): 0(0) 0(0) 0(0) 0(0)

Fail Detection Data------------------------Slot: 2, MiniS: 0, Quad: 3:

2-208 The Official SupportShow Command Reference Guide

Page 233: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

faildet_pstat 0xca9ebd2c: 0x0000frmtrk_mode 0xca9ebd26: 0xe000frmtrk_prtstat 0xca9ebd2e: 0x0000frmtrk_failinfo[0] 0xca9ebd18: 0x00000000frmtrk_failinfo[1] 0xca9ebd1c: 0x00000000ministatechk_stat 0xca9ebd20: 0x0fff01fffaildet_pctl 0xca9ebd2a: 0x0007frmtrk_ctl 0xca9ebd28: 0xffccfaildet_ctl 0xca9ebd24: 0x0f37

frmtrk_failinfo[0]: frTrkNumErrPt=0 isTrkNum=0 sbTrkNum=0 frmtrk_failinfo[1]: rxPtQuad=0 finMsgE=0 frTrkNumE=0 txQNumE=0 mbStCkE=0 invEMsg=0 flPtMode=0 rptFrTx=0 trunkMprt=0 bufrNum=0 txQnumb=0 txPtNum=0

Buffer Tag Mismatch for 4 quad ports (0xca9ebc64 blm_less_n): 0 0 0 0

ministatechk_stat: mbStCkE=0 finE=0 rxQParE=0 rxQFrTrkE=0 actSubSt=3 actSt=f expSubSt=3 expSt=f mb#=1ff

faildet_ctl: frcR2TqIntParE=0 frcProcRqdBufNumE=0 frcPutMsgE=0 frcBufTagE=0 bufTagCkEn=000f frcFinMessageE=0 frcTrkNumCkEn=1 txQNumCkEn=1 mbufStCkEn=1 finMsgCkEn=1 rxQParCkEn=1

Note: No additional information available at this time.

The Official SupportShow Command Reference Guide 2-209

Page 234: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ptphantomshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display the Quickloop Content Addressable Memory (CAM) tables used

when private devices (even when they are not in Quickloop) are attached to a switch.

Note: This command is not intended for normal user operation and is available to provide supplemental information during system debug.

Example 2-54: ptphantomshow 2 0:Port Routing table for port: 15

The following ALPAs are private on some switch ports: (alpa, UI port bitmap on the blade)

plt_cam table and plt_alpa table:index sid plt_alpas(UI port 15 - 0 w 1 byte/port)

plt_did table for this port:ali alpa sidali alpa sidali alpa sid

Note: If private storage devices where attached to this switch this output would be interpreted the same as bloomphantomshow output for v3.x firmware and loomphantomshow output for v2.x firmware. Here is a v3.x output example with supporting information:

switchname:admin> bloomPhantomShowThe following alpas are private on some switch ports:(0xdc, 0080) (0xe0, 0080) (0xe1, 0080) (0xe2, 0080) (0xe4, 0080)(0xe8, 0080) (0xef, 0080) plt_cam table and plt_alpa table:index sid plt_alpas 0 0x00fffc01 ffffffff ffffffff 01ffffff ffffffff plt_did table for this port:ali alpa sid ali alpa sid ali alpa sid

my_alpa:0xdc 0xe0 0xe1 0xe2 0xe4 0xe8 0xef

The following ALPAs are private on some switch ports: (Note - These are the private devices on the switch.)

Let us take (0xdc,0080):

dc is a private AL_PA.

0080 represents port# bit map. And that port# is online, dc AL_PA is attached to it.

Convert 0080 into binary notation: 0000 0000 1000 0000

Count from right to left starts with port 0. “1” is toggled in the 7th position. This means port 7 is the FL_port and it has dc, eo, e1, e2, e4, e8 and ef AL_PAs.

plt_cam table and plt_alpa table:

To interpret this table, the SID is source ID or 24-bit address, ffffc01 is the 24-bit address of the embedded port on this switch, it has ALPA 01 on port 7 (read pairs of “f”s right to left, each pair represents a port number starting at port 0).

index sid plt_alpas 0 0x00fffc01 ffffffff ffffffff 01ffffff ffffffff

2-210 The Official SupportShow Command Reference Guide

Page 235: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Plt_did table for this port: No information available at this time.

my_alpa: represents the local phantom ALPAs on this switch.

Warning: A word of caution: Bloomphantomshow, although extremely helpful, is currently an un-documented command and is not supported. This command shares all the other inherent dangers of undocumented commands. Different versions of firmware could show output differently, programmers could drop the command without notice, and so forth.

porttalpashow slot/port #’s can also be used to gather information about private devices on the switch. It is similar to loomalpashow <port #> from a v2.x switch and bloomalpashow <port #> from a v3.x switch. Here is a v3.x switch example with corresponding information:

Example 2-55: switchname:admin> bloomAlpaShow 7AL_PA type AL_PA type AL_PA type0x01 (0xfffc01) 0xdc private 0xe0 private0xe1 private 0xe2 private 0xe4 private0xe8 private 0xef private

The bloomAlpaShow <port #> command displays the AL_PA type for this port. In this example, AL_PA 01 taken by the 24-bit address (0xfffc01). Phantom AL_PAs are depicted in parentheses.

Use switchshow output to ascertain the number of phantoms and to review what fffc01 represents.

Warning: A word of caution: (B)loomAlpaShow <port #>, although extremely helpful, is currently an undocumented command and is not supported. This command shares all the other inherent dangers of undocumented commands: different versions of firmware could show output differently, programmers could drop the command without notice, and so forth.

The Official SupportShow Command Reference Guide 2-211

Page 236: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

ptpropshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display the ASIC port properties for the specified port.

Note: This command is not intended for normal user operation and is available to provide supplemental information during system debug.

Example 2-56: ptpropshow 2 0:Port Property for Slot: 2 port: 15

P15: [fe,0,12],Port,CAP:[1,1,1,(1,1,0)],CFG:[D:0,G:0,T:1,S:0,M:0,E:0,L:0],WWN: 00:00:00:00:00:00:00:00

Note: No additional information available about this command at this time.

2-212 The Official SupportShow Command Reference Guide

Page 237: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

ptstatsshowAvailable in Fabric OS versions: v4.1, v4.2 (Extended Command Group - not enabled by default)Troubleshooting Use: Use this command to display the port statistic properties for the specified port.

Note: This command is not intended for normal user operation and is available to provide supplemental information during system debug.

Example 2-57: ptstatshow 2 0:Port Statistics for Slot: 2 port: 15

Connection type: FEConfigured Speed: 0

Interrupts: 56 Link_failure:6 Unknown: 0 Loss_of_sync:0 Lli: 16 Loss_of_sig:1 Proc_rqrd:40 Protocol_err:0 Timed_out:0 Invalid_word:0 Rx_flushed:0 Invalid_crc:0 Tx_unavail:0 Delim_err: 0 Free_buffer:0 Address_err:0 Overrun: 0 Lr_in: 3 Suspended:0 Lr_out: 3 Parity_err:0 Ols_in: 3 2_parity_err:0 Ols_out: 3 CMI_bus_err:0

stat_wtx 0 4-byte words transmittedstat_wrx 0 4-byte words receivedstat_ftx 0 Frames transmittedstat_frx 0 Frames receivedstat_c2_frx 0 Class 2 frames receivedstat_c3_frx 0 Class 3 frames receivedstat_lc_rx 0 Link control frames receivedstat_mc_rx 0 Multicast frames receivedstat_mc_to 0 Multicast timeoutsstat_mc_tx 0 Multicast frames transmittedtim_rdy_pri 0 Time R_RDY high prioritytim_txcrd_z 0 Time BB_credit zeroer_enc_in 0 Encoding errors inside of frameser_crc 0 Frames with CRC errorser_trunc 0 Frames shorter than minimumer_toolong 0 Frames longer than maximumer_bad_eof 0 Frames with bad end-of-frameer_enc_out 4819 Encoding error outside of frameser_disc_c3 0 Class 3 frames discardedopen 0 loop_opentransfer 0 loop_transferopened 0 FL_Port openedstarve_stop 0 tenancies stopped due to starvationfl_tenancy 0 number of times FL has the tenancynl_tenancy 0 number of times NL has the tenancy

Note: ptstatsshow is similar to portstatsshow output for v3.x switches. See portErrShow and portshow output information for additional information on parameters depicted. Here is an v3.x example output with some supporting information:

The Official SupportShow Command Reference Guide 2-213

Page 238: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Example 2-58: v3.0:admin> portStatsShow 3stat_wtx 29597 4-byte words transmittedstat_wrx 27003 4-byte words receivedstat_ftx 1472 Frames transmittedstat_frx 1545 Frames receivedstat_c2_frx 0 Class 2 frames receivedstat_c3_frx 1545 Class 3 frames receivedstat_lc_rx 0 Link control frames receivedstat_mc_rx 1 Multicast frames receivedstat_mc_to 0 Multicast timeoutsstat_mc_tx 0 Multicast frames transmittedtim_rdy_pri 57 Time R_RDY high prioritytim_txcrd_z 12 Time BB_credit zeroer_enc_in 0 Encoding errors inside of frameser_crc 0 Frames with CRC errorser_trunc 0 Frames shorter than minimumer_toolong 0 Frames longer than maximumer_bad_eof 0 Frames with bad end-of-frameer_enc_out 10 Encoding error outside of frameser_disc_c3 31 Class 3 frames discardedopen 0 loop_opentransfer 0 loop_transferopened 0 FL_Port openedstarve_stop 0 tenancies stopped due to starvationfl_tenancy 0 number of times FL has the tenancynl_tenancy 0 number of times NL has the tenancyframe_nozone 0 frames rejected due to zone protection

Note: Notice Time BB_Credit Zero. A high value could occur for many reasons: - HBA does not have enough buffers to be able to receive 1 Gbps traffic.- Disk may not be able to handle 1 Gbps data coming at it. Switch port is buffering the data while waiting for an r_rdy from disk.- May be congestion in the Fabric, if not enough ISLs are present to accommodate the traffic that is being sent through.

If you invoke portstatsshow, you will see all portstatsshow outputs for all ports on the switch. Portstatsshow <port #> displays only one port.

Pay attention to: enc, crc, trunc, toolong bad_eof; enc_out, er_disc.

Unlike portShow and portErrShow outputs, the counters that generated portstatsshow statistics occur between and on interrupts.

Start looking at these errors if you see the enc out going from 100, to 200, and to 300 (quickly rising values). You should see considerably less than 5% tx plus rx counters on any statistic. These errors are based on a BER (bit error rate) of 10 to the minus 12 rate for all the err commands. For reference a BER of 10 to the minus 15 implies that a bit every 3 days was bad. These BERs generate error statistics when exceeded. Unless they get really bad, they often cause timeouts in the Fabric. We recommend using Fabric Watch to monitor these error statistics so that you know about problems before they cause production outages or slowdowns.

2-214 The Official SupportShow Command Reference Guide

Page 239: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

qlShowAvailable in Fabric OS versions: All v2.x and 3.x supportshow outputs. Quickloop is not available on v4.x switches.Troubleshooting Use: Use this command to display Quickloop information

This command displays quick loop info.Self worldwide name and domain ID of this switchPeer worldwide name and domain ID of partner switch “Peer” is displayed only if the switch has a partner

configuredState Quick loop stateMaster Master switch in dual switch QuickLoop.Non master Non master in dual switch QuickLoop.Local Lip Looplet on local switch lippedRemote Lip Looplet on partner switch lippedOnline Switch comes onlineOffline Switch goes offlineScope Dual or single (switch Quick Loop)AL_PA bitmap AL_PA bitmaps of devices on the Quick Loop.Remote AL_PAs AL_PA of devices on partner switch. AL_PAs are listed per port baseLocal AL_PAs AL_PA of devices on local switch. AL_PAs are listed per port baseLocal looplet state indicates state of local loopletMember: current quick loop member portsOnline: current online ports in the quick loop

Looplet can be in one of the following states:Online completed loop initializationLipped NL_port lippedLipping FL_port lippedInitializing loop initialization in progressBypassed Looplet being bypassedError Error found in this loopletOffline Looplet offline

The following command displays the quick loop info:

Example 2-104: sw5:admin> qlShowSwitch is not in Quick Loop mode.

Example 2-105: sw2:admin> qlShowSelf: 10:00:00:60:69:10:02:09 domain 1Peer: 10:00:00:60:69:10:02:0d domain 2State: MasterScope: dualAL_PA bitmap: 18000000 00000000 00000000 000000ffRemote AL_PAs[021600]: e2 e4 e8 ef[021700]: 04[021900]: da dc e0 e1Local AL_PAs[011900]: 02Local looplet states

The Official SupportShow Command Reference Guide 2-215

Page 240: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Member: 0 9Online: - 9

Note: If there is a dual switch QuickLoop, the E_Port will appear as part of the QuickLoop even though it is not a real looplet.

Self the local switch with its WWN and domain number.Peer the remote switch with its WWN and domain number. If QuickLoop is in single switch mode, no peer is listed.State indicates if the local switch is the master or non-master.Scope indicates the QuickLoop mode as dual or single switch.AL_PA bitmap All AL_PAs in the entire QuickLoopRemote AL_PAs The looplets and devices that are in QuickLoop mode on the remote switchLocal AL_PAs The looplets and devices that are in QuickLoop mode on the local switchLocal looplet states the looplets, member (switch ports), online (QuickLoop ports, looplet) status (port).

How do we use this information?

If a port is put into quickloop (QL) mode and the attached device is a Fabric host it will “FLOGI” itself to death because QL disables FLOGI’s at the port and the attached device is set up as Fabric which means FLOGI! A definite mismatch! Also if a private host needs to communicate in a Fabric QL must be licensed and enabled.

2-216 The Official SupportShow Command Reference Guide

Page 241: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

rcsinfoshow

Note: rcs stands for “Reliable Commit Service”

Troubleshooting Use: rcsinfoshow command shows the RCS capability of the switches. The user can tell if all the switches in the fabric support RCS.

Available in Fabric OS versions: v4.1, v4.2

Additional Example/Case Studies:

Example 2-59: v4.1 outputrcsinfoshow:Domain : Version : capability 2: 1 | 1 Domain list 1, 2, g_rcsDisabled = 0 g_rcsForceDisabled = 0 g_rcsMyDomain = 1

Note: RCS (Reliable commit service) is used to propagate data from one switch to the rest of the switches in the fabric. This is a service that application for example: Zoning, Security and MS are used to send data from one switch to rest of the switches in the fabric. The RCS has 4 phases to ensure that all the switches in the fabric will have the same data. If one or more switches are not able to accept the new update, all the switches in the fabric will stay with the old data. If all the switches accept the new update, then the data will be committed on all the switches in the fabric.

v4.2 Example Output:

Example 2-106: rcsinfoshow:Domain : Version : capability Domain list 1, g_rcsDisabled = 0 g_rcsForceDisabled = 0 g_rcsMyDomain = 1

The Official SupportShow Command Reference Guide 2-217

Page 242: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

rcsregistryshow

Note: rcs stands for “Reliable Commit Service”

Troubleshooting Use: Rcsregisteryshow command shows which application registered for RCSAvailable in Fabric OS versions: v4.1, v4.2

Additional Example/Case Studies:v4.1 Example Output:

Example 2-60: rcsregistryshow:

RCS Registry0: appcode 1 callbacks [0x10011644; 0x10011644; 0x10011644; 0x10011644] 1: appcode 2 callbacks [0x10011644; 0x10011644; 0x10011644; 0x10011644] 2: appcode 3 callbacks [0x10011644; 0x10011644; 0x10011644; 0x10011644] 3: appcode 4 callbacks [0x10011644; 0x10011644; 0x10011644; 0x10011644]

v4.2 Example Output:

Example 2-107: rcsregistryshow:

RCS Registry0: appcode 1 callbacks [0x10011cc4; 0x10011cc4; 0x10011cc4; 0x10011cc4] 1: appcode 2 callbacks [0x10011cc4; 0x10011cc4; 0x10011cc4; 0x10011cc4] 2: appcode 3 callbacks [0x10011cc4; 0x10011cc4; 0x10011cc4; 0x10011cc4]

Note: RCS (Reliable commit service) is used to propagate data from one switch to the rest of the switches in the fabric. This is a service that application for example: Zoning, Security and MS are used to send data from one switch to rest of the switches in the fabric. The RCS has 4 phases to ensure that all the switches in the fabric will have the same data. If one or more switches are not able to accept the new update, all the switches in the fabric will stay with the old data. If all the switches accept the new update, then the data will be committed on all the switches in the fabric.

2-218 The Official SupportShow Command Reference Guide

Page 243: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

rcssmshowTroubleshooting Use: This command is useful for debuging the case where a RCS transaction is stuck.Available in Fabric OS versions: v4.1, v4.2

Note: rcs stands for “Reliable Commit Serivice”, sm stands for state change. This is a reliable commit service state change show command. The ‘rcssmshow’ command can be used to display the state machine of all the applications that use RCS. First structure is for Zoning, 2nd for Security etc. This debug command shows the Application Id, the rcs phase (Sender or receiver: ACA, SFC, UFC, RCA ), list of domains that got that phase, which domain accepted, rejected or left the fabric in the middle of the RCS transaction. Example: The first structure (RCS opcode 1) shows the RCS state machine used for the Zoning application. This structure shows the internal of the RCS state machine. It does not show the application data. ‘zone stateshow’ will display the zoning application debug information. Zoning uses RCS only for the commit operations (cfgEnable, cfgDisable & cfgSave). It is not used during zone merge. Therefore, RCS will not cause segmentation.

Additional Example/Case Studies:v4.2 Example Output:

Example 2-61: rcssmshow:=== Barrier 0x1001fb90 === nupdates(0) flags(0x0)=================================== RCS APPCODE - 1 ====

----------------------------------------------Rcs Xact State Machine Control Block: 0x10020518++++++++++++++++++++++++++++++++++++++++++++++ Application ID : -1 Transaction State : 0 RTWR Handle : 0x1002afe0 Transaction Prev State: 0 Rca Reason : 0 Original CM : 0 New CM : 0 Last Local Callback : 0 Original Domains : { Number Of Domains : 0 } Sent Domains : { Number Of Domains : 0 } Accepted Domains : { Number Of Domains : 0 } Rejected Domains : { Number Of Domains : 0 } Domains that Left Fabric during Commit: { Number Of Domains : 0 } Timer ID : 0x1002acd8

The Official SupportShow Command Reference Guide 2-219

Page 244: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Application Data CB : { application id : -1 application data size : -1 application data ptr : (nil) } Preamble size : 0----------------------------------------------=== RCS APPCODE - 2 ====

----------------------------------------------Rcs Xact State Machine Control Block: 0x10020a48++++++++++++++++++++++++++++++++++++++++++++++ Application ID : -1 Transaction State : 0 RTWR Handle : 0x10030478 Transaction Prev State: 0 Rca Reason : 0 Original CM : 0 New CM : 0 Last Local Callback : 0 Original Domains : { Number Of Domains : 0 } Sent Domains : { Number Of Domains : 0 } Accepted Domains : { Number Of Domains : 0 } Rejected Domains : { Number Of Domains : 0 } Domains that Left Fabric during Commit: { Number Of Domains : 0 } Timer ID : 0x1002ad30 Application Data CB : { application id : -1 application data size : -1 application data ptr : (nil) } Preamble size : 0----------------------------------------------=== RCS APPCODE - 3 ====

----------------------------------------------Rcs Xact State Machine Control Block: 0x10020f78++++++++++++++++++++++++++++++++++++++++++++++ Application ID : -1 Transaction State : 0 RTWR Handle : 0x100394a8 Transaction Prev State: 0 Rca Reason : 0 Original CM : 0 New CM : 0 Last Local Callback : 0 Original Domains : { Number Of Domains : 0 }

2-220 The Official SupportShow Command Reference Guide

Page 245: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Sent Domains : { Number Of Domains : 0 } Accepted Domains : { Number Of Domains : 0 } Rejected Domains : { Number Of Domains : 0} Domains that Left Fabric during Commit: { Number Of Domains : 0 } Timer ID : 0x1002ad88 Application Data CB : { application id : -1 application data size : -1 application data ptr : (nil) } Preamble size : 0----------------------------------------------=== RCS APPCODE - 4 ====

----------------------------------------------Rcs Xact State Machine Control Block: 0x100214a8++++++++++++++++++++++++++++++++++++++++++++++ Application ID : -1 Transaction State : 0 RTWR Handle : 0x10034c90 Transaction Prev State: 0 Rca Reason : 0 Original CM : 0 New CM : 0 Last Local Callback : 0 Original Domains : { Number Of Domains : 0 } Sent Domains : { Number Of Domains : 0 } Accepted Domains : { Number Of Domains : 0 } Rejected Domains : { Number Of Domains : 0 } Domains that Left Fabric during Commit: { Number Of Domains : 0 } Timer ID : 0x1002ade0 Application Data CB : { application id : -1 application data size : -1 application data ptr : (nil) } Preamble size : 0

The Official SupportShow Command Reference Guide 2-221

Page 246: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

----------------------------------------------

Note: No additional information is available at this time.

v4.2 Example Output:

Example 2-108: rcssmshow:=== Barrier 0x10020450 === nupdates(0) flags(0x0)=================================== RCS APPCODE - 1 ====----------------------------------------------Rcs Xact State Machine Control Block: 0x10020e58++++++++++++++++++++++++++++++++++++++++++++++ Application ID : -1 Transaction State : 0 RTWR Handle : 0x10030ec8 Transaction Prev State: 0 Rca Reason : 0 Original CM : 0 New CM : 0 Last Local Callback : 0 Original Domains : { Number Of Domains : 0 } Sent Domains : { Number Of Domains : 0 } Accepted Domains : { Number Of Domains : 0 } Rejected Domains : { Number Of Domains : 0 } Domains that Left Fabric during Commit: { Number Of Domains : 0 } Timer ID : 0x1002b6e0 SHM ID : 720917 SHM Size : 131072 Socket : -1 Application Data CB : { application id : -1 application data size : -1 application data ptr : (nil) } Preamble size : 0----------------------------------------------=== RCS APPCODE - 2 ====----------------------------------------------Rcs Xact State Machine Control Block: 0x10021398++++++++++++++++++++++++++++++++++++++++++++++ Application ID : -1 Transaction State : 0

2-222 The Official SupportShow Command Reference Guide

Page 247: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

RTWR Handle : 0x10035728 Transaction Prev State: 0 Rca Reason : 0 Original CM : 0 New CM : 0 Last Local Callback : 0 Original Domains : { Number Of Domains : 0 } Sent Domains : { Number Of Domains : 0 } Accepted Domains : { Number Of Domains : 0 } Rejected Domains : { Number Of Domains : 0 } Domains that Left Fabric during Commit: { Number Of Domains : 0 } Timer ID : 0x1002b738 SHM ID : 753686 SHM Size : 131072 Socket : -1 Application Data CB : { application id : -1 application data size : -1 application data ptr : (nil) } Preamble size : 0----------------------------------------------=== RCS APPCODE - 3 ====----------------------------------------------Rcs Xact State Machine Control Block: 0x100218d8++++++++++++++++++++++++++++++++++++++++++++++ Application ID : -1 Transaction State : 0 RTWR Handle : 0x1002b9e8 Transaction Prev State: 0 Rca Reason : 0 Original CM : 0 New CM : 0 Last Local Callback : 0 Original Domains : { Number Of Domains : 0 } Sent Domains : { Number Of Domains : 0 } Accepted Domains : { Number Of Domains : 0 } Rejected Domains : { Number Of Domains : 0 } Domains that Left Fabric during Commit: { Number Of Domains : 0 } Timer ID : 0x1002b790 SHM ID : 786455 SHM Size : 131072 Socket : -1

The Official SupportShow Command Reference Guide 2-223

Page 248: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Application Data CB : { application id : -1 application data size : -1 application data ptr : (nil) } Preamble size : 0----------------------------------------------

2-224 The Official SupportShow Command Reference Guide

Page 249: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

routeShowAvailable in Fabric OS versions: v3.1, v3.1.2 (Networking Command Group)v4.2 Example Output: NATroubleshooting Use: Use the output of this command along with other network command group commands to

troubleshoot TCP/IP network access problems. The output of this command will help determine TCP/IP routing.

Example 2-109: Output from a v3.1.2 switch routeShowROUTE NET TABLEdestination gateway flags Refcnt Use Interface----------------------------------------------------------------------------0.0.0.0 10.64.144.1 3 1 710 fei010.64.144.0 10.64.147.28 101 0 0 fei0----------------------------------------------------------------------------ROUTE HOST TABLEdestination gateway flags Refcnt Use Interface----------------------------------------------------------------------------127.0.0.1 127.0.0.1 5 0 0 lo0----------------------------------------------------------------------------

network Command Group Commands:ipAddrShow ifShow ipstatShow udpstatShow tcpstatShow inetstatshow mbufShow arpShow routeShow routestatShow hostShow feiDumpPrint i557Dump feiIterateRFDRings

The Official SupportShow Command Reference Guide 2-225

Page 250: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

routestatShowAvailable in Fabric OS versions: v3.1, v3.1.2 (Networking Command Group)v4.2 Example Output: NATroubleshooting Use: Use the output of this command along with other network command group commands to

troubleshoot TCP/IP network access problems. This command displays TCP/IP network routing statistics.

Example 2-110: Output from a v3.1.2 switch routestatShowrouting:

0 bad routing redirect0 dynamically created route0 new gateway due to redirects0 destination found unreachable0 use of a wildcard route

network Command Group Commands:ipAddrShow ifShow ipstatShow udpstatShow tcpstatShow inetstatshow mbufShow arpShow routeShow routestatShow hostShow feiDumpPrint i557Dump feiIterateRFDRings

2-226 The Official SupportShow Command Reference Guide

Page 251: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

secFabricShowAvailable in Fabric OS versions: v3.1, v3.1.2, v4.1, v4.2Troubleshooting Use: Use this command to display security related fabric information.

This command displays the security related information about the fabric.

The information displayed is as follows:

Role Displays whether the switch is the Primary FCS, Backup FCS, or Non FCS.WWN Displays the world wide name of the switch.DId Displays the Domain of the switch.Status Displays the security state of the switch.Ready This switch is in a stable state.Busy This switch is updating its security database.Error This switch's security database is inconsistent with the Primary FCS.Enet IP Addr Displays the Ethernet IP address.Name Displays the switch name.

Note: When security mode is enabled, this command can be executed on any switch in fabric.

Example 2-62: To display security related fabric information on the Primary FCS switch.secpolicydumpswitch:admin> secfabricshowRole WWN DId Status Enet IP Addr Name================================================================non-FCS 10:00:00:60:69:10:03:231 Ready 192.168.100.148 "nonfcs"Backup 10:00:00:60:69:00:12:53 2 Ready 192.168.100.147 "backup"Primary 10:00:00:60:69:22:32:83 3 Ready 192.168.100.135 "switch"___________________________________________Secured switches in the fabric: 3switch:admin>

v4.2 Example Output:

Example 2-111: secFabricShow:Can only execute this command when secure mode is enabled.

The Official SupportShow Command Reference Guide 2-227

Page 252: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

secmodeshowAvailable in Fabric OS versions: Version Differences:Additional Example/Case Studies:Troubleshooting Use: Use this command to display the current security mode of the fabric (enabled or disabled)

Use this command to display the current security mode of the fabric. The fabric can be in secure mode or non secure mode. If the fabric is in secure mode, the following information is displayed:

• Version stamp - Displays the current version and build date and time of the security database• FCS switches - Displays a list of FCS switches• Primary - Displays whether the switch is a Primary FCS or Backup FCS• WWN - Displays the WWN of the FCS switch• Did - Displays the Domain of the FCS switch• swName - Displays the alias name of the FCS switch

Note: Note: When security mode is enabled, this command can be executed on any switch in fabric

Examples

Example 2-112: primaryfcs:admin> secmodeshowSecure Mode: ENABLED.Version Stamp: 9182, Wed Mar 13 16:37:01 2001.POS Primary WWN DId swName.====================================================1 Yes 10:00:00:60:69:00:00:5a 21 SW47.2 No 12:00:00:60:60:03:23:5b 5 SW12.primaryfcs:admin>

Example 2-113: v4.1 examplesecModeShowSecure Mode: DISABLED.

v4.2 Example Output:

Example 2-114: secModeShow:Secure Mode: DISABLED.

2-228 The Official SupportShow Command Reference Guide

Page 253: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

secpolicydumpAvailable in Fabric OS versions: v3.1 plus, v4.2 plusTroubleshooting Use: Use this command to display the members of an existing policy in the Active and Defined

(saved) databases without page breaks.

Note: When security mode is enabled, this command can be executed on any FCS switch in fabric.

Examples

Example 2-115: To view all security policy information from all databases (active, updating, defined).primaryfcs:admin> secpolicydump____________________________________________________DEFINED POLICY SETFCS_POLICY Pos Primary WWN DId swName__________________________________________________ 1 Yes 10:00:00:60:69:30:15:5c 1 primaryfcsHTTP_POLICY IpAddr__________________________________________________192.155.52.0__________________________________________________ACTIVE POLICY SETFCS_POLICYPos Primary WWN DId swName__________________________________________________ 1 Yes 10:00:00:60:69:30:15:5c 1 primaryfcsHTTP_POLICY IpAddr__________________________________________________192.155.52.0192.155.53.1192.155.54.2192.155.55.3

__________________________________________________primaryfcs:admin>

Example 2-116: To view all security policy information for the TELNET_POLICY without page breaks: primaryfcs:admin> secpolicydump "*", "TELNET_POLICY"____________________________________________________DEFINED POLICY SETTELNET_POLICY IpAddr__________________________________________________192.155.52.13192.155.52.11_________________________________________________ACTIVE POLICY SETTELNET_POLICY IpAddr__________________________________________________192.155.52.0__________________________________________________primaryfcs:admin>

v4.2 Example Output:

Example 2-117: secPolicyDump:Can only execute this command when secure mode is enabled.

The Official SupportShow Command Reference Guide 2-229

Page 254: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

secStatsShowAvailable in Fabric OS versions: v3.1 plus, v4.2 plusTroubleshooting Use: Use this command to display security statistic for a policy or for all policies.This command

can be issued to any switch. If issued on the Primary FCS switch, this command can retrieve and display the security statistics for any or all switches in the fabric.

Note: When security mode is enabled, this command can be issued from any switch in the fabric.

Additional Example/Case Studies:

An ongoing procedure of security is monitoring and auditing logs to identify if violations have occurred at the switch using errShow or at a

syslogdIpAdd server. Fabric Watch can be configured to notify when violations have occurred using SNMP, Email, Fabric Manager or Sys-

logdIpAdd. As an alternative security violations can be viewed using secStatsShow on a per switch basis or for the entire fabric.

From the Primary FCS the command secStatsShow can be used to view all violations on all domains or individual violations on a particular domain. If secStatsShow is used on any switch other than the primary FCS only the local violations can be viewed. An example of sec-StatsShow has been formatted for this document is shown below:

TELNET_POLICY 0 HTTP_POLICY 0

API_POLICY 0 RSNMP_POLICY 0

WSNMP_POLICY 0 SES_POLICY 0

MS_POLICY 0 SERIAL_POLICY 0

FRONTPANEL_POLICY 0 SCC_POLICY 0

DCC_POLICY 0 LOGIN 0

INVALID_TS 0 INVALID_SIGN 0

INVALID_CERT 0 SLAP FAIL 0

SLAP_BAD_PKT 0 TS_OUT_SYNC 0

NO_FCS 0 INCOMP_DB 0

ILLEGAL_CMD 0

When a violation has occurred the counter for the policy type will be incremented. 0x10309360 (tReceive): Feb 12 20:44:44

INFO SEC-SECVIOL_DCC, 4, Security violation: Unauthorized device 10:00:00:00:c9:2a:b7:38 tries to flogin to port 7 of

switch 10:00:00:60:69:50:06:e4.

Feb 12 20:44:44.733 port 7: Rejecting the FLOGI from 0x020700(10:00:00:00:c9:2a:b7:38) due to security violation

Since a DCC_POLICY was violated, the DCC_POLICY counter incremented from zero to 1

DCC_POLICY 1

v4.2 Example Output:

Example 2-118: secStatsShow:

Fabric Statistics:

Domain 1:Name Value=========================================

2-230 The Official SupportShow Command Reference Guide

Page 255: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

TELNET_POLICY 0HTTP_POLICY 0API_POLICY 0RSNMP_POLICY 0WSNMP_POLICY 0SES_POLICY 0MS_POLICY 0SERIAL_POLICY 0FRONTPANEL_POLICY 0SCC_POLICY 0DCC_POLICY 0LOGIN 0INVALID_TS 0INVALID_SIGN 0INVALID_CERT 0SLAP FAIL 0SLAP_BAD_PKT 0TS_OUT_SYNC 0NO_FCS 0INCOMP_DB 0ILLEGAL_CMD 0

The Official SupportShow Command Reference Guide 2-231

Page 256: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

semaShowAvailable in Fabric OS versions: v3.1, v3.1.2 (Port Command Group)v4.2 Example Output: NATroubleshooting Use: ‘Semashow 1’ is a VX Works command. It shows the semaphores that are

currently being held. The example below has no semaphores being held. Example 2-119: v3.1.2 output

semaShow 1

Note: This command has no additional Fabric OS information at this time. As the information becomes available the command will be inserted in this section

2-232 The Official SupportShow Command Reference Guide

Page 257: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

sensorshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display sensor readings.Version Differences: Switch 24000 version 4.2 sensorshow output displays sensor information for all slots. Switch

12000 sensorshow information depicted depends on where the command was issued. Read notes under “Additional Example / Case Studies Notes”.

Additional Example/Case Studies Notes:

Use this command to display the current temperature, fan and power supply status and readings from sensors located on the switch. The actual location of the sensors varies depending on the switch type. In the SilkWorm 12000, the information returned with sensorshow is specific to the logical switch you are logged into:

• If you are logged into Logical switch 0, sensors 1 through 4 are for switch blade slots 1 through 4, respectively. Sensors 5 and 6 are for the two CPs in slots 5 and 6, respectively.

• If you are logged into Logical switch 1, sensors 1 and 2 are for the two CPs in slots 5 and 6, respectively. Sensors 3 through 6 are for switch blade slots 7 through 10, respectively.

• If you are logged into the Active CP through the console port, you are prompted to specify the logical switch this command is executed on. If you login to the Active CP through the Fabric OS shell, this command always executes on the default switch (logical switch 0).

• Regardless of logical switch, sensors 7 through 9 are for the three chassis fans, left to right, and sensors 10 through 13 are for the four chassis power supplies, bottom to top.

Example 2-63: v4.1 example from logical switch 0sensorshow:sensor 1: (Temperature) is Absentsensor 2: (Temperature) is Ok, value is 32 C sensor 3: (Temperature) is Ok, value is 32 C sensor 4: (Temperature) is Absentsensor 5: (Temperature) is Ok, value is 20 C sensor 6: (Temperature) is Ok, value is 20 C sensor 7: (Fan ) is Ok, speed is 2556 RPMsensor 8: (Fan ) is Ok, speed is 2537 RPMsensor 9: (Fan ) is Ok, speed is 2481 RPMsensor 10: (Power Supply ) is Ok sensor 11: (Power Supply ) is Ok sensor 12: (Power Supply ) is Ok sensor 13: (Power Supply ) is Ok

v4.2 Example Output:

Example 2-120: sensorshow:sensor 1: (Temperature) is Ok, value is 26 C sensor 2: (Temperature) is Ok, value is 26 C sensor 3: (Temperature) is Absentsensor 4: (Temperature) is Ok, value is 26 C sensor 5: (Temperature) is Ok, value is 30 C sensor 6: (Temperature) is Ok, value is 30 C sensor 7: (Temperature) is Ok, value is 26 C sensor 8: (Temperature) is Ok, value is 26 C sensor 9: (Temperature) is Ok, value is 25 C sensor 10: (Temperature) is Ok, value is 26 C sensor 11: (Fan ) is Ok, speed is 2500 RPMsensor 12: (Fan ) is Ok, speed is 2481 RPMsensor 13: (Fan ) is Ok, speed is 2518 RPMsensor 14: (Power Supply ) is Ok sensor 15: (Power Supply ) is Faulty sensor 16: (Power Supply ) is Ok sensor 17: (Power Supply ) is Faulty

The Official SupportShow Command Reference Guide 2-233

Page 258: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

sfpshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display information about Serial Identification SFPs (also known as

module definition “4” SFPs). These SFPs provide extended information that describes the SFPs capabilities, interfaces, manufacturer, and other information.

Note: SFPs are polled by a background process. The sfpshow command retrieves the latest information from cache. The cache values for each SFP are updated when the SFP is hot plugged, when it is removed, or when the Fabric OS polls the SFPs. In the SilkWorm 12000, if there is a lot of activity on the switch, poll updates may take several minutes. Use this command with no operand to display a summary of all SFPs in the switch. The summary shows the SFP type (see switchshow for an explanation of the two letter codes) and, for Serial ID SFP, the vendor name and SFP serial number. Use this command with the slot and portnumber operand to display detailed information about the Serial ID SFP in that port. For Finisar “smart” SFPs, five additional fields are displayed: module temperature, voltage, received optical power, transmitted optical power (longwave only), and laser diode drive current.

Example 2-64: The example below shows SFP summary information followed by detailed information for an SFP:

This example shows detailed SFP information for a SilkWorm 12000:

switch:admin> sfpshowArea 0: id (sw) Vendor: AGILENT Serial No: A00149567Area 1: id (sw) Vendor: AGILENT Serial No: A00108650Area 2: id (sw) Vendor: AGILENT Serial No: A00149568Area 3: id (sw) Vendor: AGILENT Serial No: A00108567Area 4: id (sw) Vendor: AGILENT Serial No: A00152395Area 5: id (sw) Vendor: AGILENT Serial No: A00149623Area 6: id (sw) Vendor: AGILENT Serial No: A00152423Area 7: id (sw) Vendor: AGILENT Serial No: A00108932Area 8: id (sw) Vendor: AGILENT Serial No: A00111165Area 9: id (sw) Vendor: AGILENT Serial No: A00079899Area 10: id (sw) Vendor: AGILENT Serial No: A00079319Area 11: id (sw) Vendor: AGILENT Serial No: A00079917Area 12: id (sw) Vendor: AGILENT Serial No: A00079274Area 13: id (sw) Vendor: AGILENT Serial No: A00079348Area 14: id (sw) Vendor: AGILENT Serial No: A00079843Area 15: id (sw) Vendor: AGILENT Serial No: A00150114Area 16: id (sw) Vendor: AGILENT Serial No: A00079337Area 17: id (sw) Vendor: AGILENT Serial No: A00148599Area 18: id (sw) Vendor: AGILENT Serial No: A00079856Area 19: id (sw) Vendor: AGILENT Serial No: A00079937Area 20: id (sw) Vendor: AGILENT Serial No: A00079832Area 21: id (sw) Vendor: AGILENT Serial No: A00079835Area 22: id (sw) Vendor: AGILENT Serial No: A00079332Area 23: id (sw) Vendor: AGILENT Serial No: A00079852Area 24: id (sw) Vendor: AGILENT Serial No: A00148593Area 25: id (sw) Vendor: AGILENT Serial No: A00084645Area 26: id (sw) Vendor: AGILENT Serial No: A00079381Area 27: id (sw) Vendor: AGILENT Serial No: A00084644Area 28: id (sw) Vendor: AGILENT Serial No: A00084654Area 29: id (sw) Vendor: AGILENT Serial No: A00079318Area 30: id (sw) Vendor: AGILENT Serial No: A00079848Area 31: id (sw) Vendor: AGILENT Serial No: A00079356switch:admin>

Note: Additional sfp information can be gathered per port from the CLI using sfpshow <slot / port #>

2-234 The Official SupportShow Command Reference Guide

Page 259: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

switch:admin> sfpshow 1/3Identifier: 3 SFPConnector: 7 LCTransceiver: 050c402000000000 100,200_MB/s M5,M6 sw Inter_distEncoding: 1 8B10BBaud Rate: 21 (units 100 megabaud)Length 9u: 0 (units 100 meters)Length 50u: 30 (units 10 meters)Length 625u: 13 (units 10 meters)Length Cu: 0 (units 1 meter)Vendor Name: FINISAR CORP.Vendor OUI: 00:90:65Vendor PN: FTRJ-8519-3-2.5Vendor Rev: X1Options: 0012 Loss_of_Sig,Tx_DisableBR Max: 0BR Min: 0Serial No: H112YFRDate Code: 010418

v4.2 Example Output:

Example 2-121: sfpshow:Area 0: -- Area 1: id (sw) Vendor: FINISAR CORP. Serial No: H11XTJK Area 2: -- Area 3: -- Area 4: -- Area 5: id (sw) Vendor: FINISAR CORP. Serial No: H11S8Z5 Area 6: -- Area 7: -- Area 8: -- Area 9: -- Area 10: id (sw) Vendor: FINISAR CORP. Serial No: H11AUVX Area 11: -- Area 12: -- Area 13: -- Area 14: -- Area 15: -- Area 16: id (sw) Vendor: FINISAR CORP. Serial No: H11ATDD Area 17: -- Area 18: -- Area 19: -- Area 20: -- Area 21: id (sw) Vendor: FINISAR CORP. Serial No: H11ASFL Area 22: -- Area 23: -- Area 24: -- Area 25: -- Area 26: id (sw) Vendor: FINISAR CORP. Serial No: H11ATMT Area 27: -- Area 28: -- Area 29: -- Area 30: -- Area 31: id (sw) Vendor: FINISAR CORP. Serial No: H115AFQ Area 48: -- Area 49: -- Area 50: -- Area 51: id (sw) Vendor: FINISAR CORP. Serial No: P119QYF Area 52: id (sw) Vendor: FINISAR CORP. Serial No: H11QVNF Area 53: -- Area 54: --

The Official SupportShow Command Reference Guide 2-235

Page 260: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Area 55: -- Area 56: -- Area 57: -- Area 58: -- Area 59: id (sw) Vendor: FINISAR CORP. Serial No: H112TX1 Area 60: -- Area 61: -- Area 62: -- Area 63: id (sw) Vendor: FINISAR CORP. Serial No: H1172TF Area 64: -- Area 65: -- Area 66: -- Area 67: -- Area 68: -- Area 69: -- Area 70: -- Area 71: -- Area 72: -- Area 73: id (sw) Vendor: FINISAR CORP. Serial No: H11GD8N Area 74: -- Area 75: id (sw) Vendor: FINISAR CORP. Serial No: H116Q91 Area 76: -- Area 77: -- Area 78: -- Area 79: -- Area 80: -- Area 81: -- Area 82: -- Area 83: -- Area 84: -- Area 85: -- Area 86: id (sw) Vendor: FINISAR CORP. Serial No: H112TPP Area 87: -- Area 88: -- Area 89: -- Area 90: -- Area 91: -- Area 92: -- Area 93: -- Area 94: id (sw) Vendor: FINISAR CORP. Serial No: H117F6F Area 95: -- Area 96: -- Area 97: -- Area 98: -- Area 99: -- Area 100: id (sw) Vendor: FINISAR CORP. Serial No: H11S8S2 Area 101: -- Area 102: -- Area 103: -- Area 104: -- Area 105: -- Area 106: id (sw) Vendor: FINISAR CORP. Serial No: H115AE4 Area 107: -- Area 108: -- Area 109: -- Area 110: -- Area 111: -- Area 112: -- Area 113: -- Area 114: id (sw) Vendor: FINISAR CORP. Serial No: H11UFE2 Area 115: -- Area 116: -- Area 117: -- Area 118: -- Area 119: --

2-236 The Official SupportShow Command Reference Guide

Page 261: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Area 120: -- Area 121: -- Area 122: -- Area 123: -- Area 124: -- Area 125: id (sw) Vendor: FINISAR CORP. Serial No: H11AUFM Area 126: -- Area 127: id (sw) Vendor: FINISAR CORP. Serial No: H112T3N

The Official SupportShow Command Reference Guide 2-237

Page 262: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

slotShowAvailable in Fabric OS versions: 4.0.2cAdditional Example/Case Studies:Troubleshooting Use: Use this command to displays slot status

Example 2-65: Use this command to inventory and display the current status of each slot in the system.slotshowSlot Blade Type ID Status --------------------------------- 1 UNKNOWN VACANT 2 UNKNOWN VACANT 3 SW BLADE 2 ENABLED 4 SW BLADE 2 FAULTY 5 CP BLADE 1 ENABLED 6 CP BLADE 1 ENABLED 7 SW BLADE 2 ENABLED 8 SW BLADE 2 ENABLED 9 UNKNOWN VACANT 10 UNKNOWN VACANT

The format of the display includes a header and four fields for each slot. The fields and their possible values are as follows:Slot Displays the physical slot number.

Blade Type Displays the blade type:SW BLADE The blade is a Switch.CP BLADE The blade is a Control Processor.UNKNOWN Blade not present or its type is not recognized.ID Displays the hardware ID of the blade type.

Status Displays the status of the blade:VACANT The slot is empty.INSERTED, NOT POWERED ON The blade is present in the slot but is turned off.DIAG RUNNING POST1 The blade is present, powered on, and running the post initialization power on self tests.DIAG RUNNING POST2 The blade is present, powered on, and running the POST (power on self tests).ENABLED The blade is on and enabled.DISABLED The blade is powered on but disabled.FAULTY The blade is faulty because an error was detected.UNKNOWN The blade is inserted but its state cannot be determined.

Note: Check this when there are blade/ bloom errors in the errlog or if the customer reports a blade down. Also use this to check that both CP’s are up and running. See additional notes in V4.1 slotshow output information.

v4.2 Example Output:

Example 2-122: slotshow:

Slot Blade Type ID Status --------------------------------- 1 SW BLADE 4 ENABLED 2 SW BLADE 4 ENABLED 3 UNKNOWN VACANT 4 SW BLADE 4 ENABLED 5 CP BLADE 5 ENABLED 6 CP BLADE 5 ENABLED 7 SW BLADE 4 ENABLED

2-238 The Official SupportShow Command Reference Guide

Page 263: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

8 SW BLADE 4 ENABLED 9 SW BLADE 4 ENABLED 10 SW BLADE 4 ENABLED

The Official SupportShow Command Reference Guide 2-239

Page 264: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

supportshowcfgshowAvailable in Fabric OS versions: v3.1, v3.2, v4.1, v4.2Additional Example/Case Studies:Troubleshooting Use: Use this command to display groups of commands enabled for display

Use this command to display the groups of commands enabled for display by the supportshow command. Use the supportshowcfgenable and the supportshowdisable commands to modify which groups are displayed.

Example 2-123: switch:admin> supportshowcfgshowportlog enabledos enabledexception enabledport enabledfabric enabledservices enabledsecurity enablednetwork enabledsystem enabledextend disabledfilter disabledperfmon disabled

Note: As of ver 3.1/4.1 plus supportshow outputs can be enabled or disabled per group.

2-240 The Official SupportShow Command Reference Guide

Page 265: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

switchShowAvailable in Fabric OS versions: AllVersion Differences: Slotted switches will display slot and port columns.Troubleshooting Use: Use this command to display switch and port status. A good port state (online) will tell you

that you have a good link. A device that comes in as expected (L-Port, F_Port or E_Port) lets you know that a good connection exchange occurred.

Use this command to display switch and port status information. Information may vary by switch model. Below is the information provided. The first section provides switch summary information; it is followed by a section covering summary information by port. Switch summary information:

switchName Displays the switch symbolic name.switchType Displays the switch model and firmware revision number. See switchType notes belowswitchState Displays the switch state: online, offline, testing, faulty.switchMode Displays the switch mode: native, interop. This value is only displayed in v3.0.switchRole Displays the switch role: principal, subordinate, disabled.switchDomain Displays the switch domain ID: 0-31 or 1-239.switchId Displays the switch embedded port D_ID. See switchId notes belowswitchWwn Displays the switch worldwide name.switchBeacon Displays the switch's beaconing state (either ON or OFF).blade_n:Beacon Displays the blade’s beaconing state (either ON or OFF). Each blade is numbered by its position in the

Silkworm 12000 chassis (from 1 to 10). This parameter is for v4.0 only.Zoning Displays the switch zoning mode: On or Off. This value is only displayed in v3.0.

switchType – <model_type>.<motherboard_revision_level> The model types are as follows: 1 = Brocade SilkWorm 1000; 2 = Brocade SilkWorm 2800; 3 = Brocade SilkWorm 2400; 4 = Brocade SilkWorm 20x0; 5 = Brocade SilkWorm 22x0; 9 = Brocade SilkWorm 3800; 10 = Brocade SilkWorm 12000; 16 = Brocade SilkWorm 3200; 12 = Brocade SilkWorm 3900; 21 = Brocade 24000; 26 = Brocade 3250; & 27 = Brocade 3850. The motherboard revision level varies per type.

The switchId, embedded port and domain controller all refer to the switches Fabric services functionality. The domain controller is responsible for all communication to/from Well-Known addresses: FF FF FF = Broadcast; FF FF FE = Fabric Login; FF FF FD = Fabric Controller; FF FF FC = Directory Server; FF FF FB = Time Server; FF FF FA = Management Server; FF FF F9 = Quality of Service Facilitator; FF FF F8 = Alias Server (FC-PH2); FF FF F7 = Security Key Distribution Server; FF FF F6 = Clock Synchronization Server; FF FF F5 = Multicast Server; FF FF F4 - FF FF F0 = reserved. See the Decoding Reference Guide for additional information, search for ìWell-Known Addressesî.

The switch summary is followed by one line per port:Area Each slot and port combination in the Silkworm 12000 is assigned an area number. For example, the area

number of slot 3/port 15 is 63 (in switch 0), the area number for slot 10/port 15 is also 63 (in switch 1). This parameter is for v4.0 only.

Slot number. The Silkworm 12000 has 10 slots numbered from 1 to 4 and 7 to 10. Slots 5 and 6 are control processor cards. This parameter is for v4.0 only.

Port number. Valid values vary depending on the switch type. The Silkworm 12000 has 16 ports per slot, and ports are numbered from 0 to 15.

SFP Port module type (SFP or other):-- no module presentsw shortwave laserlw longwave lasercu copperid serial ID

The Official SupportShow Command Reference Guide 2-241

Page 266: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Speed The speed of the port:1G 1G per second fixed transfer speed2G 2G per second fixed transfer speedN1 1G per second negotiated transfer speedN2 2G per second negotiated transfer speedAN Auto negotiating

Port state information:No_Card no interface card presentNo_Module no module (SFP or other) presentNo_Light module not receiving lightNo_Sync module receiving light but out of syncIn_Sync module receiving light and in syncLaser_Flt module signaling a laser faultPort_Flt port marked faultyDiag_Flt port failed diagnosticsLock_Ref locking to the reference signalTesting running diagnosticsOnline port is up and runningComment: The comment field may be blank, or it may display:Disabled port is disabledBypassed port is bypassed (see bypassed notes below)Loopback port is in loopback mode

Note: A port in bypass state means that it is not ready for some reason. A port could go into bypass state: while the switch is booting up and a device tries to log in – the switch port “not ready” may cause it to go into bypass mode; it goes into bypass mode when a device is continually logging in and the switch port gets confused; or when a host runs a script that ‘on the fly’ takes down the HBA's driver and alternates the topology setting too rapidly.

Additional port information:E_port fabric port, shows WWN and name of attached switchF_port point-to-point port, shows WWN of attached N_portG_port point-to-point but not yet E_port or F_portL_port loop port, shows number of NL_ports(Trunk master) This port is the master port in a group of trunking ports(Trunk port, master is port #x) This port is configured as a trunking port, the master port is port number x.(upstream) This E-port is an upstream path towards the principal switch of the fabric.(downstream) This E-port is a downstream path away from the principal switch of the fabric.WWN This is the WWN of the switch connected to the E-port. “switch_name” - This is the switch name of the

connected switch.Lx if a port is configured as a long distance port, the long distance level is shown in the format of “Lx”, x

being the long distance level number. See portCfgLongDistance for the level description.

When a port is configured as a long distance port like port 0, the long distance level is shown in the format of Lx, x being the long distance level number.

2-242 The Official SupportShow Command Reference Guide

Page 267: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

x = L0: deconfigure the port - regular switch port. Port supports up to 10 km links.x = LE: level one half long distance, up to 25 km. A total of 13/19 (1G/2G) full-size frame buffers will be reserved for

the port.x = L0.5: level one half long distance, up to 25 km. A total of 19/34 (1G/2G) full-size frame buffers will be reserved

for the port. L0.5 capability was introduced in V3.1/4.1x = L1: level one long distance, up to 50 km. A total of 27/54 (1G/2G) full-size frame buffers will be reserved for the

port.x = L2: level two long distance, up to 100 km. A total of 60/63 (1G/2G) full-size frame buffers will be reserved for the

port.x = LD: level three long distance, from 10 to 100 km. A total of 13-60/19-63 (1G/2G) full-size frame buffers will be

reserved for the port according to the distance actually established. LD capability was introduced in V3.1/4.1. The D in LD stands for dynamic.

Configure a port as a long distance port with portCfgLongDistance [slot/]port [,distance_level], <VC Translation Link Init> command. Notice the extended Fabric (LE) output slot 1/port 1 in the Example 2-77 port 1 below.

Note: Brocade Switch WWN's can be used to identify the types of switches in the fabric from the fabricshow output.

WWN by product (look at the last 6 digits of the WWN, this is subject to change)

10:00:00:60:6910:xx:xx through 4F:xx:xx -> 2x00 series

10:00:00:60:6950:xx:xx -> 3800 switch

10:00:00:60:6951:xx:xx -> 3200 switch

10:00:00:60:6980:xx:xx -> 12000 switch

10:00:00:60:6990:xx:xx -> 3900 switch

10:00:00:05:1e:xx:xx:xx -> 3x50 switch

v4.1 Example Output:

Example 2-66: switchName:sw0switchType:10.1switchState:Online switchRole:PrincipalswitchDomain:1switchId:fffc01switchWwn:10:00:00:60:69:80:04:b2switchBeacon:OFFblade1 Beacon:OFFblade2 Beacon:OFF

Area Slot Port Gbic Speed State ===================================== 0 1 0 id N2 No_Light 1 1 1 id N2 No_Light LE 2 1 2 id N2 No_Light 3 1 3 -- N2 No_Module 4 1 4 -- N2 No_Module 5 1 5 -- N2 No_Module 6 1 6 -- N2 No_Module 7 1 7 -- N2 No_Module 8 1 8 -- N2 No_Module 9 1 9 -- N2 No_Module

The Official SupportShow Command Reference Guide 2-243

Page 268: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

10 1 10 id N2 Online F-Port 10:00:00:00:c9:2a:6b:3b 11 1 11 id N2 No_Light 12 1 12 id N2 No_Light 13 1 13 id N1 Online L-Port 27 public 14 1 14 id N2 No_Light 15 1 15 -- N2 No_Module 16 2 0 id N2 No_Light 17 2 1 id N2 No_Light 18 2 2 -- N2 No_Module 19 2 3 -- N2 No_Module 20 2 4 -- N2 No_Module 21 2 5 -- N2 No_Module 22 2 6 -- N2 No_Module 23 2 7 -- N2 No_Module 24 2 8 -- N2 No_Module 25 2 9 -- N2 No_Module 26 2 10 id N2 No_Light 27 2 11 -- N2 No_Module 28 2 12 id N2 No_Light 29 2 13 -- N2 No_Module 30 2 14 id N2 No_Light 31 2 15 -- N2 No_Module

Note: If your having trouble seeing a device in a Fabric switchshow is still one of the first commands to type. It will let you know the link status of a port and the switch. Until a port comes in with a port state of online or in sync on a online switch (switch state online), it has no hope of the Fabric seeing it. If the Fabric doesn’t see it, other devices in the Fabric sure won’t see it! If everything looks good here (online portstate and device comes in as F or L as expected, then check the name server databases (local: nsShow; global/24 bit address only; remote detail: nscamShow) and zoning (cfgshow) to make sure the device is seen in the entire Fabric and is in the same zone as device trying to access it.

v4.2 Example Output:

Example 2-124: switchshow:switchName:SW24000_32switchType:21.0switchState:Online switchMode:NativeswitchRole:PrincipalswitchDomain:1switchId:fffc01switchWwn:10:00:00:60:69:80:2d:4azoning: OFFswitchBeacon:OFFblade1 Beacon: OFFblade2 Beacon: OFFblade4 Beacon: OFFblade7 Beacon: OFFblade8 Beacon: OFFblade9 Beacon: OFFblade10 Beacon: OFF

Area Slot Port Media Speed State ===================================== 0 1 0 -- N2 No_Module 1 1 1 id N2 Online F-Port 10:00:00:00:c9:29:06:7d 2 1 2 -- N2 No_Module 3 1 3 -- N2 No_Module 4 1 4 -- N2 No_Module 5 1 5 id N2 No_Light 6 1 6 -- N2 No_Module

2-244 The Official SupportShow Command Reference Guide

Page 269: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

7 1 7 -- N2 No_Module 8 1 8 -- N2 No_Module 9 1 9 -- N2 No_Module 10 1 10 id N2 No_Light 11 1 11 -- N2 No_Module 12 1 12 -- N2 No_Module 13 1 13 -- N2 No_Module 14 1 14 -- N2 No_Module 15 1 15 -- N2 No_Module 16 2 0 id N2 No_Light 17 2 1 -- N2 No_Module 18 2 2 -- N2 No_Module 19 2 3 -- N2 No_Module 20 2 4 -- N2 No_Module 21 2 5 id N2 No_Light 22 2 6 -- N2 No_Module 23 2 7 -- N2 No_Module 24 2 8 -- N2 No_Module 25 2 9 -- N2 No_Module 26 2 10 id N2 No_Light 27 2 11 -- N2 No_Module 28 2 12 -- N2 No_Module 29 2 13 -- N2 No_Module 30 2 14 -- N2 No_Module 31 2 15 id N2 No_Light 48 4 0 -- N2 No_Module 49 4 1 -- N2 No_Module 50 4 2 -- N2 No_Module 51 4 3 id N2 No_Light 52 4 4 id N2 No_Light 53 4 5 -- N2 No_Module 54 4 6 -- N2 No_Module 55 4 7 -- N2 No_Module 56 4 8 -- N2 No_Module 57 4 9 -- N2 No_Module 58 4 10 -- N2 No_Module 59 4 11 id N2 No_Light 60 4 12 -- N2 No_Module 61 4 13 -- N2 No_Module 62 4 14 -- N2 No_Module 63 4 15 id N2 No_Light 64 7 0 -- N2 No_Module 65 7 1 -- N2 No_Module 66 7 2 -- N2 No_Module 67 7 3 -- N2 No_Module 68 7 4 -- N2 No_Module 69 7 5 -- N2 No_Module 70 7 6 -- N2 No_Module 71 7 7 -- N2 No_Module 72 7 8 -- N2 No_Module 73 7 9 id N2 No_Light 74 7 10 -- N2 No_Module 75 7 11 id N2 No_Light 76 7 12 -- N2 No_Module 77 7 13 -- N2 No_Module 78 7 14 -- N2 No_Module 79 7 15 -- N2 No_Module 80 8 0 -- N2 No_Module 81 8 1 -- N2 No_Module 82 8 2 -- N2 No_Module 83 8 3 -- N2 No_Module 84 8 4 -- N2 No_Module 85 8 5 -- N2 No_Module 86 8 6 id N2 No_Light 87 8 7 -- N2 No_Module

The Official SupportShow Command Reference Guide 2-245

Page 270: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

88 8 8 -- N2 No_Module 89 8 9 -- N2 No_Module 90 8 10 -- N2 No_Module 91 8 11 -- N2 No_Module 92 8 12 -- N2 No_Module 93 8 13 -- N2 No_Module 94 8 14 id N2 Online F-Port 10:00:00:00:c9:2b:7f:90 95 8 15 -- N2 No_Module 96 9 0 -- N2 No_Module 97 9 1 -- N2 No_Module 98 9 2 -- N2 No_Module 99 9 3 -- N2 No_Module 100 9 4 id N2 No_Light 101 9 5 -- N2 No_Module 102 9 6 -- N2 No_Module 103 9 7 -- N2 No_Module 104 9 8 -- N2 No_Module 105 9 9 -- N2 No_Module 106 9 10 id N2 No_Light 107 9 11 -- N2 No_Module 108 9 12 -- N2 No_Module 109 9 13 -- N2 No_Module 110 9 14 -- N2 No_Module 111 9 15 -- N2 No_Module 112 10 0 -- N2 No_Module 113 10 1 -- N2 No_Module 114 10 2 id N2 No_Light 115 10 3 -- N2 No_Module 116 10 4 -- N2 No_Module 117 10 5 -- N2 No_Module 118 10 6 -- N2 No_Module 119 10 7 -- N2 No_Module 120 10 8 -- N2 No_Module 121 10 9 -- N2 No_Module 122 10 10 -- N2 No_Module 123 10 11 -- N2 No_Module 124 10 12 -- N2 No_Module 125 10 13 id N2 No_Light 126 10 14 -- N2 No_Module 127 10 15 id N2 Online L-Port 15 public

2-246 The Official SupportShow Command Reference Guide

Page 271: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

switchstatuspolicyshowAvailable in Fabric OS versions: v4.1, v4.2Version Differences: This command can be invoked from all Fabric OS versions from the CLI. The outputs depicted

will depend on the capability of the platform.Additional Example/Case Studies:Troubleshooting Use: Use this command to display the policy parameters that determine the overall switch

status.These policy parameters determine the number of failed or non-operational units allowed for each contributor before triggering a status change in the switch. The command will print the current parameters in a three column table format. The first column specifies the contributor; the second column specifies the minimum number that contributes to the DOWN/FAILED status; the third column specifies the minimum number that contributes to the MARGINAL/WARNING status. The default values for the policy parameters are as follows:

The policy parameters determine the number of failed or non-operational units for each contributor that trigger a status change in the switch. For example, if the FaultyPorts DOWN parameter is set to 3, and 3 ports fail in the switch, then the status of the switch changes to DOWN.

Example 2-67: v4.1 outputswitchstatuspolicyshow:The current overall switch status policy parameters: Down Marginal ---------------------------------- FaultyPorts 2 1 MissingSFPs 0 0 PowerSupplies 2 1 Temperatures 2 1 Fans 2 1 PortStatus 0 0 ISLStatus 0 0

Note: switchstatuspolicyshow settings determine the overall switch status depicted as either healthy, marginal or faulty (down). Associated error log messages can be viewed in errdump output. These messages will be more descriptive if FW is installed. If FW isn’t installed, the FW error reporting mechanism will report switchstatuspolicyshow status as follows:

errDump 0/MARGINAL/WARNING TO/FROM HEALTHY/OK ARE NOT TOO HELPFUL WITHOUT A FW LICENSE BUT NOTICE TIMINGS.... MARGINAL/WARNING TO HEALTHY/OK ~ 2 - 4 SECONDS, VERY CONSISTENT WITH A DEVICE GOING OFFLINE AND COMING BACK IN..THESE SAME ERROR MESSAGE CYCLES APPEAR FOR ALL 64 ERROR MESSAGE OUTPUTS ON THIS SWITCH.Error 64--------0x101274c0 (tThad): May 31 03:16:51 WARNING FW-STATUS_SWITCH, 3, Switch status changed from Marginal/Warning to HEALTHY/OKError 63--------0x101274c0 (tThad): May 31 03:16:48 WARNING FW-STATUS_SWITCH, 3, Switch status changed from HEALTHY/OK to Marginal/Warning Error 62--------0x101274c0 (tThad): May 31 03:16:45 WARNING FW-STATUS_SWITCH, 3, Switch status changed from Marginal/Warning to HEALTHY/OK Error 61--------0x101274c0 (tThad): May 31 03:16:41 WARNING FW-STATUS_SWITCH, 3, Switch status changed from HEALTHY/OK to Marginal/Warning

The Official SupportShow Command Reference Guide 2-247

Page 272: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Note: With FW installed the error messages are much more informative, they will tell you what is causing the switch to go marginal.

v4.2 Example Output:

Example 2-125: switchstatuspolicyshow:The current overall switch status policy parameters: Down Marginal ---------------------------------- FaultyPorts 2 1 MissingSFPs 0 0 PowerSupplies 3 0 Temperatures 2 1 Fans 2 1 PortStatus 0 0 ISLStatus 0 0 CP 0 1 WWN 0 1 Blade 0 1

Note: Version 4.2 added WWN and blades to the policy list. This allows the status of the WWN and switch blades to be reported.

2-248 The Official SupportShow Command Reference Guide

Page 273: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

switchstatusshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command to display the overall status of the switch. The overall status is calculated

based on the most severe status of all contributors:• Internal Switch Status• Faulty Ports• Missing SFPs• Power Supplies• Fans• Temperatures• Port Status

The overall status can be one of the following:

• Healthy/OK - every contributor is healthy• Marginal/Warning - one or more components are causing a warning status• Down/Failed - one or more contributors have failed

If the overall status is not HEALTHY/OK, the contributing factors are listed.

Examples:

There are two examples below. The first shows a switch with a status of MARGINAL, the second shows the same switch after all the errors have been fixed.

Example 2-68: switch:admin> switchstatusshowThe overall switch status is Marginal/WarningContributing factors:* 1 missing power supply triggered the Marginal/Warning status* 1 bad fans, 2 good fans triggered the Marginal/Warning status* 1 missing SFP triggered the Marginal/Warning statusswitch:admin> switchstatusshowThe overall switch status is HEALTHY/OK

Example 2-69: switchstatusshow:The overall switch status is HEALTHY/OK

Note: switchstatuspolicyset and fruconfig (where applicable) parameters determine switchstatus output.

v4.2 Example Output:

Example 2-126: switchstatusshow:The overall switch status is Marginal/Warning Contributing factors: * power supplies are not in the correct slots triggered the Marginal/Warning status

The Official SupportShow Command Reference Guide 2-249

Page 274: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

sysc_dprintfAvailable in Fabric OS versions: v4.1, v4.2 - this command is a subset of the hadump commandAdditional Example/Case Studies:Troubleshooting Use: Use this command to display information about the status of the High Availability features in the

switch particularly during failover or firmwaredownload processes

Note: See hadump output information in this guide for additional information and a “story” related to the sysc_dprintf command that depicts an hafailover and the different outputs displayed from the original Active and Standby CP’s.

v4.2 Example Output:

Example 2-127: sysc_dprintf:FSSME registered: TRUEFSSME ready: TRUEEvent HA state: HA_ACCEPT_YIELD_CTRLEvent head: 21, Event tail: 21EVT_FSSME_REG:COMPLETEDEVT_FSSME_READY:COMPLETEDEVT_LOAD_REPLY:COMPLETEDEVT_SVC_STANDBY:COMPLETEDEVT_LOAD_REPLY:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_SVC_STANDBY:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_TAKE_CONTROL:COMPLETEDEVT_SVC_ACTIVE:COMPLETEDEVT_SVC_ACTIVE:COMPLETEDEVT_BLADE_LIST:COMPLETEDEVT_BLADE_LIST:COMPLETEDcmd_tail = 4, cmd_head = 4CMD_START_DEFAULT:COMPLETEDCMD_BLADELIST_START:COMPLETEDCMD_TAKE_CONTROL:COMPLETEDCMD_BLADELIST_START:COMPLETEDService name: fcswService instance 0, state SI_ST_ACTIVE, refcnt 10Service name: fcswService instance 1, state SI_ST_UNLOADED, refcnt 0Service name: chassisService instance 0, state SI_ST_ACTIVE, refcnt 10Slot 1:Bladeid 0x04,SYSC_BLADE_ACTION_DONESlot 2:Bladeid 0x04,SYSC_BLADE_ACTION_DONESlot 4:Bladeid 0x04,SYSC_BLADE_ACTION_DONESlot 5:Bladeid 0x05,SYSC_BLADE_ACTION_DONESlot 6:Bladeid 0x05,SYSC_BLADE_ACTION_DONESlot 7:Bladeid 0x04,SYSC_BLADE_ACTION_DONESlot 8:Bladeid 0x04,SYSC_BLADE_ACTION_DONESlot 9:Bladeid 0x04,SYSC_BLADE_ACTION_DONE

2-250 The Official SupportShow Command Reference Guide

Page 275: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

tcpstatshowAvailable in Fabric OS versions: v3.x non-supportshow Network Command GroupTroubleshooting Use: Use this command along with other network command group commands to display the

transmission Control Protocol statistics for the Ethernet connection(s) to switch.

Example 2-128: To display the Transmission Control Protocol statistics SW3800_12:admin> tcpstatshow TCP: 523 packets sent 514 data packets (105265 bytes) 0 data packet (0 byte) retransmitted 9 ack-only packets (8 delayed) 0 URG only packet 0 window probe packet 0 window update packet 0 control packet 1060 packets received 454 acks (for 105266 bytes) 7 duplicate acks 0 ack for unsent data 305 packets (426 bytes) received in-sequence 0 completely duplicate packet (0 byte) 0 packet with some dup. data (0 byte duped) 0 out-of-order packet (0 byte) 0 packet (0 byte) of data after window 0 window probe 0 window update packet 0 packet received after close 0 discarded for bad checksum 0 discarded for bad header offset field 0 discarded because packet too short 0 connection request 1 connection accept 1 connection established (including accepts) 4 connections closed (including 0 drop) 1 embryonic connection dropped 419 segments updated rtt (of 419 attempts) 0 retransmit timeout 0 connection dropped by rexmit timeout 0 persist timeout 7 keepalive timeouts 7 keepalive probes sent 0 connection dropped by keepalive

network Command Group: ipAddrShow ifShow ipstatShow udpstatShow tcpstatShow inetstatshow mbufShow arpShow routeShow routestatShow hostShow feiDumpPrint i557Dump feiIterateRFDRings

The Official SupportShow Command Reference Guide 2-251

Page 276: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

tempShowAvailable in Fabric OS versions: AllVersion Differences: The number of temperature sensors depends on the hardware platform.Troubleshooting Use: Use this command to display internal temperature information

Use this command to display the current temperature readings of all temperature sensors in a switch. Each temperature sensor has an index. The indices start from 1. There can be more than one sensor per slot. The slot number to which a sensor belongs is displayed in the column next to the index. The temperature readings are given in both Centigrade and Fahrenheit. The temperatures listed by this command are the temperature sensor values and do not represent the ambient temperature operating range listed in the Hardware Reference Manual for your switch.

Example 2-70: #5tempshow:IndexSlotState Centigrade Fahrenheit========================================================= 1 1 Ok 41 105 2 2 Ok 37 98 3 3 Absent 4 4 Absent 5 5 Ok 25 77 6 6 Ok 27 80

Note: These readings represent internal temperature sensors on the main board. Internal temperature sensors will cause shut down at or above 70° Celsius (158° Fahrenheit). Also verify that the ambient or external air temperature does not exceed 40° Celsius (104° Fahrenheit) while the switch is operating.

If you suspect a temperature problem, possibly because of intermittent error, check chassisshow for extra power being consumed anywhere. Also check errshow output for temperature related messages.

v4.2 Example Output:

Example 2-129: tempshow:IndexSlotStateCentigrade Fahrenheit===================================================== 1 1 Ok 26 78 2 2 Ok 26 78 3 3 Absent 4 4 Ok 26 78 5 5 Ok 30 86 6 6 Ok 30 86 7 7 Ok 26 78 8 8 Ok 26 78 9 9 Ok 25 77 10 10 Ok 26 78

2-252 The Official SupportShow Command Reference Guide

Page 277: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

timeoutAvailable in Fabric OS versions: v4.2Version Differences: All Fabric OS versions after 3.0/4.0 have CLI timeout capabilityTroubleshooting Use: Use this command to set or show the IDLE timeout value for a login session.

Use this command with no operands to display the current telnet timeout value. Use this command with an operand to sets the idle timeout value to the specified minutes. Using a timeout value of zero will disable the timeout functionality so that login sessions would never be disconnected.

Example 2-71: To set the idle timeout to 10 minutes:switch:admin> timeout 10IDLE Timeout Changed to 10 minutesThe modified IDLE Timeout will be in effect after NEXT loginswitch:admin>Example:timeout:Current IDLE Timeout is 60 minutes

v4.2 Example Output:

Example 2-130: timeout:Current IDLE Timeout is 10 minutes

The Official SupportShow Command Reference Guide 2-253

Page 278: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

topologyShowAvailable in Fabric OS versions: Version Differences: This command output has the same information in it as v3.x topologyshow but v4.x format is

quit a bit different. Troubleshooting Use: Use this command to display the unicast fabric topology

This command displays the fabric topology, as seen by the local switch. The fabric topology consists of a list of all domains that are part of the fabric, and for each of those domains, of all the possible paths to reach it from the local switch. For each path the cost, the number of hops from the local switch to the destination switch, and a summary of all ports are routed through that path.

A path is described by the output port that a frame addressed to a certain domain will be forwarded to by the switch routing hardware, in order to reach the domain.

With the domain number specified, this command displays the topology information for the specified destination domain

The display shows the following fields:Local Domain ID:The domain number of the local switch.Domain: The domain number of the destination switch.Metric: The cost of reaching the destination domain.Name: The name of the destination switch.Path Count: The number of currently active paths to the destination domainHops: The maximum number of hops required to reach the destination domain.Out Port: The port that an incoming frame will be forwarded to, in order to reach the destination domain. In Ports: Input ports that use the corresponding Out Port to reach the destination domain. This is the same

information provided by portrouteshow and urouteshowTotal Bandwidth: The maximum bandwidth (in Gb/s) of the out port.Flags: Always a 'D', indicating a dynamic path. A dynamic path is discovered automatically by the FSPF(TM)

path selection protocol.v3.x Example Output:

Example 2-72: switch:admin> topologyShow6 domains in the fabric; Local Domain ID: 11Domain Metric Hops Out Port In Ports Flags Bandwidth Name----------------------------------------------------------------------- 6 500 1 1 0x0000bdfc D 4 (Gbs) "cfs001a" 7 500 1 15 0x00003dfe D 4 (Gbs) "cfs001b" 13 1000 2 1 0x00002d48 D 4 (Gbs) "efs003"

15 0x000010b4 D 4 (Gbs) 15 1000 2 1 0x0000bdfc D 4 (Gbs) "efs005" 17 1000 2 15 0x00003dfe D 4 (Gbs) "efs007"

Note: This shows that local domain 11 is in a Fabric with 5 other switches, two of those switches are directly connected or neighbor switches to domain 11 because there is 1 Hop to each of these neighbor switches (domain 6 ìefs001and domain 7 efs001b. A Hop is an ISL (inter switch link) that connects two switches. Neighbor switches pass frames to the other domains that are 2 hops away (domain 13 cfs003, domain 15 efs 005 and domain 17 efs007).

2-254 The Official SupportShow Command Reference Guide

Page 279: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Starting with the 1st line from domain 11 to domain 6: notice that the metric (also called linkcost) is 500. 500 is the default metric or linkcost of a 2Gbyte/sec ISL connection. Use the linkcost command to display linkcost settings. This metric of 500 is associated with 1 hop so there is only 1 ISL in the path from domain 11 to domain 6. The output port that is connected to domain 6 is port 1. The input ports that were dynamically routed to output port 1 are depicted in bit map 0x0000bdfc. Start by changing 0x0000bdfc into it’s binary equivalent and then read the toggled bits from right to left as input ports:

In this case ports 2-8, 10 – 13 and 15 were all mapped to output port 1

v4.2 Example Output:

Example 2-73: RSL_SWT121:admin> topologyshow

4 domains in the fabric; Local Domain ID: 2

Domain: 1Metric: 1500Name: RSL_SWT129Path Count: 1

Hops: 3Out Port: 4/11In Ports: 4/1 Total Bandwidth: 8 GbpsBandwidth Demand: 25 %Flags: D

Domain: 153Metric: 500Name: RSL_SWT153Path Count: 1

Hops: 1Out Port: 4/11In Ports: 4/1 Total Bandwidth: 8 GbpsBandwidth Demand: 25 %Flags: D

Domain: 157Metric: 1000Name: RSL_SWT157Path Count: 1

Hops: 2Out Port: 4/11In Ports: 4/1 Total Bandwidth: 8 GbpsBandwidth Demand: 25 %Flags: D

Note: The output in Example 2-84 and Example 2-85 shows the local domain 2 going to 3 other domains: 1, 153 and 157. The neighbor switch is domain 153 because there is only one hop between it and the local domain (switch, since each switch must have a unique domain id). All communication from this local domain to the others in the Fabric occurs through this neighbor switch. Slot 4/ port 1 is routed to slot 4/ port 11 to get to it’s neighbor, domain 153. Domain 157 is directly connected to domain 153 because it is two hops away from the local domain.

0 0 0 0 b d f c NA

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1 1 1 0 0 IN31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Ports

The Official SupportShow Command Reference Guide 2-255

Page 280: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Since domain 1 is 3 hops away and the only other switch in the Fabric, it must be connected to domain 157. All domains have dynamic flags, so no static routing has been set going out from slot 4/port 11. The total bandwidth is 8 Gbps so slot 4/ port 11 must be the trunk master for a 4 ISL trunk. Each ISL in a 4 ISL trunk would have a maximum bandwidth potential of 25%, the total bandwidth being split across all 4 ISLs. Here are some supporting captures from the same switch at approximately the same time stamp:

Example 2-74: RSL_SWT133:admin> versionKernel: 2.4.2 Fabric OS: v4.0.2bMade on: Wed Oct 30 01:43:47 2002Flash: Wed Feb 5 22:02:29 2003BootProm: 3.1.18RSL_SWT121:admin> fabricshowSwitch ID Worldwide Name Enet IP Addr FC IP Addr Name------------------------------------------------------------------------- 1: fffc01 10:00:00:60:69:80:05:1c 10.255.255.129 0.0.0.0 "RSL_SWT129" 2: fffc02 10:00:00:60:69:80:04:5e 10.255.255.121 0.0.0.0 "RSL_SWT121"153: fffc99 10:00:00:60:69:50:0d:d6 10.255.255.153 0.0.0.0 "RSL_SWT153"157: fffc9d 10:00:00:60:69:51:2d:57 10.255.255.157 0.0.0.0 >"RSL_SWT157"The Fabric has 4 switchesRSL_SWT121:admin> switchshowswitchName:RSL_SWT121switchType:10.1switchState:Online switchRole:SubordinateswitchDomain:2switchId:fffc02switchWwn:10:00:00:60:69:80:04:5eswitchBeacon:OFFblade3 Beacon:OFFblade4 Beacon:OFFArea Slot Port Gbic Speed State ===================================== 32 3 0 id N2 No_Light < truncated output > 48 4 0 id N2 No_Light 49 4 1 id N2 Online F-Port 10:00:00:00:c9:2a:b5:43 50 4 2 id N2 No_Light < truncated output > 55 4 7 id N2 No_Light 56 4 8 id N2 Online E-Port (Trunk port, master is Slot 4 Port 11) 57 4 9 id N2 Online E-Port (Trunk port, master is Slot 4 Port 11) 58 4 10 id N2 Online E-Port (Trunk port, master is Slot 4 Port 11) 59 4 11 id N2 Online E-Port 10:00:00:60:69:50:0d:d6 "RSL_SWT153" (upstream)(Trunk master) 60 4 12 id N2 No_Light 61 4 13 id N2 No_Light 62 4 14 id N2 No_Light 63 4 15 id N2 No_Light

Note: How do we use this information? The supportShow, nsallshow output and topology information depicted here and on subsequent switches in the Fabric can be used to “draw the Fabric”. This helps verify that the customer drawings match what is actually shown. Information here can also be used in conjunction with portperfshow to determine if ISLs are being over used, or experiencing “realized over subscription”.

v4.2 Example Consistent Output:

Example 2-131: topologyshow 1 domains in the fabric; Local Domain ID: 1

2-256 The Official SupportShow Command Reference Guide

Page 281: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

traceshow

Note: This command has no additional Fabric OS information at this time. As the information becomes available the command will be inserted in this section.

Troubleshooting Use: Use this command for internal debugging purposesAvailable in Fabric OS versions: v3.xv4.2 Example Output: NAAdditional Example/Case Studies: Example outputs with some embedded notes:

Example 2-132: Traceshow

Switch:root> traceshow[INDX] TIME FROM TO----------------------------------------------[24] Dec 29 03:11:11.066unknown tSwitch 0x101ca8500x103bbb00 120080

Note: Is 120 and 080 important...what are they? This is the tasklog in RAM before reboot and its time. 120 and 80 are the task priorities. tasklog logs the task context (e.g. current executing instructions) at task switch, called by the scheduler when it selects a new task to run. The log is a circular buffer that stores the last 25 tasks that were running on the switch before the switch reboots.

Example 2-133: READY READY [unknown][0]_vxTaskEntry + 0x10 (0x10735914)[1]_crashTask + 0x40 (0x104dd310)

Does this tell me I've had a panic or a watchdog error? No. You should check “uptime” to find out it is a panic or watchdog, etc.

[2]_taskDelay + 0x98 (0x10780048) <- instruction pointer

This is address of instruction. At 0x10780048, there may be a static function

Example 2-134: [tSwitch][0]_vxTaskEntry + 0x10 (0x10735914)[1]_switchTask + 0x184 (0x105101f4)[2]_fabricInit + 0xbc (0x104dd27c)[3]_fcServiceResponseQ + 0x1c (0x1056c91c)[4]_mqRead + 0x14 (0x10576d34)[6]_qJobGet + 0x48 (0x1079e628)

Reset at: Dec 29 03:11:11Reset reason 2: Bus error

Note: Bus error is another category of reboot, i.e., CPU accesses a memory location that does not exist. It is a typical memory corruption.

Example 2-135: Task: Interrupt

The Official SupportShow Command Reference Guide 2-257

Page 282: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

...Frame #2Address: (0x103f5108)Local registers (0x10276af0):pfp = 0x103bbea7, sp = 0x1081af10, rip = 0x103f5108, r3 = 0xeeeeeeeer4 = 0x00000040, r5 = 0x1081aed0, r6 = 0x00000000, r7 = 0x00000000r8 = 0x003d0004, r9 = 0x00000000, r10 = 0x00000000, r11 = 0x103bbb00r12 = 0x756f7920, r13 = 0x00000000, r14 = 0xeeeeeeee, r15 = 0xeeeeeeee

Interrupt call:Saved pc = 0x3Saved ac = 0x1100Vector = 0xf8 (NMI)User's stack, length = 64:756f7920 00000000 001f0000 00000012 * you............*00000007 756f7920 0000001b 00000040 *.... you....@...*00000000 00000000 00000000 00000000 *................*

Note: If the switch reboots due to bus error, panic and watchdog, you will see traceshow in supportshow.

2-258 The Official SupportShow Command Reference Guide

Page 283: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

trunkShowAvailable in Fabric OS versions: All Bloom ASIC switchesTroubleshooting Use: Use this command to display trunking information. Make sure that deskew values are within

specifications - The shortest ISL is selected as the base deskew and is assigned a deskew value of 150 nseconds. The deskew values are expressed (shown in all command displays) by dividing the deskew value by 10. Example: A deskew value of 150 nseconds is expressed as 15 (150/10). To not affect performance the greatest deskew difference should be 15 or less (this would correspond to a 30 meter cable difference but could also be due to cable integrity). A trunk will not form is the deskew difference is 2000 or more, this correlates to a cable difference of 400 meters.

Use this command to display trunking information. The fields displayed are as follows:Trunking Group Number:

Displays each trunking group on a switch. All the ports that are part of this trunking group are displayed.

Port to port connections: Displays the port-to-port trunking connections. WWN Displays the WWN of the connected switch.

deskew Displays the single trip time difference between trunked links. Each number corresponds to 10 ns.Master Displays whether this trunking port connection is the master port connection for the trunking group.

Example 2-136: trunkShow 1: 1 -> 14 10:00:00:60:69:80:46:5a deskew 15 MASTER 0 -> 13 10:00:00:60:69:80:46:5a deskew 16 2:15 -> 15 10:00:00:60:69:80:46:5b deskew 15 MASTER 14 -> 14 10:00:00:60:69:80:46:5b deskew 16

What is trunking?• Aggregates traffic onto fewer logical links• Allows from 2-4 ISLs in the same quad to logically merge into a single trunk• Automatically created when switches are connected• Fault-tolerant logical “fat” ISL— will withstand failure of individual links• Supports multiple trunks between switches• Preserves in-order delivery• Trunking license key on both sides of the ISL is required• Ports must be operating at 2 Gbit/sec

How are trunks built?• First ISL in trunk to initialize becomes the Trunk Master• Shortest ISL of the initialized ISLs becomes the base• Master ISL will only be the base if it is the shortest ISL1• Deskew values are represented in nanoseconds divided by 10• Base ISL will always have a deskew value of 15 (150 nsec/10)• Deskew value is calculated for each direction of the ISL• Longer cables will have higher deskew values• Trunking should not be used in conjunction with long distance2• Cables of the same length can have different deskew values due to differences in optical media signal quality (cable/SFPs)3

The Master ISL will only be the base if it is also the shortest. The deskew values for the other ISLs in the trunk will be calculated from the base ISL and will have a higher value. Each switch connected by the ISL will have a deskew value since each has a separate transmit line to the other.

The Official SupportShow Command Reference Guide 2-259

Page 284: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Note: If the portcfglongdistance command is used then trunking should not be used.

Due to the signal quality/optical media, cables that are identified as the same length (e.g. cables manufactured as 1 meter) may have a different deskew value. For example, one cable may have a deskew value of 16 and a cable of the same length may calculate to be 17. This is not a problem since it is a true measurement of its transmission capabilities.

Additional Notes:

The first ISL in the trunk to initialize is selected as the trunk Master. The length of the cable is not a consideration when selecting the Master.

Trunking allows up to 4 ISL ports in a quad to be seen as a single “fat ISL” to provide greater bandwidth.

The difference in cable lengths between the ISLs in a trunk determines the deskew value. This is needed for timing purposes so in-order delivery of frames across the trunk can be ensured.

The shortest ISL is selected as the base deskew and is assigned a deskew value of 150 nseconds. The deskew values are expressed (shown in all command displays) by dividing the deskew value by 10. Example: A deskew value of 150 nseconds is expressed as 15 (150/10). To not affect performance the greatest deskew difference should be 15 or less (this would correspond to a 30 meter cable difference but could also be due to cable integrity). A trunk will not form is the deskew difference is 2000 or more, this correlates to a cable difference of 400 meters.

portLogDump output: • The Fabric Controller in one switch (FFFFFD) does a (90000000) IE_EMT (Read MARK timestamp (VU) to the

FFFFFD of the other switch, who accepts. • The switches then exchange trunk parameters: 91000000 IE_ETP Exchange Trunking Parameters

Additional Resource: Brocade ISL Trunking User’s Guide Version 3.0/4.0 Publication Number 53-0000184-02

v4.2 Example Output:

Example 2-137: trunkshowNo trunking links

2-260 The Official SupportShow Command Reference Guide

Page 285: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

udpstatshowAvailable in Fabric OS versions: v3.1, v3.1.2 (Network Command Group)Troubleshooting Use: Use this command to display the User datagram Protocol Statistics

Example 2-138: To display the User Datagram Protocol statistics: SW3800_12:admin> udpstatshow UDP: 33324 total packets 33311 input packets 13 output packets 0 incomplete header 0 bad data length field 0 bad checksum 33307 broadcasts received with no ports 0 full socket

Note: Use this command and other network group commands when experiencing Ethernet problems. Other network command group commands include:

network Command Group: ipAddrShow ifShow ipstatShow udpstatShow tcpstatShow inetstatshow mbufShow arpShow routeShow routestatShow hostShow feiDumpPrint i557Dump feiIterateRFDRings

The Official SupportShow Command Reference Guide 2-261

Page 286: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

uptimeAvailable in Fabric OS versions: AllVersion Differences: VxWorks and Linux switches depict slightly different outputs. VxWorks switches to not depict

load average information.Additional Example/Case Studies:Troubleshooting Use: Use this command to display the length of time the system has been in operation (also known

as “up time”), the total cumulative amount of “up time” since the system was first powered-on, the date and time of the last reboot, and the reason for the last reboot. The system load averages are listed for the past 1, 5, and 15 minutes are also displayed for LINUX switches.

For up and powered-on times less than 60 seconds, the time is displayed in seconds. For times greater than or equal to 60 seconds, the time is displayed in minutes. The output format adjusts accordingly. The reason for the last switch reboot is also recorded in the error log. Reasons are listed below. Not all the below responses are applicable to all switch models:

Unknown Reason is unknown.Bus time-out* Port ASIC was accessed and no response was received.Bus error* Non-existent system address was accessed.Panic* Firmware detected a critical hardware error or an internal inconsistency.Fault* CPU signaled a fault condition (critical firmware error).Power-on Last reboot was caused by a power-on.Watchdog* Watchdog timer caused a reset.PushButtons Push buttons 1 and 3 were depressed for two seconds, causing a system reset.Reboot Last reboot was caused by a user (from any management interface).Powerfail NMI* Power supply caused a nonmaskable interrupt.Watchdog NMI* Watchdog timer caused a nonmaskable interrupt.PushButton NMI*Push buttons 2 and 4 were depressed for two seconds, causing a nonmaskable interrupt.Software NMI* Firmware caused a nonmaskable interrupt.

Note: The items marked with an asterisk (*) are usually caused by hardware or firmware failures.Information on the failure is stored in the switch errlogs and for reboot reason Panic or watchdog errors additional information can be found in savecore/pdshow (LINUX) or traceshow/faultshow (VxWorks) outputs.

Example 2-139: V3.1.2 uptime outputuptimeUp for: 4 minsPowered for: 705 days, 7:03Last up at: Mon Jan 5 22:17:22 2004Reason: Reboot

Note: Statistical counters displayed in porterrshow commands are based on uptime unless they are cleared using the portstatsclear <port#> command.

Example 2-75: v4.1 outputuptime: 10:21pm up 14:43, 2 users, load average: 1.21, 1.19, 1.21

2-262 The Official SupportShow Command Reference Guide

Page 287: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

Check the “up 14:43” time up against what the customer tells you. If the customer says that the switch has been up for 6 months either the customer doesn’t know about a reboot 14:43 hours ago or the switch rebooted itself, check errlog (errshow) for reboot reason. As noted above, the system load averages are listed for the past 1, 5, and 15 minutes. 1.21 is the load average for the past 15 minutes. The load average is number of jobs waiting to run.

It doesn't tell you CPU load as much as it tells you how backlogged a system is... if your load average is 25, that means that 25 processes need CPU time, and are backed up behind the one running process. Even a multitasking OS can only run one program at a time (on a single CPU), the rest are suspended for micro/milliseconds while the one gets some time slices.

Note: If you start seeing load average numbers in excess of 10, then the switch is backed up and getting slammed - it will be quite slow.

v4.2 Example Output:

Example 2-140: uptime: 7:33pm up 1 day, 4:49, 1 user, load average: 1.34, 1.08, 1.03

The Official SupportShow Command Reference Guide 2-263

Page 288: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

versionAvailable in Fabric OS versions: AllVersion Differences: Flash value differences between VxWorks and Linux based switches. See Flash notes.Additional Example/Case Studies:Troubleshooting Use: Use this command to display firmware version information. A known Fabric OS version

allows you to check for known issues in release or OEM qualification notes. The version command also

Use this command to display firmware version information and build dates.

The following is displayed:

Kernel: Displays the version of switch kernel operating system;Fabric OS: Displays the version of switch Fabric OS; Made on: Displays the build date of firmware running in switch. See additional examples below. Flash: VxWorks switches display the build date of the Fabric OS downloaded to the switch. Linux switches

display the date that the firmware was downloaded (before reboot, after firmwaredownload) BootProm: This field displays the build date of firmware stored in boot PROM.

Examples

Example 2-141: v3.1.2 outputversionKernel: 5.4Fabric OS: v3.1.2_beta1Made on: Wed Dec 24 11:24:08 PST 2003Flash: Wed Dec 24 11:24:57 PST 2003BootProm: Wed May 23 12:37:30 PDT 2001

Note: The flash output in Example 2-141 depicts the build date of firmware in flash. For VxWorks switches - if the made on and flash dates differ by more that a few minutes firmware was downloaded but the switch was not rebooted to read in new firmware.

Note: Use the Fabric OS information release notes to check if the problem you’re experiencing has already been documented. Since the switch mounts the file system on its nonvolatile firmware at boot time, Made on is also the build date of its nonvolatile firmware. The dates shown here is displayed in GMT-universal time.

Example 2-142: Examples before and after firmwareDownload on a Linux switchKernel: 2.4.2 Fabric OS: v4.0.2rc1.9Made on: Fri Oct 11 22:33:25 2002Flash: Thu Oct 17 07:34:48 2002BootProm: 3.1.18

Kernel: 2.4.2 Fabric OS: v4.0.2aMade on: Mon Oct 14 17:20:34 2002Flash: Thu Oct 17 23:24:44 2002BootProm: 3.1.18

Note: The output in Example 2-142 depict the actual dates that the firmware was downloaded.

2-264 The Official SupportShow Command Reference Guide

Page 289: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

v4.2 Example Output:

Example 2-143: Version:Kernel: 2.4.19 Fabric OS: v4.2.0_beta1Made on: Thu Dec 18 19:21:47 2003Flash: Tue Dec 30 14:41:26 2003BootProm: 4.1.0

The Official SupportShow Command Reference Guide 2-265

Page 290: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

zone stateshow & portzoneshowAvailable in Fabric OS versions: v4.1, v4.2Troubleshooting Use: Use this command, cfgsize, portzoneshow and cfgshow to troubleshoot zone problems.

To display these command output information, a “story” is used. Start without any zoning, display zone stateshow command. Create and enable zoning using WEBTOOLS, display zone stateshow and portzoneshow command outputs. Disable zoning, display zone stateshow. Clear all zoning and reissue both display zone stateshow and portzoneshow commands. See embedded notes after “/” symbols for additional information.

Example 2-76: cfgshowDefined configuration: no configuration definedEffective configuration: no configuration in effect

RSL_12K8_SW1:root> zone stateshow ============================ Switch Instance 1: ZoneRcsSyncSem IS available zone_mutex IS available g_cfgEnabled = 0 /Value 0 means zoning is not enabled (0 = off; 1 = on). g_znRcsState = 0x0 gCfgChangeInProgress = 0 Committed CfgSize = 0 Zone Cfg. Gen Cnt. = 1 /Value is incremented with every zone change trans_in_progress = 0 g_znInternalState = 0x0 zoneDomain switchIsOnline(1), domainCnt(2)domainBM 1, 2, xactEnabledDomainBM 1, 2, portsOnlineBM

g_znSmCb.sm_lock IS available Global State 0x0 F-port 1: state 0x80100 E-port 4: state 0x400200 T-port 5: state 0x300============================ENABLED ZONING WITH WEBTOOLS

RSL_12K8_SW1:root> cfgshowDefined configuration: cfg:FabricZone1

Sun_1; Win2k_1 zone:Sun_120:00:00:00:c9:2b:ff:97; 20:00:00:20:37:e6:2d:90;

20:00:00:20:37:e6:36:f9; 20:00:00:20:37:e6:36:8b; 20:00:00:20:37:e6:32:fe; 20:00:00:20:37:e6:32:a7

zone:Win2k_120:00:00:00:c9:29:05:e8; 20:00:00:20:37:42:66:46; 20:00:00:20:37:e6:2e:13; 20:00:00:20:37:e6:37:40; 20:00:00:20:37:e6:34:46

Effective configuration: cfg:FabricZone1 zone:Sun_120:00:00:00:c9:2b:ff:97

20:00:00:20:37:e6:2d:9020:00:00:20:37:e6:36:f920:00:00:20:37:e6:36:8b20:00:00:20:37:e6:32:fe20:00:00:20:37:e6:32:a7

2-266 The Official SupportShow Command Reference Guide

Page 291: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

zone:Win2k_120:00:00:00:c9:29:05:e8

20:00:00:20:37:42:66:4620:00:00:20:37:e6:2e:1320:00:00:20:37:e6:37:4020:00:00:20:37:e6:34:46

zone stateshow: ============================ Switch Instance 1: ZoneRcsSyncSem IS available zone_mutex IS available g_cfgEnabled = 1 /Value is 1 if zoning on, 0 without. Possibilities include 0 (off) and 1 (On), Eff. Cfg name = FabricZone1 g_znRcsState = 0x0 gCfgChangeInProgress = 0 Committed CfgSize = 308 /alternately use cfgsize command Zone Cfg. Gen Cnt. = 2 /Value is incremented with every zone change trans_in_progress = 0 g_znInternalState = 0x0port Control installed switchedToSoft defaultHard ---- --------- --------- -------------- ----------- 11 HARD WWN 1 0 0 31 HARD WWN 1 0 0 zoneDomain ---------- switchIsOnline(1), domainCnt(2)domainBM /BM bit map; domains in Fabric 1, 2, xactEnabledDomainBM /BM bit map; enabled domains in Fabric 1, 2, portsOnlineBM /BM bit map; ports online in Fabric 11, 31,

• BM means Bit Map g_znSmCb.sm_lock IS available Global State 0x0 F-port 1: state 0x80100 E-port 4: state 0x400200 T-port 5: state 0x300 F-port 11: state 0x40100 F-port 31: state 0x80100

portzoneshow:/lists switch ports and zone enforcement policy in use.PORT: 0 Not ZonedPORT: 1 Enforcement: HARD WWNdefaultHard: 0F-port: 0PORT: 2 Not ZonedPORT: 3 Not ZonedPORT: 4 Enforcement: E-PortdefaultHard: 0F-port: 0PORT: 5 Enforcement: E-PortdefaultHard: 0F-port: 0PORT: 6 Not ZonedPORT: 7 Not ZonedPORT: 8 Not ZonedPORT: 9 Not ZonedPORT: 10 Not ZonedPORT: 11 Enforcement: HARD WWNdefaultHard: 0F-port: 1PORT: 12 Not ZonedPORT: 13 Not ZonedPORT: 14 Not ZonedPORT: 15 Not ZonedPORT: 16 Not ZonedPORT: 17 Not ZonedPORT: 18 Not ZonedPORT: 19 Not ZonedPORT: 20 Not ZonedPORT: 21 Not ZonedPORT: 22 Not Zoned

The Official SupportShow Command Reference Guide 2-267

Page 292: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

PORT: 23 Not ZonedPORT: 24 Not ZonedPORT: 25 Not ZonedPORT: 26 Not ZonedPORT: 27 Not ZonedPORT: 28 Not ZonedPORT: 29 Not ZonedPORT: 30 Not ZonedPORT: 31 Enforcement: HARD WWNdefaultHard: 0F-port: 1

RSL_12K8_SW1:root> cfgdisableUpdating flash ...

RSL_12K8_SW1:root> cfgshowDefined configuration: cfg:FabricZone1

Sun_1; Win2k_1 zone:Sun_120:00:00:00:c9:2b:ff:97; 20:00:00:20:37:e6:2d:90;

20:00:00:20:37:e6:36:f9; 20:00:00:20:37:e6:36:8b; 20:00:00:20:37:e6:32:fe; 20:00:00:20:37:e6:32:a7

zone:Win2k_120:00:00:00:c9:29:05:e8; 20:00:00:20:37:42:66:46; 20:00:00:20:37:e6:2e:13; 20:00:00:20:37:e6:37:40; 20:00:00:20:37:e6:34:46

Effective configuration: no configuration in effectRSL_12K8_SW1:root> zone stateshow ============================ Switch Instance 1: ZoneRcsSyncSem IS available zone_mutex IS available g_cfgEnabled = 0 /displays zoning not enabled g_znRcsState = 0x0 gCfgChangeInProgress = 0 Committed CfgSize = 308 /still using space for defined zone db Zone Cfg. Gen Cnt. = 3/Value is incremented with every zone change trans_in_progress = 0 g_znInternalState = 0x0 zoneDomain ---------- switchIsOnline(1), domainCnt(2)

domainBM 1, 2, xactEnabledDomainBM 1, 2, portsOnlineBM 11, 31,

g_znSmCb.sm_lock IS available Global State 0x0 F-port 1: state 0x80100 E-port 4: state 0x400200 T-port 5: state 0x300 F-port 11: state 0x80100 F-port 31: state 0x80100============================RSL_12K8_SW1:root> cfgclear Do you really want to clear all configurations? (yes, y, no, n): [no] y

zone stateshow: ============================ Switch Instance 1: ZoneRcsSyncSem IS available zone_mutex IS available

2-268 The Official SupportShow Command Reference Guide

Page 293: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

g_cfgEnabled = 0 g_znRcsState = 0x0 gCfgChangeInProgress = 0 Committed CfgSize = 308 Zone Cfg. Gen Cnt. = 3 /Value is incremented with every zone change, did not increment when zoning cleared, stayed at last count. trans_in_progress = 26853

g_znInternalState = 0x0 zoneDomain

switchIsOnline(1), domainCnt(2)domainBM

1, 2, xactEnabledDomainBM 1, 2, portsOnlineBM 11, 31,

g_znSmCb.sm_lock IS available Global State 0x0 F-port 1: state 0x80100 E-port 4: state 0x400200 T-port 5: state 0x300 F-port 11: state 0x80100 F-port 31: state 0x80100

v4.2 Example Output:

Example 2-144: zone stateshow: ============================ Switch Instance 0: ZoneRcsSyncSem IS available zone_mutex IS available g_cfgEnabled = 0 g_znRcsState = 0x0 gCfgChangeInProgress = 0 Committed CfgSize = 0 Zone Cfg. Gen Cnt. = 1 trans_in_progress = 0 g_znInternalState = 0x0 zoneDomain ---------- switchIsOnline(1), domainCnt(1)

domainBM 1, xactEnabledDomainBM 1, portsOnlineBM 1, 94, 127,

g_znSmCb.sm_lock IS available Global State 0x0 F-port 1: state 0x80100 F-port 94: state 0x80100 F-port 127: state 0x80100============================

The Official SupportShow Command Reference Guide 2-269

Page 294: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

/bin/cat/etc/fstab (Phy File – Mount Points)Troubleshooting Use: Use this command to display mount points. This is a physical file that shows mount pointsAvailable in Fabric OS versions: v4.x

Additional Example/Case Studies:

Physical file that shows mount points.

Example 2-77: /bin/cat /etc/fstab/dev/root/ xfs rw,noatime0 0none /proc procdefaults0 0none /dev/ptsdevptsmode=6200 0

Note: Shows automatically mounted filesystems

2-270 The Official SupportShow Command Reference Guide

Page 295: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

/bin/cat/etc/mtab (Current Mount Points)Available in Fabric OS versions: v4.xTroubleshooting Use: Use this command to display current mount points, like df but it’s a file not an output.

Example 2-78: /bin/cat /etc/mtab/dev/root / xfs rw,noatime 0 0none /proc proc rw 0 0none /dev/pts devpts rw,mode=620 0 0none /tmp ramfs rw 0 0/dev/hda2 /mnt xfs rw,noatime 0 0/diag /diag dfs rw 0 0

Note: These will only come in handy when troubleshooting Compact Flash problems. It really only tells you what filesystems are defined for auto-mount and which filesystems are currently mounted at each mount point.

The Official SupportShow Command Reference Guide 2-271

Page 296: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

/bin/cat/var/log/dsmg (Serial Boot or MSG File)Available in Fabric OS versions: v4.xTroubleshooting Use: Use this command to display system boot messages. There is a dmesg non-persistent

command that displays this information.

Example 2-79: /bin/cat /var/log/dmesgread_silkworm_bdinfo: silkworm->board = 10, silkworm->board_rev =2id mach(): done_Linux version 2.4.2_hhl20 (swrel@nermal) (gcc version 2.95.3 20010112 (prerelease)) #1 Fri Oct 11 12:19:12 PDT 2002setup_arch: enter_setup_arch: bootmem_CPLD - v1.1arch: exit_On node 0 totalpages: 32512zone(0): 32512 pages.zone(1): 0 pages.zone(2): 0 pages.Kernel command line: mem=127mCalibrating delay loop... 199.47 BogoMIPSMemory: 123692k available (1508k kernel code, 480k data, 60k init, 0k highmem)Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)Page-cache hash table entries: 32768 (order: 5, 131072 bytes)Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)POSIX conformance testing by UNIFIXPCI: Probing PCI hardware

_<6>Linux NET4.0 for Linux 2.4Based upon Swansea University Computer Society NET3.039Starting kswapd v1.8i2c-core.o: i2c core modulei2c-dev.o: i2c /dev entries driver modulei2c-core.o: driver i2c-dev dummy driver registered.pty: 256 Unix98 ptys configuredblock: queued sectors max/low 82152kB/27384kB, 256 slots per queueRAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksizeUniform Multi-Platform E-IDE driver Revision: 6.31ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xxeth0: Rx Interrupt mitigation (1500 pps)RAMDISK: Compressed image found at block 0Freeing initrd memory: 1978k freedloop: loaded (max 8 devices)Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabledttyS00 at 0x0000 (irq = 1) is a 16550AttyS01 at 0x0000 (irq = 0) is a 16550ASWBD Platform Driver v1.0M41T11 Driver v1.0PPC 405 gpio driver version 00.08.02.d

<Output Truncated>

Note: This captures all messages including errors during boot. If you are having trouble booting, this is really handy. It's kind of a bootlog. These are messages won't make it into the error log because the errlog is not running yet.

2-272 The Official SupportShow Command Reference Guide

Page 297: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

/bin/df – File Systems AvailableAvailable in Fabric OS versions: v4.xTroubleshooting Use: Use this command to view available file system memory usage.

This is a UNIX command that displays how much of the file system is in use. You can also use df –k to get the output in Kilobytes and df – m to get the output in Megabytes.

Example 2-80: /bin/dfFilesystem 1k-blocks Used Available Use% Mounted on/dev/root 120112 36848 83264 31% //dev/hda2 120128 36920 83208 31% /mnt

Note: The percent use, currently 31% should be less than 80%.

Note: You can verify that the FW daemons are running on both switches (fwd = fabric watch daemon | -s 0 = switch 0 | -s1 = switch 1)

000 S root 847 1 0 78 19 - 993 rt_sig Feb12 ? 00:00:00 fwd -s 0000 S root 875 1 0 78 19 - 993 rt_sig Feb12 ? 00:00:00 fwd -s 1

v4.2 Example Output:

Example 2-145: /bin/df:Filesystem 1k-blocks Used Available Use% Mounted on/dev/root 120112 53328 66784 44% //dev/hda2 120128 53152 66976 44% /mnt

Note: There is a known CF Full problem on V4.1 switches that is fixed in v4.1.1b. See notes about this problem below.

Compact Flash Full Products Affected: SilkWorm 3900 and 12000 running on Fabric OS v4.1.x

Problem Description:

Under the Fabric OS v4.1.x code stream there is a possibility for the compact flash to become full as a result of the Apache web server/embedded Linux implementation. The problem begins to surface when the log rotation program/script deletes the current access log file intending to replace it with a newly created one. If a close function is not sent the old access log file will continue to be written even though a new file has been created. This issue is exacerbated with management stations in the environment doing polling via the Web Tools interface. Note that only those units which have Web Tools or Fabric Manager accessing the switch web server are susceptible to this condition.

Symptoms:

Compact flash full may result in a switch panic.

To determine the status of the Compact Flash, the percentage of the file system used can be checked by issuing the /bin/df command under Root level access, or by viewing a Supportshow and looking for this same output. Below is an example of output:

Filesystem 1k-blocks Used Available Used% Mounted on /dev/root 120112 81520 40 80% / /dev/hda2 120128 51520 68608 43% /mnt

The Official SupportShow Command Reference Guide 2-273

Page 298: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Risk Assessment:

If the compact flash does become full, any process that attempts to write to the compact flash has a high probability of corrupting an open file. Brocade has observed issues in which the host, password and zoning database files have become corrupted as a result of the inability to write to the compact flash, which could in turn result in a switch panic.

Corrective Action:

Fabric OS v4.1.1b is available to Brocade’s partners that fixes issue. Some OEM partners will support the fix in a subsequent maintenance release available in early 2004.

Workaround Procedure:

To determine the status of the compact flash, the percentage of the file system used can be checked by issuing the /bin/df command under Root level access, or by viewing a Supportshow and looking for this same output.

Filesystem 1k-blocks Used Available Used% Mounted on Filesystem 1k-blocks Used Available Used% Mounted on /dev/root 120112 81520 40 80% / /dev/hda2 120128 51520 68608 43% /mnt

If the percentage used in the root file system is observed to be over 80% you will be given a procedure (see procedure below) that has you ftp a script to the switch to fix this problem.

Note: Do not place this procedure on a switch that is in excess of 95% compact flash capacity without contacting Brocade Technical Support for instructions. There are more steps involved when a switch is in excess of 95% compact flash capacity.

Note: Once you follow the OEM or Brocade support specified step that include running a script on the switch, there is no need to ever run it again.

Note: Make sure to capture the console output when issuing all commands on the switch.

Procedure Instructions:

1. Place logcleanrev2.sh script from OEM or Brocade customer support in an appropriate directory of an FTP server.

Note: The IP address of the sever and the relative path to the file.

2. Log in to Switch or Active CP as root

3. Enter the command "cd/var/tmp"

4. Enter the command "ftp<ftpserverip"

5. Enter appropriate user id and password

6. Enter the command "bin"

7. Enter the command "cd<pathtofile"

8. Enter the command "getlogcleanrev2.sh"

9. Enter the command "quit"

10. Enter the command "pwd" and verify that you are still in /var/tmp

2-274 The Official SupportShow Command Reference Guide

Page 299: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

11. Enter the command "chmod755/var/tmp/logcleanrev2.sh"

12. Enter the command "/var/tmp/logcleanrev2.sh"

13. Enter the command "rm/var/tmp/logcleanrev2.sh"

14. Verify that Web Tools is currently working by pointing a Web Browser to the switches IP Address.

Overview of script behavior:

1. Check current disk usage on the active partition of the compact flash

2. Create a daily cron job that keeps /var/log/wtmp from growing too large

3. If /var/log/wtmp is already growing too large it replaces it with /var/run/utmp

4. Disables logging access logs for WebTools by modifying /fabos/webtools/bin/httpd.conf

5. Checks the file size of the access logs and removes them if they have grown too large

6. Checks for any httpd processes that have dangling inodes and removes them

7. Restarts Web Tools so that the log changes take effect

8. Replicate all file changes to each partition and each CP (if SW12000)

The Official SupportShow Command Reference Guide 2-275

Page 300: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

/bin/hostnameAvailable in Fabric OS versions: v4.1, v4.2 Troubleshooting Use: Use this command determine active switch host name. The myid command will also display

hostname. v3.1 and v3.1.2 have a hostshow command that gives similar information.

Example 2-81: /bin/hostname:cp0

Note: This command is only displayed at the admin level by invoking supportshow. The supportshowcfgdisable command can be used to turn off all supportshow outputs but system (wherein this command lies). This shows the active cp.

v4.2 Example Output:

Example 2-146: /bin/hostname:cp1

2-276 The Official SupportShow Command Reference Guide

Page 301: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

/bin/ps -elfH (Process List)Available in Fabric OS versions:All v4.xTroubleshooting Use: Use this command to display the process ID list where you can see which daemons are

running on the switch.

Example 2-82: /bin/ps -elfH F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD100 S root 1 0 0 68 0 - 297 do_sel 07:38 ? 00:00:04 init040 S root 2 1 0 69 0 - 0 contex 07:38 ? 00:00:00 [keventd]040 S root 3 1 0 69 0 - 0 kswapd 07:38 ? 00:00:00 [kswapd]040 S root 4 1 0 69 0 - 0 krecla 07:38 ? 00:00:00 [kreclaimd]040 S root 5 1 0 69 0 - 0 bdflus 07:38 ? 00:00:00 [bdflush]040 S root 6 1 0 69 0 - 0 kupdat 07:38 ? 00:00:01 [kupdate]040 S root 7 1 0 69 0 - 0 pagebu 07:38 ? 00:00:00 [pagebuf_daemon]040 S root 74 1 0 69 0 - 289 nanosl 07:38 ? 00:00:00 /sbin/wdtd -p 30 -n 5140 S bin 272 1 0 69 0 - 298 do_sel 07:38 ? 00:00:00 /sbin/portmap140 S root 278 1 0 69 0 - 312 do_sel 07:38 ? 00:00:00 /usr/sbin/inetd000 S root 1374 278 0 69 0 - 400 do_sel 07:42 ? 00:00:00 in.telnetd: 192.168.133.22 100 S root 1375 1374 0 69 0 - 612 read_c 07:42 pts/1 00:00:00 -sh000 S root 10157 278 0 69 0 - 400 do_sel 22:12 ? 00:00:01 in.telnetd: 192.168.84.18 100 S root 10158 10157 0 69 0 - 583 wait4 22:12 pts/0 00:00:00 -rbash000 S root 10644 10158 5 69 0 - 690 wait4 22:21 pts/0 00:00:00 /bin/sh /fabos/link_bin/supportshow000 R root 10771 10644 0 76 0 - 733 - 22:21 pts/0 00:00:01 /bin/ps -elfH040 S root 316 1 0 69 0 - 311 do_sel 07:38 ? 00:00:00 /usr/sbin/syslogd -m 0140 S root 317 1 0 69 0 - 292 Letext 07:38 ? 00:00:00 /usr/sbin/klogd -x040 S root 324 1 0 68 0 - 364 nanosl 07:38 ? 00:00:00 /usr/sbin/crond040 D root 367 1 0 69 0 - 0 end 07:38 ? 00:00:00 [kerrlog]000 S root 490 1 0 69 0 - 804 do_sel 07:38 ? 00:00:00 diagd100 S root 495 1 0 65 -10 - 936 rt_sig 07:38 ? 00:00:00 fabricd -s 0040 S root 500 495 0 65 -10 - 936 do_pol 07:38 ? 00:00:00 fabricd -s 0040 S root 501 500 0 65 -10 - 936 Letext 07:38 ? 00:00:03 fabricd -s 0040 S root 502 500 0 65 -10 - 936 do_sel 07:38 ? 00:00:00 fabricd -s 0040 S root 503 500 0 65 -10 - 936 rt_sig 07:38 ? 00:00:00 fabricd -s 0040 S root 504 500 0 65 -10 - 936 rt_sig 07:38 ? 00:00:00 fabricd -s 0040 S root 545 500 0 65 -10 - 936 rt_sig 07:39 ? 00:01:15 fabricd -s 0000 S root 507 1 0 68 0 - 962 rt_sig 07:38 ? 00:00:00 zoned -s 0040 S root 894 507 0 69 0 - 962 do_pol 07:40 ? 00:00:00 zoned -s 0040 S root 900 894 0 69 0 - 962 Letext 07:40 ? 00:00:00 zoned -s 0040 S root 910 894 0 69 0 - 962 do_sel 07:40 ? 00:00:00 zoned -s 0040 S root 919 894 0 69 0 - 962 Letext 07:40 ? 00:00:00 zoned -s 0040 S root 940 894 0 69 0 - 962 rt_sig 07:40 ? 00:00:00 zoned -s 0040 S root 7704 894 0 69 0 - 962 rt_sig 16:46 ? 00:00:00 zoned -s 0000 S root 513 1 0 69 0 - 921 rt_sig 07:38 ? 00:00:00 fspfd -s 0040 S root 895 513 0 69 0 - 921 do_pol 07:40 ? 00:00:00 fspfd -s 0040 S root 899 895 0 69 0 - 921 Letext 07:40 ? 00:00:00 fspfd -s 0040 S root 912 895 0 69 0 - 921 do_sel 07:40 ? 00:00:00 fspfd -s 0040 S root 916 895 0 69 0 - 921 nanosl 07:40 ? 00:00:00 fspfd -s 0040 S root 10292 895 0 69 0 - 921 rt_sig 22:15 ? 00:00:00 fspfd -s 0000 S root 519 1 0 69 0 - 1253 rt_sig 07:38 ? 00:04:49 nsd -s 0040 S root 524 519 0 69 0 - 1253 do_pol 07:38 ? 00:00:00 nsd -s 0040 S root 525 524 0 69 0 - 1253 Letext 07:38 ? 00:03:55 nsd -s 0

<Output Truncated.>

v4.2 Example Output:

The Official SupportShow Command Reference Guide 2-277

Page 302: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

Example 2-147:

/bin/ps -elfH F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD100 S root 1 0 0 68 0 - 298 do_sel Dec30 ? 00:00:01 init040 S root 2 1 0 69 0 - 0 contex Dec30 ? 00:00:00 [keventd]040 S root 3 1 0 79 19 - 0 ksofti Dec30 ? 00:00:00 [ksoftirqd_CPU0]040 S root 4 1 0 69 0 - 0 kswapd Dec30 ? 00:00:00 [kswapd]040 S root 5 1 0 69 0 - 0 bdflus Dec30 ? 00:00:00 [bdflush]040 S root 6 1 0 69 0 - 0 kupdat Dec30 ? 00:00:01 [kupdated]040 S root 7 1 0 69 0 - 0 pagebu Dec30 ? 00:00:00 [pagebuf_daemon]040 S root 52 1 0 69 0 - 290 nanosl Dec30 ? 00:00:00 /sbin/wdtd140 S bin 292 1 0 69 0 - 297 do_sel Dec30 ? 00:00:00 [portmap]140 S root 316 1 0 69 0 - 355 do_sel Dec30 ? 00:00:00 /usr/sbin/inetd000 S root 11070 316 0 69 0 - 314 do_sel 19:31 ? 00:00:00 in.telnetd: 192.168.80.59 100 S root 11076 11070 0 69 0 - 890 wait4 19:31 ? 00:00:00 [login]040 S root 11077 11076 0 69 0 - 890 do_pol 19:31 ? 00:00:00 [login]100 S root 11080 11076 0 69 0 - 575 wait4 19:31 pts/0 00:00:00 -rbash000 S root 11158 11080 4 69 0 - 658 wait4 19:33 pts/0 00:00:00 /bin/sh /fabos/link_bin/supportshow000 R root 11406 11158 0 78 0 - 775 - 19:33 pts/0 00:00:00 /bin/ps -elfH040 S root 348 1 0 69 0 - 312 do_sel Dec30 ? 00:00:00 /usr/sbin/syslogd140 S root 349 1 0 69 0 - 479 Letext Dec30 ? 00:00:00 /usr/sbin/klogd040 S root 359 1 0 68 0 - 365 nanosl Dec30 ? 00:00:00 /usr/sbin/crond040 D root 447 1 0 69 0 - 0 end Dec30 ? 00:00:00 [kerrlog]040 S root 532 1 0 69 0 - 0 end Dec30 ? 00:00:00 [CERK_TH]000 S root 535 1 0 68 0 - 840 rt_sig Dec30 ? 00:00:00 sysctrld /etc/fabos/services SWBD21/opt1 -t XCP -d 0040 S root 553 535 0 69 0 - 840 do_pol Dec30 ? 00:00:00 sysctrld /etc/fabos/services SWBD21/opt1 -t XCP -d 0040 S root 554 553 0 69 0 - 840 rt_sig Dec30 ? 00:00:00 sysctrld /etc/fabos/services SWBD21/opt1 -t XCP -d 0040 S root 565 553 0 69 0 - 840 Letext Dec30 ? 00:00:00 sysctrld /etc/fabos/services SWBD21/opt1 -t XCP -d 0040 S root 566 553 0 69 0 - 840 do_sel Dec30 ? 00:00:00 sysctrld /etc/fabos/services SWBD21/opt1 -t XCP -d 0040 S root 576 553 0 69 0 - 840 rt_sig Dec30 ? 00:00:00 sysctrld /etc/fabos/services SWBD21/opt1 -t XCP -d 0100 S root 582 535 0 61 -16 - 475 wait_f Dec30 ? 00:00:00 /fabos/libexec/proxy -d 0 -S chassis -s 0040 S root 586 582 0 61 -16 - 475 do_pol Dec30 ? 00:00:00 /fabos/libexec/proxy -d 0 -S chassis -s 0040 S root 587 586 0 61 -16 - 475 Letext Dec30 ? 00:00:00 /fabos/libexec/proxy -d 0 -S chassis -s 0100 S root 583 535 0 69 0 - 786 nanosl Dec30 ? 00:00:00 /fabos/libexec/pdmd -S chassis -s 0040 S root 597 583 0 69 0 - 786 do_pol Dec30 ? 00:00:00 /fabos/libexec/pdmd -S chassis -s 0040 S root 601 597 0 69 0 - 786 Letext Dec30 ? 00:00:00 /fabos/libexec/pdmd -S chassis -s 0040 S root 612 597 0 69 0 - 786 do_sel Dec30 ? 00:00:00 /fabos/libexec/pdmd -S chassis -s 0000 S root 584 535 0 68 0 - 659 nanosl Dec30 ? 00:00:00 /fabos/libexec/hmond -S chassis -s 0040 S root 588 584 0 69 0 - 659 do_pol Dec30 ? 00:00:00 /fabos/libexec/hmond -S chassis -s 0040 S root 595 588 0 69 0 - 659 Letext Dec30 ? 00:00:00 /fabos/libexec/hmond -S chassis -s 0040 S root 645 588 0 69 0 - 659 rt_sig Dec30 ? 00:00:00 /fabos/libexec/hmond

<Output Truncated.>

2-278 The Official SupportShow Command Reference Guide

Page 303: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

/bin/rpm –qaAvailable in Fabric OS versions: All v4.xTroubleshooting Use: Use this Red Hat package manager command to display all packages running on the switch.

Example 2-83: /bin/rpm -qadir-1.0.4-3setup-1.3.4-9ldconfig-1.9.11-3bash-2.04-5readline-4.1-1grep-2.4.2-1wget-1.5.3-1termcap-1.3-2which-2.12-1findutils-4.1-1bzip-1.0.1-1zlib-1.1.3-1chkconfig-1.0.0-5fileutils-4.0-1sed-3.02-1textutils-1.22-1procps-2.0.7-3psmisc-19-2modutils-2.4.3-6misc-1.0.0-2util-linux-2.10s-11sh-utils-2.0-7popt-1.3-1hex-1.2-1rpm-3.0.6-2sysvinit-2.78-4man-1.5g-4less-3.4.0-2gzip-1.2.4a-1tar-1.13.19-1cpio-2.4.2-1dev-1.4.0-2bootenv-1.0.2-4

Note: You can verify the version of each package if firmwaredownload goes wrong

v4.2 Example Output:

Example 2-148: /bin/rpm -qadir-1.0.4-3setup-1.3.4-14swbd21-setup-1.3.4-1ldconfig-1.9.11-3glibc-2.1.3-6bash-2.04-5readline-4.1-1terminfo-11.0.1-3termcap-1.3-2which-2.12-1findutils-4.1-1bzip-1.0.1-1zlib-1.1.3-1

The Official SupportShow Command Reference Guide 2-279

Page 304: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

chkconfig-1.0.0-5fileutils-4.0-1sed-3.02-1textutils-1.22-1procps-2.0.7-3psmisc-19-2modutils-2.4.3-6sin-1.1.0-2rcinit-1.1.4-2misc-1.0.0-2pam-0.74-23util-linux-2.11w-12sh-utils-2.0-7popt-1.3-1grep-2.4.2-1rpm-3.0.6-2sysvinit-2.78-5man-1.5g-4less-3.4.0-2gzip-1.2.4a-1tar-1.13.19-1rsync-2.5.5-1cpio-2.4.2-1dev-1.4.0-2bootenv-1.0.2-4wdtd-1.0.0-2wget-1.5.3-1fwdl-1.0.2-38prom-3.2.4-1kernel-2.4.19-70swbd21-drivers-2.4.19-1pcmcia-cs-3.1.29-2sysklogd-1.4-6getty-2.0.7j-5net-tools-1.57-2vixie-cron-3.0.1-62_1uucp-1.06-2binutils-libs-2.10.1-1binutils-2.10.1-1ksymoops-2.4.1-1portmap-4.0-1inetd-0.17-5iptables-1.2-6atcpd-7.6-1telnet-server-0.17-3rsh-server-0.17-1rsh-0.17-1openssl-libs-0.9.6-2openssh-server-3.5p1-4rusers-server-0.17-1rdate-990821-2logrotate-3.5.4-3ntp-5.93e-1pciutils-2.1.8-1strace-4.2-1ftp-0.17-1ncftp-3.0.3-3sendmail-8.9-8iproute2-2.4-7fastcgi-2.2-1fabos-fw-4.2.0_beta1-8fabos-wwnhs-4.2.0_beta1-8fabos-hmon-4.2.0_beta1-8apache-1.3.26-3tz-7.11-1

2-280 The Official SupportShow Command Reference Guide

Page 305: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

fabos-drivers-4.2.0_beta1-8fabos-zoning-4.2.0_beta1-8fabos-webtools-4.2.0_beta1-8fabos-fss-4.2.0_beta1-8fabos-setup-4.2.0_beta1-10fabos-libs-4.2.0_beta1-8fabos-diag-4.2.0_beta1-9fabos-man-4.2.0_beta1-8fabos-4.2.0_beta1-8

The Official SupportShow Command Reference Guide 2-281

Page 306: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

/sbin/bootenvTroubleshooting Use: Use this command to output “boot from” parameters. Tells you which partition, which part of flash memory switch booted from in order from left to right. In the example below hda1 is listed first so that is where this switch booted from.

Available in Fabric OS versions: All v4.xAdditional Example/Case Studies: running user commands/sbin/bootenvAutoLoad=yesENET_MAC=00606960045C Note: This is the mac address (WWN without 1st 3 bytes) of CP your on.InitTest=MEM()LoadIdentifier=IDE w/ XFS;IDE w/ XFS & NFS RootOSLoadOptions=mem=127m;mem=127mOSLoader=MEM()0xF0800000;MEM()0xF0000000OSRootPartition=hda1;hda2SkipWatchdog=yestmp_OSLoadOptions=mem=127m;mem=127m

This file is used during a firmwaredown load process. Here is an example that illustrates what happens: Suppose you start a firmwaredownload:Firmware will be loaded on a 2ndary partition, it could either be hda1 or hda2, for this example let’s assume it’s hda1. When the firmware is being loaded on hda1, hda2 gets marked as bad so that it will not be used to boot from after the firmware is downloaded. Here is what the /sbin/bootenv file looks like at that point in time:

cp0:root> bootenvAutoLoad=yesBadRootDev=hda2ENET_MAC=0060696003a0InitTest=MEM()OSLoader=MEM()0xF0800000;MEM()0xF0800000;ENET()OSRootPartition=hda1;hda2;nfsSkipWatchdog=yesSoftUpgrade=commitcp0:root>

If the firmwaredownload in progress fails at this point, perhaps because a timer didn’t wait long enough for the 2ndary partition to reboot. The boot process would then be marked bad and the /sbin/bootenv file would look like this:cp0:root> bootenvAutoLoad=yesBadRootDev=hda2ENET_MAC=0060696003a0InitTest=MEM()OSLoader=MEM()0xF0800000;MEM()0xF0800000;ENET()OSRootPartition=hda1;hda2;nfsSkipWatchdog=yesSoftUpgrade=SUS_SELF_FAILOVER or SoftUpgrade=SUS_SBY_REBOOT (another flag that could cause system to not boot) cp0:root>

v4.2 Example Output:

Example 2-149: /sbin/bootenv:AutoLoad=yesENET_MAC=006069D0040CInitTest=MEM()LoadIdentifiers=Fabric Operating System;Fabric Operating SystemOSLoadOptions=quiet;quietOSLoader=MEM()0xF0000000;MEM()0xF0800000OSRootPartition=hda1;hda2SkipWatchdog=yes

2-282 The Official SupportShow Command Reference Guide

Page 307: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

/sbin/ifconfigTroubleshooting Use: Use this command to list all IP addresses. Eth0 is the IP of the active CP.Available in Fabric OS versions: All v4.xAdditional Example/Case Studies: See embedded notes after “/” symbols. Also see firmwaredownload related

commands in additional non-supportshow commands section.

Example 2-84: /sbin/ifconfigeth0 Link encap:Ethernet HWaddr 00:60:69:60:04:5C / Note: eth0 represents the active CP. This is the mac address (WWN without 1st 3 bytes) of the active CP inet addr:10.64.69.2 Bcast:10.255.255.255 Mask:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:119542 errors:0 dropped:0 overruns:0 frame:0 TX packets:34890 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:9 Base address:0xffe0 eth0:1 Link encap:Ethernet HWaddr 00:60:69:60:04:5C / Note: eth0:1 represents logical switch 0, SW0. This is it’s mac address (WWN without 1st 3 bytes), the same as the active CP’s inet addr:10.64.69.3 Bcast:10.255.255.255 Mask:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:9 Base address:0xffe0 eth0:2 Link encap:Ethernet HWaddr 00:60:69:60:04:5C / Note: eth0:2 represents logical switch 1, SW1. This is it’s mac address (WWN without 1st 3 bytes), the same as the active CP’s inet addr:10.64.69.4 Bcast:10.255.255.255 Mask:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:9 Base address:0xffe0 eth1 Link encap:Ethernet HWaddr 00:60:69:60:04:5D / Note: eth1 represents the backplane inet addr:10.0.0.6 Bcast:10.255.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:35801 errors:0 dropped:0 overruns:0 frame:0 TX packets:35893 errors:0 dropped:0 overruns:0 carrier:0 collisions:17 txqueuelen:100 Interrupt:29 Base address:0x4000 fc0 Link encap:Fibre Channel HWaddr 00:60:69:80:04:B2 / Note: fc0 and fc1 both represent IP over FC addresses. UP BROADCAST RUNNING MTU:2024 Metric:1 RX packets:772 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 fc1 Link encap:Fibre Channel HWaddr 00:60:69:80:04:B3 / Note: fc0 and fc1 both represent IP over FC addresses. UP BROADCAST RUNNING MTU:2024 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 lo Link encap:Local Loopback Note: Internal loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3904 Metric:1 RX packets:18400 errors:0 dropped:0 overruns:0 frame:0 TX packets:18400 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0

v4.2 Example Output:

Example 2-150: /sbin/ifconfig:eth0 Link encap:Ethernet HWaddr 00:60:69:D0:04:0C inet addr:10.64.148.35 Bcast:10.255.255.255 Mask:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:142766 errors:0 dropped:0 overruns:0 frame:0

The Official SupportShow Command Reference Guide 2-283

Page 308: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

TX packets:8579 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:60

eth0:1 Link encap:Ethernet HWaddr 00:60:69:D0:04:0C inet addr:10.64.148.32 Bcast:10.64.159.255 Mask:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:60

eth1 Link encap:Ethernet HWaddr 00:60:69:D0:04:0D inet addr:10.0.0.6 Bcast:10.255.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:219778 errors:7 dropped:14 overruns:0 frame:14 TX packets:220077 errors:0 dropped:0 overruns:0 carrier:0 collisions:8 txqueuelen:100 Interrupt:62

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:35590 errors:0 dropped:0 overruns:0 frame:0 TX packets:35590 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0

2-284 The Official SupportShow Command Reference Guide

Page 309: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

/sbin/routeAvailable in Fabric OS versions: All v4.xTroubleshooting Use: Kernel Routing Table

Example 2-85: /sbin/routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Ifacecp_0_inteth * 255.255.255.255 UH 0 0 0 eth1cp1 localhost 255.255.255.255 UGH 0 0 0 lo10.0.0.0 * 255.255.255.0 U 0 0 0 eth110.64.64.0 * 255.255.240.0 U 0 0 0 eth0default 10.64.64.1 0.0.0.0 UG 0 0 0 eth0

Note: Default IP routes, starts with destination and depicts routes as you read right.

v4.2 Example Output:

Example 2-151: /sbin/route:Kernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Ifacecp1 localhost 255.255.255.255 UGH 0 0 0 lo10.0.0.0 * 255.255.255.0 U 0 0 0 eth110.64.144.0 * 255.255.240.0 U 0 0 0 eth0default 10.64.144.1 0.0.0.0 UG 0 0 0 eth0

The Official SupportShow Command Reference Guide 2-285

Page 310: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

/sbin/sinAvailable in Fabric OS versions: All v4.xTroubleshooting Use: Use this command to hardware listing of CP components.

Example 2-86: /sbin/sinBoot PROM: Version 3.1.18, Checksum: 00dbaf43, Fri Oct 11 19:16:29 2002 Note: from boot prom.Platform: SWBD10, Revision 2Processor: CPU: 200 MHz PowerPC 405GP, Revision EPrimary data cache: 8 KB, 32 B linesPrimary instruction cache: 16 KB, 32 B linesFlash memory: 16 MB x 32b @ 0xf0000000, Manufacturer ID 0x4f, Device ID 0x0Flash memory: 16 MB x 32b @ 0xf1000000, Manufacturer ID 0x0, Device ID 0x0Flash memory: 16 MB x 32b @ 0xf2000000, Manufacturer ID 0x0, Device ID 0x0Flash memory: 16 MB x 32b @ 0xf3000000, Manufacturer ID 0x0, Device ID 0x0Flash memory: 512 KB x 8b @ 0xfff80000, Manufacturer ID 0x1, Device ID 0x4fPCI device: Bus 0, Slot 1, Function 0, Vendor 0x1011, Device 0x0046PCI device: Bus 0, Slot 2, Function 0, Vendor 0x1011, Device 0x0046PCI device: Bus 0, Slot 3, Function 0, Vendor 0x8086, Device 0x1209PCI device: Bus 0, Slot 4, Function 0, Vendor 0x104c, Device 0xac51PCI device: Bus 0, Slot 4, Function 1, Vendor 0x104c, Device 0xac51Main memory: 128 MB (ECC) @ 0x00000000

Control Processor No: 1 Note: this is referring to the fact that there is currently only 1 ACTIVE CP

Note: This is a device table for Linux, a listing of all the devices ID’s. Not commonly used for troubleshooting right now.

v4.2 Example Output:

Example 2-152: /sbin/sin:Boot PROM: Version 4.1.0, Checksum: 0433fb18, Mon Dec 15 08:27:57 2003Platform: SWBD21, Revision 1Processor: CPU: 466 MHz PowerPC Main memory: 256 MB (ECC) @ 0x00000000Primary data cache: 32 KB, 32 B linesPrimary instruction cache: 32 KB, 32 B linesFlash memory: 8 MB x 16b @ 0xf0000000, Manufacturer ID 0x89, Device ID 0x17Flash memory: 8 MB x 16b @ 0xf0800000, Manufacturer ID 0x89, Device ID 0x17Flash memory: 512 KB x 8b @ 0xfff80000, Manufacturer ID 0x1, Device ID 0x4fPCI device: Bus 0, Slot 1, Function 0, Vendor 0x8086, Device 0xb555PCI device: Bus 0, Slot 2, Function 0, Vendor 0x8086, Device 0xb555PCI device: Bus 0, Slot 3, Function 0, Vendor 0x8086, Device 0xb555PCI device: Bus 0, Slot 4, Function 0, Vendor 0x1095, Device 0x0649Control Processor No: 1

2-286 The Official SupportShow Command Reference Guide

Page 311: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

/usr/bin/du –xh / | /bin/sortAvailable in Fabric OS versions: All v4.x

Troubleshooting Use: Use this command to calculates directory sizes, diff can be used to determine if something is missing.

Example 2-87: /usr/bin/du -xh / | /bin/sort0/core_files/asd0/core_files/evmd0/core_files/fabricd0/core_files/fcpd0/core_files/fspfd0/core_files/fwd0/core_files/httpd0/core_files/msd0/core_files/nsd0/core_files/psd0/core_files/snmpd0/core_files/snmpstartd0/core_files/track_changes0/core_files/webd0/core_files/zoned0/etc/cron.d0/etc/cron.hourly0/etc/cron.monthly0/etc/cron.weekly0/etc/logrotate.d0/etc/pcmcia/cis0/etc/rc.d/rc0.d0/etc/rc.d/rc1.d0/etc/rc.d/rc2.d0/etc/rc.d/rc3.d0/etc/rc.d/rc4.d0/etc/rc.d/rc5.d0/etc/rc.d/rc6.d0/etc/rpm0/export0/fabos/man/cat20/fabos/man/cat30/fabos/man/cat40/fabos/man/cat50/fabos/man/cat60/fabos/man/cat70/fabos/man/cat80/fabos/man/cat90/fabos/man/catl0/fabos/man/catn0/fabos/man/cato0/fabos/man/catp0/fabos/man/man10/fabos/man/man1d0/fabos/man/man1m0/fabos/man/man20/fabos/man/man30/fabos/man/man40/fabos/man/man50/fabos/man/man60/fabos/man/man70/fabos/man/man80/fabos/man/man90/fabos/man/manl/usr/bin/du -xh / | /bin/sort

The Official SupportShow Command Reference Guide 2-287

Page 312: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

0/fabos/man/mann0/fabos/man/mano0/fabos/man/manp0/import0/initrd0/lib/modules/default/kernel/drivers/block0/lib/modules/default/kernel/drivers/i2c0/users0/usr/apache/htdocs0/usr/libexec0/usr/man/cat20/usr/man/cat30/usr/man/cat40/usr/man/cat60/usr/man/cat70/usr/man/cat90/var/lock1.0M/usr/sbin1.1M/sbin1.2M/etc1.2M/fabos/webtools/jars1.4M/fabos/man1.6M/fabos/lib1.9M/fabos/webtools/htdocs112k/usr/apache/conf124k/etc/config128k/lib/modules/default/kernel/drivers/pcmcia12k/dev12k/fabos/etc12k/fabos/factory12k/fabos/users/admin12k/fabos/users/diag12k/fabos/users/user140k/usr/share144k/fabos/webtools/bin14M/fabos160k/lib/modules/default/kernel160k/lib/modules/default/kernel/drivers160k/var/log164k/fabos/share16k/root16k/usr/lib/rpm188k/lib/modules188k/lib/modules/default2.1M/usr/apache2.1M/usr/lib2.6M/lib2.7M/bin212k/var/run3.1M/boot3.2M/fabos/webtools3.3M/fabos/modules3.5M/usr/bin32k/lib/modules/default/kernel/drivers/net32k/usr/man/cat1m35M/364k/fabos/man/cat1d36k/etc/webtools36k/etc/webtools/conf36k/fabos/users36k/usr/man/cat1/usr/bin/du -xh / | /bin/sort cont.

396k/fabos/man/cat1

2-288 The Official SupportShow Command Reference Guide

Page 313: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

4.0k/config4.0k/core_files4.0k/etc/cron.daily4.0k/etc/default4.0k/usr/apache/cgi-bin4.0k/usr/man/cat54.0k/usr/man/cat84.0k/var/spool4.0k/var/spool/cron4.1M/fabos/sbin432k/usr/apache/include44k/etc/mail504k/var/lib/rpm508k/var/lib60k/etc/pcmcia640k/fabos/man/cat1m68k/etc/rc.d/init.d696k/fabos/bin72k/etc/fabos72k/fabos/standby_bin76k/usr/apache/include/xml76k/usr/man780k/usr/apache/libexec8.0k/fabos/standby_sbin8.0k/var/tmp8.9M/usr804k/usr/apache/bin80k/etc/rc.d892k/var

v4.2 Example Output:

Example 2-153: /usr/bin/du -xh / | /bin/sort:0 /core_files/arrd0 /core_files/asd0 /core_files/emd0 /core_files/evmd0 /core_files/fabricd0 /core_files/fcpd0 /core_files/fdmid0 /core_files/fspfd0 /core_files/fssme0 /core_files/fwd0 /core_files/msd0 /core_files/nsd0 /core_files/panic0 /core_files/pdmd0 /core_files/proxyfcg0 /core_files/psd0 /core_files/rcsd0 /core_files/rpcd0 /core_files/secd0 /core_files/slapd0 /core_files/snmpd0 /core_files/sysctrld0 /core_files/track_changes0 /core_files/tsd0 /core_files/webd0 /core_files/weblinkerfcg0 /core_files/zoned0 /dev/fss0 /etc/cron.d

The Official SupportShow Command Reference Guide 2-289

Page 314: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

0 /etc/cron.daily0 /etc/cron.monthly0 /etc/cron.weekly0 /etc/logrotate.d0 /etc/pcmcia/cis0 /etc/rc.d/rc0.d0 /etc/rc.d/rc1.d0 /etc/rc.d/rc2.d0 /etc/rc.d/rc3.d0 /etc/rc.d/rc4.d0 /etc/rc.d/rc5.d0 /etc/rc.d/rc6.d0 /etc/rpm0 /export0 /fabos/man/cat20 /fabos/man/cat30 /fabos/man/cat40 /fabos/man/cat50 /fabos/man/cat60 /fabos/man/cat70 /fabos/man/cat80 /fabos/man/cat90 /fabos/man/catl0 /fabos/man/catn0 /fabos/man/cato0 /fabos/man/catp0 /fabos/man/man10 /fabos/man/man1d0 /fabos/man/man1m0 /fabos/man/man20 /fabos/man/man30 /fabos/man/man40 /fabos/man/man50 /fabos/man/man60 /fabos/man/man70 /fabos/man/man80 /fabos/man/man90 /fabos/man/manl0 /fabos/man/mann0 /fabos/man/mano0 /fabos/man/manp0 /import0 /initrd0 /lib/modules/default/kernel/drivers/block0 /lib/modules/default/kernel/drivers/i2c0 /lib/modules/default/kernel/drivers/net0 /users0 /usr/apache/htdocs0 /usr/lib/rpm0 /usr/man/cat20 /usr/man/cat30 /usr/man/cat40 /usr/man/cat60 /usr/man/cat70 /usr/man/cat90 /var/lock1.0M/usr/sbin1.5M/sbin1.6M/fabos/webtools/htdocs1.7M/fabos/man1.9M/usr/share/zoneinfo104k/etc/fabos/services/SWBD21108k/lib/security112k/etc/rc.d128k/etc/fabos/services

2-290 The Official SupportShow Command Reference Guide

Page 315: Support Show Command Ref SSCRG

Fabric OS SupportShow Information 2

128k/lib/modules/default/kernel128k/lib/modules/default/kernel/drivers128k/lib/modules/default/kernel/drivers/pcmcia12k /dev12k /fabos/factory12k /fabos/users/admin12k /fabos/users/diag12k /fabos/users/user12k /usr/share/zoneinfo/Mexico12k /usr/share/zoneinfo/Mideast144k/usr/share/zoneinfo/Etc156k/lib/modules156k/lib/modules/default160k/etc/config164k/usr/share/zoneinfo/Pacific16k /etc/fabos/services/SWBD21/opt1/chassis.svc16k /etc/fabos/services/SWBD21/opt2/chassis.svc16k /lib/rpm16k /root16k /usr/share/zoneinfo/America/Indiana16k /usr/share/zoneinfo/Brazil188k/var/run2.1M/usr/apache2.1M/usr/share2.3M/fabos/webtools/jars20k /etc/fabos/pki20k /fabos/etc212k/usr/share/zoneinfo/Europe24k /etc/fabos/services/SWBD21/opt1/fcsw.svc24k /etc/fabos/services/SWBD21/opt2/fcsw.svc24k /etc/fabos/services/fcsw.svc252k/lib/iptables26M /fabos288k/fabos/share3.3M/bin3.4M/fabos/lib3.5M/usr/bin3.9M/fabos/webtools320k/usr/share/zoneinfo/Asia32k /usr/man/cat1m340k/etc/fabos356k/fabos/man/cat1d36k /fabos/users36k /usr/man/cat136k /usr/share/zoneinfo/Antarctica36k /usr/share/zoneinfo/Canada4.0M/boot4.0k/config4.0k/etc/cron.hourly4.0k/etc/default4.0k/etc/fabos/lo4.0k/fabos/libexec/frureplace4.0k/usr/apache/cgi-bin4.0k/usr/man/cat54.0k/usr/man/cat84.0k/usr/share/zoneinfo/Arctic4.0k/var/log/webtools4.0k/var/spool4.0k/var/spool/cron4.2M/lib40k /etc/pam.d432k/usr/apache/include48k /etc/mail48k /fabos/webtools/bin48k /usr/share/zoneinfo/Atlantic

The Official SupportShow Command Reference Guide 2-291

Page 316: Support Show Command Ref SSCRG

Fabric OS SupportShow Information2

48k /usr/share/zoneinfo/Indian496k/usr/share/zoneinfo/America51M /52k /etc/fabos/services/SWBD21/opt152k /etc/fabos/services/SWBD21/opt252k /usr/share/zoneinfo/US556k/fabos/man/cat156k /usr/share/zoneinfo/SystemV6.1M/fabos/libexec60k /etc/pcmcia60k /var/log664k/var/lib/rpm668k/var/lib68k /fabos/standby_bin76k /usr/apache/include/xml76k /usr/man776k/fabos/man/cat1m788k/usr/apache/libexec8.0k/fabos/standby_sbin8.0k/usr/libexec8.0k/usr/share/zoneinfo/America/Kentucky8.0k/usr/share/zoneinfo/Chile8.0k/var/tmp84k /core_files864k/fabos/sbin880k/usr/apache/bin88k /usr/apache/conf88k /usr/share/zoneinfo/Australia9.1M/fabos/modules9.7M/usr928k/var92k /etc/rc.d/init.d952k/fabos/bin964k/usr/lib968k/etc

2-292 The Official SupportShow Command Reference Guide

Page 317: Support Show Command Ref SSCRG

The Official SupportShow Command Reference Guide

Chapter

3

Non-SupportShow Commands

The commands listed in this chapter are not part of supportshow. However these commands prove useful and helpful.

Note: Command Syntax and operands are not provided for the commands listed in this document. For information about syntax and operands for a command, refer to the Brocade Fabric OS Command Reference for the specific version of Fabric OS on your switch.

3-1

Page 318: Support Show Command Ref SSCRG

Non-SupportShow Commands3

AgtcfgSet Available in Fabric OS versions: v4.0.2, 4.1, 4.2Troubleshooting Use: Use this command to show/set SNMP configuration values

switch:admin> agtcfgSetCustomizing MIB-II system variables...At each prompt, do one of the following:<Return> to accept current value,enter the appropriate new value,<Control-D> to skip the rest of configuration, or<Control-C> to cancel any change.To correct any input mistake:<Backspace> erases the previous character,<Control-U> erases the whole line,

sysDescr: [FC Switch]sysLocation: [End User Premise]sysContact: [Field Support.]swEventTrapLevel: (0..5) [3]authTrapsEnabled (true, t, false, f): [true]

SNMP community and trap recipient configuration:Community (rw): [Secret C0de]Trap Recipient’s IP address in dot notation: [192.168.1.51]Community (rw): [OrigEquipMfr]Trap Recipient’s IP address in dot notation: [192.168.1.26]Community (rw): [private]Trap Recipient’s IP address in dot notation: [0.0.0.0] 192.168.64.88Community (ro): [public]Trap Recipient’s IP address in dot notation: [0.0.0.0]Community (ro): [common]Trap Recipient’s IP address in dot notation: [0.0.0.0]Community (ro): [FibreChannel]Trap Recipient’s IP address in dot notation: [0.0.0.0]After setting the MIB-II parameters, the SNMP access control lists (ACLs) are configured. There are six ACLs to restrict SNMP get/set operations to hosts under a host subnet-area. Host-subnet-area is defined by comparing non-zero IP octets. For example, an ACL of "192.168.64.0" enables access for any hosts that start with "192.168.64.xx". An ACL check is turned off when all six entries contain "0.0.0.0".

SNMP access list configuration:Access host subnet area in dot notation: [0.0.0.0] 192.168.64.0Read/Write? (true, t, false, f): [true]Access host subnet area in dot notation: [0.0.0.0]Read/Write? (true, t, false, f): [true]Access host subnet area in dot notation: [0.0.0.0]Read/Write? (true, t, false, f): [true]Access host subnet area in dot notation: [0.0.0.0]Read/Write? (true, t, false, f): [true]Access host subnet area in dot notation: [0.0.0.0]Read/Write? (true, t, false, f): [true]Access host subnet area in dot notation: [0.0.0.0]Read/Write? (true, t, false, f): [true]Committing configuration...done.switch:admin>

3-2 The Official SupportShow Command Reference Guide

Page 319: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

configureAvailable in Fabric OS versions: None, this command information is included due to it’s relation to configshow

outputs.Version Differences:v4.2 Example Output: No examples availableAdditional Example/Case Studies:Troubleshooting Use: - Use this command to change the following system configuration settings:• Fabric parameters• Virtual channel settings• Switch Operating Mode• Zoning Operation parameters• RSCN Transmission Mode• NS Pre-zoning Mode• Arbitrated Loop parameters• System services• Portlog events enable

Warning: Do not run this command on an operational switch. First disable the switch using the switchDisable command.

The configure command is navigated using a series of menus. Top level menus, and associated submenus consist of a text prompt, a list of acceptable values, and a default value (in brackets). Use the following options to control input:Return when entered at a prompt with no preceding input--accepts the default value (if applicable) and moves to the

next prompt.

Interrupt (Control-C) Aborts the command immediately and ignores all changes made.This keystroke is common on many computers, but can be different on your system.

End-of-file (Control-D) When entered at a prompt with no preceding input, terminates the command and saves changes made. This keystroke is common on many computers, but may be different on your system.

Fabric Parameters

There are a number of settings that control the overall behavior and operation of the Fabric. Some of these values, such as the domain, are assigned automatically by the Fabric and may differ from one switch to another in the Fabric. Other parameters, such as the BB credit, can be changed for specific applications or operating environments, but must be in agreement among all switches to allow formation of the Fabric.

The Fabric parameters are as follows: DTable 3-1 Configure Command Fabric Parameters

Command Definition

Domain The domain number uniquely identifies the switch in a Fabric. The Fabric can automatically assign this value. The range of valid values varies depending on the switch model and other system parameter settings (refer to VC Encoded Address mode).

BB Credit The buffer-to-buffer (BB) credit represents the number of buffers available to attached devices for frame receipt. The range of allowed values varies depending on other system settings (see Unicast-only Operation).

The Official SupportShow Command Reference Guide 3-3

Page 320: Support Show Command Ref SSCRG

Non-SupportShow Commands3

R_A_TOV The Resource Allocation Time Out Value (R_A_TOV) is displayed in milliseconds. This variable works with the variable E_D_TOV to determine switch actions when presented with an error condition. Allocated circuit resources with detected errors are not released until the time value has expired. If the condition is resolved prior to the timeout, the internal timeout clock resets and waits for the next error condition.

E_D_TOV Error Detect Time Out Value (E_D_TOV) is displayed in milliseconds. This timer is used to flag a potential error condition when an expected response is not received (an acknowledgment or reply in response to packet receipt, for example) within the set time limit. If the time for an expected response exceeds the set value, then an error condition occurs.

Version 3.02a has three additional options under configure: WAN_TOV: (0..2000) [0] //The WAN_TOV parameter should be left to its default of [0]. This is made configurable

only for internal testing purposes only.MAX_HOPS: (7..13) [7] ] //The MAX_HOPS parameter was inadvertently displayed in this non-GA release of

version 3.02a firmware. This is not a parameter that can be configured.WAN_RTT_DLY_MAX: (0.9500) [200]

//The WAN_RTT_DLY_MAX parameter should be left to its default of 200mS. This is made configurable only for internal debugging purposes only.

Data Field Size The data field size specifies the largest possible value, in bytes, and advertises this value to other switches in the Fabric during construction of the Fabric as well as to other devices when they connect to the Fabric. Setting this to a value smaller than 2112 may result in decreased performance.

Sequence Level Switching When Sequence Level Switching is set to 1, frames of the same sequence from a particular source are transmitted together as a group. When this feature is set to 0, frames are transmitted interleaved among multiple sequences. Under normal conditions, Sequence Level Switching should be disabled for better performance. However, some host adapters have performance issues when receiving interleaved frames from multiple sequences. When there are such devices attached to the Fabric, Sequence Level Switching should be enabled.

Disable Device Probing When Disable Device Probing is set to 1, devices that do not register with the Name Server are not present in the Name Server database. Set this mode only if the switch N_Port discovery process (PLOGI, PRLI, INQUIRY) causes an attached device to fail.

Suppress Class F Traffic When this mode is set to 1, all class F interswitch frames are transmitted as class 2 frames. This is to support remote Fabrics that involve ATM gateways that do not support class F traffic.

SYNC IO mode When Sync IO mode is set to 1, FSPF frames are sent in synchronous mode (expecting ACKs back from the other side for every frame) that helps in detecting the failures in the link between the ATM gateways in remote Fabrics.

VC Encoded Address Mode When VC Encoded Address Mode is set to 1, frame source and destination address utilize an address format compatible with Brocade Silkworm 1000 switches. Set this mode only if the Fabric includes this type of switch.

Core Switch PID Format This is used to set the 256 port PID format that is used for core switches.

Table 3-1 Configure Command Fabric Parameters

Command Definition

3-4 The Official SupportShow Command Reference Guide

Page 321: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

Virtual Channel Settings

The switch enables fine tuning for a specific application, by configuring the parameters for eight virtual channels. The first two virtual channels are reserved for switch internal functions and are not available for modification. The default virtual channel settings have already been optimized for switch performance. Changing the default values can improve switch performance, but can also degrade performance. Do not change these settings without fully understanding the effects of the changes.

The Virtual Channel Setting fields are as follows::

Per-frame Route Priority In addition to the eight virtual channels used in frame routing priority, support is also available for per-frame based prioritization when this value is set. When Per-frame Route Priority is set to 1, the virtual channel ID is used in conjunction with a frame header to form the final virtual channel ID.

Long Distance Fabric When this mode is set to 1, ISLs in a Fabric can be up to 100 km long. The exact distance level is determined by the per-port configuration on the E_Ports of each ISL. Both E_Ports in an ISL must be configured to run the same long distance level; otherwise, the Fabric will be segmented. The Extended Fabric License is required to set this mode.

Table 3-2 Configure Command Virtual Channel Settings

Zoning Operation Parameters

Standard Mode Specify 1 to force the switch to issue interswitch traffic conforming to FCSW, or specify 0 to enable proprietary interswitch traffic. The default value is 0. This value must be set to 1 for interoperability.

Disable NodeName Zone Checking

Specify 1 to disable using Node WWN when specifying nodes in the zone database, or specify 0 to enable using Node WWN when specifying nodes in the zone data. The default value is 1. This value must be set to 1 for interoperability.

RSCN Transmission Mode

End-device RSCN Transmission Mode

Specify 0 for RSCN with single PID, 1 for RSCN with multiple PIDs, or 2 Fabric RSCN.

NS Pre-zoning Mode

Pre-zoned responses Mode

Specify 0 for Standard Mode, or 1 for Pre-zoning On.

Table 3-1 Configure Command Fabric Parameters

Command Definition

The Official SupportShow Command Reference Guide 3-5

Page 322: Support Show Command Ref SSCRG

Non-SupportShow Commands3

Arbitrated Loop Settings

The Arbitrated Loop Setting fields are as follows:

System Services

Descriptions of the system service setting fields are as follows:

Table 3-3 Configure Command Arbitrated Loop Settings

Send FAN frames? Specifies that Fabric address notification (FAN) frames be sent to public loop devices to notify them of their node ID and address. When set to 1, frames are sent; when set to 0 frames are not sent.

Always send RSCN? Following the completion of loop initialization, a remote state change notification (RSCN) is issued when FL_Ports detect the presence of new devices or the absence of pre-existing devices. When set, a RSCN is issued upon completion of loop initialization, regardless of the presence or absence of new or preexisting devices.

Enable CLOSE on OPEN received?

If this is set, a CLS is returned immediately to an OPN if no buffers are available. This is required for TachLite.

Do Not Allow AL_PA 0x00? This option disallows ALPA values from being 0.

Initialize All Looplets? When this is set, all looplets including the ones not in the same zone are always re-initialized. This is required for certain RAID subsystems to work properly during failover.

Table 3-4 Configure Command System Services Parameters

rstatd Dynamically enables or disables a server that returns information about system operation information through remote procedure calls (RPC). The protocol provides for a wide-range of system statistics; however, only Ethernet interface statistics (see ifShow) and system up time (see uptime) are supported. The retrieval of this information is supported by a number of operating systems that support RPC. Most UNIX-based systems (HP-UX, Irix, Linux, Solaris, etc.) use the rup and rsysinfo commands to retrieve the information. See your local system documentation for the appropriate usage of these or equivalent commands.

rusersd Dynamically enables or disables a server that returns information about the user logged into the system through remote procedure calls (RPC). The information returned includes user login name, the system name, login protocol or type, login time, idle time, and remote login location (if applicable). The retrieval of this information is supported by a number of operating systems that support RPC. On most UNIX-based systems (HP-UX, Irix, Linux, Solaris, etc.) the command to retrieve the information is rusers. See your local system documentation for the appropriate usage of this or equivalent command.

Rapid Dynamically enables or disables a service that handles RPC requests for the API server.

Disable RLS probing This disables Read Link Error Status probing of the ALPAs.

3-6 The Official SupportShow Command Reference Guide

Page 323: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

FiconshowDisplays the contents of the specified FICON® management database.

Synopsis

ficonshow RNID [fabric]

ficonshow LIRR [fabric]

ficonshow SwitchRNID [fabric]

ficonshow RLIR [fabric]

ficonshow ILIR [fabric]

Availability

All users.

Description

Use this command to display the contents of a FICON® management database. The first operand for ficonshow is the name of the database to display. If the second operand is absent, the command displays the members of the named database that are local to the switch on which the command was issued. If the second operand is present, it must be entered fabric exactly as shown, and this specifies that all members are displayed, both local and remote.

The following information might be displayed, depending on what database you enter and which operands you use with the command:

Domain Displays the domain ID.

Fabric WWN Displays the fabric WWN.

Flag Indicates if the node is valid, not valid, or not current. Flag values indicate the following:

• 0x00 indicates that the node ID of the (storage port for RNID, switch for SwitchRNID) is valid.• 0x10 indicates that the node ID of the channel port is valid.• 0x20 indicates that the node ID of the storage port is not current.• 0x30 indicates that the node ID of the channel port is not current.• 0x40 indicates that the node ID of the (storage port for RNID, switch for RLIR) is not valid.• 0x50 indicates the node ID of the channel port is not valid.

Fmt Displays the record-registration format.

FRU Failure DescriptionIndicates the FRU failure type as one of the following:

• WWN card [unit number]• Power Supply [unit number]• Hardware Slot [unit number]• Blower [unit number]

FRU Part NumberDisplays the FRU part number.

FRU Serial NumberDisplays the FRU serial number.

Incident Count Displays the incident count. This number increases by 1 for each incident within the individual switch.

Link Incident DescriptionSame as “Link Incident Type.”

The Official SupportShow Command Reference Guide 3-7

Page 324: Support Show Command Ref SSCRG

Non-SupportShow Commands3

Link Incident TypeIndicates the link incident type as one of the following:

• Bit-error-rate threshold exceeded• Loss of Signal or Synchronization• NOS recognized• Primitive Sequence timeout• Invalid Primitive Sequence for Port State

Listener PID Same as “PID.”

Listener Port TypeSame as “Port Type.”

Listener Port WWNDisplays the channel HBA port World Wide Name.

Listener Type Indicates the listener type as one of the following:

• Conditional: This port receives a link incident record if no other recipients from the established registration list have been chosen.

• Unconditional: This port is always chosen as a recipient of a link incident record.

Manufacturer Displays the manufacture name or code.

Model Number Displays the model number.

Node ParametersSame as “Parameters.”

Parameters Displays the node type for the switch in three bytes: “0xAABBCC.” The meaning of each byte is described here:

• Byte AA:0x20 FC-SB-2 and updates.

• Byte BB:0x0a Switch.

• Byte CC:0x00 Port number. It is dynamically assigned whenever a link incident occurs.

Parm Displays the incident node parameters type in three bytes: “0xAABBCC.” The meaning of each byte is described below:

• Byte AA:0x00 Reserved0x20 FC-SB-2 and updates.0x40 Other FC-4s, including FCP and updates.0x60 FC-SB-2 and updates and other FC-4s, including FCP and updates.0x80 FC-4 support not specified.0xa0 Reserved.0xc0 Reserved.0xe0 Vendor specific.

• Byte BB:0x00 Unspecified class0x01 Direct access storage device, if it is a storage port; otherwise, it is not channel-to-channel capable.0x02 Magnetic tape, if it is a storage port; otherwise, if it is a reserved field for a channel port.0x03 Input unit record, if it is a storage port; otherwise, it is a reserved field for a channel port.0x04 Output unit, if it is a storage port; otherwise, it is a reserved field for a channel port.0x05 Reserved field for a channel port.0x06 Controller, if it is a storage port; otherwise, it is a reserved field for a channel port.

3-8 The Official SupportShow Command Reference Guide

Page 325: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

0x07 Terminal - Full screen if it is a storage port; otherwise, it is a reserved field for a channel port.0x08 Terminal - Line mode if it is a storage port; otherwise, it is an emulated control unit support only.0x09 Reserved.0x10 Switch, if it is a switch device; otherwise, it is reserved.0x0b-0xff Reserved.

• Byte CC:0x00 if storage CU port has registered with the switch.0xID CHIPID if channel port has registered with the switch.0xPN If switch has registered with the channel, then PN represents the FL_Port number.

Part Number Displays switch chassis part number.

PID Displays the 24-bit Fibre Channel Port address in “0xDDAAPP” format. DD is Domain ID. AA is Area ID. PP is AL_PA ID.

Plant of ManufactureDisplays the manufacture plant name or code.

Port Physical port number.

Port Status Displays the status of the port. One of the following messages is displayed:

• Link degraded but operational• Link not operational

Port Type Displays the port type.

• U is unknown. • N is N_Port. • NL is NL_Port.

Protocol Displays whether the traffic is using FICON® or FCP.

Registered Node WWN Displays the device’s node World Wide Name associated with the device HBA.

Registered Port WWNDisplays the device’s (channel or storage CU) port World Wide Name associated with the device HBA.

Sequence NumberDisplays the sequence number of the self-describing node.

Serial Number Displays the switch serial number.

Switch node WWNDisplays the switch node World Wide Name.

Switch Port WWNDisplays the switch port World Wide Name.

Switch WWN Displays the switch World Wide Name.

Tag Displays the physical identifier for the self-describing node interface.

TS Format Displays the Time Server format.

Time Stamp Displays the time stamp expressed in the date format.

Type Same as “Port Type.”

Type Number Displays the type number of the self-describing node. It also describes the machine type.

Operands

This command has the following operands:

The Official SupportShow Command Reference Guide 3-9

Page 326: Support Show Command Ref SSCRG

Non-SupportShow Commands3

database Specify the database to display. Valid values are: • RNID• LIRR• SwitchRNID• RLIR• ILIR

This operand is required.

fabric Specify fabric to display both local and remote information. This operand must be entered exactly as fabric. This operand is optional.

Example

This section contains of the examples of the ficonshow command for each database.

3-10 The Official SupportShow Command Reference Guide

Page 327: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

Example: To display the local RNID database:

Example: To display the local and remote LIRR database:

switch:admin> ficonshow rnid{ {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 0d0500 50:05:07:64:01:00:15:af 50:05:07:64:00:c1:69:ca 0x10 0x20011e Type number: 002064 Model number: 103 Manufacturer: IBM Plant of Manufacture: 02 Sequence Number: 0000000169CA tag: 1e05 } {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 0d0900 50:05:07:64:01:00:14:02 50:05:07:64:00:c1:69:ca 0x10 0x20011f Type number: 003868 Model number: 002 Manufacturer: IBM Plant of Manufacture: PK Sequence Number: 000000000057 tag: 0111 } {Fmt Type PID Registered Port WWN Registered Node WWN flag Parm 0x18 N 0d0d00 50:05:07:63:00:cd:96:aa 50:05:07:63:00:c0:96:aa 0x00 0x400100 Type number: 002105 Model number: 800 Manufacturer: IBM Plant of Manufacture: 13 Sequence Number: 000000022802 tag: 00ac }}3 valid entries, 0 not current entriesThe Local RNID database has 3 entries.

switch:admin> ficonshow lirr fabric{Fmt Type PID Listener Port WWN Switch Port WWN Listener Type 0x18 N 0a0000 50:05:07:64:01:40:14:0c 20:00:00:60:69:80:0f:c8 Conditional 0x18 N 0a1000 50:05:07:64:01:40:14:02 20:10:00:60:69:80:0f:c8 Conditional 0x18 N 0a1100 50:05:07:64:01:00:14:02 20:11:00:60:69:80:0f:c8 Conditional 0x18 N 0a1200 50:05:07:64:01:40:16:13 20:12:00:60:69:80:0f:c8 Conditional 0x18 N 0a1300 50:05:07:64:01:00:16:13 20:13:00:60:69:80:0f:c8 Conditional 0x18 N 0a2000 50:05:07:64:01:40:0b:45 20:20:00:60:69:80:0f:c8 Conditional 0x18 N 0b1000 50:05:07:64:01:00:13:f6 20:10:00:60:69:80:0f:c9 Conditional 0x18 N 0b1400 50:05:07:64:01:40:0f:e6 20:14:00:60:69:80:0f:c9 Conditional 0x18 N 0b1600 50:05:07:64:01:00:0f:e6 20:16:00:60:69:80:0f:c9 Conditional 0x18 N 0b2000 50:05:07:64:01:40:13:f6 20:20:00:60:69:80:0f:c9 Conditional 0x18 N 0b2400 50:05:07:64:01:00:0f:c4 20:24:00:60:69:80:0f:c9 Conditional 0x18 N 0b2c00 50:05:07:64:01:60:09:32 20:2c:00:60:69:80:0f:c9 Conditional 0x18 N 0b2d00 50:05:07:64:01:20:09:32 20:2d:00:60:69:80:0f:c9 Conditional 0x18 N 0b2e00 50:05:07:64:01:40:0f:bb 20:2e:00:60:69:80:0f:c9 Conditional 0x18 N 0b2f00 50:05:07:64:01:00:0f:bb 20:2f:00:60:69:80:0f:c9 Conditional 0x18 N 0b3400 50:05:07:64:01:00:14:95 20:34:00:60:69:80:0f:c9 Conditional 0x18 N 0c0400 50:05:07:64:01:40:16:16 20:04:00:60:69:90:02:12 Conditional 0x18 N 0c0900 50:05:07:64:01:00:16:16 20:09:00:60:69:90:02:12 Conditional}The LIRR database has 18 entries.

The Official SupportShow Command Reference Guide 3-11

Page 328: Support Show Command Ref SSCRG

Non-SupportShow Commands3

Example: To display the local SwitchRNID database:

Example: To display the local RLIR database:

switch:admin> ficonshow switchRNID{ {Switch WWN flag Parm 10:00:00:60:69:80:1e:4e 00 200a00 Type number: SLKWRM Model number: 12K Manufacturer: BRD Plant of Manufacture: CA Sequence Number: 0FT02X801E4E tag: 50ff }}The Local switch RNID database has 1 entries.switch:admin>

switch:user> ficonshow RLIR

{ {Fmt Type PID Port Incident Count TS Format Time Stamp 0x18 F d00d00 13 2 Time server Tue Sep 30 04:11:01 2003 Port Status: Link not operational Link Failure Type: Loss of signal or synchronization

Registered Port WWN Registered Node WWN Flag Node Parameters 50:05:07:64:01:40:13:dd 50:05:07:64:00:c1:69:ca 0x10 0x200127 Type Number: 002064 Model Number: 103 Manufacturer: IBM Plant of Manufacture: 02 Sequence Number: 0000000169CA tag: 270d

Switch Port WWN Switch Node WWN Flag Node Parameters 20:0d:00:60:69:90:0c:a8 10:00:00:60:69:90:0c:a8 0x00 0x200a0d Type Number: SLKWRM

Model Number: 12K Manufacturer: BRD Plant of Manufacture: CA Sequence Number: 0FA03X900CA8 tag: d00d}

}The RLIR database has 1 entry.switch:user>

3-12 The Official SupportShow Command Reference Guide

Page 329: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

Example: To display the local ILIR database:

switch:user> ficonshow ILIR

{ {FRU Failure [2]: Power Supply[2] failure occurred on Mon Jan 13 12:11:38 2003

Fmt Protocol Domain Fabric WWN Switch WWN 0x18 FICON 80 10:00:00:60:69:33:33:33 10:00:00:60:69:80:1e:4e

FRU part number: 23000000602 FRU serial number: FL2L0001071

{Listener Port Type Listener PID Listener Port WWN N 0x502b00 50:05:07:64:01:00:15:8d } } {FRU Failure [3]: Power Supply[4] failure occurred on Mon Jan 13 12:11:38 2003

Fmt Protocol Domain Fabric WWN Switch WWN 0x18 FICON 80 10:00:00:60:69:33:33:33 10:00:00:60:69:80:1e:4e

FRU part number: 23000000602 FRU serial number: FL2L0001060

{Listener Port Type Listener PID Listener Port WWN N 0x502b00 50:05:07:64:01:00:15:8d } }}

The local ILIR database has 2 entries.

switch:user>

The Official SupportShow Command Reference Guide 3-13

Page 330: Support Show Command Ref SSCRG

Non-SupportShow Commands3

FirmwareCommitAvailable in Fabric OS versions: 4.0.2cTroubleshooting Use: Use this command to commit switch firmware update

Use this command to commit a firmware download to a CP. This command copies an updated firmware

image to both partitions and commits both partitions of a CP to an updated version of the firmware. This must be done after each firmwaredownload, and after the switch has been rebooted and a sanity check is performed to make sure the new image is fine.

For switches which have flash memory set into two equal partitions, the primary partition is the where the system boots from, the secondary partition is where a copy of the firmware is stored, in case the primary partition is damaged.

To maintain the integrity of the firmware image in the flash memory, the firmwaredownload command updates the secondary partition only. When firmwaredownload completes successfully and the CP is rebooted, the system switches the primary partition (with the old firmware) to the secondary, and the secondary partition (with the new firmware) to the primary.

The default behavior of the firmwaredownload command automatically runs the firmwarecommit command after the reboot. For the cautious, the firmwaredownload command has an option to disable auto-commit of the new firmware. If you decide to disable the auto-commit option when running firmwaredownload, then, after the CP is rebooted, you must execute one of two commands:

• run the firmwarecommit command to copy the primary partition (with new firmware) to the secondary, and commit the new firmware to both partitions of the CP.

• or, run the firmwarerestore command to copy the secondary partition (with the old firmware) to the primary, and back out of the new firmware download. The firmwarerestore command can only be run if auto-commit was disabled during the firmwaredownload.

Example 3-1: To commit a firmware file:

switch:admin> firmwarecommitwriting flash 0 ..................writing flash 1 ..................commit complete

3-14 The Official SupportShow Command Reference Guide

Page 331: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

FirmwaredownloadAvailable in Fabric OS versions: 4.0.2cTroubleshooting Use: Use this command to download switch firmware from a remote host or from a local directory.

Use this command to download switch firmware from a FTP server or from a local (NFS) directory to the switch's non-volatile storage area.The new firmware is in the form of RPM packages with names defined in a pfile. Pfile is a binary file which contains specific firmware information (time stamp, platform code, version, etc.) and the names of packages of the firmware to be downloaded. These packages are made available periodically to add features or to remedy defects. Contact customer support to obtain information about available firmware versions. In the Silkworm 12000, this command by default downloads firmware image to both CPs in a rollover mode to prevent disruption to application services. This operation depends on HA support. If HA is not available, a user will still be able to upgrade the CPs one at a time using “-s” option.The Silkworm 3900 and each CP of the Silkworm 12000 have two partitions of non-volatile storage areas, a primary and a secondary, to store two firmware images. Firmwaredownload will always load the new image into the secondary partition and will swap the secondary partition to be the primary. It will then reboot the CP and activate the new image. Finally, it will perform firmwarecommit automatically to copy the new image to the other partition unless “-s” is used.The command supports both non-interactive and interactive modes. If it is invoked without any command line parameters, or if there is any syntax error in the parameters, the command will go into the interactive mode in which the user is prompted for input.

Note: Refer to the Fabric OS Procedures Guide Firmware Download chapter for limitations when changing Fabric OS versions. When installing Fabric OS v4.1, the procedure may vary depending on the current version of Fabric OS from which you are migrating.

Example: To download the firmware to a HA switch:switch:admin> firmwareDownload 192.168.166.30,johndoe,/pub/dist/release.plist,12345You can run firmwareDownloadStatus from a telnet session to get the status of this command.This command will cause the active CP to reset. This will cause disruption to devices attached to both switch 0 and switch 1 momentarily and will require that existing telnet sessions be restarted.Do you want to continue [Y]: yFirmwareDownload has started in Standby CP. It may take up to 10 minutes.And you will the following on Standby CP:Start to install packages......dir ##################################################terminfo ##################################################termcap ##################################################glibc ##################################################sin ##################################################Write kernel image into flash

Verification SUCCEEDEDFirmwaredownload completes successfully.

Diagnostics: The following issues may cause a firmware download to fail.Table 3-1

• The switch does not know Host • Package specified in the pfile doesn't exist

• Host cannot be reached by the switch • The FTP server is not running on host

• User does not have permission on host • Running firmwaredownload during POST

• The pfile does not exist on host • A loss of power to the switch

• The pfile is not in the right format •

The Official SupportShow Command Reference Guide 3-15

Page 332: Support Show Command Ref SSCRG

Non-SupportShow Commands3

FirmwaredownloadstatusAvailable in Fabric OS versions: 4.0.2c +Troubleshooting Use: Use this command to display the status of a firmware download

Use this command (introduced in V4.0.2) to display an event log that records the progress and status of the current firmwaredownload command. The event log is created by the current firmwaredownload command and is kept until another firmwaredownload command is issued. There is a timestamp associated with each event.

In a Silkworm 12000, when firmwaredownloadstatus is run, the event logs in the two CPs are synchronized. The command can be run from either CP.

Example 3-2: To display the status of a firmware download:switch:admin> firmwaredownloadstatus[1]: Tue Jan 18 13:21:25 2005cp1: FirmwareDownload has started on Standby CP. It may take up to 10 minutes.[1]: Tue Jan 18 13:21:35 2005cp1: FirmwareDownload has completed successfully on Standby CP.[2]: Tue Jan 18 13:21:37 2005cp1: Standby CP reboots.[3]: Tue Jan 18 13:24:44 2005cp1: Standby CP boots up.[4]: Tue Jan 18 13:24:45 2005cp1: Standby CP booted up with new firmware.<output truncated>[9]: Tue Jan 18 13:33:54 2005cp0: Standby CP booted up with new firmware.[10]: Tue Jan 18 13:33:56 2005cp0: Firmwarecommit has started on both Active and Standby CPs.[11]: Tue Jan 18 13:38:29 2005cp0: FirmwareCommit has completed successfully on Active CP.[12]: Tue Jan 18 13:38:30 2005cp0: FirmwareDownload has completed successfully.

Note: Command output helpful to follow download status to verify that all is going well.

Note: Both CP’s must have the same version of firmware to use “auto magic” firmwaredownload process and both partitions on each CP must have the same version of firmware. If Local CP and Remote CP have different versions of firmware, please retry firmwaredown load on a CP. If one of the CP’s partitions has a different version of firmware try either the firmwareCommit or the firmwarerestore command

Since stories shed the best light firmwaredownloadstatus, myid, haShow, and firmwareshow outputs were captured while a SilkWorm 12000 firmwaredownload process was in progress, curved notes act as explanation headers

This firmwaredownloadstatus output was taken at the end of the firmwaredownload process, from the new ACTIVE CP, and represents a great summary from which to view the steps we’ll follow:

Example 3-3: RSL_12K8_SW1:admin> firmwaredownloadstatus[0]: Thu Jun 12 19:06:25 2003cp0: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.[1]: Thu Jun 12 19:11:56 2003cp0: Firmwaredownload has completed successfully on Standby CP.[2]: Thu Jun 12 19:11:59 2003cp0: Standby CP reboots.[3]: Thu Jun 12 19:14:55 2003cp0: Standby CP booted up.[4]: Thu Jun 12 19:17:33 2003cp1: Active CP forced failover succeeded. Now this CP becomes Active.

3-16 The Official SupportShow Command Reference Guide

Page 333: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

[5]: Thu Jun 12 19:17:36 2003cp1: Firmwaredownload has started on Standby CP. It may take up to 10 minutes. [6]: Thu Jun 12 19:23:09 2003cp1: Firmwaredownload has completed successfully on Standby CP.[7]: Thu Jun 12 19:23:12 2003cp1: Standby CP reboots.[8]: Thu Jun 12 19:26:33 2003cp1: Standby CP booted up with new firmware.[9]: Thu Jun 12 19:26:36 2003cp1: Firmwarecommit has started on both Active and Standby CPs.[10]: Thu Jun 12 19:32:23 2003cp1: Firmwarecommit has completed successfully on Active CP.[11]: Thu Jun 12 19:32:24 2003cp1: Firmwaredownload command has completed successfully.

Example 3-4: The firmwaredownload was invoked from the active CP:myidCurrent Switch: RSL_12K8_SW1Session Detail: RSL_12K8_SW1 (10.255.255.150) Active Redundant

RSL_12K8_SW1:admin> hashowLocal CP (Slot 5, CP0): ActiveRemote CP (Slot 6, CP1): Standby, Healthy HA enabled, Heartbeat Up, HA State synchronized

RSL_12K8_SW1:admin> firmwareshowLocal CP (Slot 5, CP0): ActivePrimary partition:v4.1.0Secondary Partition:v4.1.0Remote CP (Slot 6, CP1): StandbyPrimary partition:v4.1.0Secondary Partition:v4.1.0

Note: If Local CP and Remote CP have different versionsof firmware, please retry firmwaredownload command.

RSL_12K8_SW1:admin> firmwaredownloadThis command will upgrade both CPs in the switch. If youwant to upgrade a single CP only, please use -s option.

You can run firmwareDownloadStatus to get the status ofthis command.

This command will cause the active CP to reset and willrequire that existing telnet, secure telnet or SSH sessionsbe restarted.

RSL_12K8_SW1:admin> firmwaredownloadThis command will upgrade both CPs in the switch. If youwant to upgrade a single CP only, please use -s option.

You can run firmwareDownloadStatus to get the status ofthis command.

This command will cause the active CP to reset and willrequire that existing telnet, secure telnet or SSH sessionsbe restarted.

Do you want to continue [Y]: yServer Name or IP Address: 10.255.253.6User Name: rootFile Name: /firmware/v4.1.1_rc1/release.plistPassword: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.

The Official SupportShow Command Reference Guide 3-17

Page 334: Support Show Command Ref SSCRG

Non-SupportShow Commands3

Firmwaredownload has completed successfully on Standby CP.Standby CP reboots.Standby CP booted up.Standby CP booted up with new firmware.

Note: Information captured from current standby, CP1, before and just after firmwaredownload was initiated from current active CP0:

myidCurrent Switch: RSL_12K8_SW1Session Detail: cp1 (10.255.255.152) Standby Redundant

RSL_12K8_SW1:admin> hashowLocal CP (Slot 6, CP1): StandbyRemote CP (Slot 5, CP0): ActiveHA enabled, Heartbeat Up, HA State synchronized

RSL_12K8_SW1:admin> firmwareshowLocal CP (Slot 6, CP1): StandbyPrimary partition:v4.1.0Secondary Partition:v4.1.0Remote CP (Slot 5, CP0): ActivePrimary partition:v4.1.0Secondary Partition:v4.1.0

Note: If Local CP and Remote CP have different versionsof firmware, please retry firmwaredownload command.

NOTE: FIRMWAREDOWNLOAD initiated from current active cp0, then this output captured from cp1:

RSL_12K8_SW1:admin> firmwareshowLocal CP (Slot 6, CP1): StandbyPrimary partition:v4.1.0Secondary Partition:Version is not availableRemote CP (Slot 5, CP0): ActivePrimary partition:v4.1.0Secondary Partition:v4.1.0

Note: If Local CP and Remote CP have different versionsof firmware, please retry firmwaredownload command.

_The system is going down for reboot NOW !!

Note: Logged back into CP1 and watched it become the active cp, note firmwareshow and firmwaredownload status output show CP0, new standby, booting up:

myidCurrent Switch: RSL_12K8_SW1Session Detail: cp1 (10.255.255.152) Standby RedundantRSL_12K8_SW1:admin> firmwareshow

Broadcast message from root Thu Jun 12 19:15:05 2003...********************************************************************Warning: Control Processor (CP) has changed state to Active.All Active commands are available now.********************************************************************

Local CP (Slot 6, CP1): ActivePrimary partition:v4.1.1_rc1Secondary Partition:v4.1.0Remote CP is Non-redundant.RSL_12K8_SW1:admin> firmwaredownloadstatus

3-18 The Official SupportShow Command Reference Guide

Page 335: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

[0]: Thu Jun 12 19:06:25 2003cp0: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.[1]: Thu Jun 12 19:11:56 2003cp0: Firmwaredownload has completed successfully on Standby CP.[2]: Thu Jun 12 19:11:59 2003cp0: Standby CP reboots.[3]: Thu Jun 12 19:14:55 2003cp0: Standby CP booted up.

Note: After the new standby, CP0, reboots this information was captured from CP1, you can see that the firmware is being downloaded to the 2ndary partition:

RSL_12K8_SW1:admin> firmwareshowLocal CP (Slot 6, CP1): ActivePrimary partition:v4.1.1_rc1Secondary Partition:v4.1.0Remote CP (Slot 5, CP0): StandbyPrimary partition:v4.1.0Secondary Partition:Version is not available

RSL_12K8_SW1:admin> firmwaredownloadstatus[0]: Thu Jun 12 19:06:25 2003cp0: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.

[1]: Thu Jun 12 19:11:56 2003cp0: Firmwaredownload has completed successfully on Standby CP.

[2]: Thu Jun 12 19:11:59 2003cp0: Standby CP reboots.

[3]: Thu Jun 12 19:14:55 2003cp0: Standby CP booted up.

[4]: Thu Jun 12 19:17:33 2003cp1: Active CP forced failover succeeded. Now this CP becomes Active.

[5]: Thu Jun 12 19:17:36 2003cp1: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.

Note: Here you see CP0, the new standby, rebooting:

RSL_12K8_SW1:admin> firmwareshowLocal CP (Slot 6, CP1): ActivePrimary partition:v4.1.1_rc1Secondary Partition:v4.1.0Remote CP is Non-redundant.

RSL_12K8_SW1:admin> firmwaredownloadstatus[0]: Thu Jun 12 19:06:25 2003cp0: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.

[1]: Thu Jun 12 19:11:56 2003cp0: Firmwaredownload has completed successfully on Standby CP.[2]: Thu Jun 12 19:11:59 2003cp0: Standby CP reboots.

[3]: Thu Jun 12 19:14:55 2003cp0: Standby CP booted up.

[4]: Thu Jun 12 19:17:33 2003cp1: Active CP forced failover succeeded. Now this CP becomes Active.

The Official SupportShow Command Reference Guide 3-19

Page 336: Support Show Command Ref SSCRG

Non-SupportShow Commands3

[5]: Thu Jun 12 19:17:36 2003cp1: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.

[6]: Thu Jun 12 19:23:09 2003cp1: Firmwaredownload has completed successfully on Standby CP.

[7]: Thu Jun 12 19:23:12 2003cp1: Standby CP reboots.

Note: Here we see firmwareCommit being executed on CPs, it will go to the new standby CP first and then the current active CP, notice that HA enabled, heartbeat and HA synchronization states are healthy:

RSL_12K8_SW1:admin> firmwareshowLocal CP (Slot 6, CP1): ActivePrimary partition:v4.1.1_rc1Secondary Partition:Version is not availableRemote CP (Slot 5, CP0): StandbyPrimary partition:v4.1.1_rc1Secondary Partition:Version is not available

RSL_12K8_SW1:admin> hashowLocal CP (Slot 6, CP1): ActiveRemote CP (Slot 5, CP0): Standby, Healthy HA enabled, Heartbeat Up, HA State synchronized

RSL_12K8_SW1:admin> firmwaredownloadstatus[0]: Thu Jun 12 19:06:25 2003cp0: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.[1]: Thu Jun 12 19:11:56 2003cp0: Firmwaredownload has completed successfully on Standby CP.[2]: Thu Jun 12 19:11:59 2003cp0: Standby CP reboots.[3]: Thu Jun 12 19:14:55 2003cp0: Standby CP booted up.[4]: Thu Jun 12 19:17:33 2003cp1: Active CP forced failover succeeded. Now this CP becomes Active.[5]: Thu Jun 12 19:17:36 2003cp1: Firmwaredownload has started on Standby CP. It may take up to 10 minutes. [6]: Thu Jun 12 19:23:09 2003cp1: Firmwaredownload has completed successfully on Standby CP.[7]: Thu Jun 12 19:23:12 2003cp1: Standby CP reboots.[8]: Thu Jun 12 19:26:33 2003cp1: Standby CP booted up with new firmware.[9]: Thu Jun 12 19:26:36 2003cp1: Firmwarecommit has started on both Active and Standby CPs.

Note: Here we see myid, haShow and firmwareshow outputs from both CP’s after the process is done. CP0 became the standby CP. CP1 is the new Active CP. Both CP’s have new version of firmware committed. Process is complete

This first output is from the new standby CP0:myidCurrent Switch: RSL_12K8_SW1Session Detail: cp0 (10.255.255.151) Standby Redundant

RSL_12K8_SW1:admin> hashowLocal CP (Slot 5, CP0): StandbyRemote CP (Slot 6, CP1): ActiveHA enabled, Heartbeat Up, HA State synchronized

3-20 The Official SupportShow Command Reference Guide

Page 337: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

RSL_12K8_SW1:admin> firmwareshowLocal CP (Slot 5, CP0): StandbyPrimary partition:v4.1.1_rc1Secondary Partition:v4.1.1_rc1Remote CP (Slot 6, CP1): ActivePrimary partition:v4.1.1_rc1Secondary Partition:v4.1.1_rc1Note: If Local CP and Remote CP have different versionsof firmware, please retry firmwaredownload command.

This second output is from the new active CP1 and included “finished” firmwaredownloadstatus output:RSL_12K8_SW1:admin> myidCurrent Switch: RSL_12K8_SW1Session Detail: cp1 (10.255.255.152) Active Redundant

RSL_12K8_SW1:admin> hashowLocal CP (Slot 6, CP1): ActiveRemote CP (Slot 5, CP0): Standby, Healthy HA enabled, Heartbeat Up, HA State synchronized

RSL_12K8_SW1:admin> firmwareshowLocal CP (Slot 6, CP1): ActivePrimary partition:v4.1.1_rc1Secondary Partition:v4.1.1_rc1Remote CP (Slot 5, CP0): StandbyPrimary partition:v4.1.1_rc1Secondary Partition:v4.1.1_rc1

Note: If Local CP and Remote CP have different versions of firmware, please retry firmwaredownload command.

RSL_12K8_SW1:admin> firmwaredownloadstatus[0]: Thu Jun 12 19:06:25 2003cp0: Firmwaredownload has started on Standby CP. It may take up to 10 minutes.[1]: Thu Jun 12 19:11:56 2003cp0: Firmwaredownload has completed successfully on Standby CP.[2]: Thu Jun 12 19:11:59 2003cp0: Standby CP reboots.[3]: Thu Jun 12 19:14:55 2003cp0: Standby CP booted up.[4]: Thu Jun 12 19:17:33 2003cp1: Active CP forced failover succeeded. Now this CP becomes Active.[5]: Thu Jun 12 19:17:36 2003cp1: Firmwaredownload has started on Standby CP. It may take up to 10 minutes. [6]: Thu Jun 12 19:23:09 2003cp1: Firmwaredownload has completed successfully on Standby CP.[7]: Thu Jun 12 19:23:12 2003cp1: Standby CP reboots.[8]: Thu Jun 12 19:26:33 2003cp1: Standby CP booted up with new firmware.[9]: Thu Jun 12 19:26:36 2003cp1: Firmwarecommit has started on both Active and Standby CPs.[10]: Thu Jun 12 19:32:23 2003cp1: Firmwarecommit has completed successfully on Active CP.[11]: Thu Jun 12 19:32:24 2003cp1: Firmwaredownload command has completed successfully.

The Official SupportShow Command Reference Guide 3-21

Page 338: Support Show Command Ref SSCRG

Non-SupportShow Commands3

FirmwarerestoreAvailable in Fabric OS versions: 4.0.2 +Troubleshooting Use: Use this command to restore old active firmware image

Use this command to restore the old active firmware image. This command can only be run if autocommit was disabled during the firmwaredownload.

After a firmwaredownload and a reboot (with auto-commit disabled), the downloaded firmware will become active. If you then do not want to commit the firmware, and instead want to restore the old firmware, run firmwarerestore. After running firmwarerestore, you can run firmwaredownload again.

This command will reboot the system and make the old firmware active. After reboot, both primary and secondary partitions are restored to the old firmware. This command will only take action if the system is booted after a firmwaredownload. Otherwise, it will return with an error code.

Example 3-5: To restore old active firmware image:switch:admin> firmwarerestoreRestore Kernel Image...................................No firmware undo is neededswitch:admin>

3-22 The Official SupportShow Command Reference Guide

Page 339: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

fwconfigureAvailable in Fabric OS versions: All

Note: This command requires a Fabric Watch License.

Version Differences: Different versions offer different FW options - some do not allow security, some do.Troubleshooting Use: Use this command to display and modify the configuration and status of Fabric Watch

Use this command to display and modify threshold information for the Fabric Watch configuration. Switch elements monitored by Fabric Watch are divided into classes, which are further divided into areas. In addition, each area can include multiple thresholds.

Example 3-6: Fwconfigure and sub category examples:fwconfigure

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12] 1

1 : Temperature2 : Fan3 : Power Supply4 : return to previous pageSelect an area => : (1..4) [4] 1

Index ThresholdName Status CurVal LastEvent LasteventTime LastVal LastState================================================================================ 1 envTemp001 enabled 21 C inBetween Thu Jun 12 19:15:47 2003 20 C Normal 2 envTemp002 enabled 21 C inBetween Thu Jun 12 19:15:47 2003 20 C Normal 3 envTemp003 enabled 33 C inBetween Thu Jun 12 19:15:47 2003 33 C Normal 4 envTemp004 enabled 33 C inBetween Thu Jun 12 19:15:47 2003 33 C Normal

1 : refresh2 : disable a threshold3 : enable a threshold4 : advanced configuration5 : return to previous pageSelect choice => : (1..5) [5] 4

Index ThresholdName BehaviorType BehaviorInt 1 envTemp001 Triggered 1 2 envTemp002 Triggered 1 3 envTemp003 Triggered 1 4 envTemp004 Triggered 1

The Official SupportShow Command Reference Guide 3-23

Page 340: Support Show Command Ref SSCRG

Non-SupportShow Commands3

Threshold boundary level is set at : Default

Default Custom Unit C C Time base Low 0 0 High 75 75 BufSize 10 10

Threshold alarm level is set at : DefaultErrlog-1, SnmpTrap-2, RapiTrap-8EmailAlert-16

Valid alarm matrix is 27

Default Custom Changed 0 0 Exceeded 0 0 Below 3 3 Above 3 3 InBetween 3 3

1 : change behavior type 11 : change threshold alarm level2 : change behavior interval 12 : change changed alarm3 : change threshold boundary level 13 : change exceeded alarm4 : change custom unit 14 : change below alarm5 : change custom time base 15 : change above alarm6 : change custom low 16 : change inBetween alarm7 : change custom high 17 : apply threshold alarm changes8 : change custom buffer 18 : cancel threshold alarm changes9 : apply threshold boundary changes 19 : return to previous page10 : cancel threshold boundary changesSelect choice => : (1..19) [19]

Index ThresholdName Status CurVal LastEvent LasteventTime LastVal LastState================================================================================ 1 envTemp001 enabled 21 C inBetween Thu Jun 12 19:15:47 2003 20 C Normal 2 envTemp002 enabled 21 C inBetween Thu Jun 12 19:15:47 2003 20 C Normal 3 envTemp003 enabled 33 C inBetween Thu Jun 12 19:15:47 2003 33 C Normal 4 envTemp004 enabled 33 C inBetween Thu Jun 12 19:15:47 2003 33 C Normal

1 : refresh2 : disable a threshold3 : enable a threshold4 : advanced configuration5 : return to previous pageSelect choice => : (1..5) [5]

1 : Temperature2 : Fan3 : Power Supply4 : return to previous pageSelect an area => : (1..4) [4]

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class

3-24 The Official SupportShow Command Reference Guide

Page 341: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12] 2

1 : Temperature2 : RXP3 : TXP4 : Current5 : Voltage6 : return to previous pageSelect an area => : (1..6) [6]

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12] 3 /Note: All classes with name "port" in them will have similar areas.1 : Link loss2 : Sync loss3 : Signal loss4 : Protocol error5 : Invalid words6 : Invalid CRCS7 : RXPerformance8 : TXPerformance9 : State Changes10 : return to previous pageSelect an area => : (1..10) [10]

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12] 7

1 : Invalid CRCS2 : return to previous pageSelect an area => : (1..2) [2]

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class

The Official SupportShow Command Reference Guide 3-25

Page 342: Support Show Command Ref SSCRG

Non-SupportShow Commands3

7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12] 8

1 : Invalid CRCS2 : RXPerformance3 : TXPerformance4 : return to previous pageSelect an area => : (1..4) [4]

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12] 9

1 : Customer Define2 : return to previous pageSelect an area => : (1..2) [2]

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12] 10

1 : Telnet Violations2 : HTTP Violations3 : API Violations4 : RSNMP Violations5 : WSNMP Violations6 : SES Violations7 : MS Violations8 : Serial Violations9 : Front Panel Violations10 : SCC Violations11 : DCC Violations12 : Login Violations13 : Invalid Timestamps14 : Invalid Signatures15 : Invalid Certificates16 : SLAP Failures17 : SLAP Bad Packets18 : TS Out of Sync19 : No-FCS

3-26 The Official SupportShow Command Reference Guide

Page 343: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

20 : Incompatible Security DB21 : Illegal Command22 : return to previous pageSelect an area => : (1..22) [22]

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12] 11

1 : Total Down time2 : Total Up time3 : Duration of Occurrences4 : Frequency of Occurrences5 : return to previous pageSelect an area => : (1..5) [5]

1 : Environment class2 : SFP class3 : Port class4 : Fabric class5 : E-Port class6 : F/FL Port (Optical) class7 : Alpa Performance Monitor class8 : EE Performance Monitor class9 : Filter Performance Monitor class10 : Security class11 : Switch Availability Monitor class12 : QuitSelect a class => : (1..12) [12]

The Official SupportShow Command Reference Guide 3-27

Page 344: Support Show Command Ref SSCRG

Non-SupportShow Commands3

fwfrucfgAvailable in Fabric OS versions: v4.x

Note: This command requires a Fabric Watch License.

Troubleshooting Use: Use this command to display or modify FRU state alert configuration.

Use this command to configure FRU states and actions. Based on these configuration settings Fabric Watch generates action when FRU state changes. To configure email alerts use fwmailcfg.

Example 3-7: Fwfrucfg and sub category examples:RSL_12K8_SW1:admin> fwfrucfg

1 : Slot 2 : Power Supply 3 : Fan 4 : WWN 5 : Configure All 6 : Set All to Default 7 : QuitSelect an item => : (1..7) [7] 1

Alarm Id Label Status State Level =================================================== 5 Slot #5 enabled 1 0 6 Slot #6 enabled 1 0 7 Slot #7 enabled 1 0 8 Slot #8 enabled 1 0 9 Slot #9 enabled 1 0 10 Slot #10 enabled 1 0

1 : change fru alarm state 4 : apply fru configuration2 : change fru alarm level 5 : cancel fru configuration changes3 : change fru status 6 : return to previous pageSelect choice => : (1..6) [6]

1 : Slot 2 : Power Supply 3 : Fan 4 : WWN 5 : Configure All 6 : Set All to Default 7 : QuitSelect an item => : (1..7) [7] 2

Alarm Id Label Status State Level =================================================== 1 Power Supply #1 enabled 1 0 2 Power Supply #2 enabled 1 0 3 Power Supply #3 enabled 1 0 4 Power Supply #4 enabled 1 0

1 : change fru alarm state 4 : apply fru configuration2 : change fru alarm level 5 : cancel fru configuration changes3 : change fru status 6 : return to previous pageSelect choice => : (1..6) [6]

1 : Slot 2 : Power Supply

3-28 The Official SupportShow Command Reference Guide

Page 345: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

3 : Fan 4 : WWN 5 : Configure All 6 : Set All to Default 7 : QuitSelect an item => : (1..7) [7] 3

Alarm Id Label Status State Level =================================================== 1 Fan #1 enabled 1 0 2 Fan #2 enabled 1 0 3 Fan #3 enabled 1 0

1 : change fru alarm state 4 : apply fru configuration2 : change fru alarm level 5 : cancel fru configuration changes3 : change fru status 6 : return to previous pageSelect choice => : (1..6) [6]

1 : Slot 2 : Power Supply 3 : Fan 4 : WWN 5 : Configure All 6 : Set All to Default 7 : QuitSelect an item => : (1..7) [7] 4

Alarm Id Label Status State Level =================================================== 1 WWN #1 enabled 1 0 2 WWN #2 enabled 1 0

1 : change fru alarm state 4 : apply fru configuration2 : change fru alarm level 5 : cancel fru configuration changes3 : change fru status 6 : return to previous pageSelect choice => : (1..6) [6]

1 : Slot 2 : Power Supply 3 : Fan 4 : WWN 5 : Configure All 6 : Set All to Default 7 : Quit

Select an item => : (1..7) [7] 5

Absent-1, Inserted-2, Ready-4Up-8, On-16, Off-32, Faulty-64Enter fru alarm state => : (0..127) [1]

Errlog-1, EmailAlert-16Enter fru alarm action => : (0..17) [0]

Disable-1 Enable-2Enter fru status => : (1..2) [2]

1 : Slot 2 : Power Supply 3 : Fan 4 : WWN 5 : Configure All

The Official SupportShow Command Reference Guide 3-29

Page 346: Support Show Command Ref SSCRG

Non-SupportShow Commands3

6 : Set All to Default 7 : Quit

Select an item => : (1..7) [7] 6

1 : Slot 2 : Power Supply 3 : Fan 4 : WWN 5 : Configure All 6 : Set All to Default 7 : Quit

Select an item => : (1..7) [7]

3-30 The Official SupportShow Command Reference Guide

Page 347: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

ifModeShow/SetAvailable in Fabric OS versions: 3.x and 4.xTroubleshooting Use: Use this command to show/set the link operating mode for a network interface

Use ifShow to list network interfaces available on the system.

An operating mode is confirmed with a “y” or “yes” at the prompt. If the operating mode selected differs from the current mode, the change is saved and the command exits. The system must be rebooted for changes to take effect. Changing the link mode is not supported for all network interfaces or for all Ethernet network interfaces. At present, this command is only functional for “fei” interfaces. Exercise care when using this command. Forcing the link to an operating mode not supported by the network equipment to which it is attached may result in an inability to communicate with the system through its Ethernet interface.

Example 3-8: To force the link for the “fei0” Ethernet interface from auto-negotiate operation to 10 Mbps / Half duplex operation:

SW3800_12:admin> ifModeSet "fei0"Auto-negotiate (yes, y, no, n): [no]100 Mbps / Full Duplex (yes, y, no, n): [no]100 Mbps / Half Duplex (yes, y, no, n): [no]10 Mbps / Full Duplex (yes, y, no, n): [no]10 Mbps / Half Duplex (yes, y, no, n): [no] yesCommitting configuration...done.

Example 3-9: To display the link operating mode for the “fei0” ethernet interface:SW3800_12:admin> ifmodeshowfei (unit number 0): Link mode: Auto-negotiatelo (unit number 0): Link mode: Not applicableSW3800_12:admin>

dazzler16_49:admin> ifmodeshow eth0Link mode: negotiated 100baseTx-FD, link ok

Example 3-1: V4.2 output from a SW3850 switchdazzler16_49:admin> ifmodeset eth0Exercise care when using this command. Forcing the link toan operating mode not supported by the network equipment towhich it is attached may result in an inability tocommunicate with the system through its ethernet interface.It is recommended that you only use this command from theserial console port.Are you sure you really want to do this? (yes, y, no, n): [no] yProceed with caution.Auto-negotiate (yes, y, no, n): [no] yAdvertise 100 Mbps / Full Duplex (yes, y, no, n): [yes]Advertise 100 Mbps / Half Duplex (yes, y, no, n): [yes]Advertise 10 Mbps / Full Duplex (yes, y, no, n): [yes]Advertise 10 Mbps / Half Duplex (yes, y, no, n): [yes]

Committing configuration...done.

The Official SupportShow Command Reference Guide 3-31

Page 348: Support Show Command Ref SSCRG

Non-SupportShow Commands3

ifshowAvailable in Fabric OS versions: This is a CLI non-supportshow command in all VxWorks switch FOS versionsTroubleshooting Use: Use this command to display network interface information

Use this command to display network interface information. If the operand ifname is provided, only that interface is displayed. If ifname is omitted, all interfaces are displayed. Each switch has three

interfaces:

• ei or fei is the 10BaseT or 100BaseT ethernet interface• lo is the loopback interface• fc is the Fibre Channel interface

The fc interface is displayed for switches running IP over Fibre Channel that have been assigned an FC-IP address. For each interface selected, the following information is displayed:

• Flags (for example, loopback, broadcast, arp, running, debug)• Internet address• Broadcast address• Netmask and subnetmask• Ethernet address• Route metric• Maximum transfer unit• Number of packets received and sent• Number of input errors, output errors, and collisions

Example 3-2: To display ethernet interface information for a switch with a 10BaseT connection:switch:admin> ifShow "ei"ei (unit number 0):Flags: (0x63) UP BROADCAST ARP RUNNINGInternet address: 192.168.1.65Broadcast address: 192.168.1.255Netmask 0xffffff00 Subnetmask 0xffffff00Ethernet address is 00:60:69:00:00:8aMetric is 0Maximum Transfer Unit size is 150042962 packets received; 127 packets sent0 input errors; 0 output errors7 collisions

3-32 The Official SupportShow Command Reference Guide

Page 349: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

ipAddrSetAvailable in Fabric OS versions: A non-supportshow command available in all FOS versionsTroubleshooting Use: Use this command to show/set ethernet and FC_IP addresses

Use this command to set the ethernet and FC IP addresses. You are prompted for:

Ethernet IP Address IP address of the ethernet port.

Ethernet Subnetmask IP subnet mask of the ethernet port.

Fibre Channel IP Address IP address of the fibre channel ports.

Fibre Channel Subnetmask IP subnet mask of the fibre channel ports.

Gateway Address IP address of the gateway.

After each prompt the current value is shown. You may:

• Press “Enter” to retain the current value• Enter an IP address in conventional dot notation• Enter “none”• Press Control-C to cancel changes• Press Control-D to accept changes and end input

The final prompt allows you to set the new IP addresses immediately; enter y to set new addresses immediately, enter n to delay the changes until the next switch reboot. Entering y closes the telnet session.

The default IP address for a Brocade switch is 10.77.77.77.

A change to these values issues a domain address format RSCN, refer to FC-FLA for a description of RSCNs.

Examples

Example 3-10: To display the switch IP addresses:SW3800_12:admin>ipaddrshowEthernet IP Address: 10.64.68.12Ethernet Subnetmask: 255.255.240.0Fibre Channel IP Address: noneFibre Channel Subnetmask: noneGateway Address: 10.64.64.1

Example 3-11: To enable IP over fibre channel:SW3800:admin> ipAddrSetEthernet IP Address: 10.64.68.12Ethernet Subnetmask: 255.255.240.0Fibre Channel IP Address [none]: 192.168.65.65Fibre Channel Subnetmask [none]:Gateway Address: 10.64.64.1Committing configuration...done.Set IP addresses now?[y = set now, n = next reboot]: y

The Official SupportShow Command Reference Guide 3-33

Page 350: Support Show Command Ref SSCRG

Non-SupportShow Commands3

killTelnetAvailable in Fabric OS versions: This is a non-supportshow command in all v4.1 plus FOS versionsTroubleshooting Use: Use this command to display and terminate telnet sessions.

Use this command to view or terminate an open telnet session. The killtelnet command is an interactive menu driven command. Upon invocation, it lists all the current telnet and serial port login sessions. It lists information such as the session number, login name, the idle time, the IP address of the connection, and the time stamp of when the login session was opened. A prompt is then displayed where you can specify the session number of the connection you wish to terminate

Example 3-12: Kill an active telnet session:SW3900_128:root> killtelnet Collecting login information....Done List of telnet sessions (3 found) Session No USER TTY IDLE FROM LOGIN@~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0 root pts/0 1.00s 192.168.133.22 9:57am 1 admin pts/1 57:21 192.168.192.89 11:17am 2 user pts/2 4:15 192.168.133.22 12:10pm~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Enter Session Number to terminate (q to quit) 1Collecting process information... Done. You have opted to terminate the telnet session:- logged in as "admin ", from "192.168.192.89 " since "11:17am" and has been inactive for "57:21 ", the current command executed being: "-rbash ". The device entry is: "pts/1 ". This action will effectively kill these process(es):- USER PID ACCESS COMMAND/dev/pts/1 root 1387 f.... rbashPlease Ensure (Y/[N]): ykilling session.... Done!Collecting login information....Done List of telnet sessions (2 found) Session No USER TTY IDLE FROM LOGIN@~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0 root pts/0 4.00s 192.168.133.22 9:57am 1 user pts/2 4:53 192.168.133.22 12:10pm~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Enter Session Number to terminate (q to quit)q

Note: The list of open sessions displayed with killtelnet includes the user’s current session. Make sure you do not kill your own telnet session.

3-34 The Official SupportShow Command Reference Guide

Page 351: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

netstatTroubleshooting Use: Use this non-supportshow command to print network connections, routing tables, interface

statistics, masquerade connections, and multi-cast memberships.Available in Fabric OS versions: 4.xAdditional Example/Case Studies:

Note: See inetstatshow for similar v3.x information.

Description netstat prints information about the Linux networking sub-system.

Example 3-13: Display all active TCP connections:SW3900_128:root> netstat -tActive Internet connections (w/o servers)Proto Recv-Q Send-Q Local Address Foreign Address Statetcp 0 0 SW3900_128:www SW3900_128:1112 TIME_WAITtcp 0 126 SW3900_128:telnet 192.168.133.22:2569 ESTABLISHED

Example 3-3: Output from a v4.2 3850 switch.dazzler16_49:root> netstatActive Internet connections (w/o servers)Proto Recv-Q Send-Q Local Address Foreign Address Statetcp 0 0 dazzler16_49:www dazzler16_49:1308 TIME_WAIT

tcp 0 0 dazzler16_49:www dazzler16_49:1307 TIME_WAIT

tcp 0 0 dazzler16_49:telnet 192.168.130.55:1135 ESTABLISHED

tcp 0 126 dazzler16_49:telnet 192.168.80.15:1669 ESTABLISHED

tcp 0 0 dazzler16_49:telnet 192.168.80.15:1276 ESTABLISHED

Active UNIX domain sockets (w/o servers)Proto RefCnt Flags Type State I-Node Pathunix 7 [ ] DGRAM 348 /dev/logunix 2 [ ] DGRAM 730736unix 2 [ ] DGRAM 700049unix 2 [ ] DGRAM 697101unix 2 [ ] DGRAM 407unix 2 [ ] DGRAM 358

The Official SupportShow Command Reference Guide 3-35

Page 352: Support Show Command Ref SSCRG

Non-SupportShow Commands3

portLogShowAvailable in Fabric OS versions: All versions of Fabric OS have CLI portlogshow output.Version Differences: VxWorks switches have a “t” for task names. Version 3.x output has a 5th argument column

that represents an information unit only column.v4.2 Example Output:Additional Example/Case Studies:Troubleshooting Use: Use this command to display the part activity log.

This command displays the port log, showing 22 entries at a time. It is identical to portLogDump, except that portLogDump does not prompts the user to type return between each page of output.

If the port log is disabled, the following message is printed as the first line:

WARNING: port log is disabled

The following fields are shown:time The date and time of the event. The clock resolution is 16 milliseconds.task The name of the task that logged the event, or “interrupt” if the event was logged in interrupt context, or

“unknown” if the task no longer exists.event Possible events are:

start - a switch start or re-start eventdisable - a port is disabledenable - a port is enabledioctl - a port I/O control is executedTx - a frame is transmitted (class is indicated)Rx - a frame is received (class is indicated)scn - a state change notification is posted (see state codes below)pstate - a port changes physical state (see pstate codes below)reject - a received frame is rejectedbusy - a received frame is busied

ctin - a CT based request is received: the CT-subtype:

fc - means the Simple Name Server,

f8 - means the Alias Server.

ctout - a CT based response is transmitted; same as ctin above. errlog - a message is added to the error logloopscn - a loop state change notification is postedcreate - a task is createdport The port number of the effected port.cmd A command value. The meaning of this field depends on the event type:ioctl - I/O control command codeTx & Rx - frame payload sizeerrlog - error level (see errShow)loopscn - current loop state during loop initialization, possible values are:

OLP: offline (disconnected or nonparticipating)LIP: FL_Port entered INITIALIZING or OPEN_INIT stateLIM: LISM completed, FL_Port became the loop master

3-36 The Official SupportShow Command Reference Guide

Page 353: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

BMP: loop init completed, FL_Port in MONITORING stateOLD: port transited to the OLD_PORT stateTMO: loop init times out; encoded value of the state when loop init timed out. This value is usually equal to

the first word of a loop init frame payload. Other possible values include:2: LIP (req. INITIALIZING) timeout94F0F0: ARB(F0) timeout40: CLS timeout

args- The command arguments. The meaning of this field depends on the event type:

start start type: 0 = enable ports, 100 = disable ports

disable state (see state codes below)

enable mode: 0 = normal, non-zero = loopback

ioctl I/O control arguments

Tx & Rx header words 0,1,4 (R_CTL,D_ID,S_ID,OX_ID,RX_ID), the first payload word if the payload length is none zone, and the IU address that contains the frame.

reject FC-PH reject reason

busy FC-PH busy reason

ctin Argument 0 is divided into two 16-bit fields:

[A] a bit map indicating whether subsequent args are valid (0001 means argument 1 is valid, 0003 means arguments 1 and 2 are valid);

[B] the ct-based service command code.

Argument 1 is the first word of the CT payload, if applicable (as specified in [A]). Argument 2 is the second word of the CT payload, if applicable (as specified in [A]).

ctout - Argument 0 is also divided into two 16-bit fields:

[A] a bit map indicating whether subsequent args are valid (0001 means argument 1 is valid, 0003 means arguments 1 and 2 are valid)

[B] the CT command code indicating whether an accept (8002) or a reject (8001).

If [B] is an accept, argument 1 and 2 represents the first and second words of the CT payload, if applicable (as specified in [A]). If [B] is a reject, argument 1 contains the CT reject reason and explanation code.

errlog - error type (see errShow)create - name of the task being created

TMO: encoded value of the state when loop init timed out. This value is usually equal to the first word of a loop init frame payload. Other possible values include:2: LIP (req. INITIALIZING) timeout94F0F0: ARB(F0) timeout40: CLS timeout

The Official SupportShow Command Reference Guide 3-37

Page 354: Support Show Command Ref SSCRG

Non-SupportShow Commands3

Codes used in various fields are:Table 3-1

state

1- Online

2 - Offline

3- Testing

4- Faulty

5- E_Port

6- F_Port

7 - Segmented

pstate ACActive State

LR1 Link Reset: LR Transmit State

LR2 Link Reset: LR Receive State

LR3 Link Reset: LRR Receive State

LF1 Link Failure: NOS Transmit State

LF2 Link Failure: NOS Receive State

OL1 Offline: OLS Transmit State

OL2 Offline: OLS Receive State

OL3 Offline: Wait for OLS State

ioctl

90 - get virtual channel credits

91- set virtual channel credits

a1 - port is an E_Port

a2 - port is an F_Port

a3 - port is segmented

a4 - domain name is known

a5- port enable

a6 - port disable

a7 - link reset

a8 - add unicast route

a9 - delete unicast route

aa - add multicast route

ab - delete multicast route

ac - unicast path selection done

ad - multicast path selection done

3-38 The Official SupportShow Command Reference Guide

Page 355: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

EXAMPLEThe following example shows a section of the port log with an E_Port coming online. The ELP and EFP exchanges are shown; a name service request was processed.

Example 3-4: sw5:admin> portLogShow 24

Feb 6 task event port cmd args------------------------------------------------------08:35:27.899 tShell pstate 14 OL108:35:27.899 tReceive pstate 14 LR208:35:27.916 tReceive pstate 14 AC08:35:28.416 interrupt scn 14 108:35:28.433 tFabric ioctl 14 90 101d9910,008:35:28.433 tFabric Tx 14 164 02fffffd,00fffffd,0005ffff,1000000008:35:28.433 tReceive Rx 14 0 c0fffffd,00fffffd,0005000608:35:28.433 tReceive Rx 14 164 03fffffd,00fffffd,00050006,0200000008:35:28.433 tTransmit Tx 14 0 c0fffffd,00fffffd,0005000608:35:28.433 tFabric ioctl 14 91 103646d8,008:35:28.466 tFabric ioctl 14 a7 3c,108:35:28.466 tFabric pstate 14 LR108:35:28.466 tReceive pstate 14 LR308:35:28.466 tReceive pstate 14 AC 08:35:28.483 tFabric Tx 14 96 02fffffd,00fffffd,0006ffff,1110006008:35:28.483 tReceive Rx 14 0 c0fffffd,00fffffd,0006000708:35:28.483 tReceive Rx 14 96 03fffffd,00fffffd,00060007,0210006008:35:28.483 tTransmit Tx 14 0 c0fffffd,00fffffd,0006000708:35:28.483 tFabric ioctl 14 a1 0,008:35:28.483 tFabric scn 14 508:35:28.516 tReceive Rx3 12 20 02fffffc,00021c00,001affff,0100000008:35:28.516 tNSd ctin 12 fc 00010112,0001130008:35:28.516 tNSd ctout 12 fc 00038002,10000000,c920d2c708:35:28.516 tNSd Tx3 12 8 03021c00,00fffffc,001a0007,10000000

< Output truncated >

LIP reason

8001 - retry loop init

8002 - start loop after gaining sync

8003 - restart loop after port reset

8004 - LIP when a loop hangs

8005 - restart loop if LIP received when sending out ARB(F0)

8006 LIP when an OPN returns

8007 - restart loop when LIPs received in OLD_PORT AC state

8008 - restart loop if loop not empty but E_Port loopback

8009 - LIP as requested by the LINIT ELS received

800a - LIP as requested by the LPC ELS received

800b - restart loop for QuickLoop looplet setup

800c - restart loop for QuickLoop looplet re-initialization

Table 3-1

The Official SupportShow Command Reference Guide 3-39

Page 356: Support Show Command Ref SSCRG

Non-SupportShow Commands3

powerofflistsetAvailable in Fabric OS versions: This a v4.x non-supportshow commandTroubleshooting Use: Use this command to set slot power-off list order

Use this command to set the physical power off slot order. The system available power is compared to the system demand power to determine if there is enough power to operate. If there is less power available than the demand, then the power off list is processed until there is enough power for the system to operate. The format of the display varies depending on the switch model and the number of slots present.

When this command is executed, the first item displayed is the current power off list order. Then you are prompted to make any changes, and finally the new power off list order is displayed. The command then prompts to verify and commit the changes.

Example 3-14: To modify the power off list order:switch:admin> powerofflistsetSlot Current POL-------------------10 1st9 2nd8 3rd7 4th4 5th3 6th2 7th1 8th1st slot to be power off: (1..10) [10] 72nd slot to be power off: (1..10) [9] 83rd slot to be power off: (1..10) [9]4th slot to be power off: (1..10) [10]5th slot to be power off: (1..4) [4] 16th slot to be power off: (2..4) [3] 27th slot to be power off: (3..4) [3]8th slot to be power off: (4..4) [4]Old POL New POL Power Off Order-------------------------------------10 7 1st9 8 2nd8 9 3rd7 10 4th4 1 5th3 2 6th2 3 7th1 4 8thProceed to change the POL order? (yes, y, no, n): [no] yswitch:admin>

3-40 The Official SupportShow Command Reference Guide

Page 357: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

savecoreAvailable in Fabric OS versions: v4.0.2 +Troubleshooting Use: Use this command to save or remove core files created by daemons

Use this command to FTP core files, to remove core files, or to list core files. With no arguments, savecore will enter into interactive mode.

Options This command has the following options:-h ip-address Specify a host-name if FTP requires it.-u user_name Specify a user-name for login in the above host-name default will be anonymous.-p password Specify a password for the above user-name.-a Specify to use anonymous FTP to download the core files. This option cannot be used with -u option.-d remote_directory

Specify the name of the remote directory into which the core files are copied into. The directory will be created if it does not already exists. It is assumed that the user has sufficient privilege to create files at this location.

-f core-file-directory-list Specify a list of the core file directories to transfer to a remote site. This list can be comma (,) separated directory list or just a single directory name. Only the standard core files directories can be specified (/core_files and /mnt/core_files); all other files or directories are ignored.

-R Specify this option to remove all core files.-r <core-files-directory-list>

Specify this option to remove core files under the directory list given. Removes all the core files under the listed directories. The directory list is a comma separated list of core files directory and other files, if any, will be ignored. No confirmation will be made before removal.

-l Specify this option to list all core files.

Example 3-15: To list all core files in a CP:switch:admin> savecore -l/core_files/panic/core.873/core_files/zoned/core.1234/core_files/zoned/core.5678/mnt/core_files/nsd/core.873/mnt/core_files/panic/core.873switch:admin>

Example 3-16: To remove selected core files from a CP:switch:admin> savecore -r /core_files/panic/,/core_files/zoned/,/mnt/core_files/nsd/Removing: /core_files/panic/Removing: /core_files/zoned/Removing: /mnt/core_files/nsd/switch:admin>

Example 3-17: To remove selected core files from the CP (using multiple -r operands):switch:admin> savecore -r /core_files/panic/ -r /core_files/zoned/,/mnt/core_files/nsd/Removing: /core_files/panic/Removing: /core_files/zoned/Removing: /mnt/core_files/nsd/switch:admin>

Example 3-18: To remove all core files:switch:admin> savecore -Rremoving core files under: /core_files/panicremoving core files under: /core_files/zonedremoving core files under: /mnt/core_files/nsd

The Official SupportShow Command Reference Guide 3-41

Page 358: Support Show Command Ref SSCRG

Non-SupportShow Commands3

removing core files under: /mnt/core_files/panicswitch:admin>

Example 3-19: To FTP all core files:switch:admin> savecore -h 192.168.204.188 -u jsmith -d core_files_here -p fexosophy -F/core_files/panic/core.873: 1.12 kB 381.87 B/s/core_files/zoned/core.1234: 1.12 kB 382.14 B/s/core_files/zoned/core.5678: 1.12 kB 382.50 B/s/mnt/core_files/nsd/core.873: 1.12 kB 381.93 B/s/mnt/core_files/panic/core.873: 1.12 kB 381.90 B/sFiles transferred successfully!switch:admin>

Example 3-20: To FTP selected core file directories:switch:admin> savecore -h 192.168.204.188 -u jsmith -d core_files_here -p password-f /core_files/zoned/,/mnt/core_files/nsd//core_files/zoned//core.1234: 1.12 kB 382.60 B/s/core_files/zoned//core.5678: 1.12 kB 381.95 B/s/mnt/core_files/nsd//core.873: 1.12 kB 382.53 B/sFiles transferred successfully!switch:admin>

Example 3-21: To remove all core files using the savecore management utility:switch:admin> savecorefollowing 1 directories contains core files:[ ]0: /mnt/core_files/panicWelcome to core files management utility.Menu1(or R): Remove all core files2(or F): FTP all core files3(or r): Remove marked files4(or f): FTP marked files5(or m): Mark Files for action6(or u): Un Mark Files for action9(or e): ExitYour choice: 1/mnt/core_files/panicYou have opted to remove ALL core files:-Please confirm (Y/[N]): yRemoving files....removing core files under: /mnt/core_files/panicDone!switch:admin>switch:admin> savecoreNo core files found!switch:admin>

Example 3-22: To FTP core files using the savecore management utility:switch:admin> savecorefollowing 1 directories contains core files:[ ]0: /core_files/zonedWelcome to core files management utility.Menu1(or R): Remove all core files2(or F): FTP all core files3(or r): Remove marked files4(or f): FTP marked files5(or m): Mark Files for action6(or u): Un Mark Files for action9(or e): ExitYour choice: F/core_files/zonedYou have opted to FTP these core files:-Please confirm (Y/[N]): yDestination IP Address? 192.168.10.10

3-42 The Official SupportShow Command Reference Guide

Page 359: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

User Name [anonymous]? jsmithRemote Directory [.]? brcdPassword: **********/core_files/zoned/core.8323: 1.12 kB 382.40 B/sFiles transferred successfully!switch:admin>

Example 3-23: To remove core files from a selected directory:switch:admin> savecorefollowing 2 directories contains core files:[ ]0: /core_files/nsd[ ]1: /core_files/zonedWelcome to core files management utility.Menu1(or R): Remove all core files2(or F): FTP all core files3(or r): Remove marked files4(or f): FTP marked files5(or m): Mark Files for action6(or u): Un Mark Files for action9(or e): ExitYour choice: mEnter File Number to mark: 1Enter CR To Continue....following 2 directories contains core files:[ ]0: /core_files/nsd[*]1: /core_files/zonedWelcome to core files management utility.Menu1(or R): Remove all core files2(or F): FTP all core files3(or r): Remove marked files4(or f): FTP marked files5(or m): Mark Files for action6(or u): Un Mark Files for action9(or e): ExitYour choice: r/core_files/zonedYou have opted to remove core files under these directories:-Please confirm (Y/[N]): yRemoving files....removing core files under: /core_files/zonedDone!switch:admin>

The Official SupportShow Command Reference Guide 3-43

Page 360: Support Show Command Ref SSCRG

Non-SupportShow Commands3

snmpmibcapset

Note: Platform versions will have different MIBS to select

Available in Fabric OS versions: 3.0.2 and 4.0.2Troubleshooting Use: Use this command to view and modify options for configuring SNMP MIB trap capability

This command enables a user to turn on or off certain MIBS and TRAPS. This command also enables a user to turn on or off group information and SSN in SW trap messages. It first displays current settings and then prompts the user to change the values for each parameter.

FA-MIB Specifying yes means the user can access FA-MIB variables with an SNMP manager. The default value is yes.

HA-MIB Specifying yes means the user can access HA-MIB variables with an SNMP manager. The default value is yes.

SW-TRAP Specifying yes means the SNMP management application can receive SW-TRAPS from the switch. The default value is yes.

FA-TRAP Specifying yes means the SNMP management application can receive FA-TRAPS from the switch. The default value is yes.

SW-EXTTRAP Specifying yes means the SNMP management application can receive SWEXTTRAPS from the switch. The default value is yes.

HA-TRAP Specifying yes means the SNMP management application can receive HA-TRAPS from the switch. The default value is yes.

Example 3-24: To view or modify the options for configuring SNMP MIB traps:switch:admin> snmpmibcapsetThe SNMP Mib/Trap Capability has been set to supportFE-MIB SW-MIB FA-MIB FICON-MIB HA-MIB SW-TRAP FA-TRAP FICON-TRAP HA-TRAPFA-MIB (yes, y, no, n): [yes]FICON-MIB (yes, y, no, n): [yes]HA-MIB (yes, y, no, n): [yes]SW-TRAP (yes, y, no, n): [yes]FA-TRAP (yes, y, no, n): [yes]SW-EXTTRAP (yes, y, no, n): [no] yFICON-TRAP (yes, y, no, n): [yes]HA-TRAP (yes, y, no, n): [yes]switch:admin>

Note: Use this command to verify/ enable MiB or Traps

3-44 The Official SupportShow Command Reference Guide

Page 361: Support Show Command Ref SSCRG

Non-SupportShow Commands 3

tcpstatshowAvailable in Fabric OS versions: v3.x non-supportshow Network Command GroupTroubleshooting Use: Use this command along with other network command group commands to display the

transmission Control Protocol statistics for the Ethernet connection(s) to switch.

Example 3-5: To display the Transmission Control Protocol statistics SW3800_12:admin> tcpstatshow TCP: 523 packets sent 514 data packets (105265 bytes) 0 data packet (0 byte) retransmitted 9 ack-only packets (8 delayed) 0 URG only packet 0 window probe packet 0 window update packet 0 control packet 1060 packets received 454 acks (for 105266 bytes) 7 duplicate acks 0 ack for unsent data 305 packets (426 bytes) received in-sequence 0 completely duplicate packet (0 byte) 0 packet with some dup. data (0 byte duped) 0 out-of-order packet (0 byte) 0 packet (0 byte) of data after window 0 window probe 0 window update packet 0 packet received after close 0 discarded for bad checksum 0 discarded for bad header offset field 0 discarded because packet too short 0 connection request 1 connection accept 1 connection established (including accepts) 4 connections closed (including 0 drop) 1 embryonic connection dropped 419 segments updated rtt (of 419 attempts) 0 retransmit timeout 0 connection dropped by rexmit timeout 0 persist timeout 7 keepalive timeouts 7 keepalive probes sent 0 connection dropped by keepalive

Network Command Group: Table 3-1

ipAddrShow arpShow

ifShow routeShow

ipstatShow routestatShow

udpstatShow hostShow

tcpstatShow feiDumpPrint

inetstatshow i557Dump

mbufShow feiIterateRFDRings

The Official SupportShow Command Reference Guide 3-45

Page 362: Support Show Command Ref SSCRG

Non-SupportShow Commands3

3-46 The Official SupportShow Command Reference Guide