Sunday, March 24, 2013

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


7 comments:

  1. Thanks Brian i will give that a go, BTW great to hear your rack rental is almost ready

    ReplyDelete
  2. Dear! It's my great honor to be on your blog,I benefit a lot from reading your blog.
    This ubuntu data recovery software also give me help .I want everybody to know it.

    ReplyDelete
  3. Thank you for sharing this helpful post! Do you need fake ray ban sunglasses? Go to have a look and you may find a desirable one.

    ReplyDelete