Cisco N5K-C5010P-BF Troubleshooting Guide - Page 96

Solution, show flogi internal, show fcdomain address-allocation

Page 96 highlights

FC Services Chapter 5 Troubleshooting SAN Switching Issues Send document comments to [email protected]. • An N port logs into a Cisco Nexus 5000 Series switch. The WWN of the requesting N port and the assigned FC ID are retained and stored in a volatile cache. The contents of this volatile cache are not saved across reboots. • The switch is designed to preserve the binding FC ID to the WWN on a best-effort basis. For example, if one N port disconnects from the switch and its FC ID is requested by another device, this request is granted and the WWN with the initial FC ID association is released. • The volatile cache stores up to 4000 entries of WWN to FC ID binding. If this cache is full, a new (more recent) entry overwrites the oldest entry in the cache. In this case, the corresponding WWN to FC ID association for the oldest entry is lost. • N ports receive the same FC IDs if disconnected and reconnected to any port within the same switch (as long as it belongs to the same VSAN). Persistent FC IDs can be purged selectively. Static entries and FC IDs currently in use cannot be deleted. Solution Check for FLOGI error messages with the show flogi internal command. Example: show flogi internal event-history debugs 222) Event:E_FLOGI_DEBUG, length:309, at 989582 usecs after Thu Jun 17 09:03:01 2010 fs_print_port_stats(10049): Port Stats for fc2/1, after cleanup: timestamp: Wed Jun 17 07:03:01 2010 MSG_FLOGI: 52 MSG_FC2_LS_RJT_OUT: 51 EXCEPTION_CANNOT_ALLOCATE_FCID: 51 EXCEPTION_TIMEOUT: 1 EXCEPTION_FC2_INVALID_XCHG: 1 tot_internal_exceptions: 51, since: Thu Dec 31 17:00:00 1969 show flogi internal errors 52) Event:E_DEBUG, length:119, at 977471 usecs after Thu Jun 17 09:03:01 2010 [102] Interface fc2/1, nwwn 20:01:00:1b:32:af:d6:8c, pwwn 21:01:00:1b:32:af:d6:8c: flogi is valid; exchange is INVALID. Use the show fcdomain address-allocation command to check the FC domain address allocation table for any free FC IDs: (If NPV is enabled, enter the command on the NPV core switch.) Example: show fcdomain address-allocation VSAN 1 Free FCIDs: 0xe73f4f to 0xe73fff 0xe7ff00 to 0xe7fffe Assigned FCIDs: 0xe70000 to 0xe73f4e 0xe74000 to 0xe7feff 0xe7ffff Reserved FCIDs: 0xe7ffff Number free FCIDs: 432 Number assigned FCIDs: 65104 Number reserved FCIDs: 1 5-24 Cisco Nexus 5000 Series Troubleshooting Guide OL-25300-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
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

Send document comments to [email protected].
5-24
Cisco Nexus 5000 Series Troubleshooting Guide
OL-25300-01
Chapter 5
Troubleshooting SAN Switching Issues
FC Services
An N port logs into a Cisco Nexus 5000 Series switch. The WWN of the requesting N port and the
assigned FC ID are retained and stored in a volatile cache. The contents of this volatile cache are
not saved across reboots.
The switch is designed to preserve the binding FC ID to the WWN on a best-effort basis. For
example, if one N port disconnects from the switch and its FC ID is requested by another device,
this request is granted and the WWN with the initial FC ID association is released.
The volatile cache stores up to 4000 entries of WWN to FC ID binding. If this cache is full, a new
(more recent) entry overwrites the oldest entry in the cache. In this case, the corresponding WWN
to FC ID association for the oldest entry is lost.
N ports receive the same FC IDs if disconnected and reconnected to any port within the same switch
(as long as it belongs to the same VSAN).
Persistent FC IDs can be purged selectively. Static entries and FC IDs currently in use cannot be deleted.
Solution
Check for FLOGI error messages with the
show flogi internal
command.
Example:
show flogi internal event-history debugs
222) Event:E_FLOGI_DEBUG, length:309, at 989582 usecs after Thu Jun 17
09:03:01 2010
fs_print_port_stats(10049): Port Stats for fc2/1, after cleanup:
timestamp: Wed Jun 17 07:03:01 2010
MSG_FLOGI: 52
MSG_FC2_LS_RJT_OUT: 51
EXCEPTION_CANNOT_ALLOCATE_FCID: 51
EXCEPTION_TIMEOUT: 1
EXCEPTION_FC2_INVALID_XCHG: 1
tot_internal_exceptions: 51, since: Thu Dec 31 17:00:00 1969
show flogi internal errors
52) Event:E_DEBUG, length:119, at 977471 usecs after Thu Jun 17 09:03:01
2010
[102] Interface fc2/1, nwwn 20:01:00:1b:32:af:d6:8c, pwwn
21:01:00:1b:32:af:d6:8c: flogi is valid; exchange is INVALID.
Use the
show fcdomain address-allocation
command to check the FC domain address allocation table
for any free FC IDs: (If NPV is enabled, enter the command on the NPV core switch.)
Example:
show fcdomain address-allocation
VSAN 1
Free FCIDs: 0xe73f4f to 0xe73fff
0xe7ff00 to 0xe7fffe
Assigned FCIDs: 0xe70000 to 0xe73f4e
0xe74000 to 0xe7feff
0xe7ffff
Reserved FCIDs: 0xe7ffff
Number free FCIDs: 432
Number assigned FCIDs: 65104
Number reserved FCIDs: 1