Portlogdump
Portlogdump
Portlogdump
Broadcom FOS-90x-portlogdump-RM100
30 April 2020
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
Copyright © 2020 Broadcom. All Rights Reserved. Broadcom, the pulse logo, Brocade, the stylized B logo, and Fabric OS
are among the trademarks of Broadcom in the United States, the EU, and/or other countries. The term “Broadcom” refers
to Broadcom Inc. and/or its subsidiaries.
Broadcom reserves the right to make changes without further notice to any products or data herein to improve reliability,
function, or design. Information furnished by Broadcom is believed to be accurate and reliable. However, Broadcom does
not assume any liability arising out of the application or use of this information, nor the application or use of any product or
circuit described herein, neither does it convey any license under its patent rights nor the rights of others.
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, to view
the licensing terms applicable to the open source software, and to obtain a copy of the programming source code, please
download the open source disclosure documents in the Broadcom Customer Support Portal (CSP). If you do not have a
CSP account or are unable to log in, please contact your support provider for this information.
Broadcom
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Table of Contents
Introduction........................................................................................................................................... 7
About This Document......................................................................................................................................................7
Supported Hardware........................................................................................................................................................ 7
CLI Usage Conventions...................................................................................................................................................7
®
Contacting Technical Support for Your Brocade Product......................................................................................... 8
Document Feedback........................................................................................................................................................ 8
Understanding the portLogDump Command....................................................................................9
The portLogDump Command......................................................................................................................................... 9
Reading portLogDump Output........................................................................................................................................9
time.............................................................................................................................................................................. 9
task............................................................................................................................................................................ 10
event.......................................................................................................................................................................... 10
port.............................................................................................................................................................................10
cmd............................................................................................................................................................................ 10
args............................................................................................................................................................................ 10
Using and Customizing the portLogDump Output.....................................................................................................11
Related Commands...................................................................................................................................................11
Displaying and Customizing the portLogDump Output............................................................................................ 12
Locating Information by Task....................................................................................................................................... 13
Example portLogdDump Output............................................................................................................................... 16
Port Going Offline.............................................................................................................................................. 16
E_Port Going Online..........................................................................................................................................17
F_Port Going Online.......................................................................................................................................... 24
Troubleshooting Using the Port Logs............................................................................................. 27
portLogDump Fields...................................................................................................................................................... 27
task............................................................................................................................................................................ 27
event.......................................................................................................................................................................... 28
port.............................................................................................................................................................................30
cmd............................................................................................................................................................................ 30
args............................................................................................................................................................................ 31
FC-PH Frames.................................................................................................................................................................31
FC-PH Frame Definitions..........................................................................................................................................32
Routing Control (R_CTL)................................................................................................................................... 32
Destination ID (D_ID).........................................................................................................................................34
Source ID (S_ID)............................................................................................................................................... 34
Frame Control (F_CTL)..................................................................................................................................... 34
Broadcom FOS-90x-portlogdump-RM100
3
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Sequence ID (SEQ_ID)..................................................................................................................................... 35
Sequence Count (SEQ_CNT)............................................................................................................................36
Originator ID (OX_ID)........................................................................................................................................ 36
Responder ID (RX_ID).......................................................................................................................................36
Data Field/Payload.............................................................................................................................................36
Type Code..........................................................................................................................................................36
Data Field Control (DF_CTL).............................................................................................................................37
Class-Specific Field Control (CS_CTL)............................................................................................................. 38
State Change Notifications........................................................................................................................................... 39
Reading an SCN Event............................................................................................................................................ 39
SCN Codes............................................................................................................................................................... 39
Internal SCN Subtype............................................................................................................................................... 41
Internal SCN RSCN Subtypes.................................................................................................................................. 44
Internal SCN GBIC States........................................................................................................................................ 44
Internal SCN Update States..................................................................................................................................... 44
Internal SCN Fabric States....................................................................................................................................... 45
Internal SCN Diag States......................................................................................................................................... 45
Internal SCN SEC States......................................................................................................................................... 45
Internal SCN CER States......................................................................................................................................... 46
Internal SCN MMI States.......................................................................................................................................... 46
Internal SCN Slot States...........................................................................................................................................46
Internal SCN ENV States......................................................................................................................................... 47
Internal SCN Switch States...................................................................................................................................... 47
Internal SCN HA States............................................................................................................................................ 48
Internal SCN Zone States.........................................................................................................................................49
Internal SCN FCP States..........................................................................................................................................49
Internal SCN Port States.......................................................................................................................................... 49
Internal SCN LE Port States.....................................................................................................................................51
Internal SCN GE Port States....................................................................................................................................51
Internal SCN Blade States........................................................................................................................................51
Loop State Change Notification Reason Codes for LIP............................................................................................ 52
Speed Negotiation.......................................................................................................................................................... 53
I/O Control (IOCTL)...................................................................................................................................................53
Extended Link Service (ELS)........................................................................................................................................ 63
ELS Command Codes.............................................................................................................................................. 63
ELS Example 1......................................................................................................................................................... 66
ELS Example 2......................................................................................................................................................... 66
Switch Fabric Internal Link Services (SW_ILS).......................................................................................................... 66
Brocade-Specific SW_ILS Command Codes........................................................................................................... 66
SW_ILS Reject Reason Codes (SW_RJT)...............................................................................................................68
Broadcom FOS-90x-portlogdump-RM100
4
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
SW_ILS Examples.................................................................................................................................................... 70
Hello Frame Example........................................................................................................................................ 70
Trunking Frame Example...................................................................................................................................71
NSD Example.....................................................................................................................................................72
Zoning Codes (NZ)............................................................................................................................................ 72
Zone Example.................................................................................................................................................... 77
Fabric OS State Synchronization (FSS)................................................................................................................... 79
FSS Messages.......................................................................................................................................................... 79
FSSk Service Identification................................................................................................................................81
FSSk Component Identification......................................................................................................................... 81
Reading FSSk Output in the portlogdump Output............................................................................................ 82
ISL Values and Parameters........................................................................................................................................... 83
ISL Flow Control Mode Values................................................................................................................................. 83
ISL Flow Control Parameters....................................................................................................................................83
Switch_Priority Field Values......................................................................................................................................83
Fibre Channel Common Transport Protocol (FC-CT).................................................................................................83
Name Server (SNS).................................................................................................................................................. 84
Name Server Commands and Code Descriptions................................................................................................... 84
FC-CT Response Commands........................................................................................................................... 86
FC-CT Reject Reason Codes (RJT)................................................................................................................. 87
FC-CT Reason Code Explanations (NS_RJT).................................................................................................. 87
Fabric Internal FC-CT Commands.................................................................................................................... 88
Name Server Request Types............................................................................................................................ 88
Name Server Objects........................................................................................................................................ 88
Name Server Port Type.....................................................................................................................................89
FC-4 Type Codes...............................................................................................................................................89
Server-to-Server Protocol Data Unit Command/Response Codes................................................................... 90
NSS_CT Command/Response Codes.............................................................................................................. 90
Management Server....................................................................................................................................................... 90
Fabric Configuration Server...................................................................................................................................... 91
Fabric Configuration Server Codes.......................................................................................................................... 91
Management Server Response Codes.....................................................................................................................91
Management Server Command Codes.................................................................................................................... 91
Management Server Reason Codes and Explanations........................................................................................... 99
Fabric Zone Server (ZS)......................................................................................................................................... 101
Fabric Zone Server (ZS) Codes...................................................................................................................... 102
Target Driven Peer Zone Request Codes....................................................................................................... 106
Host Bus Adapter Management Server..................................................................................................................111
Host Bus Adapter Management Server Codes............................................................................................... 111
Decoding Host Bus Adapter Management Server Requests and Responses................................................ 113
Broadcom FOS-90x-portlogdump-RM100
5
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
6
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Introduction
Supported Hardware
The following hardware platforms are supported by Brocade® Fabric OS® 9.0.0.
Broadcom FOS-90x-portlogdump-RM100
7
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
®
Contacting Technical Support for Your Brocade Product
For product support information and the latest information on contacting the Technical Assistance
®
Center, go to https://
www.broadcom.com/support/fibre-channel-networking/. If you have purchased Brocade product support directly from
Broadcom, use one of the following methods to contact the Technical Assistance Center 24x7.
Online Telephone
For nonurgent issues, the preferred method is to log in to Required for Severity 1 (critical) issues:
myBroadcom at https://www.broadcom.com/mybroadcom. (You Please call Fibre Channel Networking Global Support at one of
must initially register to gain access to the Customer Support the numbers listed at https://www.broadcom.com/support/fibre-
Portal.) Once there, select Customer Support Portal > Support channel-networking/.
Portal. You will now be able to navigate to the following sites:
• Knowledge Search: Clicking the top-right magnifying glass
brings up a search bar.
• Case Management: The legacy MyBrocade case
management tool (MyCases) has been replaced with the Fibre
Channel Networking case management tool.
• DocSafe: You can download software and documentation.
• Other Resources: Licensing Portal (top), SAN Health (top and
bottom), Communities (top), Education (top).
If you purchased Brocade product support from a Broadcom OEM/solution provider, contact your OEM/solution provider
for all your product support needs.
• OEM/solution providers are trained and certified by Broadcom to support Brocade products.
• Broadcom provides backline support for issues that cannot be resolved by the OEM/solution provider.
• Brocade Supplemental Support augments your existing OEM support contract, providing direct access to Brocade
expertise. For more information on this option, contact Broadcom or your OEM.
• For questions regarding service levels and response times, contact your OEM/solution provider.
Document Feedback
Quality is our first concern. We have made every effort to ensure the accuracy and completeness of this document.
However, if you find an error or an omission or if you think that a topic needs further development, we want to hear from
you. Send your feedback to documentation.pdl@broadcom.com. Provide the publication title, publication number, topic
heading, page number, and as much detail as possible.
Broadcom FOS-90x-portlogdump-RM100
8
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:58:46.432 PORT scn 8 6 00000000,00000000,00000001
00:58:46.513 PORT debug 64 00000000,abcddcba,00000002,00000401
00:58:45.933 PORT scn 0 22 00010002,43020001,00000001
00:58:56.132 PORT scn 64 0 c70e74e0,c7059410,00000800
00:31:50.510 SPEE sn 3 WS 00000000,00000000,00000000 * 2
<output truncated>
This primary example is broken down by line and is defined by information unit in the following examples.
time
The time field displays the event day, date, and time in 24-hour clock format (to the millisecond level).
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:58:46.513 PORT debug 64 00000000,abcddcba,00000002,00000401
Broadcom FOS-90x-portlogdump-RM100
9
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
task
The task field displays the task that was in progress when the event occurred. See task task for more information.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:58:46.513 PORT debug 64 00000000,abcddcba,00000002,00000401
event
The event field displays the specific action described in the output. See event for more information.
NOTE
The debug event is suppressed from the port log by default. You must enable it using the configure
command.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:58:46.513 PORT debug 64 00000000,abcddcba,00000002,00000401
port
The port field in the portlogdump output indicates a physical port number or logical port number.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:58:46.513 PORT debug 64 00000000,abcddcba,00000002,00000401
cmd
The cmd field displays the commands associated with each event category. See cmd for more information.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:48:11.474 PORT scn 19 11 00000000,00000000,00010000
args
The args field indicates arguments associated with a task or event. See args for more information.
Broadcom FOS-90x-portlogdump-RM100
10
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
00:58:46.513 PORT debug 64 00000000,abcddcba,00000002,00000401
Related Commands
The following table displays commands related to portlogdump .
Command Action
portlogdump [count, [saved]] Displays the port log, listing all entries in the log without page
breaks. This command displays the same information as
portlogshow , but portlogshow prompts you to type a
return between each page of output.
The count option controls the number of entries that display.
The saved option (when set to 1) causes the command to
display the port log saved in flash memory (due to a previous
switch fault).
portlogdumpport <port_index> Displays the port log of the specified port by its port index
number. The command displays all entries in the log without page
breaks. It is identical to portlogshow portid , except that
portlogshow portid prompts the user to type a return
between each page of output.
portlogshow [count, [saved]] Displays the port log. This command displays one page of output
at a time. The portlogshow command displays the same
information as portlogdump , but it prompts you to type a
return between each page of output.
The count option controls the number of entries that display.
The saved option (when set to 1) causes the command to
display the port log saved in flash memory (due to a previous
switch fault).
portlogclear Clears the port log of all entries. You may want to clear the port
log before triggering an activity so that the log displays only the
entries related to that activity.
portlogeventshow Displays the ID associated with the event. You can use this ID to
enable or disable an event and prevent it from appearing in the
portlogdump output.
Also, this command shows the current enabled state for each
event.
portlogshowport <port_index> Displays the port log of a specified port, showing one page of
output at a time. It is identical to portlogdump portid ,
except that portlogdump portid does not prompt you to
type a return between each page of output.
Broadcom FOS-90x-portlogdump-RM100
11
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Command Action
portlogtypedisable <log_type_id> Disables the port log for a specified port log type. Disabling a port
log type prevents it from appearing in the portlogdump output,
saving space for significant events.
portlogtypeenable <log_type_id> Enables the port log for a specified port log type. Enabling a port
log type allows it to appear in the portlogdump output.
portlogconfigshow Displays the current port log configuration.
portlogresize <num_entries> Resizes the number of port log entries.
switch:admin> portlogeventshow
ID Event-Name Disabled
---------------------------------
1 start 1
2 disable 0
3 enable 0
4 ioctl 0
5 Tx 0
6 Tx1 0
7 Tx2 0
8 Tx3 0
9 Rx 0
10 Rx1 0
11 Rx2 0
12 Rx3 0
Broadcom FOS-90x-portlogdump-RM100
12
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
13 stats 0
14 scn 0
15 pstate 0
16 reject 0
17 busy 0
18 ctin 0
19 ctout 0
20 errlog 0
21 loopscn 0
22 create 0
23 debug 1
24 nbrfsm 0
25 timer 0
26 sn 0
27 fcin 0
28 fcout 0
29 read 0
30 write 0
31 err 0
32 frame 0
33 msRemQ 0
34 msRemR 0
35 nsRemQ 0
36 nsRemR 0
37 rscn 0
38 state 0
39 xalloc 0
40 xfree 0
41 xerr 0
42 xstate 0
43 seq 0
44 seqst 0
45 iu 0
46 payload 0
47 zone 0
48 cmd 0
49 event 0
50 msg 0
51 switch 0
52 ficonq 0
53 routing 0
54 fdRemQ 0
55 fdRemR 0
switch:admin> portlogtypedisable 1
Broadcom FOS-90x-portlogdump-RM100
13
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
14
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
rscn 0 Bytes 0-2 of Word The arguments are: I/O Control (IOCTL).
0 of the header • Word 1 of the See Loop State
(the DID of the frame header Change Notification
frame), which (the SID will reason codes for LIP
is the domain be a domain for a complete listing of
controller controller). the SCN codes.
• The SW_ILS
Code
(0x1b000000 or
0x1f).
• The high-order
nibble of the
highest-order
byte is the RSCN
information,; the
low-order nibble
of that byte is the
address format;
the lower three
bytes are the 24-
bit address.
• The detection
method.
Rscn 0 Word 0 = 24-bit The arguments are:
address is the DID • Word 1 of the
that the RSCN is frame header
accessing. (the SID is the
fabric controller,
fffffd).
• Word 0 of the
frame payload
with the high-
order byte being
0x61 (ELS
RSCN). The next
byte is the page
length and is
0x04. The two
low-order bytes
are the payload
length (min 8,
max 1024).
• The lowest three
bytes are the 24-
bit address of the
changed device.
nsRemQ 0: 1st nibble NS Last three nibbles: D_ID, S_ID, For Fibre Channel
cmd code Name Server the Name Server Common Transport
cmd code. For port type, see Name protocol (FC-CT).
Fabric internal FC- Server port type.
CT, see the cmd
codes in Fabric
internal FC-CT
commands.
Broadcom FOS-90x-portlogdump-RM100
15
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
16
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
17
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
18
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
19
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
20
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
21
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
22
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
23
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
24
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
25
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
26
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
portLogDump Fields
Each field in the portlogdump output displays information about a single event. The portlogdump command output
consists of six fields:
• time
• task
• event
• port
• cmd
• args
task
The following table lists the tasks and their descriptions and functionality.
Broadcom FOS-90x-portlogdump-RM100
27
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
event
An event is a specific action that is described by the output. For a complete list of possible events for your switch, see the
following table.
Event Description
Broadcom FOS-90x-portlogdump-RM100
28
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Event Description
Broadcom FOS-90x-portlogdump-RM100
29
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Event Description
The following example indicates an internal task (INTR); an associated event is the Port State Machine (pstate); and the
cmd field describes the event, which is a link failure (LF2).
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:48:11.473 INTR pstate 19 LF2
port
The port field in the portlogdump output indicates a physical port number or logical port number.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:58:32.750 PORT debug 64 00000000,abcddcba,00000002,00000401
00:58:56.132 PORT scn 64 0 c70e74e0,c7059410,00000800
00:31:50.510 SPEE sn 3 WS 00000000,00000000,00000000
cmd
The cmd field represents different values depending on the task and event.
A command (cmd) is associated with each event category. For example, in the following output, the cmd column
represents the scn event. If the task is PORT, the cmd is usually the size of the payload.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:48:11.474 PORT scn 19 11 00000000,00000000,00010000
Commands associated with an event category are also referred to as state events. The following table lists some of the
possible commands.
Broadcom FOS-90x-portlogdump-RM100
30
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Command Definition
AC Active State
FC Name Server (in MS)
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
LIP Loop Initialization Primitive received
LIM FL_Port became the Loop Initialization Master
OLP Offline or Non-Participating
args
The args field represents different values depending on the task and event.
If there is an asterisk with a number after the args field, this means that there are multiple identical entries collapsed into
one line. In the following example, the last line represents three identical events.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:11.439 PORT Tx3 1 12 22000000,00000000,ffffffff,11010000
23:55:11.439 PORT Rx3 1 12 22000000,00000000,ffffffff,11010000
23:55:11.439 PORT Tx3 1 20 22000000,00000000,ffffffff,11020000
23:55:11.439 PORT Rx3 1 20 22000000,00000000,ffffffff,11020000
23:55:11.439 PORT Tx3 1 20 22000000,00000000,ffffffff,11030000
23:55:11.439 PORT Rx3 1 20 22000000,00000000,ffffffff,11030000
23:55:11.439 PORT Tx3 1 20 22000000,00000000,ffffffff,11040000
23:55:11.439 PORT Rx3 1 20 22000000,00000000,ffffffff,11040000
FC-PH Frames
FC-PH stands for Fibre Channel payload and header frames. The header contains control and addressing information
associated with the frame. The payload contains the information being transported by the frame and is determined by the
higher-level service or FC-4 upper-level protocol. There are many different payload formats based on the protocol.
• The routing control INFO bit (bits 27–24) determines how to interpret the payload.
• The TYPE field (word 2, bits 31–24) tells which information unit (IU) format to use.
The following table describes the entire FC-PH frame.
Broadcom FOS-90x-portlogdump-RM100
31
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
4 8 Up to 2112 Bytes 4 4
S HEADER PAYLOAD C E
O R O
F C F
The following table cross-references the sections in this guide that discuss specific sections of the FC-PH frame.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 00:58:32 2009
00:46:44.044 PORT Tx 8 40 02fffffd,00fffffd,027fffff,14000000
The following table diagrams the structure of the Routing Control bits.
Broadcom FOS-90x-portlogdump-RM100
32
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
33
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Destination ID (D_ID)
The Destination ID ( D_ID) refers to the native port address (24-bit address).
Example Args
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:27.598 PORT Tx 1 40 02fffffd,00fffffd,8b4fffff,14000000
In the example arguments, the D_ID is the well-known address of a fabric controller. The underlined fffffd is the D_ID.
Source ID (S_ID)
The Source ID (S_ID) refers to the native port address (24-bit address).
Example Args
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:27.598 PORT Tx 1 40 02fffffd,00fffffd,8b4fffff,14000000
In the example arguments, the S_ID is the well-known address of a fabric controller. The underlined fffffd is the S_ID.
Broadcom FOS-90x-portlogdump-RM100
34
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Sequence ID (SEQ_ID)
The Sequence ID (SEQ_ID) is used to identify and track all frames within a sequence between a source and destination
port pair.
Broadcom FOS-90x-portlogdump-RM100
35
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Originator ID (OX_ID)
The Originator ID ( OX_ID) refers to the exchange ID assigned by the originator port.
Example Args
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:27.598 PORT Tx 1 40 02fffffd,00fffffd,8b4fffff,14000000
Responder ID (RX_ID)
The Responder ID is assigned by the responder to the exchange.
Example Args
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:27.598 PORT Tx 1 40 02fffffd,00fffffd,8b4fffff,14000000
Data Field/Payload
The FC-PH standard limits the maximum size to 2112 bytes. See FC-PH Frames for more details.
Type Code
The Type code provides the type of protocol service (such as FC-CT, FCP, FCIP) for the FC-PH frame.
Broadcom FOS-90x-portlogdump-RM100
36
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
06-07 Reserved
08 SCSI-FCP
09 SCSI-GPP
0A-0F SCSI-Reserved
10 Reserved: IPI-3
11 IPI-3 Master
12 IPI-3 Slave
13 IPI-3 Peer
14 Reserved: IPI-3
15 CP IPI-3 Master
16 CP IPI-3 Slave
17 CP IPI-3 Peer
18 Reserved: SBCCS
19 SBCCS - Channel (obsolete)
1A SBCCS - Control Unit (obsolete)
1B SBCCS-2 - Channel (proposed)
1C SBCCS-2 - Control Unit (proposed)
1D-1F Reserved: SBCCS
20 Fibre Channel Services (FC-CT)
21 FC-FG (not used)
22 Internal Link Service (SW_ILS)
23 FC-AL (not used)
24 FC-SNMP
25-27 Reserved: Fabric Services
28-2F Reclaimed: was futurebus
30-33 Scalable Coherent Interface (SCI)
34-37 MessageWay (FC-PH2)
38-3F Reserved
40 HIPPI - FP
41-47 Reserved: HIPPI
48-57 Reserved
58 Virtual Interface (FC-VI)
59-DF Reserved
60 Application Services
E0-FF Vendor Unique
Broadcom FOS-90x-portlogdump-RM100
37
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
0x40 SECURITY_HEADER
0x20 NETWORK_HEADER
0x10 ASSOCIATION_HEADER
0x03 DEVICE_HEADER
0x8c DF_RESERVED
0x01 APPLICATION_HEADER
Broadcom FOS-90x-portlogdump-RM100
38
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
• The cmd field represents the SCN type. See SCN Codes to view the cmd description.
• In the args column:
– Arg 1 is dependent on the SCN type
• First 16 bits (most significant) = The mode that the port is in.
• Second 16 bits (least significant) = The error that causes the port to be marked OFFLINE.
– Arg 2 is dependent on the SCN type; it is currently not used (00000000).
– Arg 3 is the SCN subtype.
• Combine the SCN subtype (the third arg) and the SCN type (the cmd column) to uniquely identify a particular SCN.
The SCN type alone is not sufficient and is not guaranteed to be unique across all SCN types.
SCN Codes
The following table through Internal SCN Blade States relate to the possible State Change Notification (SCN) results
returned by the portlogdump command.
Broadcom FOS-90x-portlogdump-RM100
39
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Table 13: Internal State Change Notification Type and State Value
Broadcom FOS-90x-portlogdump-RM100
40
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
41
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
42
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
43
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
44
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
45
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
00000001 MMI_CONTROL
00000002 MMI_AB_SWITCH
00000004 MMI_ISMIC_CMD
00000008 MMI_SFP
00000010 MMI_EHCM_ON
00000020 MMI_EHCM_OFF
00000040 MMI_SECURITY_RESET
00000080 MMI_ISMIC_EXT_CMD
00000100 MMI_PLAT_EVENT
00000200 MMI_CANMIC_DOORBELL
00000000 UNKNOWN —
00000001 SLOT_OUT Blade has been removed.
00000002 SLOT_IN Blade has been inserted but not powered
on.
00000004 SLOT_READY Blade is IN and has been powered on.
00000008 SLOT_UP Blade is READY and has passed POST1.
00000010 SLOT_ON Blade is UP and has passed POST2.
00000020 SLOT_OFF Blade is ON and has been Disabled.
00000040 SLOT_FAULT Blade has been marked as Faulty.
Broadcom FOS-90x-portlogdump-RM100
46
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
00000000 UNKNOWN —
00000001 ENV_OUT Removed
00000002 ENV_IN Environmental hardware unit (PS/blower)
inserted
00000004 ENV_READY Ready for hardware validation
00000008 ENV_UP Ready for operations
00000010 ENV_ON Up and passed POST2 (unless N/A)
00000020 ENV_OFF ON and Disabled
00000040 ENV_FAULT —
Broadcom FOS-90x-portlogdump-RM100
47
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
00100000 WWN_AREA_UPDATE —
00200000 SWITCH_ATTR_CHANGE —
SCN when inherited FID changes
00400000 INHERITED_FID_UPDATE —
SCN when fabric name configured/reconfigured
00800000 FABRIC_NAME_CHANGE —
Service statistics
04000000 SERVICESTAT_START —
08000000 SERVICESTAT_STOP —
NS device type change SCN (triggered when there is a device type change)
10000000 NS_DEV_TYPE_CHANGE —
20000000 ZONE_UPDATE_IN_PROGRESS —
SNMPd listen for this aptpolicy change
40000000 ROUTE_POLICY_CHANGE —
Broadcom FOS-90x-portlogdump-RM100
48
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
00080000 HTBT_MISS_SCN —
00100000 POD_COMMIT_SCN —
00000001 ZONE_CHECK_WWN —
00000002 ZONE_CHECK_PORT —
00000004 ZONE_TYPE_CLEAR —
00000008 ZONE_SOFT —
00000010 ZONE_REQUEST_RJT —
00000020 ZONE_MERGE_FAIL —
00000040 ZONE_MERGE_SUCCESS —
00000080 ZONE_DEFAULT_ZONE —
00000100 ZONE_ACT_RESULT —
00000200 ZONE_SAVE_RESULT —
00000400 ZONE_SAVE_RJT —
00000800 ZONE_OPEN_TRANS —
00001000 ZONE_ABRT_OPEN_TRAN —
Broadcom FOS-90x-portlogdump-RM100
49
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
50
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
51
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
52
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Speed Negotiation
Table 34: Speed Negotiation Code Command
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:11.133 SPEE sn 1 WS 00000000,00000000,00000000
23:55:11.429 SPEE sn 1 NM 00000000,00000000,00000000
23:55:11.429 SPEE sn 1 NF 00000000,00000000,00000000
23:55:11.429 SPEE sn 1 NC 00000004,00000000,00000000
Broadcom FOS-90x-portlogdump-RM100
53
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
54
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
55
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
56
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
57
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
58
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
59
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
60
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
61
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
62
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
63
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
64
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
65
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
ELS Example 1
This example shows a FLOGI frame to the fabric F_Port (R_CTL=0x22, ELS Request; D_ID=0xfffffe, fabric F_Port;
S_ID=0x000000). S_ID = 0 indicates that the attaching device does not yet have a fabric address.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:11.507 PORT Rx3 128 116 22fffffe,00000000,2018ffff,04000000
ELS Example 2
This example shows how the FLOGI frame from the switch to the device (R_CTL=0x23, Extended Link Services Reply;
D_ID=0x638000, fabric F_Port; S_ID=0xfffffe) is accepted. D_ID=0xd638000 is the assignment of the fabric address.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:11.507 PORT scn 128 1 00000000,00000000,00000001
23:55:11.507 PORT scn 128 22 00000000,00000000,00000010
23:55:11.507 PORT scn 128 1 00000000,00000000,00000020
23:55:11.507 PORT scn 128 22 00000000,00000000,00000008
23:55:11.548 PORT Tx3 128 116 23638000,00fffffe,20188306,02000000
Broadcom FOS-90x-portlogdump-RM100
66
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
67
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Pause/Resume Request
0x95000000 IE_PAUSE_RESUME_REQ Remote Switch Pause for HotCode Load
Diagnostic Command Code
0x96000000 IE_DIAG_CMD Diag FCSW Commands
Universal Fabric Config Service (UFCS) Command Code
0x97000000 IE_UFCS_CMD UFCS Commands
External Link Services
0x81000000 SW_RJT Reject
0x82000000 SW_ACC Accept
0x83000000 SW_CFN Change Fabric Name
0x84000000 SW_WTV Write Timeout Value
0x85000000 SW_ON Offline Notification
Broadcom FOS-90x-portlogdump-RM100
68
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
69
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
SW_ILS Examples
The following ILS examples are explained in the following ways:
• The first section (labeled "Example") shows the entire example, and the subsequent sections are broken up line by
line.
• For a text description of the events displayed in this example, see "Example Summary" at the end of the section.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:08.063 PORT Tx 1 40 02fffffd,00fffffd,8b3effff,14000000
23:55:08.064 PORT Rx 1 0 c0fffffd,00fffffd,8b3e0b1a,00000001
02fffffd,00fffffd,8b3effff,14000000
c0fffffd,00fffffd,8b3e0b1a,00000001
Example Summary
The fabric controller from one switch sends a handshake "hello" to the other fabric controller on the switch. The
handshake is acknowledged.
Broadcom FOS-90x-portlogdump-RM100
70
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
01:18:48.281 PORT Tx 0 24 02fffffd,00fffffd,0c93ffff,90000014
01:18:48.282 PORT Rx 0 0 c0fffffd,00fffffd,0c9308f5,00000001
01:18:48.288 PORT Rx 0 24 03fffffd,00fffffd,0c9308f5,02000014
01:18:48.288 PORT Tx 0 0 c0fffffd,00fffffd,0c9308f5,00000001
Output line 1
01:18:48.281 PORT Tx 0 24 02fffffd,00fffffd,0c93ffff,90000014
02fffffd,00fffffd,0c93ffff,90000014
c0fffffd,00fffffd,0c9308f5,00000001
cO = RC_CTL (link control 00 = Identifier 0c93 = OX_ID One frame acknowledged using
acknowledged) standardized code.
fffffd = D_ID fffffd = S_ID 08f5 = RX_ID
03fffffd,00fffffd,0c9308f5,02000014
Broadcom FOS-90x-portlogdump-RM100
71
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
c0fffffd,00fffffd,0c9308f5,00000001
c0 = RC_CTL (link control 00 = Identifier 0c93 = OX_ID One frame acknowledged using
acknowledge) standardized code.
fffffd = D_ID (fabric controller) fffffd = S_ID (fabric controller) 08f5 = RX_ID
Example Summary
The fabric controller on one switch sends a trunking stamp to the fabric controller on the other switch. The request is
acknowledged and accepted.
NSD Example
The following example shows the S_ID domain controller (fffc0a) talking to the D_ID domain controller (fffc09).
If they are communicating using a Brocade-specific inter-switch RSCN code, refer to Brocade-Specific SW_ILS Command
Codes for descriptions.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 16:58:32 2009
16:09:52.553 nsd rscn 0fffc09 00fffc0a,1b000000,500a1f00,000000001
Broadcom FOS-90x-portlogdump-RM100
72
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Value Code
0x00 NZ_SUCCESSFUL
0x01 NZ_FABRIC_BUSY
0x02 NZ_FAILED
(0 - 100) NZ_ERROR_BASE
Value Code
0x00 NZ_NO_REASON
0x01 NZ_INVALID_DATA_LEN
0x02 NZ_UNSUPPORTED_CMD
0x04 NZ_NOT_AUTHORIZED
0x05 NZ_INVALID_REQUEST
0x06 NZ_FABRIC_CHANGING
0x07 NZ_UPDATE_NOT_STAGED
0x09 NZ_INVALID_DATA
0x0a NZ_CANNOT_MERGE
0x0b ZONING_NO_LICENSE
Broadcom FOS-90x-portlogdump-RM100
73
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Code Description
0100 REJECT
0200 ACCEPT
0300 INFO
Code Abbreviation
0001 NO_EFFECTIVE_CFG
0002 switchGetWwnIds_FAILED
0003 TARGET_PORT_OFFLINE
0004 my_ORIG_PORT_OFFLINE
0005 SPOOFING_CHECK_FAILED
0006 ZONE_TYPE_SETUP_FAILED_ID1
0007 ZONE_GROUP_SETUP_FAILED_ID1
0008 ZONE_TYPE_SETUP_FAILED_ID2
0009 ZONE_GROUP_SETUP_FAILED_ID2
000a ZONED_OUT
000b GET_ID_TO_WWN_FAILED
000c ZONED_OUT_PDCM
0001 NO_EFFECTIVE_CFG
0002 switchGetWwnIds_FAILED
0003 TARGET_PORT_OFFLINE
0004 my_ORIG_PORT_OFFLINE
Broadcom FOS-90x-portlogdump-RM100
74
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Table 52: TZone - New Zoning SFC Request's Operation Request Values
0x03 NZ_ACTIVATE_ZONESET
0x04 NZ_DEACTIVATE_ZONESET
Fabric Binding SFC Request's Operation Request Values
0x05 NZ_ACTIVATE_FABBIND_ALLOW
0x06 NZ_ACTIVATE_FABBIND_STRICT
0x07 NZ_DEACTIVATE_FABBIND
0xF0 NZ_SAVE_FULLZONESET Vendor-specific fabric configuration server
(FCS) request operation code used for
saving configuration without activating or
deactivating.
Value Code
0xa0 ERR_ZONE_MERGE_RECEIVED
0xa1 ERR_ZONE_CONFIG_CHANGE
0xa2 ERR_ZONE_BAD_CONFIG
0xa3 ERR_ZONE_OP_FAILED
0xa4 ERR_ZONE_CANNOT_START_TRANSACTION
0xa5 ERR_ZONE_SHELL_EXITED
0xa6 ERR_ZONE_NOT_OWNER
0xa7 ERR_ZONE_VALIDATION_FAILED
0xa8 ERR_SYNCDUMP_OCCURRED
Zoning-Specific Opcodes
Broadcom FOS-90x-portlogdump-RM100
75
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
76
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Zone Example
FC-4 Type Device Data - Zoning Request
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
01:36:36.403 PORT Tx 29 48 02fffc07,00fffc04,09cfffff,7c000028
01:36:36.404 PORT Rx 29 0 c0fffc04,00fffc07,09cf0d69,00000001
01:36:36.409 PORT Rx 29 20 03fffc04,00fffc07,09cf0d69,02000000
Broadcom FOS-90x-portlogdump-RM100
77
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Output Line 1
Output Line 2
c0 = RC_CTL (Link control 00 = Identifier 09cf = OX_ID One frame acknowledged using
acknowledge) standardized code.
fffc04 = D_ID fffc07 = S_ID 0d69 = RX_ID
Output Line 3
Output Line 4
c0 = RC_CTL (link control 00 = Identifier 09cf = OX_ID One frame acknowledged using
acknowledge) standardized code.
fffc07 = D_ID fffc04 = S_ID 0d69 = RX_ID
Broadcom FOS-90x-portlogdump-RM100
78
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Example Summary
Embedded port fffc04 sends a zoning code 70 request to the other embedded port fffc07. Embedded port fffc07 sends a
link control acknowledgment.
Displays time of Always FSSk Can be msg, event, Always "0" (FSS is 0 = Sent or Arg1 = Service ID
event or cmd. SeeFSS related to CPs, not Transmitted (TX). and component ID.
Messages . ports). 1 = Received (RX). See FSSk Service
Identification.
Arg2 = Send/receive
operation data.
Arg3 = Optional
flags.
Arg4 = A text
description. See FSS
Messages.
FSS Messages
This section refers to the relationship between the event column and the final entry of the arg column. See the following
table to decode a specific event and arg entry.
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 21:58:32 2009
21:54:04.763 FSSK event 0 0 00000000,00000000,00000005,TRAC
Broadcom FOS-90x-portlogdump-RM100
79
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
80
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
0x0 fcsw
0x1 swc
0x2 fcp
0x3 rt
0x4 fc
0x5 fabric
0x6 zone
0x7 fspf
Broadcom FOS-90x-portlogdump-RM100
81
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
0x8 ns
0x9 ms
0xA ps
0xB rcs
0xC evm
0xD track
0xE ts
0xF slap
0x10 security
0x11 web
0x12 snmp
0x13 fw
0x14 diagfss
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Oct 16 18:58:32 2009
18:13:37.979 FSSK msg 0 0 0002000e,0000012c,00000000,UPDA
18:13:56.584 FSSK cmd 0 0 00000000,00000000,00000000,STOP
18:13:56.584 FSSK event 0 0 00000000,00000000,00000000,STOP
18:13:56.584 FSSK msg 0 0 00000000,00000005,00000000,UPDA
18:13:56.861 FSSK cmd 0 0 00020000,00000000,00000000,STOP
18:13:56.862 FSSK event 0 0 00020000,00000000,00000000,STOP
18:13:56.862 FSSK msg 0 0 00020000,00000005,00000000,UPDA
18:13:56.874 FSSK cmd 0 0 00040000,00000000,00000000,STOP
18:13:56.875 FSSK event 0 0 00040000,00000000,00000000,STOP
The following steps indicate how to interpret the example (from left to right).
1. The task column should display FSSK.
2. Look at the event column. All events (msg, cmd, event, and so on) are described in FSS Messages.
3. Bypass the port column; it is always "0" because FSS is not a port-related service.
4. Look at the cmd column.
• 0 indicates Sent or Transmitted (TX).
• 1 indicates Received (RX).
5. Begin reading the args column.
• Arg1 (the first 8 characters) displays the service ID and the component ID. See FSSk Component Identification.
• Arg2 (the second 8 characters) displays send or receive operation data.
• Arg3 (the third 8 characters) displays optional flags (send or receive data).
• Arg4 (the fourth entry in the args column) displays text that helps clarify the output.
Broadcom FOS-90x-portlogdump-RM100
82
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Value Description
hex‘0001’ Vendor-specific
hex‘0002’ R_RDY flow control
hex’0003 - hex’FFFE’ Vendor-specific
Other values Reserved
Size Item
4 BB_Credit
16 Compatibility Parameters
00 Reserved.
1
01 Highest priority value .
02 The switch was the principal switch before sending or receiving
2
BF .
3
03 to FE Higher to lower priority values .
FF The switch is not capable of acting as a principal switch.
1. This value allows the system administrator to establish which switch becomes the principal switch.
2. This switch allows the same switch to become the principal switch if it is still part of the fabric after sending or receiving the Build
Fabric SW_ILS.
3. The Switch_Priority value for a given switch is established by means not defined by this standard.
Broadcom FOS-90x-portlogdump-RM100
83
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
Query with Port ID
0100 GA_NXT Get All Next Port Identifier All
0101 GID_A Get Identifiers A list of Domain_IDs or A list of Domain_IDs or
Domain_ID/Area_IDs Domain_ID/Area_IDs
0112 GPN_ID Get Port Name The Port Identifier is hex Port Name (Note - The
(Note - The null value for null value for the Port or
the Port or Node Name Node Name object is hex
object is hex ‘00 00 00 00 ‘00 00 00 00 00 00 00
00 00 00 00’) 00’)
0113 GNN_ID Get Node Name Port Identifier Node Name
0114 GCS_ID Get Class of Service Port Identifier Class of Service
0117 GFT_ID Get FC-4 Types Port Identifier FC-4 Types
0118 GSPN_ID Get Symbolic Port Name Port Identifier Symbolic Port Name
011A GPT_ID Get Port Type Port Identifier Port Type
011B GIPP_ID Get IP Address (Port) Port Identifier IP Address (Port)
011C GFPN_ID Get Fabric Port Name Port Identifier Fabric Port Name
011D GHA_ID Get Hard Address Port Identifier Hard Address
011E GFD_ID Get FC-4 Descriptors Port Identifier List of FC-4 Descriptors
011F GFF_ID Get FC-4 Features Port Identifier FC-4 Features
Query with Port Name
0121 GID_PN Get Port Identifiers Port Name Port Identifier
012B GIPP_PN Get IP Address (Port) Port Name IP Address (Port)
Query with Node Name
Broadcom FOS-90x-portlogdump-RM100
84
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0131 GID_NN Get Port Identifier Node Node Identifiers List of Port Identifiers
Name
0132 GPN_NN Get Port Node Names Node Name List of Port Identifiers and
Port Names
0135 GIP_NN Get IP Address (Node) Node Name IP Address (Node)
0136 GIPA_NN Get Initial Process Node Name Initial Process Associator
Associator
0139 GSNN_NN Get Symbolic Node Node Name Symbolic Node
Name
Query with IP
0153 GNN_IP Get Node Name IP Address (Node) Node Name
0156 GIPA_IP Get Initial Process IP Address (Node) Initial Process Associator
Associator
0171 GID_FT Get Port Identifiers None because the FC-4 List of Port Identifiers
type is specified as an
encoded value, not as an
object.
0172 GPN_FT Get FC4-Type Port Name None because the FC-4 List of Port Identifiers and
type is specified as an Port Names
encoded value, not as an
object.
0173 GNN_FT Get FC-4 Type Node List of Port Identifiers and
Names Port Names
Query with Port Type
01A1 GID_PT Get Port Identifiers Port Type (see Name List of Port Identifiers
Server port type)
Query with IP Port
01B1 GID_IPP Get Port Identifiers for IP IP Address (Port) List of Port Identifiers
Address (Port)
01B2 GPN_IPP Get Port Name IP Address (Port) Port Name
Query with FC-4 Features
01F1 GID_FF Get Port Identifiers FC-4 Features List of Port Identifiers
Registration
0212 RPN_ID Register Port Name Port Identifier, Port Name None
0213 RNN_ID Register Node Name Port Identifier, Node None
Name
0214 RCS_ID Register Class of Service Port Identifier, Class None
0217 RFT_ID Register FC-4 Types Port Identifier, None
FC-4 Types
0218 RSPN_ID Register Symbolic Port Port Identifier, Symbolic None
Name for this Port ID Port Name
021A RPT_ID Register Port Type for Port Identifier, IP Address None
this Port ID (Port)
021B RIPP_ID Register IP Address Port Identifier, IP Address None
(Port) (Port)
Broadcom FOS-90x-portlogdump-RM100
85
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
021C RFPN_ID Register Fabric Port Port Identifier, Fabric Port None
Name Name
021D RHA_ID Register Hard Address Port Identifier, Hard None
Address
021E RFD_ID Register FC-4 Port Identifier, FC-4 None
Descriptors Types and FC-4
Descriptors
021F RFF_ID Register FC-4 Features Port Identifier, FC-4 None
Features
0235 RIP_NN Register IP Address for Node Name, IP Address None
this Node WWN (Node)
0236 RIPA_NN Register IP Address for Node Name, Initial None
this Node WWN Process Associator
0239 RSNN_NN Register Symbolic Node Node Name, Symbolic None
Name for this Node Node Name
WWN
0299 RSDDQ_ID Register SDDQ (SDDQ Port Identifier None
action) by Port Identifier
(PID)
Deregistration
0300 DA_ID Deregister All Port Identifier None
FC-CT Command Restrictions
The following command codes are not used by any well-known server for the FC-GS-x client/server interface:
• Command codes 0400–04FF and E000–EFFF
• Fabric internal FC-CT commands
• Command codes F000–FFFF: Vendor-specific FC-CT commands
Value Response
Broadcom FOS-90x-portlogdump-RM100
86
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Code Description
00 No additional explanation
01 Port Identifier not registered
02 Port Name not registered
03 Node Name not registered
04 Class of Service not registered
05 IP Address (node) not registered
06 Initial Process Associator not registered
07 FC-4 TYPEs not registered
08 Symbolic Port Name not registered
09 Symbolic Node Name not registered
0A Port Type not registered
0B IP Address (port) not registered
0C Fabric Port Name not registered
0D Hard Address not registered
0E FC-4 Descriptor not registered
0F FC-4 Features not registered
10 Access denied
11 Unacceptable Port Identifier
12 Data base empty
13 No object registered in the specified scope
Others Reserved
Broadcom FOS-90x-portlogdump-RM100
87
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
88
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Code Description
0 NSPT_UNKNOWN
1 N_PORT
2 NL_PORT
3 NFL_PORT
0x04-0x80 Reserved
0x7F special value for all of the above ports Nx_PORT
0x81 F_PORT
0x82 FL_PORT
0x83 LT_PORT
0x84 E_PORT
Code Service
Broadcom FOS-90x-portlogdump-RM100
89
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Code Service
0x0001 NSS_REQUEST
0x0002 NSS_RESPONSE
0x0003 NSS_INFORM
0x0004 NSS_DELETE
Code Response
0x0001 NSS_REQUEST
0x0002 NSS_RESPONSE
0x0003 NSS_INFORM
0x0004 NSS_DELETE
0x0410 NSS_GE_ID
0x041d NSS_GQP_PAIR
0x041e NSS_GQP_ID
0x041f NSS_GIDX
0x0420 NSS_GE_PN
0x0430 NSS_GE_NN
0x0450 NSS_GE_IP
0x0470 NSS_GE_FT
0x04A0 NSS_GE_PT
Management Server
The Management Server (MS) provides a single management access point within the Fibre Channel fabric.
The Management Server (MS) Well Known Address is FFFFFA.
Broadcom FOS-90x-portlogdump-RM100
90
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0x0100 MS_GTIN Get Topology The Request CT_IU The Accept CT_IU for
Information for GTIN contains the GTIN contains the ACC
request payload defined payload defined for
for the Request Topology the Request Topology
InformationExtended Link Information ExtendedLink
Service. Service.
0x0101 MS_GIEL Get interconnect — List of Interconnect
element list Element
Names and Types
0x0111 MS_GIET Get interconnect Interconnect element Interconnect element type
element type name
0x0112 MS_GDID Get domain ID Interconnect element Domain identifier
name
0x0113 MS_GMID Get Mgmt Identifier Interconnect element Management Identifier
name
Broadcom FOS-90x-portlogdump-RM100
91
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0x0114 MS_GFN Get Fabric Name Interconnect element Fabric Name 0x0115
name
0x0115 MS_GLIEN Get logical IE Name Interconnect element Interconnect element
name logical name
0x0116 MS_GMAL Get Mgmt Address Interconnect element Interconnect element
list name management address list
0x0117 MS_GIEIL Get IE Information Interconnect element Interconnect element
list name information list
0x0118 MS_GPL Get switch port list Interconnect element List of Port Names, Port
name Types, Port TX Types,
and Port Module Types
0x0121 MS_GPT Get switch port type Port Name Port type
0x0122 MS_GPPN Get switch physical Port WWN Port number
port number
0x0124 MS_GAPNL Get attached port Port WWN List of attached port
name list names
0x0126 MS_GPS Get switch port state Port WWN Port state (See Port State
table)
0x0128 MS_GATIN Get attached Port WWN Attached topology
topology information information (4 bytes
format)
Get Platform-Related Information
0x0191 MS_GPLNL Get platform node Platform name List of platform node
name list names
0x0192 MS_GPLT Get platform type Platform name See Platform type table
0x0194 MS_GPLA Get platform Platform name Platform Mgmt address
attributes list
0x01A1 MS_GNPL Get platform name- Platform Node name Platform Name
node name
0x01A2 MS_GPNL Get platform name None List of platform names
list
0x01B1 MS_GNID Get node Platform node name None.
identification data The Accept CT_IU
for GNID contains the
ACC payload defined
for the Request Node
Identification Data
Extended Link Service.
0x0215 MS_RIELN Register IE logic Interconnect element None
name Name, Interconnect
Element Logical Name
Register Platform-Related Information
0x0280 MS_RPL Register platform Platform Name, Platform None
Type, Platform Mgmt
Address list, Platform
Node Name List
0x0291 MS_RPLN Register platform Platform name, Platform None
node name Node Name
Broadcom FOS-90x-portlogdump-RM100
92
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0x0292 MS_RPLT Register platform Platform Name, Platform None
type Type
0x0293 MS_RPLM Register platform Platform Name, Platform None
Mgmt address Mgmt Address
Deregister Platform-Related Information
0x0380 MS_DPl Deregister platform Platform Name None
0x0391 MS_DPLN Deregister platform Platform Node Name None
node name
0x0392 MS_DPLM Deregister Platform None
Mgmt Addr
0x0393 MS_DPLML Deregister platform Platform Name None
mgmt address list
Port Performance Information
0x0400 MS_GPST Get port statistics — —
0x0401 MS_GPERR Get port errors — —
0x0402 MS_PCLST Clear port stats — —
0x0403 MS_PENAB Port enable — —
0x0404 MS_PDISA Port disable — —
Routing Information
0x0405 MS_GROUT Get a route between — —
two end ports
0x0406 MS_GLROUT Nexthop info from — —
remote switch
0x0407 MS_GPATH Output ports to — —
reach a domain
0x0408 MS_GROUT Set static route — —
0x0750 MS_DELROUT Delete static route — —
Fabric Hierarchy
0x0501 MS_GFABRIC Return all switch and — —
port WWNs
0x502 MS_GSW Return switch and — —
port WWNs
Switch Information
0x0505 MS_GSWITCH Get switch — —
information
0x0506 MS_SSWITCH Set switch — —
information
0x0507 MS_GSWITCH2 Get switch — —
information
0x0508 MS_SSWITCH2 Set switch — —
information 2.0+
API Version Information
0x0509 MS_GAPIVERSION Get API version — —
0x050a MS_GSSWITCH_NG Get switch info ng — —
Broadcom FOS-90x-portlogdump-RM100
93
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0x050b MS_SSWITCH_NG Set switch info ng — —
0x05010 MS_GPORTLOG Get port log — —
0x05011 MS_GERRLOG Get error log — —
0x05012 MS_GFRULOG Get FRU history log — —
0x05013 MS_GPORTNVLOG Get port flash log — —
Port Information
0x0605 MS_GPORT Get port information — —
0x0606 MS_SPORT Set port information — —
0x0607 MS_GPSTATS Get port stats — —
information
0x0608 MS_SPSTATS Set port stats — —
information
0x0609 MS_GDEVICE Get device — —
information
0x060a MS_GDEVICE2 Get device, string — —
len = 256
0x060b MS_GPERRS Get port err — —
information
0x060c MS_SPERRS Set port err — —
information
0x060d MS_GENVATTR Asset management — —
0x060e MS_GFLPORT Get fl port info — —
0x060f MS_GMODULE Get PortModule info — —
0x0610 MS_SMODULE Set PortModule info — —
0x0611 MS_GPORT2 Get port info 2 — —
0x0612 MS_SPORT2 Set port info 2 — —
0x0613 MS_GPLATINFO Get platform state — —
info
0x0614 MS_GPLATALL Get all platform — —
database
0x0615 MS_GCP Get cp info — —
0x0616 MS_SFRU Set FRU Attributes — —
0x0617 MS_GENVATTR2 Switch Enclosure — —
Attributes 2
0x0618 MS_GPORT_NG Get port info ng — —
0x0619 MS_SPORT_NG Set port info ng — —
0x0620 MS_START_PORT_DIAG Start port diag — —
0x0621 MS_STOP_PORT_DIAG Stop port diag — —
0x0622 MS_GET_PORT_DIAG_PF Get port diag profile — —
0x0623 MS_GET_PORT_DIAG_ST Get port diag status — —
0x0624 MS_GET_PORT_NAME Get port name — —
0x0625 MS_SET_PORT_NAME Set port name — —
Broadcom FOS-90x-portlogdump-RM100
94
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0x0626 MS_GNPERRS Get the node port err — —
stats
0x0627 MS_SNPERRS Get the node port err — —
stats
0x0630 MS_GTCT Telnet Command — —
Tunneling
RCOM
0x0701 MS_RCOM Get group — —
commands
0X0705 MS_FW_LICENSE — — —
0x0706 MS_FW_GET_CA — — —
0x0707 MS_FW_GET_TH Fabric Watch. Get — —
Threshold.
0x0708 MS_FW_APPLY_ALARM Fabric Watch. Apply — —
alarm.
0x0709 MS_FW_APPLY_BOUNDARY Fabric Watch. Apply — —
boundary.
0x070a MS_FW_CANCEL_ALARM Fabric Watch. — —
Cancel alarm.
0x070b MS_FW_CANCEL_BOUNDARYFabric Watch. — —
Cancel boundary.
0x070c MS_FW_SET_ALARM_LEVEL Fabric Watch. Set — —
alarm level.
0x070d MS_FW_SET_ALARM Fabric Watch. Set — —
Alarm.
0x070e MS_FW_SET_BN_LEVEL Fabric Watch. Set — —
Boundary Level.
0x070f MS_FW_SET_BN_BS Fabric Watch. Set — —
Boundary.
0x0710 MS_FW_SET_BN_HIGH Fabric Watch. Set — —
Boundary High level.
0x0711 MS_FW_SET_BN_LOW Fabric Watch. Set — —
Boundary Low Level.
0x0712 MS_FW_SET_BN_TB Fabric Watch. Set — —
Boundary.
0x0713 MS_FW_SET_BN_UNIT Fabric Watch. Set — —
Boundary Unit.
0x0714 MS_FW_SET_TH_STATUS Fabric Watch. Set — —
Threshold Status.
0x0715 MS_FW_SET_TH_BI Fabric Watch. Set — —
Threshold.
0x0716 MS_FW_SET_TH_BT Fabric Watch. Set — —
Threshold.
0x0717 MS_FW_INIT_CONFIG Fabric Watch. Initial — —
Configuration.
Broadcom FOS-90x-portlogdump-RM100
95
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0x0718 MS_FW_INSERT_CONFIG Fabric Watch. Insert — —
Configuration.
0x0719 MS_FW_UPDATE_CONFIG Fabric Watch. — —
Update
Configuration.
0x071a MS_FW_LOAD_CONFIG Fabric Watch. Load — —
Configuration.
0x071d MS_EVENT Management Server — —
event.
0x071e MS_EVENT_ENABLE_FW Management Server — —
event - enable
Fabric Watch.
0x071f MS_EVENT_DISABLE_FW Management Server — —
event - disable
Fabric Watch.
0x0720 MS_LICENSE_ADD Management Server — —
- license addition
reported.
0x0721 MS_LICENSE_RM Management Server — —
- license removal
reported.
0x0722 MS_LICENSE_GET Management Server — —
- get license.
0x0723 MS_LICENSE_GETALL Management Server — —
- get all licenses.
0x0726 MS_PRODUCT_GET Management Server — —
- get product.
0x0727 MS_PRODUCT_GETALL Management Server — —
- get all products.
0x0728 MS_DOWNLOAD_START Management Server — —
- download start
reported.
0x0729 MS_DOWNLOAD_PACKET Management Server — —
- download packet
reported.
0x072a MS_DOWNLOAD_ABORT Management Server — —
- download aborted.
0x072b MS_DOWNLOAD_END Management Server — —
- download ended.
0x072c MS_UPLOAD_START Management Server — —
- upload started.
0x072d MS_UPLOAD_PACKET Management Server — —
- packet upload
reported.
0x072e MS_UPLOAD_ABORT Management Server — —
- upload aborted.
0x072f MS_UPLOAD_END Management Server — —
- upload ended.
Broadcom FOS-90x-portlogdump-RM100
96
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0x0730 MS_EVENT_ENABLE_TC Management Server — —
- Enable Track
Changes.
0x0731 MS_EVENT_DISABLE_TC Management Server — —
- Disable Track
Changes.
0x0732 MS_DOWNLOAD_SELF_START
Management Server — —
- self start download
reported.
0x0733 MS_DOWNLOAD_SELF_ABORT
Management Server — —
- self start download
aborted.
In-Band SGroup Command
0x0801 MS_SG_GET Management Server — —
- get
0x0802 MS_SG_SET Management Server — —
- set
0x0803 MS_SG_DEL Management Server — —
- delete
0x0801 - 0x804 Does not appear in — —
v4.2.0.
0x0810 MS_SEC_GET_CSR Management Server — —
- Security.
0x0811 MS_SEC_SET_CERT Management Server — —
- Security - set
certificate.
0x0812 MS_SEC_SET_KEY_CERT Management Server — —
- Security - set key
certificate.
0x0813 MS_SEC_COUNTER Management Server — —
- Security Counters.
0x0814 MS_SEC_GEN_CSR Management Server — —
- Security.
0x0815 MS_SEC_COUNTER2 Management Server — —
- Security Counter 2.
0x0816 MS_SEC_GET_BANNER Management Server — —
- Security - get
banner.
0x0817 MS_SEC_SET_BANNER Management Server — —
- Security - set
banner.
0x1000 MS_FC_API Management — —
Server - Forward-
compatible API.
FC-SW-2 MS Command Codes
0xE000 MS_EXGPLDB Exchange Platform — —
Database
Broadcom FOS-90x-portlogdump-RM100
97
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0xE001 MS_MRGPLDB Merge Platform — —
Database
0xE010 MS_PLCOMIT Commit the previous — —
Reg/Dereg Plat Cmd
0xE020 MS_GCAP Get Management — —
Server Capabilities
Brocade Vendor-specific Platform-Related Information
0xF000 MS_PLACTV Activate Platform — —
Management
Services
0xF001 MS_PLDACTV Deactivate Platform — —
Management
Services
0xF002 MS_TDMGMT Enable or disable — —
TD Management
Services
All MSVU frames are non-FC-GS commands.
0xF003 MSVU_RPL Registers platform — —
name of AG
0xF004 MSVU_RPLN Registers platform — —
node name of AG
0xF005 MSVU_RPLM Register platform — —
management
address
0xF006 MSVU_RPAB Registers platform — —
attribute block of
data from AG
0xF007 MSVU_GAGINFO Get AG info — —
command
0xF008 MSVU_DPL De-register platform — —
0xF009 MSVU_DPLN De-register platform — —
node
0xF00A MSVU_DPLM De-register platform — —
management
address
0xF00B MSVU_DPLML De-register platform — —
management
address list
0xF00C MSVU_DPAB De-register platform — —
attribute block
0xF00D MSVU_DBSHOW Displays the AG — —
database
0xF00E MSVU_GAGINFO_V2 Get AG information — —
version 2
0xF00F MSVU_AG_ADD_DEV Register AG device — —
details
Broadcom FOS-90x-portlogdump-RM100
98
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Objects in Objects in
Code Mnemonic Description
Request CT_IU Accept CT_IU
0xF010 MSVU_AG_DEL_DEV De-register AG — —
device details
0xF011 MSVU_RPAB_V2 Register platform — —
attribute block
version 2
0xF012 MSVU_GAGINFO_V3 Get AG info with — —
larger RPAB
0xF013 MSVU_RPLE Register EDGE AG — —
Platform
0xF014 MSVU_GAGINFO_EDGEAG Get EDGE AG info — —
version 1
Switch Default Zoning Behavior
0x0805 MS_GSWITCHDZB Get Switch Default — —
Zoning Behavior
0x0806 MS_SSWITCHDZB Set Switch Default — —
Zoning Behavior
Code Reason
00 No additional explanation
01 Invalid Name_Identifier for Interconnect Element or Port
10 Interconnect Element List not available
11 Interconnect Element Type not available
12 Domain Identifier not available
13 Management Identifier not available
14 Fabric Name not available
15 Interconnect Element Logical Name not available
16 Management Address List not available
17 Interconnect Element Information List not available
0x18-2F Reserved for IE
30 Port List not available
31 Port Type not available
32 Physical Port Number not available
33 Reserved
34 Attached Port Name List not available
35 Reserved
36 Port State not available
Broadcom FOS-90x-portlogdump-RM100
99
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Code Reason
Broadcom FOS-90x-portlogdump-RM100
100
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Code Reason
0xd1 MSRJT_EXPL_FW_INVALID_BT
0xd2 MSRJT_EXPL_FW_INVALID_WWN
0xd3 MSRJT_EXPL_FW_DOWNLOAD_FAILED
0xd4 MSRJT_EXPL_FW_INVALID_PROFILE
0xd5 MSRJT_EXPL_FW_LOAD_FAILED
0xd6 MSRJT_EXPL_FW_INSERT_FAILED
0xd7 MSRJT_EXPL_FW_DOWNLOAD_INIT_FAILED
0xd8 MSRJT_EXPL_FW_TOO_MANY_PROXY
0xd9 MSRJT_EXPL_FW_PROXY_NOT_FOUND
0xda MSRJT_EXPL_FW_NO_LICENSE
SecureSAN PKI Installation Support
0xdb MSRJT_EXPL_CERT_ALREADY_INSTALLED
0xdc MSRJT_EXPL_CERT_REQ_FAILED
Firmware Download Errors
0xdd MSRJT_EXPL_CORRUPT_FLASH
0xde MSRJI_EXPL_RLS_SERVICE_DISABLE
Port Configuration Errors
0xe1 MSRJT_EXPL_PORTCFG_FAILED
0xe2 MSRJT_EXPL_PORTCFG_BADPORT
0xe3 MSRJT_EXPL_PORTCFG_BADARG
0xe4 MSRJT_EXPL_PORTCFG_BADNUMARG
0xe5 MSRJT_EXPL_PORTCFG_CFGABT
0xe6 MSRJT_EXPL_PORTCFG_NOLICENSE
0xe7 MSRJT_EXPL_PORTCFG_BADSWTYPE
0xe8 MSRJT_EXPL_PORTCFG_ISQLPORT
0xe9 MSRJT_EXPL_PORTCFG_ISLPORT
0xea MSRJT_EXPL_PORTCFG_ISGPORT
0xeb MSRJT_EXPL_PORTCFG_MCASTLB_LBEXIST
0xec MSRJT_EXPL_PORTCFG_LONGDIST_MCASTON
0xed MSRJT_EXPL_PORTCFG_LONGDIST_NOLDFAB
0xee MSRJT_EXPL_PORTCFG_BADPTTYPE
0xef MSRJT_EXPL_PORTCFG_BADSTRING
Broadcom FOS-90x-portlogdump-RM100
101
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
The request codes described in Fabric Zone Server (ZS) codes are based on Section 6.4.6.3 (Basic Zoning Management
Commands) of FC-GS-8 REV 11.02 dated March 24, 2017. See Target Driven Peer Zone request codes for more
information.
Hexadecimal Code Mnemonic and Description Attributes in Request CT_IU Attributes in Accept CT_IU
Broadcom FOS-90x-portlogdump-RM100
102
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Hexadecimal Code Mnemonic and Description Attributes in Request CT_IU Attributes in Accept CT_IU
Broadcom FOS-90x-portlogdump-RM100
103
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Hexadecimal Code Mnemonic and Description Attributes in Request CT_IU Attributes in Accept CT_IU
An asterisk (*) after the mnemonic represents that they are supported officially.
0x01 CT_INVALID_COMMAND
0x02 CT_INVALID_VERSION
0x03 CT_LOGICAL_ERROR
0x04 CT_INVALID_IU_SIZE
0x05 CT_LOGICAL_BUSY
0x07 CT_PROTOCOL_ERROR
0x09 CT_CANT_PERFORM_REQ
0x0b CT_NOT_SUPPORTED
Table 84: Zone Server Reject CT_IU FC-GS-8 Reason Code Explanations
0x00 ZS_RJT_EXPL_NONE
0x01 ZS_RJT_EXPL_ZONES_NOT_SUPPORTED
0x10 ZS_RJT_EXPL_ZONESET_NAME_UNKNOWN
0x11 ZS_RJT_EXPL_NO_ZONESET_ACTIVE
0x12 ZS_RJT_EXPL_ZONE_NAME_UNKNOWN
Broadcom FOS-90x-portlogdump-RM100
104
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
0x13 ZS_RJT_EXPL_ZONE_STATE_UNKNOWN
0x14 ZS_RJT_EXPL_INCORRECT_PAYLOAD_LENGTH
0x15 ZS_RJT_EXPL_ZONESET_TOO_LARGE
0x16 ZS_RJT_EXPL_DEACTIVATE_FAILED
0x17 ZS_RJT_EXPL_REQUEST_NOT_SUPPORTED
0x18 ZS_RJT_EXPL_CAPABILITY_NOT_SUPPORTED
0x19 ZS_RJT_EXPL_MEMBER_TYPE_NOT_SUPPORTED
0x1A ZS_RJT_EXPL_INVALID_ZONESET
Table 85: Zone Server Reject CT_IU Enhanced FC-GS-8 Reason Code Explanations
0x20 ZS_RJT_EXPL_ENHANCED_CMDS_NOT_SUPPORTED
0x21 ZS_RJT_EXPL_ZONE_SET_ALREADY_EXISTS
0x22 ZS_RJT_EXPL_ZONE_ALREADY_EXISTS
0x23 ZS_RJT_EXPL_ALIAS_ALREADY_EXISTS
0x24 ZS_RJT_EXPL_ZONE_SET_UNKNOWN
0x25 ZS_RJT_EXPL_ZONE_UNKNOWN
0x26 ZS_RJT_EXPL_ALIAS_UNKNOWN
0x28 ZS_RJT_EXPL_UNKNOWN_ZONE_ATTRIBUTE
0x29 ZS_RJT_EXPL_FABRIC_UNABLE_TO_WORK_IN_ENH_MODE
0x30 ZS_RJT_EXPL_COMMIT_FAILED
0x33 ZS_RJT_EXPL_REQUEST_IN_PROCESS
0x34 RJT_EXPL_COMMIT_IN_PROCESS
0x37 ZS_RJT_EXPL_CONSISTENCY_CHECKS_FAILED
0x38 ZS_RJT_EXPL_PROVIDED_ZONE_NOT_PEER_ZONE
0x39 ZS_RJT_EXPL_ACTIVE_ZONE_NOT_PEER_ZONE
0x00 ZS_RJT_VU_EXPL_NONE
0x01 ZS_RJT_VU_INV_MODE
0x02 ZS_RJT_VU_INV_AD
0x03 ZS_RJT_VU_ZS_ACT_NONE
0x04 ZS_RJT_VU_AD_INACTIVE
0x05 ZS_RJT_VU_INV_ZN_NAME_LEN
0x06 ZS_RJT_VU_INV_ZN_NAME
0x07 ZS_RJT_VU_INV_ATTR
0x08 ZS_RJT_VU_INV_MEM_CNT
Broadcom FOS-90x-portlogdump-RM100
105
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
0x09 ZS_RJT_VU_INV_ZN_MEMBER
0x0A ZS_RJT_VU_TRANS_IN_PROG
0x0B ZS_RJT_VU_FAB_UNSTABLE
0x0C ZS_RJT_VU_ZN_DUPLICATE
0x0D ZS_RJT_VU_PRZ_IN_REG_ZN
0x0E ZS_RJT_VU_INV_PRZ
0x0F ZS_RJT_VU_PRZ_IN_PROG
0x10 ZS_RJT_VU_INTRNAL_ERR
0x11 ZS_RJT_VU_INV_FC_SID
0x12 ZS_RJT_VU_DEV_UNAUTH
0x13 ZS_RJT_VU_DEV_NOT_IN_AD
0x14 ZS_RJT_VU_DEF_DB_EXIST
0x15 ZS_RJT_VU_NON_PRIMARY_FCS
0x16 ZS_RJT_VU_ALIAS_TDPZ_NOT_SUP
0x17 ZS_RJT_VU_ENH_ZN_OBJ_NOT_SUP
0x18 ZS_RJT_VU_NOT_DEF_DB_ZONE_SET
0x19 ZS_RJT_VU_SYSTEM_ZONE_SET
The following examples describe decoding of various Target Driven Peer Zone requests and responses.
GFEZ Incoming Request and Accept Response
The following example shows the GFEZ incoming request and accept response.
sw0:admin> portlogdumpport 41
time task event port cmd args
-------------------------------------------------
Tue Dec 16 22:30:09 2014
22:30:09.305 PORT Rx3 41 16 02fffffa,00032900,10a8ffff,01000000
22:30:09.306 FCPH read 41 16 02fffffa,00032900,8f000000,00000000,10a89f23
22:30:09.306 FCPH seq 41 10 20290000,10a89f23,00000565,0000001c,00000000
Broadcom FOS-90x-portlogdump-RM100
106
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
The argument breakdown for the sample argument “00000142” in output line 4 is as follows:
• 0000 = Bitmap for number of arguments
• 0142 = GFEZ request
Output Line 5: GFEZ Accept Response
22:30:09.306 zone ctout 41 fa 00078002,00000001,00000002,00000003
0007 = Bitmap for number of 00000001 = Fabric GFEZ flags 00000002 = Number of switches 00000003 = Local switch's
arguments in the fabric GFEZ flags
8002 = CT accept response
Arg1 000f012a Arg2 0000000c Arg3 74657374 Arg4 5f7a6f6e Arg5 65000000
000f = Bitmap for number 0000000c = Zone name 74657374 = Zone name 5f7a6f6e = Zone name 65000000 = Zone name
of arguments length
012a = GAPZ request
Broadcom FOS-90x-portlogdump-RM100
107
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
0003 = Bitmap for number of arguments 00000001 = Number of zone attribute 00000001 = Number of zone members
entries
8002 = CT accept response
Arg1 000f022b Arg2 302a0005 Arg3 337e97e9 Arg4 00000001 Arg5 00000001
000f = Bitmap for number 302a0005 = Upper 4 337e97e9 = Lower 4 00000001 - Number of 00000001 - Number of
of arguments bytes of initiator WWN bytes of initiator WWN zone attributes zone members
022b = AAPZ request
The argument breakdown for the sample argument “00008002” in output line 5 is as follows:
• 0000 = Bitmap for number of arguments
• 8002 = CT accept response
RAPZ Incoming Request and Accept Response
The following example shows the RAPZ incoming request and accept response.
sw0:admin> portlogdumpport 41
time task event port cmd args
-------------------------------------------------
Tue Dec 16 22:45:40 2014
22:45:40.565 PORT Rx3 41 88 02fffffa,00032900,10b3ffff,01000000
22:45:40.565 FCPH read 41 88 02fffffa,00032900,94000000,00000000,10b39fc0
22:45:40.565 FCPH seq 41 58 20290003,10b39fc0,00000565,0000001c,00000000
Broadcom FOS-90x-portlogdump-RM100
108
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
0003 = Bitmap for number of arguments 302a0005 = Upper 4 bytes of initiator WWN 337e97e9 = Lower 4 bytes of initiator WWN
0325 = RAPZ request
The argument breakdown for the sample argument “00008002” in output line 5 is as follows:
• 0000 = Bitmap for number of arguments
• 8002 = CT accept response
CT Reject Response
The following example shows the CT Reject response.
sw0:admin> portlogdumpport 41
time task event port cmd args
22:55:37.903 PORT Rx3 41 76 02fffffa,00032900,10bbffff,01000000
22:55:37.904 FCPH read 41 76 02fffffa,00032900,98000000,00000000,10bba012
22:55:37.904 FCPH seq 41 4c 20290000,10bba012,00000565,0000001c,00000000
22:55:37.907 zone ctin 41 fa 000f022b,302a0005,337e97e9,00000023,00000000
22:55:37.907 zone ctout 41 fa 00078001,00000009,0000001a,00000008
22:55:37.907 FCPH write 41 16 03032900,00fffffa,98000000,00000000,10bba012
22:55:37.907 FCPH seq 41 10 20980000,10bba012,00000701,0004001c,00000000
22:55:37.907 PORT Tx3 41 16 03032900,00fffffa,10bba012,01000000
0007 = Bitmap for number of 00000009 = CT reject reason 0000001a = CT reject 00000008 = VU code
arguments explanation
8001 = CT reject response
Broadcom FOS-90x-portlogdump-RM100
109
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
The table below provides the CT accept/reject responses for GAL, GAM, GAN, GZS, and GAZS Zone Server requests.
Broadcom FOS-90x-portlogdump-RM100
110
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
NOTE
See Fabric Zone Server (ZS) codes for more information about CT reject reason codes, CT reject reason codes
explanation, and VU codes.
Hexadecimal Code Mnemonic and Description Attributes in Request CT_IU Attributes in Accept CT_IU
Broadcom FOS-90x-portlogdump-RM100
111
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Hexadecimal Code Mnemonic and Description Attributes in Request CT_IU Attributes in Accept CT_IU
Table 89: HBA Management Server Reject CT_IU GS4 Reason Codes
0x01 CT_INVALID_COMMAND
0x02 CT_INVALID_VERSION
0x03 CT_LOGICAL_ERROR
0x04 CT_INVALID_IU_SIZE
0x05 CT_LOGICAL_BUSY
0x07 CT_PROTOCOL_ERROR
0x09 CT_CANT_PERFORM_REQ
0x0b CT_NOT_SUPPORTED
Table 90: HBA Management Server Reject CT_IU GS4 Reason Code Explanations
0x00 FDMI_NO_ADDITIONAL_EXP
0x10 FDMI_HBA_ALREADY_REG
0x11 FDMI_HBA_ATTRIB_NOT_REG
0x12 FDMI_HBA_ATTRIB_MULTIPLE
0x13 FDMI_HBA_ATTRIB_LENGTH_INVALID
0x14 FDMI_HBA_ATTRIB_NOT_PRESENT
0x15 FDMI_PORT_ORIG_NOT_IN_LIST
0x16 FDMI_PORT_HBA_NOT_IN_LIST
0x17 FDMI_HBA_NOT_REG
0x20 FDMI_PORT_ATTRIB_NOT_REG
0x21 FDMI_PORT_NOT_REG
0x22 FDMI_PORT_ATTRIB_MULTIPLE
0x23 FDMI_PORT_ATTRIB_LENGTH_INVALID
0x24 FDMI_PORT_ALREADY_REG
0x30 FDMI_PORT_DYNAMIC_DATA_NOTSUPPORTED
0x41 FDMI_HBA_DYNAMIC_DATA_NOTSUPPORTED
Broadcom FOS-90x-portlogdump-RM100
112
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
0x31 FDMI_PORT_NOT_HBA_PORT
0x32 FDMI_PORT_UNSUPPORTED_VENDOR
Arguments breakdown:
0003 = Total number of argument bitmap in 30470005 = First 4 bytes of HBA WWN 33009048 = Last 4 bytes of HBA WWN
hex
0200 = RHBA request code
Arguments breakdown:
RPA Request
17:31:54.116 fdmi ctin 3 fa 00030211,30470105,33009048
Arguments breakdown:
0003 = Total number of argument bitmap in 30470005= First 4 bytes of Port WWN 33009048= Last 4 bytes of Port WWN
hex
0211 = RPA request code
RPA Response
17:31:54.116 fdmi ctout 3 fa 00008002
Broadcom FOS-90x-portlogdump-RM100
113
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Arguments breakdown:
0003 = Total number of argument bitmap in 300150eb = First 4 bytes of HBA WWN 1afcfb08 = Last 4 bytes of HBA WWN
hex
0210 = RPRT request code
RPRT Response
14:21:20.029 fdmi ctout 6 fa 00008002
Arguments breakdown:
0003 = Total number of argument bitmap in 30470005 = First 4 bytes of HBA WWN 33009048 = Last 4 bytes of HBA WWN
hex
0101 = GHAT request code
GHAT Response
17:40:31.113 fdmi ctout 3 fa 00008002
Arguments breakdown:
0003 = Total number of argument bitmap in 30470005 = First 4 bytes of HBA WWN 33009048 = Last 4 bytes of HBA WWN
hex
0102 = GRPL request code
GRPL Response
Broadcom FOS-90x-portlogdump-RM100
114
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Arguments breakdown:
0003 = Total number of argument bitmap in 30470005 = First 4 bytes of HBA WWN 33009048 = Last 4 bytes of HBA WWN
hex
0110 = GPAT request code
GPAT Response
17:48:54.332 fdmi ctout 3 fa 00008002
Arguments breakdown:
0003 = Total number of argument bitmap in 30470005 = First 4 bytes of HBA WWN 33009048 = Last 4 bytes of HBA WWN
hex
0201 = RHAT request code
RHAT Response
17:54:06.422 fdmi ctout 3 fa 00008002
Arguments breakdown:
0003 = Total number of argument bitmap in 30470005 = First 4 bytes of HBA WWN 33009048 = Last 4 bytes of HBA WWN
hex
0301 = DHAT request code
Broadcom FOS-90x-portlogdump-RM100
115
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
DHAT Response
17:56:03.695 fdmi ctout 3 fa 00008002
Arguments breakdown:
0003 = Total number of argument bitmap in 300151eb = First 4 bytes of HBA WWN 1afcfb08 = Last 4 bytes of HBA WWN
hex
0311 = DPA request code
DPA Response
14:21:25.359 fdmi ctout 6 fa 00008002
Application Server
The Application Server provides a way to manage application-specific services such as application identifiers. The
Application Server registration, deregistration, and queries are managed through protocols containing a set of request
CT_IUs and response CT_IUs supported by the Application Server.
For an Application Server request, the payload shall be transported from the requestor to the Application Server using
a request CT_IU. The corresponding Application Server response is transported from the Application Server to the
requestor, in exchange established by the requestor, using a response CT_IU.
The request codes described in Application Server codes are based on Section 6.9.2.2 (CT_IU preamble values) of FC-
GS-8 dated December, 2015.
Hexadecimal Code Mnemonic and Description Attributes in Request CT_IU Attributes in Accept CT_IU
Broadcom FOS-90x-portlogdump-RM100
116
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Hexadecimal Code Mnemonic and Description Attributes in Request CT_IU Attributes in Accept CT_IU
0x01 CT_INVALID_COMMAND
0x02 CT_INVALID_VERSION
0x03 CT_LOGICAL_ERROR
0x04 CT_INVALID_IU_SIZE
0x05 CT_LOGICAL_BUSY
0x07 CT_PROTOCOL_ERROR
0x09 CT_CANT_PERFORM_REQ
0x0b CT_NOT_SUPPORTED
Table 93: Application Server Reject CT_IU GS4 Reason Code Explanations
0x00 APPSRVR_RJT_EXPL_NO_ADDITIONAL_EXP
0x10 APPSRVR_RJT_EXPL_ACCESS_DENIED
0x29 APPSRVR_RJT_EXPL_NO_RESOURCES
0x40 APPSRVR_RJT_EXPL_NO_OBJ_IN_SCOPE
Others Reserved
Broadcom FOS-90x-portlogdump-RM100
117
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Arguments breakdown:
0003 = Total number of argument bitmap in 80 = Control bit (End of list) 03766d31 = Entity ID 4 bytes in hex
hex
0100 = GAPPIA_ENT request code 000000 = Reserved
GAPPIA_ENT Response
08:41:56.782 apps ctout 10 fa 00018002,80000000
Arguments breakdown:
GALLAPPIA_ID Request
09:02:23.560 apps ctin 10 fa 00030102,00520a00,00000000
Arguments breakdown:
0003 = Total number of argument bitmap in 00 = Reserved 00000000 = For future use
hex
0102 = GALLAPPIA_ID Request code 520a00 = PID
GALLAPPIA_ID Response
09:02:23.560 apps ctout 10 fa 00018002,80000000
Arguments breakdown:
GAPPIA_IDAPP Request
09:11:09.568 apps ctin 10 fa 00030103,80520a00,0ea2eee8
Arguments breakdown:
0003 = Total number of argument bitmap in 80 = Control bit (End of list) 0ea2eee8 = Application ID
hex
0103 = GAPPIA_IDAPP Request code 520a00 = PID
GAPPIA_IDAPP Response
Broadcom FOS-90x-portlogdump-RM100
118
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Arguments breakdown:
RAPP_IDENT Request
09:28:31.523 apps ctin 10 fa 00030200,00520a00,00000001
Arguments breakdown:
0003 = Total number of argument bitmap in 00 = Reserved 00000001 = Number of Entity ID entries
hex
0200 = RAPP_IDENT (application server 520a00 = PID
request code)
Arguments breakdown:
Arguments breakdown:
DAPP_IDENT Request
09:31:51.877 apps ctin 10 fa 00030300,00520a00,00000001
Arguments breakdown:
0003 = Total number of argument bitmap in 00 = Reserved 00000001 = Number of Entity ID entries
hex
Broadcom FOS-90x-portlogdump-RM100
119
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Arguments breakdown:
Arguments breakdown:
DALLAPP_ID Request
09:45:23.507 apps ctin 10 fa 00030301,00520a00,00000000
Arguments breakdown:
0003 = Total number of argument bitmap in 00 = Reserved 00000000 = For future use
hex
0301 = DALLAPP_ID Request code 520a00 = PID
Arguments breakdown:
Broadcom FOS-90x-portlogdump-RM100
120
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Arguments breakdown:
sw0:admin> portlogdump
time task event arg1 arg2 Word0 word1 word2 word3 word4
--------------------------------------------------------------------------------------
17:39:18.142 ficu ctin 6 20 000f0104,00310600,00000004,00000123,006e5dfd
Arg1 Arg2
Broadcom FOS-90x-portlogdump-RM100
121
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
2 Most recent Link Function Most Recent Ctrl Most Recent Status Most Recent CCW
Function Function Function Byte
3 DIB CCWNO
4 DIB Token
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:28.843 nsd0 ctin 1 fc 00010173,00000008
0001 means that only one additional argument follows after 0173 is the FC-CT command code. 0173 means "GNN_FT -
argument one (in this example, 00000008). Get FC-4 Node Name." The FC-4 object defines by arg 2 as
"00000008". Arg 2 belongs to word 4 of the GNN_FT frame. See
Decoding a ctout Event. Argument 2, "00000008", means SCSI-
FCP.
sw0:admin> portlogdump
time task event arg1 arg2 Word0 word1 word2 word3 word4
--------------------------------------------------------------------------------------
17:39:18.146 ficu ctout 6 20 000f0310,00310600,00100004,00000123,006e5dfd
Broadcom FOS-90x-portlogdump-RM100
122
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Arg1 Arg2
sw0:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Dec 11 23:55:03 2009
23:55:28.843 nsd0 ctout 1 fc 00018001,00090700
0001 indicates whether subsequent args are valid. Arg 2 represents the FC-CT response code.
• A "0001" entry (1 = 0001 in binary) means that only one • If the second 16-bit field is a reject ("8001"), then argument 2
additional argument follows after argument 1 (in this example, is a reject, FC-CT Reject Reason Codes (RJT)
0001). • If the second 16-bit field is an accept ("8002"), then arguments
• If the first 16-bit field is "0003", then the argument in position 1 2 and 3 are the IU response objects.
and 2 are sets, and you should have two arguments. In other
words, two arguments follow after argument 1.
Broadcom FOS-90x-portlogdump-RM100
123
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Not_Operational (NOS) • Loss-of-Synchronization for more than a K28.5 D21.2 D31.5 D5.2
timeout period (R_T_TOV) while in the
Word Synchronization Acquired State
• Loss-of-Signal while in the Word
Synchronization Acquired State
• Timeout (R_T_TOV) during the Link
Reset Protocol
Offline (OLS) The FC_Port transmitting the Sequence K28.5 D21.1 D10.4 D21.2
• Initiates the Link Initialization Protocol
• Receives and recognizes NOS
• Enters the Offline State
Broadcom FOS-90x-portlogdump-RM100
124
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Link_Reset (LR) Transmitted by an FC_Port to initiate the K28.5 D9.2 D31.5 D9.2
Link Reset Protocol, or to recover from a
Link Timeout.
Link_Reset_Response (LRR) Transmitted by an FC_Port to indicate K28.5 D21.1 D31.5 D9.2
that it is receiving and recognizes the LR
Primitive Sequence.
0 AC Active state
ID LE Idle —
1 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 —
3 OL1 Offline: OLS transmit state
OL2 Offline: OLS receive state —
OL3 Offline: wait for OLS state —
4 NOS Not Operational
9 OL2_LR3WT Wait for buffer state: OL2 to LR3
10 LR1_LR3WT Wait for buffer state: LR1 to LR3
11 LR2_LR3WT Wait for buffer state: LR2 to LR3
12 LR2_ACWT Wait for buffer state: LR2 to AC
Well-Known Addresses
In the Fibre Channel protocol, a Well-Known Address is a logical address defined by the Fibre Channel standards as
assigned to a specific function, and stored on the switch.
Broadcom FOS-90x-portlogdump-RM100
125
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Broadcom FOS-90x-portlogdump-RM100
126
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.
FOS-90x-portlogdump-RM100 Technical Reference Manual Brocade® Fabric OS® portlogdump Reference Manual, 9.0.x
Revision History
FOS-90x-portlogdump-RM100; 30 April 2020
• Added new ELS Command Codes for RDF, EDC, and FPIN.
• Added new entries of 0x18 and 0x19 to the Vendor Unique (VU) reason codes table in Fabric Zone Server (ZS) codes.
Broadcom FOS-90x-portlogdump-RM100
127
FOR BROADCOM AND PARTNER USE ONLY. DO NOT DISTRIBUTE.