S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
8-12
Cisco MDS 9000 Family Troubleshooting Guide, Release 3.x
OL-9285-05
Chapter 8 Troubleshooting Ports
Overview of the FC-MAC Driver and the Port Manager
Note
To issue CLI commands with the
internal
keyword, you must have an account that is a member of the
network-admin group.
Isolating Port Issues Using the CLI
To isolate port issues using the CLI, follow these steps:
Step 1
Use the
show interface
command to determine if the host HBA and the storage port can provide link
level connectivity to their respective switches.
NPI1#
show interface fc2/5 status
fc2/5 is down (Offline)
NPI2#
show interface fc2/5 status
fc1/5 is up Port mode is F
See
Table 8-1 on page 8-3
for details on nonoperational interface reasons.
Step 2
If the port is down and offline, use the
no shutdown
command to bring the port online.
NPI1#
config t
NPI1(config)#
interface fc 2/5
NPI1(config-if)#
no shutdown
Step 3
Repeat
Step 1
to determine if the port is online.
If either of the ports fails to remain in the online state, then you may have a faulty GBIC, cabling or
HBA/subsystem port.
Step 4
If both ports are online, use the
show flogi
command to verify that the Fibre Channel ports for the host
and storage have performed a fabric login (FLOGI) and are communicating with their respective
switches.
Example 8-2
Using the show flogi command
NPI1# sh flogi
INTERFACE VSAN FCID PORT NAME NODE NAME
-------------------- ---- -------- ----------------------- -----------------------
fc2/5 1 0x7e0200 21:00:00:e0:8b:08:d3:20 20:00:00:e0:8b:08:d3:20
fc2/7 1 0x7e0300 20:00:00:e0:69:41:98:93 10:00:00:e0:69:41:98:93
fc2/11 1 0x7e0100 21:00:00:e0:8b:07:ca:39 20:00:00:e0:8b:07:ca:39
fc2/14 1 0x7e0002 50:06:04:82:c3:a0:98:53 50:06:04:82:c3:a0:98:53
fc8/31 1 0x7e0000 50:06:04:82:c3:a0:98:42 50:06:04:82:c3:a0:98:42
show hardware internal error
Collects interrupt statistics, error statistics, and
exception log information for the entire module.
show hardware internal debug-info
interface
fc-interface
Represents an aggregation of a number of debug
commands from all ASICs. The information includes
interrupt-statistics, error-statistics, exception-log,
link-events, and all debug information that is provided
by the FC-MAC driver.
Table 8-2
Useful FC-MAC Port Commands (continued)
CLI Command
Description