HP StorageWorks 8/80 Brocade Troubleshooting and Diagnostics Guide v6.1.0 (53- - Page 115

Clearing the system message log, Port log, Viewing the port log

Page 115 highlights

12 Port log Clearing the system message log 1. Connect to the switch and log in as admin. 2. Enter the errClear command. All switch and chassis events are removed. Port log The Fabric OS maintains an internal log of all port activity. The port log stores entries for each port as a circular buffer. The range of lines is 32768 to 65536 for the Brocade 48000 and the Brocade 7500 switch. For all other switches, the number of lines range from 8192 to 16384. These ranges are for all ports on the switch, not just for one port. When the log is full, the newest log entries overwrite the oldest log entries. The port log is not persistent and is lost over power-cycles and reboots. If the port log is disabled, an error message displays. NOTE Port log functionality is completely separate from the system message log. The port log is typically used to troubleshoot device connections. Viewing the port log 1. Connect to the switch and log in as admin. 2. Enter the portLogShow command: brcd5300:admin> portlogshow time task event port cmd args Fri Feb 22 16:48:45 2008 16:48:45.208 SPEE sn 67 NM 00000009,00000000,00000000 16:48:46.783 PORT Rx 64 40 02fffffd,00fffffd,02e2ffff,14000000 16:48:46.783 PORT Tx 64 0 c0fffffd,00fffffd,02e201bf,00000001 16:48:46.783 FCPH read 64 40 02fffffd,00fffffd,be000000,00000000,02e201bf 16:48:46.783 FCPH seq 64 28 22380000,02e201bf,00000c1e,0000001c,00000000 16:48:46.828 SPEE sn 67 NM 00000009,00000000,00000000 16:48:46.853 PORT Rx 76 40 02fffffd,00fffffd,02e3ffff,14000000 16:48:46.853 PORT Tx 76 0 c0fffffd,00fffffd,02e301c1,00000001 16:48:46.853 FCPH read 76 40 02fffffd,00fffffd,bf000000,00000000,02e301c1 16:48:46.853 FCPH seq 76 28 22380000,02e301c1,00000c1e,0000001c,00000000 16:48:47.263 PORT Rx 79 40 02fffffd,00fffffd,02e4ffff,14000000 16:48:47.263 PORT Tx 79 0 c0fffffd,00fffffd,02e401c2,00000001 16:48:47.263 FCPH read 79 40 02fffffd,00fffffd,c0000000,00000000,02e401c2 16:48:47.263 FCPH seq 79 28 22380000,02e401c2,00000c1e,0000001c,00000000 Use the commands summarized in Table 18 to view and manage port logs. See the Fabric OS Command Reference for additional information about these commands. TABLE 18 Commands for port log management Command Description portLogClear portLogDisable Clear port logs for all or particular ports. Disable port logs for all or particular ports. Fabric OS Troubleshooting and Diagnostics Guide 101 53-1000853-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132

Fabric OS Troubleshooting and Diagnostics Guide
101
53-1000853-01
Port log
12
Clearing the system message log
1.
Connect to the switch and log in as admin.
2.
Enter the
errClear
command.
All switch and chassis events are removed.
Port log
The Fabric OS maintains an internal log of all port activity. The port log stores entries for each port
as a circular buffer. The range of lines is 32768 to 65536 for the Brocade 48000 and the Brocade
7500 switch. For all other switches, the number of lines range from 8192 to 16384. These ranges
are for all ports on the switch, not just for one port. When the log is full, the newest log entries
overwrite the oldest log entries. The port log is not persistent and is lost over power-cycles and
reboots. If the port log is disabled, an error message displays.
NOTE
Port log functionality is completely separate from the system message log. The port log is typically
used to troubleshoot device connections.
Viewing the port log
1.
Connect to the switch and log in as admin.
2.
Enter the
portLogShow
command:
brcd5300:admin> portlogshow
time
task
event
port cmd
args
-------------------------------------------------
Fri Feb 22 16:48:45 2008
16:48:45.208 SPEE
sn
67
NM
00000009,00000000,00000000
16:48:46.783 PORT
Rx
64
40
02fffffd,00fffffd,02e2ffff,14000000
16:48:46.783 PORT
Tx
64
0
c0fffffd,00fffffd,02e201bf,00000001
16:48:46.783 FCPH
read
64
40
02fffffd,00fffffd,be000000,00000000,02e201bf
16:48:46.783 FCPH
seq
64
28
22380000,02e201bf,00000c1e,0000001c,00000000
16:48:46.828 SPEE
sn
67
NM
00000009,00000000,00000000
16:48:46.853 PORT
Rx
76
40
02fffffd,00fffffd,02e3ffff,14000000
16:48:46.853 PORT
Tx
76
0
c0fffffd,00fffffd,02e301c1,00000001
16:48:46.853 FCPH
read
76
40
02fffffd,00fffffd,bf000000,00000000,02e301c1
16:48:46.853 FCPH
seq
76
28
22380000,02e301c1,00000c1e,0000001c,00000000
16:48:47.263 PORT
Rx
79
40
02fffffd,00fffffd,02e4ffff,14000000
16:48:47.263 PORT
Tx
79
0
c0fffffd,00fffffd,02e401c2,00000001
16:48:47.263 FCPH
read
79
40
02fffffd,00fffffd,c0000000,00000000,02e401c2
16:48:47.263 FCPH
seq
79
28
22380000,02e401c2,00000c1e,0000001c,00000000
<output truncated>
Use the commands summarized in
Table 18
to view and manage port logs. See the
Fabric OS
Command Reference
for additional information about these commands.
TABLE 18
Commands for port log management
Command
Description
portLogClear
Clear port logs for all or particular ports.
portLogDisable
Disable port logs for all or particular ports.