CCIE DC: Quick tip for determing neighbors in a fibre channel network

Hi Guys

Super quick blogpost just because I noticed it while studying, a super easy way to get a list of your fibre channel neighboring switches IP addresses is the following command:

SANA# show cfs peers

Physical Fabric
-------------------------------------------------------------------------
 Switch WWN              IP Address            
-------------------------------------------------------------------------
 20:00:00:0d:ec:2d:4f:40 10.0.0.32                               [Local]
                         SANA                                   
 20:00:00:0d:ec:2b:3c:40 10.0.0.62                             


This will show you all switches in the fabric, this can be quite useful! You can't see neighbors over CDP with show cdp neighbor on a FC network because obviously they are not connected via ethernet. The above command will show you.

I hope this helps someone out there


Update: As per Brian's comments below, the show topology section is even better because it shows you what interface the device is out too


SANA#  show topology

FC Topology for VSAN 1 :
--------------------------------------------------------------------------------
       Interface  Peer Domain Peer Interface     Peer IP Address
--------------------------------------------------------------------------------
           fc1/14 0xe4(228)           fc1/14  10.0.0.62
   port-channel 1 0xe4(228)   port-channel 1  10.0.0.62

FC Topology for VSAN 10 :
--------------------------------------------------------------------------------
       Interface  Peer Domain Peer Interface     Peer IP Address
--------------------------------------------------------------------------------
           fc1/14 0x64(100)           fc1/14  10.0.0.62
   port-channel 1 0x64(100)   port-channel 1  10.0.0.62

FC Topology for VSAN 20 :
--------------------------------------------------------------------------------
       Interface  Peer Domain Peer Interface     Peer IP Address
--------------------------------------------------------------------------------
           fc1/14  0x3c(60)           fc1/14  10.0.0.62
   port-channel 1  0x3c(60)   port-channel 1  10.0.0.62
SANA# show cfs


4 comments:

Popular old posts.