Thursday, February 18, 2016

Cisco R&S: Finding The Associated FEX You Are Looking At

Sometimes when I walk into a data center that I am barely familiar with, it can be difficult to find what FEX goes with what N5K/N7K.  If no one is with me when I'm trying to figure this out, one of the things I do is just look at the serial number on the FEX itself.  Then, I go to the NxK I think it could be on, and run the 'show fex' command.  If you notice at the far right column, it shows you the serial of the FEX.  I then align it up with the FEX number in the config.
N5K-1# sh fex
  FEX         FEX           FEX                       FEX
Number    Description      State            Model            Serial
110        FEX0110                Online    N2K-C2232PP-10GE   SSI17410AAA
111        FEX0111                Online   N2K-C2248TP-E-1GE   SSI17340BBB
112        FEX0112                Online    N2K-C2232PP-10GE   SSI17320CCC
131        FEX0131                Online   N2K-C2248TP-E-1GE   SSI17340DDD
141  NX-4_Backup_FEX-1                Online    N2K-C2232PP-10GE   SSI17300EEE
142  NX-4_Backup_FEX-2                Online   N2K-C2248TP-E-1GE   SSI17340FFF
143        FEX0143                Online   N2K-C2248TP-E-1GE   SSI17340GGG
144        FEX0144                Online    N2K-C2232PP-10GE   SSI18420HHH
151  NX-5_Backup_FEX-1                Online    N2K-C2232PP-10GE   SSI17320III
152  NX-5_Backup_FEX-2                Online   N2K-C2248TP-E-1GE   SSI17300JJJ
153        FEX0153                Online    N2K-C2232PP-10GE   SSI18420KKK
161  NX-6_Backup_FEX-1                Online   N2K-C2248TP-E-1GE   SSI17340LLL
171  NX-7_Backup_FEX-1                Online   N2K-C2248TP-E-1GE   SSI17340MMM
181  NX-8_Backup_FEX-1                Online   N2K-C2248TP-E-1GE   SSI17340NNN
182  NX-8_Backup_FEX-2                Online    N2K-C2232PP-10GE   SSI17320OOO
183  NX-8_Backup_FEX-183                Online    N2K-C2232PP-10GE   SSI1732PPP


  1. And if you have the problem that you have to find a specific FEX in the datacenter, i. e. FEX 110 you can use the command "locator-led fex [fex]" to led a bright blue led blinking, identifing the FEX you are looking for. Don't forget to turn the lights out with the "no"-form of the command after you've found the FEX you were looking for.

    N5K-1#locator-led fex 110
    N5K-1#no locator-led fex 110


    1. I've learned something new. Thank you.

  2. I keep this list of commands handy with me.

    show fex
    show interface fex-fabric
    show module fex all |
    show inventory fex all |
    show environment fex all |
    show version fex
    [no] locator-led fex
    Beacon (4.x sets beacon on it)

    1. Good stuff. Thank you for sharing.


Your comment will be reviewed for approval. Thank you for submitting your comments.